summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/edit_storage_list.tpl10
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}:&nbsp;<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}:&nbsp;
+ <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;">