mirror of
https://github.com/jimeh/dlist.git
synced 2026-02-19 07:56:41 +00:00
updated handling of long filenames in icons views of "simple" and "slik" templates, and modified output functions in exec/output.exec.php.
git-svn-id: file:///Users/jimeh/Desktop/dlist/trunk@28 a5845835-ea0f-0410-a762-dd0bfe9bfde8
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
<?=$lang->group_id?>: <?=$item['group_id']?><br /><? endif; ?>
|
||||
</span>
|
||||
<p class="p"><img src="<?=Icon::get_url($item['name'], 'large', $item['type'], true)?>" alt="" /></p>
|
||||
<p class="n"><?=Path::wordbreak($item['name'], $config->tpl_wordbreak, "\n", 1)?></p>
|
||||
<p class="n"><?=Path::breakFilename($item['name'], $config->tpl_file_maxlength, $config->tpl_wordbreak)?></p>
|
||||
<p class="i"><?=$info?></p>
|
||||
</a>
|
||||
</li><? $n++; endforeach; ?>
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
// Icons view settings
|
||||
'file_info' => 'size',
|
||||
'folder_info' => 'mtime',
|
||||
'wordbreak' => 18,
|
||||
'file_maxlength' => 32,
|
||||
'wordbreak' => 16,
|
||||
|
||||
|
||||
'preview_width' => 175,
|
||||
'preview_height' => 175,
|
||||
|
||||
Reference in New Issue
Block a user