Files
AutoIndex-pl4/ReadMe.md

750 lines
23 KiB
Markdown
Raw Permalink Normal View History

2022-01-08 23:11:56 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
2023-11-01 13:36:09 +02:00
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="English"><head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type" />
<meta http-equiv="content-type" content="text/html" charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="blue" />
<link rel="stylesheet" type="text/css" href="https://mxpcms.sourceforge.net/pub/templates/SwiftBlue/SwiftBlue.css" />
<title>AutoIndex PHP Script: Readme</title>
<meta content="FlorinCB" name="author" />
<meta content="AutoIndex PHP Script (version 2.2.6) - Tutorial File" name="description" />
</head><body class="autoindex_div">
<hr class="default_hr" />
2022-01-08 23:11:56 +02:00
<table border="0" cellpadding="5" cellspacing="0" width="100%">
<tbody>
<tr class="paragraph">
<td class="default_td">
2023-11-01 13:36:09 +02:00
2023-11-13 06:21:09 +02:00
<b>AutoIndex PHP Script (version 2.2.7) - Tutorial File original by Justin Hagstrom, edited by Florin Ciprian Bodin</b>
2023-11-01 13:36:09 +02:00
<span class="small">Original AutoIndex is provided under the terms of the <a class="default_a" href="http://autoindex.sourceforge.net/license.html">GNU General Public License (GPL)</a> at </span><a class="default_a" href="http://autoindex.sourceforge.net/">http://autoindex.sourceforge.net/</a>&nbsp; .</p>
2023-11-13 06:21:09 +02:00
<p><span class="small">This edition of AutoIndex lists the files in a directory tree and now is mobile screen reversible</a>&nbsp; .</p>
2023-11-01 13:36:09 +02:00
<b>AutoIndex</b> since 2001 is a standalone PHP script that makes table that lists the files in a directory, and lets users access the files and subdirectories. It includes searching, icons for each file type, an admin panel, uploads, access logging, file descriptions, and more. Now this version developed in collaboration with <strong>the Beit Dina IT Unit</strong> was tested with PHP 5.3, 5.4, 5.5, 5.6, 7.1, 7.2, 7.3, 7.4 and is released with 35 languages packs.</p>
2023-11-13 06:21:09 +02:00
<b>Full Changelog</b>: <a class="v1commit-link" href="https://github.com/BeitDina/AutoIndex/compare/2.2.6...2.2.7" target="_blank" rel="noreferrer"><tt>2.2.6...2.2.7</tt></a></p>
2023-11-01 13:36:09 +02:00
2023-11-13 06:21:09 +02:00
<p>This release has 4 assets: Visit the <a href="https://github.com/BeitDina/AutoIndex/releases/tag/2.2.7" target="_blank" rel="noreferrer">release page</a> to download them.</p>
2023-11-01 13:36:09 +02:00
<p><span class="small"> DEMO: See PHP VERSION on Footer of the index page.</span></p>
2023-10-25 19:09:31 +03:00
<p><a class="default_a" href="https://mxpcms.sourceforge.net/pub/">https://mxpcms.sourceforge.net/pub/</a></p>
2023-11-01 13:36:09 +02:00
<p> <a href="http://github.com/BeitDina/AutoIndex/">http://github.com/BeitDina/AutoIndex/</a><br />
Please write any questions or comments at <a href="mailto:orynider@users.sourceforge.net">orynider@users.sourceforge.net</a> .</p>
<p> To install simply upload the contents of this directory archive to a server with PHP support. Works with all
versions of PHP with no DataBase required. <br />
Then, point your browser to the index.php file in that folder. The first time you do this, it will take you to a configuration page. <br />
To use all the default values, just click the button at the bottom, or customize it however you want. <br />
</p>
<p>On a live site at: <a class="default_a" href="http://beitdina.net/aleppo/">http://beitdina.net/aleppo/</a>&nbsp; .</p>Information about the use of each variable is in this file.
<hr class="default_hr" />
<p><strong>base_dir</strong> is the folder
that will be the root of the directory listing. <br />
2022-01-08 23:11:56 +02:00
This will be the starting point for the script. Nothing above this
2023-11-01 13:36:09 +02:00
directory can be viewed, but its subfolders can. <br />
2022-01-08 23:11:56 +02:00
Make sure to use forward slashes, rather than backslashes. Also, try to
2023-11-01 13:36:09 +02:00
use a relative path if possible. <br />
2022-01-08 23:11:56 +02:00
Examples:
</p>
<table style="border: 1px solid rgb(17, 17, 17); border-collapse: collapse;" cellpadding="5" cellspacing="0">
<tbody>
<tr class="paragraph">
<td><span class="fixed_width">./</span></td>
<td>(the folder index.php is in)</td>
</tr>
<tr class="paragraph">
<td><span class="fixed_width">./share
folder/</span></td>
<td>(path relative to the php file)</td>
</tr>
<tr class="paragraph">
<td><span class="fixed_width">/home/user/public_html/share_folder/</span></td>
<td>(absolute path)</td>
</tr>
</tbody>
</table>
<p> If you're using an absolute path, you'll need to set
force_download to TRUE (this is not recommended, though. It is better
to use a path relative to the php script).
</p>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> <strong>icon_path</strong> is the path to
2023-11-01 13:36:09 +02:00
the icons. Don't put a slash at the end. <br />
Leave this blank to not show icons to the left of files and folders. <br />
2022-01-08 23:11:56 +02:00
Examples:
</p>
<table style="border-color: rgb(17, 17, 17); border-collapse: collapse;" cellpadding="5" cellspacing="0">
<tbody>
<tr class="paragraph">
<td><span class="fixed_width">index_icons/winxp</span></td>
<td>(relative to the php file)</td>
</tr>
<tr class="paragraph">
<td><span class="fixed_width">/index_icons/kde</span></td>
<td>(absolute path, relative to the server root)</td>
</tr>
</tbody>
</table>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> <strong>stylesheet</strong> is the path
2023-11-01 13:36:09 +02:00
and filename of your css stylesheet. <br />
2022-01-08 23:11:56 +02:00
Just modify the one that came with this, so it will match the rest of
2023-11-01 13:36:09 +02:00
your site.<br />
2022-01-08 23:11:56 +02:00
Examples:
</p>
<table style="border-color: rgb(17, 17, 17); border-collapse: collapse;" cellpadding="5" cellspacing="0">
<tbody>
<tr class="paragraph">
<td><span class="fixed_width">stylesheet.css</span></td>
<td>(stylesheet.css is in the same folder as the php
file)</td>
</tr>
<tr class="paragraph">
<td><span class="fixed_width">/some_folder/some_stylesheet.css</span></td>
<td>(absolute path to the stylesheet)</td>
</tr>
</tbody>
</table>
2023-11-01 13:36:09 +02:00
<hr class="default_hr" />
<p> <strong>Optional Variables</strong> :<br />
<br />
If <strong>allow_uploads</strong> is set
2022-01-08 23:11:56 +02:00
to TRUE, people will be able to upload files to your website. <em>(Default:
2023-11-01 13:36:09 +02:00
FALSE)</em> <br />
2022-01-08 23:11:56 +02:00
But if <strong>use_login_system</strong> is also set to
2023-11-01 13:36:09 +02:00
TRUE, you must create an account for them before they can upload. <br />
2022-01-08 23:11:56 +02:00
The preset users are: </p>
2023-11-01 13:36:09 +02:00
<p><span class="fixed_width"> username: admin <br />
password: admin <br />
&nbsp; <br />
username: test or user<br />
password: test or testtest</span><br />
<br />
2022-01-08 23:11:56 +02:00
If you plan to use the login system, change the passwords or create
2023-11-01 13:36:09 +02:00
different accounts and delete these! <br />
2022-01-08 23:11:56 +02:00
All registered users will be able to upload, but only admins can
2023-11-01 13:36:09 +02:00
create/delete accounts. <br />
2022-01-08 23:11:56 +02:00
Also, if you want to allow uploads, make sure the folders you want to
upload to are chmod'ed to allow PHP to write there.
</p>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> <strong>user_list</strong> contains the
path to the text file where the usernames and encrypted passwords are
2023-11-01 13:36:09 +02:00
stored. <br />
Make sure the file is chmod'ed so PHP can read and write to it. <br />
2022-01-08 23:11:56 +02:00
(This is only needed if use_login_system is set to TRUE.)
</p>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> If <strong>allow_file_overwrites</strong>
is set to TRUE, when uploading a file that already exists, the file
2023-11-01 13:36:09 +02:00
will be replaced. <em>(Default: FALSE)</em> <br />
2022-01-08 23:11:56 +02:00
In other words, this will allow people to overwrite existing files by
2023-11-01 13:36:09 +02:00
uploading new ones. <br />
2022-01-08 23:11:56 +02:00
This variable only matters when allow_uploads is set to TRUE.
</p>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> If <strong>must_login_to_download</strong>
is set to TRUE, users must login before they will see the list of
2023-11-01 13:36:09 +02:00
files. <em>(Default: FALSE)</em> <br />
2022-01-08 23:11:56 +02:00
(They will not be able to download or browse through files without
2023-11-01 13:36:09 +02:00
logging in first.) <br />
2022-01-08 23:11:56 +02:00
This variable only matters when use_login_system is set to TRUE.
</p>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> <strong>banned_list</strong> contains the
path to the text file where blocked IP addresses and/or hostnames are
2023-11-01 13:36:09 +02:00
stored. <br />
2022-01-08 23:11:56 +02:00
This list can be edited by logging in as an administrator, or you can
directly edit the text file and add IP addresses and/or hostnames, each
2023-11-01 13:36:09 +02:00
on a new line. <br />
2022-01-08 23:11:56 +02:00
You can use wildcards in the entries (*, ?, +).
</p>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> If <strong>sub_folder_access</strong> is
set to FALSE, folders will not be shown. <em>(Default: TRUE)</em>
</p>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> <strong>index: Leave this blank unless you use
2023-11-01 13:36:09 +02:00
php includes on your webpage.</strong> <br />
2022-01-08 23:11:56 +02:00
Make sure to put "ob_start();" and "session_start();" at the top of
2023-11-01 13:36:09 +02:00
your index file. This will make sure headers are sent correctly. <br />
2022-01-08 23:11:56 +02:00
Examples:
</p>
<table style="border-color: rgb(17, 17, 17); border-collapse: collapse;" cellpadding="5" cellspacing="0">
<tbody>
<tr class="paragraph">
<td><span class="fixed_width">?id=AutoIndex</span></td>
</tr>
<tr class="paragraph">
<td><span class="fixed_width">/file.php?id=thisFile</span></td>
</tr>
</tbody>
</table>
<p> The include in your index file should look something
like this:
</p>
2023-11-01 13:36:09 +02:00
<pre>$valid = array('home', 'page1', 'page2');<br />if (isset($_REQUEST['id']) &amp;&amp; in_array($_REQUEST['id'], $valid))<br />//if the id parameter in the URL is set, and it is in the 'valid' list<br />{<br /> include($_REQUEST['id']); //include the file<br />}<br /></pre>
2022-01-08 23:11:56 +02:00
<p> <strong>hidden_files</strong> contains an
2023-11-01 13:36:09 +02:00
array of strings. <br />
If a file or folder matches any of them, it will not be displayed. <br />
2022-01-08 23:11:56 +02:00
They may contain wildcards (*, +, ?). For example, to hide all php
files, add '*.php' to the list, or if you want to hide all files that
begin with a period, add '.*'
</p>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> <strong>show_only_these_files</strong>
2023-11-01 13:36:09 +02:00
contains an array of strings. <br />
2022-01-08 23:11:56 +02:00
If there are any items in the array, the hidden_files variable will be
2023-11-01 13:36:09 +02:00
disabled, and only files that are listed here will be shown. <br />
2022-01-08 23:11:56 +02:00
They may contain wildcards (*, +, ?). For example, to show only .txt
files, add '*.txt' to the list.
</p>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> <strong>force_download</strong> should be
2023-11-01 13:36:09 +02:00
set to TRUE or FALSE. <em>(Default: FALSE)</em> <br />
2022-01-08 23:11:56 +02:00
If it is set to TRUE, the file will be automatically downloaded,
instead of letting the person's browser decide.
</p>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> <strong>bandwidth_limit</strong> is set to
2023-11-01 13:36:09 +02:00
the max download speed (per client) in KB/s. 0 will turn it off. <br />
The number can contain a decimal if you want. <br />
2022-01-08 23:11:56 +02:00
<strong>NOTE</strong>: To use this feature,
force_download must be set to TRUE.
</p>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> <strong>anti_leech</strong> should be set
2023-11-01 13:36:09 +02:00
to TRUE or FALSE. <em>(Default: FALSE)</em> <br />
2022-01-08 23:11:56 +02:00
This will compare the referrer and the name of your site to make sure
2023-11-01 13:36:09 +02:00
they clicked on a link to download a file. <br />
2022-01-08 23:11:56 +02:00
Setting this equal to TRUE will prevent "leeching" by making sure they
2023-11-01 13:36:09 +02:00
download files directly from a link on your site. <br />
2022-01-08 23:11:56 +02:00
Since some people turn off referrer sending in their browser, this
option is not recommended.
</p>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> <strong>enable_searching</strong> should
2023-11-01 13:36:09 +02:00
be set to TRUE or FALSE. <em>(Default: TRUE)</em> <br />
2022-01-08 23:11:56 +02:00
If it is TRUE, people will be able to search for a file or folder
2023-11-01 13:36:09 +02:00
containing a string. <br />
It will search the folder you are currently in, and all subfolders. <br />
2022-01-08 23:11:56 +02:00
Searching is not case sensitive.
</p>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> The <strong>log_file</strong> contains the
2023-11-01 13:36:09 +02:00
full path to the file to write the access log. <br />
Leave it blank to turn off logging. <br />
The log file can be a local file, or on an FTP server. <br />
2022-01-08 23:11:56 +02:00
If it's a local file on non-windows systems, make sure the log file is
2023-11-01 13:36:09 +02:00
chmod'ed to allow PHP to write to the file. <br />
2022-01-08 23:11:56 +02:00
Example:
</p>
<table style="border-color: rgb(17, 17, 17); border-collapse: collapse;" cellpadding="5" cellspacing="0">
<tbody>
<tr class="paragraph">
<td><span class="fixed_width">./log.txt</span></td>
<td>(the folder the php file is in)</td>
</tr>
<tr class="paragraph">
<td><span class="fixed_width">/home/user/public_html/share_folder/sharefile.log</span></td>
<td>(absolute path)</td>
</tr>
<tr class="paragraph">
<td><span class="fixed_width">ftp://user:password@example.com/sharefile.txt</span></td>
<td>(stored on ftp server)</td>
</tr>
</tbody>
</table>
2023-11-01 13:36:09 +02:00
<p> <b>dont_log_these_ips</b>
contains an array of strings (which are IP addresses). <br />
2022-01-08 23:11:56 +02:00
Any access from an IP on this list will not be written to the log file.
2023-11-01 13:36:09 +02:00
<br />
You can also add hostnames to the list, and use wildcards (*, +, ?). <br />
2022-01-08 23:11:56 +02:00
(i.e. put your own IP in here so you don't fill up the log file when
you access your site)
</p>
2023-11-01 13:36:09 +02:00
<p> <b>download_count</b> contains a
2022-01-08 23:11:56 +02:00
string which is the filename of the file to keep track of how many
2023-11-01 13:36:09 +02:00
times files have been downloaded. <br />
The file must be chmod'ed to allow PHP to read AND write to the file. <br />
Leave blank to disable this feature. <br />
2022-01-08 23:11:56 +02:00
<strong>NOTE</strong>: When downloading a file from
an IP addresses in the dont_log_these_ips array, the count will NOT
increase.
</p>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> <strong>links_file</strong> contains the
path to a text file with the URL of files that you want to be listed as
2023-11-01 13:36:09 +02:00
links. <br />
Separate each entry with a new line. <br />
2022-01-08 23:11:56 +02:00
If you want, you can change how the links is displayed, by putting some
text after a pipe ('|') </p>
2023-11-01 13:36:09 +02:00
<p><span class="fixed_width"><a href="http://autoindex.sourceforge.net">
http://autoindex.sourceforge.net</a> | Main Site <br /><a href="http://autoindex.sourceforge.net/forum/">
http://autoindex.sourceforge.net/forum/</a> | Forum </span></p>
<p>To add issues about this mobile edition rewriten for the Institute IT Unit go to: <a href="https://github.com/BeitDina/AutoIndex/issues">https://github.com/BeitDina/AutoIndex/issues</a><br />
</p>
<p> If no link description is present, the link itself will
be displayed. <br />
2022-01-08 23:11:56 +02:00
<strong>NOTE</strong>: This isn't really meant to be
done by hand - you can use the built-in editor when you log in as an
admin.
2023-11-01 13:36:09 +02:00
</p>
2022-01-08 23:11:56 +02:00
<p> <strong>description_file</strong> contains
2023-11-01 13:36:09 +02:00
the path to a text file with descriptions for files. <br />
2022-01-08 23:11:56 +02:00
The format is: [base_dir][full filename and path][a pipe,
2023-11-01 13:36:09 +02:00
'|'][description for file] <br />
Here's an example: ./sharefile.txt|This is a text file. <br />
Separate each entry with a new line. <br />
2022-01-08 23:11:56 +02:00
<strong>NOTE</strong>: This isn't really meant to be
done by hand: you can login as an admin and click "edit description"
next to any file.
</p>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> <strong>show_dir_size</strong> should be
2023-11-01 13:36:09 +02:00
set to TRUE or FALSE. <em>(Default: TRUE)</em> <br />
2022-01-08 23:11:56 +02:00
If it is set to TRUE, the total size of the folder will be shown under
2023-11-01 13:36:09 +02:00
size. <br />
If it is FALSE, it will display "[dir]" under size. <br />
2022-01-08 23:11:56 +02:00
<strong>NOTE</strong>: If you are trying to index
many files (meaning a few thousand), you will notice a speed
improvement with this turned off.
</p>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> <strong>folder_expansion</strong> should
2023-11-01 13:36:09 +02:00
be set to TRUE or FALSE. <em>(Default: FALSE)</em> <br />
2022-01-08 23:11:56 +02:00
If it is set to TRUE, when you click on the folder icon, it will expand
2023-11-01 13:36:09 +02:00
the folder and list its contents. <br />
Clicking on the folder name will take you into that folder. <br />
2022-01-08 23:11:56 +02:00
If it is set to FALSE, both clicking on the icon and name will take you
into the folder.
</p>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> <strong>show_folder_count</strong> should
2023-11-01 13:36:09 +02:00
be set to TRUE or FALSE. <em>(Default: FALSE)</em> <br />
2022-01-08 23:11:56 +02:00
If it is TRUE, the total number of files in a folder will be shown next
2023-11-01 13:36:09 +02:00
to that folder. <br />
2022-01-08 23:11:56 +02:00
Files are counted recursively (files in subfolders are counted).
</p>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> <strong>header</strong> and <strong>footer</strong>
2023-11-01 13:36:09 +02:00
are the paths to 2 files. <br />
The files must be text files (.html .txt .php , etc...) <br />
2022-01-08 23:11:56 +02:00
Header will be displayed at the top, and footer will be displayed at
2023-11-01 13:36:09 +02:00
the bottom. <br />
2022-01-08 23:11:56 +02:00
Leave blank to not include a file.
</p>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> <strong>header_per_folder</strong> and <strong>footer_per_folder</strong>
2023-11-01 13:36:09 +02:00
should be set to TRUE or FALSE. <em>(Default: FALSE)</em> <br />
2022-01-08 23:11:56 +02:00
If they are FALSE, the header/footer will be taken from the absolute or
2023-11-01 13:36:09 +02:00
relative path in the header/footer variable. <br />
2022-01-08 23:11:56 +02:00
If they are TRUE, the current directory will be added to the beginning
of the file to be included. (don't add a path to the header/footer
variables - just the filename)
</p>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> <strong>days_new</strong> contains the
number of days old a file can be and still have [New] written next to
2023-11-01 13:36:09 +02:00
it. <em>(Default: 0)</em> <br />
If it is set to 0, this feature will be disabled. <br />
2022-01-08 23:11:56 +02:00
<strong>NOTE</strong>: this can contain any number,
not just a 1 or 0 value, and it can contain a decimal if you want.
</p>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> <strong>md5_show</strong> is a feature
that will let users get the md5sum of a specific file. <em>(Default:
2023-11-01 13:36:09 +02:00
0)</em> <br />
If set to 0 it will be disabled. <br />
2022-01-08 23:11:56 +02:00
Otherwise, the number will represent the maximum file size (in
megabytes) to allow the md5sum to be calculated (I'd recommend
2023-11-01 13:36:09 +02:00
something close to 10). <br />
The number can contain a decimal if you want. <br />
<strong>NOTE</strong>: PHP version 4.2.0+ (or higher) was
required for this feature to work and not is PHP 5.3+ (or higter).
2022-01-08 23:11:56 +02:00
</p>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> <strong>thumbnail_height</strong> is a
feature that will show thumbnails next to images. (NOTE: GDlib 2.0.1 or
2023-11-01 13:36:09 +02:00
higher is required) <br />
2022-01-08 23:11:56 +02:00
Setting it to 0 will disable this feature, and setting it to any other
2023-11-01 13:36:09 +02:00
number will set the size of the thumbnail. <br />
2022-01-08 23:11:56 +02:00
(100 is a good setting to start with.)
</p>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> <strong>show_type_column</strong>, <strong>show_size_column</strong>,
and <strong>show_date_column</strong> are set to TRUE or
2023-11-01 13:36:09 +02:00
FALSE. <br />
2022-01-08 23:11:56 +02:00
Setting them to TRUE will show the column, and setting it to FALSE will
not display the column.
</p>
2023-11-01 13:36:09 +02:00
<hr class="default_hr" />
<p> <strong>Language Settings</strong>:<br />
<br />
2022-01-08 23:11:56 +02:00
<strong>lang</strong> is the default language to
2023-11-01 13:36:09 +02:00
display the script in. <br />
The choices for language file names are listed below... <br />
2022-01-08 23:11:56 +02:00
<em>(Default: 'en')</em>
</p>
<table style="border-color: rgb(17, 17, 17); border-collapse: collapse;" cellpadding="1" cellspacing="0">
<tbody>
<tr class="paragraph">
<th>lang setting</th>
<th>Language</th>
</tr>
<tr class="paragraph">
<td>al</td>
<td>Albanian</td>
</tr>
<tr class="paragraph">
<td>bg</td>
<td>Bulgarian</td>
</tr>
<tr class="paragraph">
<td>ca</td>
<td>Catalan</td>
</tr>
<tr class="paragraph">
<td>cz</td>
<td>Czech</td>
</tr>
<tr class="paragraph">
<td>da</td>
<td>Danish</td>
</tr>
<tr class="paragraph">
<td>de</td>
<td>German</td>
</tr>
<tr class="paragraph">
<td>ee</td>
<td>Estonian</td>
</tr>
<tr class="paragraph">
<td>en</td>
<td>English</td>
</tr>
<tr class="paragraph">
<td>eo</td>
<td>Esperanto</td>
</tr>
<tr class="paragraph">
<td>es</td>
<td>Spanish</td>
</tr>
<tr class="paragraph">
<td>fi</td>
<td>Finnish</td>
</tr>
<tr class="paragraph">
<td>fr</td>
<td>French</td>
</tr>
<tr class="paragraph">
<td>gr</td>
<td>Greek</td>
</tr>
<tr class="paragraph">
<td>he</td>
<td>Hebrew</td>
</tr>
<tr class="paragraph">
<td>hu</td>
<td>Hungarian</td>
</tr>
<tr class="paragraph">
<td>is</td>
<td>Icelandic</td>
</tr>
<tr class="paragraph">
<td>it</td>
<td>Italian</td>
</tr>
<tr class="paragraph">
<td>jp</td>
<td>Japanese</td>
</tr>
<tr class="paragraph">
<td>ko</td>
<td>Korean</td>
</tr>
<tr class="paragraph">
<td>lt</td>
<td>Lithuanian</td>
</tr>
<tr class="paragraph">
<td>lv</td>
<td>Latvian</td>
</tr>
<tr class="paragraph">
<td>ms</td>
<td>Malay</td>
</tr>
<tr class="paragraph">
<td>nl</td>
<td>Dutch</td>
</tr>
<tr class="paragraph">
<td>no</td>
<td>Norwegian</td>
</tr>
<tr class="paragraph">
<td>pl</td>
<td>Polish</td>
</tr>
<tr class="paragraph">
<td>pt_BR</td>
<td>Brazilian Portuguese</td>
</tr>
<tr class="paragraph">
<td>ro_RO</td>
<td>Romanian</td>
</tr>
<tr class="paragraph">
<td>ru</td>
<td>Russian</td>
</tr>
<tr class="paragraph">
<td>sk</td>
<td>Slovak</td>
</tr>
<tr class="paragraph">
<td>sr_LA</td>
<td>Serbian (Latin)</td>
</tr>
<tr class="paragraph">
<td>sr_CY</td>
<td>Serbian (Cyrillic)</td>
</tr>
<tr class="paragraph">
<td>sv</td>
<td>Swedish</td>
</tr>
<tr class="paragraph">
<td>th</td>
<td>Thai</td>
</tr>
<tr class="paragraph">
<td>tr</td>
<td>Turkish</td>
</tr>
<tr class="paragraph">
<td>vi</td>
<td>Vietnamese</td>
</tr>
<tr class="paragraph">
<td>zh_CN</td>
<td>Chinese</td>
</tr>
<tr class="paragraph">
<td>zh_TW</td>
<td>Chinese Traditional</td>
</tr>
</tbody>
</table>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> <strong>path_to_language_files</strong> is
2023-11-01 13:36:09 +02:00
the path where the *.php language files are located. <br />
2022-01-08 23:11:56 +02:00
<em>Default:</em> <span class="fixed_width">./languages/</span>
</p>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> If <strong>select_language</strong> is set
2023-11-01 13:36:09 +02:00
to TRUE, there will be an option at the bottom of the script for <br />
2022-01-08 23:11:56 +02:00
the user to choose which language the script is displayed in. <em>(Default:
FALSE)</em>
</p>
2023-11-01 13:36:09 +02:00
<hr class="default_hr" />
<p> <strong>Folder Flag Settings</strong>:<br />
<br />
2022-01-08 23:11:56 +02:00
<strong>flag</strong> is the default language flag to
2023-11-01 13:36:09 +02:00
display the short iso code folder. <br />
Some choices for iso folder are listed below... <br />
2022-01-08 23:11:56 +02:00
<em>(Default: 'en_us')</em>
</p>
<table style="border-color: rgb(17, 17, 17); border-collapse: collapse;" cellpadding="1" cellspacing="0">
<tbody>
<tr class="paragraph">
<th>lang setting</th>
<th>Language</th>
</tr>
<tr class="paragraph">
<td>al</td>
<td>Albanian</td>
</tr>
<tr class="paragraph">
<td>bg</td>
<td>Bulgarian</td>
</tr>
<tr class="paragraph">
<td>ca</td>
<td>Catalan</td>
</tr>
<tr class="paragraph">
<td>cz</td>
<td>Czech</td>
</tr>
<tr class="paragraph">
<td>da</td>
<td>Danish</td>
</tr>
<tr class="paragraph">
<td>de_DE</td>
<td>German Germany</td>
</tr>
<tr class="paragraph">
<td>ee</td>
<td>Estonian</td>
</tr>
<tr class="paragraph">
<td>en_UK</td>
<td>English UK</td>
</tr>
<tr class="paragraph">
<td>eo</td>
<td>Esperanto</td>
</tr>
<tr class="paragraph">
<td>es_ES</td>
<td>Spanish SPAIN</td>
</tr>
<tr class="paragraph">
<td>fi</td>
<td>Finnish</td>
</tr>
<tr class="paragraph">
<td>fr</td>
<td>French</td>
</tr>
<tr class="paragraph">
<td>el</td>
<td>Greek</td>
</tr>
<tr class="paragraph">
<td>he</td>
<td>Hebrew</td>
</tr>
<tr class="paragraph">
<td>hu</td>
<td>Hungarian</td>
</tr>
<tr class="paragraph">
<td>is</td>
<td>Icelandic</td>
</tr>
<tr class="paragraph">
<td>it</td>
<td>Italian</td>
</tr>
<tr class="paragraph">
<td>jp</td>
<td>Japanese</td>
</tr>
<tr class="paragraph">
<td>ko</td>
<td>Korean</td>
</tr>
<tr class="paragraph">
<td>lt</td>
<td>Lithuanian</td>
</tr>
<tr class="paragraph">
<td>lv</td>
<td>Latvian</td>
</tr>
<tr class="paragraph">
<td>ms</td>
<td>Malay</td>
</tr>
<tr class="paragraph">
<td>nl</td>
<td>Dutch</td>
</tr>
<tr class="paragraph">
<td>no</td>
<td>Norwegian</td>
</tr>
<tr class="paragraph">
<td>pl</td>
<td>Polish</td>
</tr>
<tr class="paragraph">
<td>pt_BR</td>
<td>Brazilian Portuguese</td>
</tr>
<tr class="paragraph">
<td>ro_RO</td>
<td>Romanian</td>
</tr>
<tr class="paragraph">
<td>ru</td>
<td>Russian</td>
</tr>
<tr class="paragraph">
<td>sk</td>
<td>Slovak</td>
</tr>
<tr class="paragraph">
<td>sr_LA</td>
<td>Serbian (Latin)</td>
</tr>
<tr class="paragraph">
<td>sr_CY</td>
<td>Serbian (Cyrillic)</td>
</tr>
<tr class="paragraph">
<td>sv</td>
<td>Swedish</td>
</tr>
<tr class="paragraph">
<td>th</td>
<td>Thai</td>
</tr>
<tr class="paragraph">
<td>tr</td>
<td>Turkish</td>
</tr>
<tr class="paragraph">
<td>vi</td>
<td>Vietnamese</td>
</tr>
<tr class="paragraph">
<td>zh_CN</td>
<td>Chinese</td>
</tr>
<tr class="paragraph">
<td>lzh or&nbsp;zh_TW</td>
<td>Chinese Traditional</td>
</tr>
</tbody>
</table>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> <strong>path_to_flag_files</strong> is
2023-11-01 13:36:09 +02:00
the path where the *.png language flag images are located. <br />
2022-01-08 23:11:56 +02:00
<em>Default:</em> <span class="fixed_width">./flags/language/</span>
</p>
2023-11-01 13:36:09 +02:00
2022-01-08 23:11:56 +02:00
<p> If <strong>select_language</strong> is set
2023-11-01 13:36:09 +02:00
to TRUE, there will be an option at the bottom of the script for <br />
2022-01-08 23:11:56 +02:00
the user to choose which language the script is displayed in. <em>(Default:
FALSE)</em>
</p>
2023-11-01 13:36:09 +02:00
<hr class="default_hr" />
2022-01-08 23:11:56 +02:00
</td>
</tr>
</tbody>
</table>
</body></html>