diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-12-08 07:47:28 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-12-08 07:47:28 +0000 |
| commit | 19d009487b5aa37cca582f3b9ea2c2fb6c3e99a7 (patch) | |
| tree | dec013c95a7cc0adc141333f2228e86a894cd439 /templates | |
| parent | 494df8a25bc18cb25cfa8fb77b83c6004fc8bc90 (diff) | |
| download | liberty-19d009487b5aa37cca582f3b9ea2c2fb6c3e99a7.tar.gz liberty-19d009487b5aa37cca582f3b9ea2c2fb6c3e99a7.tar.bz2 liberty-19d009487b5aa37cca582f3b9ea2c2fb6c3e99a7.zip | |
make urlArgs available in all situations
Diffstat (limited to 'templates')
| -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 b5eb2c4..fc7b845 100644 --- a/templates/edit_storage_list.tpl +++ b/templates/edit_storage_list.tpl @@ -47,8 +47,8 @@ <br /> {/if} {if $gBitUser->isAdmin() || ($storage.user_id == $gBitUser->mUserId && $gBitUser->hasPermission('p_liberty_delete_attachments') ) } + {capture name=urlArgs}{$attachmentBaseArgs}content_id={$gContent->mContentId}{if empty($gContent->mContentId)}{foreach from=$gContent->mStorage key=key item=val}&STORAGE[existing][{$val.attachment_id}]={$val.attachment_id}{/foreach}{/if}{/capture} {if $libertyUploader || $gBitSystem->getConfig('liberty_attachment_style') == 'ajax'} - {capture name=urlArgs}{$attachmentBaseArgs}content_id={$gContent->mContentId}{if empty($gContent->mContentId)}{foreach from=$gContent->mStorage key=key item=val}&STORAGE[existing][{$val.attachment_id}]={$val.attachment_id}{/foreach}{/if}{/capture} <a href="javascript: BitAjax.updater('edit_storage_list_tab', '{$smarty.const.LIBERTY_PKG_URL}ajax_edit_storage.php', '{$smarty.capture.urlArgs}&deleteAttachment={$attachmentId}'); BitAjax.updater('edit_storage_list', '{$smarty.const.LIBERTY_PKG_URL}ajax_edit_storage.php', '{$smarty.capture.urlArgs}');"> |
