diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-12-08 07:41:10 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-12-08 07:41:10 +0000 |
| commit | 494df8a25bc18cb25cfa8fb77b83c6004fc8bc90 (patch) | |
| tree | cb6c1dfea42e758a171e3126fbb74442bad59534 /templates/edit_storage_list.tpl | |
| parent | 7a4db1f8153ce1c974fcdb9db7c02dd7f90e1b16 (diff) | |
| download | liberty-494df8a25bc18cb25cfa8fb77b83c6004fc8bc90.tar.gz liberty-494df8a25bc18cb25cfa8fb77b83c6004fc8bc90.tar.bz2 liberty-494df8a25bc18cb25cfa8fb77b83c6004fc8bc90.zip | |
html fixes and only display no primary when appropriate to avoid accidental de-priming
Diffstat (limited to 'templates/edit_storage_list.tpl')
| -rw-r--r-- | templates/edit_storage_list.tpl | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/templates/edit_storage_list.tpl b/templates/edit_storage_list.tpl index 6ea9ad7..b5eb2c4 100644 --- a/templates/edit_storage_list.tpl +++ b/templates/edit_storage_list.tpl @@ -15,10 +15,16 @@ <tr> <td></td><td></td> - <td style="text-align:right"><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> + {if $uploadTab && ( $libertyUploader || ( $gBitSystem->getConfig('liberty_attachment_style' ) == 'ajax' && !$gBitThemes->isAjaxRequest() ))} + <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> + {/if} <tr> - {foreach from=$gContent->mStorage item=storage key=attachmentId name=atts} <tr class="{cycle values="odd,even"}"> <td style="text-align:center;"> |
