summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorNick Palmer <nick@sluggardy.net>2007-11-19 19:24:58 +0000
committerNick Palmer <nick@sluggardy.net>2007-11-19 19:24:58 +0000
commit22b9e182450c789f7c19207f8193aeb465c9215c (patch)
tree179aa92005276880905d21e781eb891e4a9de04b /templates
parentc2571265b591535a8fa2b0cb0bea2e54e9e194d3 (diff)
downloadliberty-22b9e182450c789f7c19207f8193aeb465c9215c.tar.gz
liberty-22b9e182450c789f7c19207f8193aeb465c9215c.tar.bz2
liberty-22b9e182450c789f7c19207f8193aeb465c9215c.zip
Add ability to unset the primary as well as the ability for content to turn off the auto_primary setting behavior.
Diffstat (limited to 'templates')
-rw-r--r--templates/edit_storage_list.tpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/edit_storage_list.tpl b/templates/edit_storage_list.tpl
index b63c4b9..6ea9ad7 100644
--- a/templates/edit_storage_list.tpl
+++ b/templates/edit_storage_list.tpl
@@ -13,6 +13,12 @@
<th scope="col" style="width:30%;" title="{tr}Actions{/tr}">{tr}Actions{/tr}</th>
</tr>
+ <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>
+ <tr>
+
+
{foreach from=$gContent->mStorage item=storage key=attachmentId name=atts}
<tr class="{cycle values="odd,even"}">
<td style="text-align:center;">