Difference between revisions of "Encode Explorer"

From Amahi Wiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
[http://www.amahi.org/apps/encode-explorer Encode Explorer] has been packaged for Amahi and is currently in '''BETA''' status.
 
[http://www.amahi.org/apps/encode-explorer Encode Explorer] has been packaged for Amahi and is currently in '''BETA''' status.
  
To customize this application, edit ''/var/hda/web-apps/explorer/index.php'' with your favorite editor.
+
To customize this application, edit ''/var/hda/web-apps/explorer/index.php'' with your favorite editor.  The script is well documented and provides guidance for each option that is customizable.  We will only highlight the main ones here.
  
 
<u>'''Change Language'''</u><br />
 
<u>'''Change Language'''</u><br />
Line 74: Line 74:
 
The default is false.  To require login before displaying files, change line 226 from '''false''' to '''true''':
 
The default is false.  To require login before displaying files, change line 226 from '''false''' to '''true''':
 
{{Text|Text=$_CONFIG['require_login'] = false;}}
 
{{Text|Text=$_CONFIG['require_login'] = false;}}
 +
 +
 +
<u>'''Configure Users'''</u><br />
 +
To add or change users, add to line 244 using the format below:
 +
{{Text|Text=$_CONFIG['users'] = array(array("username1", "password1", "user"), array("username2", "password2", "admin"));}}

Latest revision as of 21:51, 6 January 2012

Msgbox-WOPr.png Work In Progress
This article is currently undergoing major expansion or restructuring. You are welcome to assist by editing it as well. If this article has not been edited in several days, please remove this template.

Encode Explorer has been packaged for Amahi and is currently in BETA status.

To customize this application, edit /var/hda/web-apps/explorer/index.php with your favorite editor. The script is well documented and provides guidance for each option that is customizable. We will only highlight the main ones here.

Change Language
The default is English. To set a different one, change line 66 from en to one from the table below:

Text
​$_CONFIG['lang'] = "en";​


Code Description
al Albanian
nl Dutch
et Estonian
fi Finnish
fr French
de German
el Greek
hu Hungarian
it Italian
no Norwegian
pl Polish
pt_BR Portuguese (Brazil)
ro Romanian
ru Russian
sk Slovensky
es Spanish
sv Swedish
tr Turkish


Require Login
The default is false. To require login before displaying files, change line 226 from false to true:

Text
​$_CONFIG['require_login'] = false;​


Configure Users
To add or change users, add to line 244 using the format below:

Text
​$_CONFIG['users'] = array(array("username1", "password1", "user"), array("username2", "password2", "admin"));​