diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-06-10 14:53:57 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-06-10 14:53:57 +0000 |
| commit | 4cfe9a5b0d7ad44ae20b5e492e27edb7ac05961c (patch) | |
| tree | d825a75da481ebdba0b0a3a28fcf76b30001a832 /templates/edit_storage_list.tpl | |
| parent | 644003442a636d12a7278b7a5ef02b71366b15c3 (diff) | |
| download | liberty-4cfe9a5b0d7ad44ae20b5e492e27edb7ac05961c.tar.gz liberty-4cfe9a5b0d7ad44ae20b5e492e27edb7ac05961c.tar.bz2 liberty-4cfe9a5b0d7ad44ae20b5e492e27edb7ac05961c.zip | |
use filename as fallback if title is not set
Diffstat (limited to 'templates/edit_storage_list.tpl')
| -rw-r--r-- | templates/edit_storage_list.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/edit_storage_list.tpl b/templates/edit_storage_list.tpl index 946dc5e..0ba1820 100644 --- a/templates/edit_storage_list.tpl +++ b/templates/edit_storage_list.tpl @@ -17,7 +17,7 @@ {foreach from=$gContent->mStorage item=storage key=attachmentId name=atts} <tr class="{cycle values="odd,even"}"> <td style="text-align:center;"> - {jspopup href=$storage.source_url title=$storage.title notra=1 img=$storage.thumbnail_url.avatar} + {jspopup href=$storage.source_url title=$storage.title|default:$storage.filename notra=1 img=$storage.thumbnail_url.avatar} {if $smarty.foreach.atts.first} {formhelp note="click to see large preview"} {/if} |
