mirror of
https://github.com/jimeh/dlist.git
synced 2026-02-19 07:56:41 +00:00
fixed small display bug in Slik template
git-svn-id: file:///Users/jimeh/Desktop/dlist/trunk@36 a5845835-ea0f-0410-a762-dd0bfe9bfde8
This commit is contained in:
@@ -12,7 +12,11 @@
|
||||
<a href="<?=rawurlencode($item['name'])?><? if($item['type'] == 'dir') echo '/'; ?>" onmouseover="iP(<?=$n.$thumbnail?>)" onmouseout="o()">
|
||||
<span id="p<?=$n?>"><div class="name"><?=$item['name']?></div>
|
||||
<?
|
||||
if ( !empty($fields['size']) && $item['type'] == 'file' ) echo $lang->size.': '.$item['size'].' ('.number_format($item['size_raw']).' bytes)<br />';
|
||||
if ( !empty($fields['size']) && $item['type'] == 'file' ) {
|
||||
echo $lang->size.': '.$item['size'];
|
||||
if (!preg_match('/bytes/i', $item['size'])) echo ' ('.number_format($item['size_raw']).' bytes)';
|
||||
echo '<br />';
|
||||
}
|
||||
if ( !empty($fields['mtime']) && $item['type'] == 'file' ) echo $lang->mtime.': '.$item['mtime'].'<br />';
|
||||
if ( !empty($fields['atime']) ) echo $lang->atime.': '.$item['atime'].'<br />';
|
||||
if ( !empty($fields['perms']) ) echo $lang->perms.': '.$item['perms'].'<br />';
|
||||
|
||||
Reference in New Issue
Block a user