tag. %DIR is replaced with the directory path.
// for instance:
// $titleformat = "antisleep: %DIR";
$titleformat = "index of %DIR";
// logoimageurl, logolink
// If these are provided, the provided logo URL will be inserted as an tag
// at the top of the directory listing. If logolink is non-empty, the logo image
// will link to the provided URL.
// for instance:
// $logoimageurl = "/images/titlebar-small.gif";
// $logolink = "http://antisleep.com/";
$logoimageurl = "";
$logolink = "";
//=======================================================================
// (end of config)
//=======================================================================
if ($use_js) {
$cssfile = "style-js.css";
$jstext = file_get_contents("script.js");
$pcjstext = "document.getElementById('pagecontainer').style.display = 'none';\n";
} else {
$cssfile = "style-nojs.css";
$jstext = "";
$pcjstext = "";
}
$csstext = file_get_contents($cssfile);
$uri = urldecode($_SERVER['REQUEST_URI']);
$uri = preg_replace("/\/ *$/", "", $uri);
$uri = preg_replace("/\?.*$/", "", $uri);
$titletext = str_replace("%DIR", $uri, $titleformat);
$logohtml = "";
if ($logoimageurl != "") {
$logohtml = "
";
if ($logolink != "") {
$logohtml = "" . $logohtml . "";
}
$logohtml = "
| Name | Last modified | Size | |
|---|---|---|---|
| Parent Directory | - | ||
| Bio FR & ENG Valérie Liénardy.doc | 06-May-2008 06:28 | 22K | |
| Dialogues ENG Sans Lendemain.doc | 06-May-2008 06:28 | 21K | |
| Dialogues FR Sans Lendemain.doc | 06-May-2008 06:28 | 22K | |
| Photo Antoine Co-Réalisateur.JPG | 06-May-2008 06:28 | 205K | |
| Photo Assis sur le lit.jpg | 06-May-2008 06:29 | 32K | |
| Photo Dans la salle de bain.jpg | 06-May-2008 06:29 | 32K | |
| Photo Dans le lit.jpg | 06-May-2008 06:29 | 27K | |
| Photo Valérie Liénardy.jpg | 06-May-2008 06:29 | 154K | |
| Technical Form Sans Lendemain.doc | 06-May-2008 06:32 | 1.1M |