Back arrow Next arrow

Dirhtml Help - Scripts (File Table Related)

SectionDescription, Use
/TABLEHEADER Text replaces the file <table> definition
(e.g. <table cellpadding="0" cellspacing="0" border="2" width="100%" class="file_table_class">)
/FILE_HEADER_TD Adds text to <th>'s in the header row of the file table
(e.g. class="fileheader_class")
/FILE_TD Adds text to <td>'s containing filename links  (Note: changed in v4.75)
(e.g. class="file_class")
/FILE_TD2 The same as /FILE_TD, but for even numbered rows
/SIZE_DATE_TD Adds text to <td>'s containing size, time and date cells  (Note: changed in v4.75)
(e.g. class="size_date_td_class")
/SIZE_DATE_TD2 The same as /SIZE_DATE_TD, but for even numbered rows
/SIZE_TD Adds text to <td>'s containing file size cells  (Note: overrides /SIZE_DATE_TD)
(e.g. class="size_td_class")
/SIZE_TD2 The same as /SIZE_TD, but for even numbered rows
/DATE_TD Adds text to <td>'s containing date cells  (Note: overrides /SIZE_DATE_TD)
(e.g. class="date_td_class")
/DATE_TD2 The same as /DATE_TD, but for even numbered rows
/TIME_TD Adds text to <td>'s containing time cells  (Note: overrides /SIZE_DATE_TD)
(e.g. class="time_td_class")
/TIME_TD2 The same as /TIME_TD, but for even numbered rows
/FILE_TABLE_ROW    Adds text to <tr> for odd numbered rows in the file table
(e.g. class="odd_file_row_class")
(Note: generally not needed, as definining a style for the whole table is more elegant)
/FILE_TABLE_ROW2    Adds text to <tr> for even numbered rows in the file table
(e.g. class="even_file_row_class")
/FILE_TABLE_START    Adds text after the file <table> definition
(e.g. <caption>This is a caption</caption>
<tfoot><tr><td>This is a footer</td></tr></tfoot>
)
/FILE_TABLE_END    Adds text before the file </table> end
(e.g. <tr><td colspan="99" style="text-align: center">Extra table row added</td></tr>)
/PRE_HREF_FILE Text is added before the opening file <a>
/POST_HREF_FILE Text is added after the closing file link HREF </a>, but before the </td>
/PRE_FNAME_FILE Text is added before file links, after the href="...">
/POST_FNAME_FILE Text is added after file links, before the </a>
/FILE_HEADER_OVERRIDE    Adds text to the first anchor <td> in the file table when the file table is recursive, with all links in one file, sorted by folder, and folder names/anchors are shown.  This was added to avoid potentially doubling borders for certain build types.
/BEFORE_FILENAME_NOT_FIRST_COLUMN    Adds text before all filenames that are not in the first column (e.g. &nbsp;&nbsp;)