diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-09-15 10:18:07 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-09-15 10:18:07 +0000 |
| commit | 625d7516c880c7734a173105ab9803cb1515eaa0 (patch) | |
| tree | 482ce7f91768e15f10e75b042ca146a0aa997195 /templates/attachment_browser.tpl | |
| parent | ed3e593748a30d35ec49a65dd6e1604070885fe8 (diff) | |
| download | liberty-625d7516c880c7734a173105ab9803cb1515eaa0.tar.gz liberty-625d7516c880c7734a173105ab9803cb1515eaa0.tar.bz2 liberty-625d7516c880c7734a173105ab9803cb1515eaa0.zip | |
remove deprecated code
Diffstat (limited to 'templates/attachment_browser.tpl')
| -rw-r--r-- | templates/attachment_browser.tpl | 42 |
1 files changed, 1 insertions, 41 deletions
diff --git a/templates/attachment_browser.tpl b/templates/attachment_browser.tpl index ee42404..d1587a2 100644 --- a/templates/attachment_browser.tpl +++ b/templates/attachment_browser.tpl @@ -9,46 +9,6 @@ {include file="bitpackage:liberty/edit_storage_list.tpl"} -{* DEPRECATED - Slated for removal - replaced by use of edit_storage_list above. -wjames5 -<div class="row"> - {formlabel label="Insert Attachment"} - {forminput} - <input type="text" name="dummy" id="copy" size="30" class="success" /> - <input type="button" value="{tr}Clear{/tr}" onclick="document.getElementById( 'copy' ).value = '';" /> - {formhelp note="Clicking on any of the attachments below, will display the correct attachment syntax in the textbox above. Insert this text into the textarea where needed."} - {/forminput} -</div> - -<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 item=attachment key=foo} - {counter name="cells" assign="cells" print=false} - {if $cells % 2 eq 0} - <tr class="{cycle values="odd,even"}"> - {/if} - - <td> - <a title="{tr}Attachment id: {$attachment.attachment_id}{/tr}" href="javascript:insertAt( 'copy', '{ldelim}attachment id={$attachment.attachment_id}{rdelim}' );"> - <img src="{$attachment.thumbnail_url.small}" alt="{$attachment.filename}" /><br /> - {$attachment.filename}<br /> - Attachment ID: {$attachment.attachment_id} - </a> - </td> - - {if $cells % 2 ne 0} - </tr> - {/if} - {foreachelse} - <tr class="norecords"><td>{tr}No Records Found{/tr}</td></tr> - {/foreach} - - {if $cells % 2 eq 0} - <td> </td></tr> - {/if} -</table> -*} - {libertypagination pgnName="pgnPage" pgnPage=$curPage numPages=$numPages offset=$smarty.request.offset ajaxId=attbrowser} {pagination ajaxId=attbrowser} -{/strip}
\ No newline at end of file +{/strip} |
