NotSoFancy! /install/templates

You are seriously going to be on your own for this one. All I will do is give you a list of what variables contain what so you can place them as you see fit in your templates.

Variables:

$nsf_oddrow — Tells if the current file is even or odd; can be used to alternate colors each file listed
$nsf_current_path — The current path being viewed
$nsf_css — URL to the CSS file you want to use in your index; specified in config.php
$nsf_readme — Contains the content of README if one exists and display has not been disabled in index.php
$nsf_file — The filename uncropped, use this for linking
$nsf_filename — The filename of a file, cropped if enabled
$nsf_size — File's size
$nsf_modified — Date a file was last modified
$nsf_mime — File's MIME type
$nsf_icon — Web path to an icon representing a file's MIME type
$nsf_owner — ID number of the user who owns a file
$nsf_group — ID number of the group a file belongs to
$nsf_perms — File's read/write/execute permissions
$nsf_descrip — Description of the file specified in index.php if it has one
$nsf_website — Name of your website; specified in config.php
$nsf_weburl — URL to your website; specified in config.php

Text Strings:

$nsf_strings[2] — Ellipsis character
$nsf_strings[3] — Em dash character
$nsf_strings[4] — "File name"
$nsf_strings[5] — "Last modified"
$nsf_strings[6] — "Size"
$nsf_strings[7] — "Description"
$nsf_strings[8] — "Owner"
$nsf_strings[9] — "Group"
$nsf_strings[10] — "Permissions"
$nsf_strings[11] — "<Directory>"; this is shown in the MIME type of directory entries
$nsf_strings[12] — "Parent Directory"; title of the link to ../
$nsf_strings[13] — "Index of"; shown at the top of the page by path

It's recommended you use the text strings wherever possible if you plan to distribute your template. It will make it possible for your template to work with all locale files.

Parent Directory

File name Last modified Size Description
SourceForge.net Logo