Section | Description, Use |
/FOLDER_HREF_APPEND | Text is appended to folder HREF links (e.g. target="frame2" )
Example: <a href="folder_link" target="frame2">folder_link</a> |
/FILE_HREF_APPEND | Text is appended to file HREF links (e.g. target="_new" )
Example: <a href="file.html" target="_new">file.html</a> Note: %%F will insert the current filename in the append text (for example: title="%%F" would become
<a href="file.html" title="file.html">file.html</a>) |
/PRE_HREF_FILE | Text is added before the opening file <a>
(e.g. Here is the filename: %%F ) |
/POST_HREF_FILE | Text is added after the closing file link HREF </a>, but
before the </td>
(e.g. Here is the filename: %%F ) |
/PRE_FNAME_FILE | Text is added before visible file links, after the href >
Example: given "{inserted} " as /PRE_FNAME_FILE, links will
look like: <a href="file.doc">{inserted} file.doc</a> |
/POST_FNAME_FILE | Text is added after visible file links, before the </a>
Example: given " {inserted}" as /POST_FNAME_FILE, links will
look like: <a href="file.doc">file.doc {inserted}</a> |
/PRE_HREF_FOLDER | Text is added before the opening folder <a> |
/POST_HREF_FOLDER | Text is added after the closing folder link HREF </a>, but before the </td> |
/PRE_FNAME_FOLDER | Text is added before folder links, after the href="..."> |
/POST_FNAME_FOLDER | Text is added after visible folder links, before the </a> |
/FILE_PREFIX | Text is added before file links
(e.g. some_folder/ )
Example: given a script with...
/FOLDER_PREFIX
... links will look like this:
<a href="ftp://mydomain.com/file.html">file.html</a>
Note: Text must end with a trailing slash to be functional (e.g. "mydomain.com/", not "mydomain.com").
Note: If /FILE_PREFIX is defined, any /FOLDER_PREFIX is ignored for file links. |
/FOLDER_PREFIX | Text is added before folder and file links (see /FILE_PREFIX) |
/FILE_MATCHES_TD | Adds text to <td>'s that contain matching file links. The section must contain only an existing file name (e.g. file_matches.txt), and the external file must use the same flat-file format used by dirhtml scripts, with each potential file match preceded by /, and multiple matches separated by |. Example:
Code is inserted: /FILE_MATCHES_TD <td HERE> This is a sample valid external file: /*.mp3|*.ogg Special case: no matches If the external file contains /NO_MATCH-DIRHTML, filenames that have no matching code will use code from the /NO_MATCH-DIRHTML section. Example:
/NO_MATCH-DIRHTML File matches are not cumulative (e.g. if the matching.txt file has /*.* and /*.*, only the first html code will be used). Internally, file match specs are sorted alphabetically, so /a*.* would be before /b*.*, regardless of their position in the matching.txt file. |
/FILE_MATCHES_A | Adds text to the <a> of matching file links - See /FILE_MATCHES_TD.Code is inserted: <a HERE>...</a> |
/FILE_MATCHES_BEFORE_A | Adds text before matching file links (before the opening <a) - See /FILE_MATCHES_TD Code is inserted: HERE<a>...</a> |
/FILE_MATCHES_INSIDE_A | Adds text before matching file links (before the link text) - See /FILE_MATCHES_TD. Code is inserted: <a>HERE...</a> |