diff options
| author | Christian Fowler <spider@viovio.com> | 2009-09-17 00:18:35 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2009-09-17 00:18:35 +0000 |
| commit | 46666cb13daf33f28367be98f18d9966147a5e60 (patch) | |
| tree | 8bfb1a936e1b7f181668678bc50685c5e84e7ad8 | |
| parent | 27f2cb6b1f8b421c2c6b187330a46b168c8a9514 (diff) | |
| download | liberty-46666cb13daf33f28367be98f18d9966147a5e60.tar.gz liberty-46666cb13daf33f28367be98f18d9966147a5e60.tar.bz2 liberty-46666cb13daf33f28367be98f18d9966147a5e60.zip | |
reduce clutter in tpl - remove excess verbage, and remove table column
| -rw-r--r-- | templates/edit_storage_list.tpl | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/templates/edit_storage_list.tpl b/templates/edit_storage_list.tpl index fc313e9..3935249 100644 --- a/templates/edit_storage_list.tpl +++ b/templates/edit_storage_list.tpl @@ -6,31 +6,14 @@ {if $gContent->mStorage} <div class="row"> <table class="data" summary="List of attached files"> - <caption>{tr}Items {if $libertyUploader && empty($gContent->mContentId)}That Will Be{/if} Attached Directly to this Content{/tr}</caption> <tr> - <th scope="col" class="width1p" title="{tr}Attachment ID{/tr}">{tr}Attachment ID{/tr}</th> <th scope="col" class="width29p" title="{tr}Thumbnail{/tr}">{tr}Thumbnail{/tr}</th> <th scope="col" class="width40p" title="{tr}Inclusion Code{/tr}">{tr}Inclusion Code{/tr}</th> <th scope="col" class="width30p" title="{tr}Actions{/tr}">{tr}Actions{/tr}</th> </tr> - {if $uploadTab} - <tr> - <td colspan="3"> </td> - <td class="actionicon"> - <label> - {tr}No {$primary_label|default:"Primary"}{/tr}: - <input type="radio" name="liberty_attachments[primary]" value="none" {if empty($gContent->mInfo[primary])}checked="checked"{/if} /> - </label> - </td> - </tr> - {/if} - {foreach from=$gContent->mStorage item=storage key=attachmentId name=atts} <tr class="{cycle values="odd,even"}"> - <td> - {$storage.attachment_id} - </td> <td class="aligncenter"> {if $storage.is_mime} {include file=$gLibertySystem->getMimeTemplate('storage',$storage.attachment_plugin_guid) thumbsize=small preferences=$gContent->mStoragePrefs.$attachmentId attachment=$storage} @@ -42,7 +25,8 @@ {/if} {/if} </td> - <td class="aligncenter"> + <td> + <div>{tr}Attachment ID{/tr}: <strong>{$storage.attachment_id}</strong></div> {if $gBitThemes->isJavascriptEnabled()} <div><a href="javascript:void(0);" onclick="BitBase.toggleElementDisplay('wiki_attachment_code_{$storage.attachment_id}','table-row');">Wiki Code</a></div> <div><a href="javascript:void(0);" onclick="BitBase.toggleElementDisplay('html_attachment_code_{$storage.attachment_id}','table-row');">HTML Code</a></div> @@ -128,6 +112,18 @@ </tr> {/if} {/foreach} + {if $uploadTab} + <tr> + <td colspan="2"> </td> + <td class="actionicon"> + <label> + {tr}No {$primary_label|default:"Primary"}{/tr}: + <input type="radio" name="liberty_attachments[primary]" value="none" {if empty($gContent->mInfo[primary])}checked="checked"{/if} /> + </label> + </td> + </tr> + {/if} + </table> </div> {/if} |
