- added language support (still needs some tweaking, and swedish language file needs correct locale settings)

- removed timer.exc.php and put the needed intializer directly in view.php to get a more accurate reading from $timer->end()
- updated .htaccess settings to they for once work 100% as they should, and added httpd_dlist.conf to respository to keep track of any changes/updates needed to the .htaccess file or apache config file (depending how you implement dList)

git-svn-id: file:///Users/jimeh/Desktop/dlist/trunk@11 a5845835-ea0f-0410-a762-dd0bfe9bfde8
This commit is contained in:
jim
2006-04-01 23:24:32 +00:00
parent 05fc88b1d9
commit a8fe6d5a8c
14 changed files with 247 additions and 82 deletions

View File

@@ -3,7 +3,7 @@
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>Index of <?=DIR_URL?></title>
<title><?=$lang->index_of.' '.DIR_URL?></title>
<style type="text/css" media="screen">
/* <![CDATA[ */
<? include(TPL_PATH.'stylesheets/screen.css') ?>
@@ -12,18 +12,18 @@
</head>
<body id="index">
<div id="header">
Index of <?=DIR_URL?>
<?=$lang->index_of.' '.DIR_URL?>
</div>
<table border="0" cellspacing="1" cellpadding="0" id="list">
<tr>
<th class="icon"></th>
<th class="name">Name</th>
<th class="size">Size</th>
<th class="mtime">Date Modified</th>
<th class="perms">Permissions</th>
<th class="owner">Owner</th>
<th class="name"><?=$lang->name?></th>
<th class="size"><?=$lang->size?></th>
<th class="mtime"><?=$lang->mtime?></th>
<th class="perms"><?=$lang->perms?></th>
<th class="owner"><?=$lang->owner?></th>
</tr>
<? if (!empty($parent['name']) || $parent['name'] != '/'): ?>
<? if ( DIR_URL != '' && DIR_URL != '/'): ?>
<tr>
<td class="icon"><a href="../" title="Parent Directory"><img src="<?=Icon::get_parent($config->tpl_icon_size)?>" class="" alt="" /></a></td>
<td class="name"><a href="../" title="Parent Directory">..</a></td>
@@ -49,7 +49,7 @@
<? endforeach ?>
</table>
<div id="stats">
Page generated in <?=$timer->end()?> seconds.
<?=$lang->page_generated.' '.$timer->end(6).' '.$lang->seconds?>.
</div>
</body>
</html>

View File

@@ -9,7 +9,7 @@
//_HEAD;
/* --- Configuration ---
Name: render/simple
Name: simple/render
Priority: 40
Author: Jim Myhrberg
*/