mirror of
https://github.com/jimeh/dlist.git
synced 2026-02-19 07:56:41 +00:00
dList v2.2.5 beta
- Tested and fixed bugs on PHP 5.x. Only remaining problem is that short tags is disabled by default in PHP 5.x. As of this moment dList templates use <? ?> style tags for simplicity. - Other minor changes which i don't remember. git-svn-id: file:///Users/jimeh/Desktop/dlist/trunk@23 a5845835-ea0f-0410-a762-dd0bfe9bfde8
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
<table border="0" cellspacing="1" cellpadding="0" id="list">
|
||||
<tr>
|
||||
<th class="icon"></th>
|
||||
<? foreach ($fields as $key => $value): ?><th class="<?=$key?>"><a href="<?=Sort::get_url($key)?>"><?=$lang->$key?></a></th><? endforeach ?>
|
||||
<? foreach ($fields as $key => $value):
|
||||
$reverse = ($key == 'mtime') ? true : false;
|
||||
?><th class="<?=$key?>"><a href="<?=Sort::get_url($key, $reverse)?>"><?=$lang->$key?></a></th><? endforeach ?>
|
||||
</tr>
|
||||
<? if ( !$is_root ): ?>
|
||||
<tr>
|
||||
|
||||
@@ -36,6 +36,7 @@ if ( !empty($_COOKIE['dList_simple_viewMode']) && !empty($config->tpl_modes[$_CO
|
||||
}
|
||||
|
||||
|
||||
|
||||
//>Section> include_phtml
|
||||
include(TPL_PATH.'index.phtml');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user