diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-11-26 12:51:58 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-11-26 12:51:58 +0000 |
| commit | 550bd1ca526bec8747df6e6fe3e318fbcd8207dd (patch) | |
| tree | d8d003de0221d1284e533e5bada92031f13f605b /templates/attachment_browser.tpl | |
| parent | e60710ab7165adb3402a1cc39f8f4efe0b6eb2a5 (diff) | |
| download | liberty-550bd1ca526bec8747df6e6fe3e318fbcd8207dd.tar.gz liberty-550bd1ca526bec8747df6e6fe3e318fbcd8207dd.tar.bz2 liberty-550bd1ca526bec8747df6e6fe3e318fbcd8207dd.zip | |
move getAttachmentList function to LibertyAttachable, where it belongs and add a basic page to list all available attachments - only admin may view attachments from other users as well. - functionally still somewhat lacking...
Diffstat (limited to 'templates/attachment_browser.tpl')
| -rw-r--r-- | templates/attachment_browser.tpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/attachment_browser.tpl b/templates/attachment_browser.tpl index 26340fa..a5e9aef 100644 --- a/templates/attachment_browser.tpl +++ b/templates/attachment_browser.tpl @@ -19,7 +19,7 @@ <table class="data"> <caption>{tr}Available Attachements{/tr} <span class="total">[ {$userAttachments.cant} ]</span></caption> {counter start=-1 name="cells" print=false} - {foreach from=$userAttachments.data item=attachment key=foo} + {foreach from=$userAttachments item=attachment key=foo} {counter name="cells" assign="cells" print=false} {if $cells % 2 eq 0} <tr class="{cycle values="odd,even"}"> @@ -46,4 +46,5 @@ </table> {libertypagination pgnName="pgnPage" pgnPage=$curPage numPages=$numPages offset=$smarty.request.offset ajaxId=attbrowser} +{pagination ajaxId=attbrowser} {/strip} |
