summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2009-05-04 08:07:03 +0000
committerMax Kremmel <xing@synapse.plus.com>2009-05-04 08:07:03 +0000
commit6af8587fa9249f97ac620eb45b75ae6cd879b770 (patch)
treebfff9b32e9fdb3aac8cae71d86ceaea11ce03f0e
parent2290eeff81ef46a9377f73c79685ab3a13eaab4e (diff)
downloadliberty-6af8587fa9249f97ac620eb45b75ae6cd879b770.tar.gz
liberty-6af8587fa9249f97ac620eb45b75ae6cd879b770.tar.bz2
liberty-6af8587fa9249f97ac620eb45b75ae6cd879b770.zip
fix html and indent with tabs
-rw-r--r--templates/storage_thumbs.tpl70
1 files changed, 33 insertions, 37 deletions
diff --git a/templates/storage_thumbs.tpl b/templates/storage_thumbs.tpl
index 8b4efa3..9e7ac57 100644
--- a/templates/storage_thumbs.tpl
+++ b/templates/storage_thumbs.tpl
@@ -7,52 +7,48 @@
{/if}
<div class="storage">
- <table class="data">
+ <table class="data">
<caption>
{tr}Files attached to this page{/tr}
</caption>
<thead>
<tr>
- <th></th>
- <th >{tr}File{/tr}</th>
- <th >{tr}Type{/tr}</th>
- <th >{tr}Size{/tr}</th>
- <th >{tr}Last Modified{/tr}</th>
- <th >{tr}Uploaded by{/tr}</th>
+ <th colspan="2">{tr}File{/tr}</th>
+ <th>{tr}Type{/tr}</th>
+ <th>{tr}Size{/tr}</th>
+ <th>{tr}Last Modified{/tr}</th>
+ <th>{tr}Uploaded by{/tr}</th>
</tr>
</thead>
<tbody>
- {foreach from=$gContent->mStorage item=attachment key=id}
- <tr class="{cycle values="odd,even"}" >
- <td>
- {if $attachment.source_url}<a href="{$attachment.source_url}">{/if}
- <img class="thumb" src="{$attachment.thumbnail_url.$thumbsize}" alt="{$attachment.filename}" title="{$attachment.filename}" {popup fullhtml=1 center=1 text=$smarty.capture.popup|escape:"javascript"|escape:"html"} />
- {if $attachment.source_url}</a>{/if}
- </td>
- <td style="text-align:left;">
- <h3>
- {if $attachment.source_url}<a href="{$attachment.source_url}">{/if}
- {$attachment.filename}
- {if $attachment.source_url}</a>{/if}
- </h3>
-
- </td>
- <td class="attachmenttype">
- {$attachment.mime_type}
- </td>
- <td class="attachmentsize">
- {$attachment.file_size|display_bytes}
- </td>
- <td class="lastmodified">
- {$attachment.last_modified|bit_short_datetime}
- </td>
- <td class="uploadedby">
- {displayname user_id=$attachment.user_id}
- </td>
- </tr>
- {/foreach}
+ {foreach from=$gContent->mStorage item=attachment key=id}
+ <tr class="{cycle values="odd,even"}" >
+ <td>
+ {if $attachment.source_url}<a href="{$attachment.source_url}">{/if}
+ <img class="thumb" src="{$attachment.thumbnail_url.$thumbsize}" alt="{$attachment.filename}" title="{$attachment.filename}" />
+ {if $attachment.source_url}</a>{/if}
+ </td>
+ <td>
+ {if $attachment.source_url}<a href="{$attachment.source_url}">{/if}
+ {$attachment.filename}
+ {if $attachment.source_url}</a>{/if}
+ </td>
+ <td class="attachmenttype">
+ {$attachment.mime_type}
+ </td>
+ <td class="attachmentsize">
+ {$attachment.file_size|display_bytes}
+ </td>
+ <td class="lastmodified">
+ {$attachment.last_modified|bit_short_datetime}
+ </td>
+ <td class="uploadedby">
+ {displayname user_id=$attachment.user_id}
+ </td>
+ </tr>
+ {/foreach}
</tbody>
- </table>
+ </table>
{*
{foreach from=$gContent->mStorage item=attachment key=id}