{strip} {* don't replicate the surrounding div when inserting ajax content *} {if !$gBitThemes->isAjaxRequest()}
| {tr}Thumbnail{/tr} | {tr}Inclusion Code{/tr} | {tr}Actions{/tr} |
|---|---|---|
|
{if $storage.is_mime}
{include file=$gLibertySystem->getMimeTemplate('storage',$storage.attachment_plugin_guid) thumbsize=small preferences=$gContent->mStoragePrefs.$attachmentId attachment=$storage}
{else}
{jspopup href=$storage.source_url title=$storage.title|default:$storage.filename notra=1 img=$storage.thumbnail_url.avatar}
{$storage.filename} {$storage.file_size|display_bytes} {if $smarty.foreach.atts.first} {formhelp note="click to see large preview"} {/if} {/if} |
{tr}Attachment ID{/tr}: {$storage.attachment_id}
{if $gBitThemes->isJavascriptEnabled()}
{else}
{$storage.wiki_plugin_link}
{if $smarty.foreach.atts.first}
{formhelp note="copy this code into your edit window to embed the file into your text"}
{/if}
{/if}
|
{if $uploadTab}
{* these radio buttons can not be displayed twice in the same form due to interference in $_REQUEST *}
{/if} {if $gBitUser->isAdmin() || ($storage.user_id == $gBitUser->mUserId) } {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'} {booticon iname="icon-trash" ipackage="icons" iexplain="delete"} {else} {if $storage.is_mime} {booticon iname="icon-folder-open" ipackage="icons" iexplain="View"} {/if} {booticon iname="icon-trash" ipackage="icons" iexplain="Delete"} {/if} {/if} |
| {formhelp note="copy this code into your edit window to embed the file into your text"} | ||