Difference between revisions of "Encode Explorer"
From Amahi Wiki
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{WorkInProgress}} | ||
[[Category:Apps]] | [[Category:Apps]] | ||
− | [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 11: | Line 12: | ||
{| border="1" cellpadding="5" cellspacing="0" | {| border="1" cellpadding="5" cellspacing="0" | ||
− | | Code | + | | '''Code''' |
− | | Description | + | | '''Description''' |
|- | |- | ||
| al | | al | ||
Line 71: | Line 72: | ||
<u>'''Require Login'''</u><br /> | <u>'''Require Login'''</u><br /> | ||
− | The default is | + | 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
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"));
|