summaryrefslogtreecommitdiff
path: root/templates/image_order.tpl
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2005-11-22 07:25:48 +0000
committerMax Kremmel <xing@synapse.plus.com>2005-11-22 07:25:48 +0000
commit71866708351b4afcf2788e9d14b09648ae2344a5 (patch)
tree92dc917773700ec3b1f204761a2d861a199f999c /templates/image_order.tpl
parentdafea8f5bb826fba9321e08ec18ab3bdddac19e1 (diff)
downloadfisheye-71866708351b4afcf2788e9d14b09648ae2344a5.tar.gz
fisheye-71866708351b4afcf2788e9d14b09648ae2344a5.tar.bz2
fisheye-71866708351b4afcf2788e9d14b09648ae2344a5.zip
merge recent changes into HEAD
Diffstat (limited to 'templates/image_order.tpl')
-rw-r--r--templates/image_order.tpl44
1 files changed, 26 insertions, 18 deletions
diff --git a/templates/image_order.tpl b/templates/image_order.tpl
index 0a33c30..ad57cc5 100644
--- a/templates/image_order.tpl
+++ b/templates/image_order.tpl
@@ -13,7 +13,7 @@
<table class="data">
<caption>{tr}Image Order{/tr}</caption>
<tr>
- <td style="width:1px;"></td>
+ <th style="width:1px;"></th>
<th scope="col" style="width:1px;">{tr}Thumbnail{/tr}</th>
<th scope="col">{tr}Title and Position{/tr}</th>
<th scope="col">{tr}Miscellaneous{/tr}</th>
@@ -54,7 +54,7 @@
<div class="row">
{formlabel label="Position" for="imagePosition-`$galleryImages[ix]->mContentId`"}
{forminput}
- <input type="text" size="3" maxlength="3" name="imagePosition[{$galleryImages[ix]->mContentId}]" id="imagePosition-{$galleryImages[ix]->mContentId}" value="{$galleryImages[ix]->mInfo.position}"/>
+ <input type="text" size="8" maxlength="15" name="imagePosition[{$galleryImages[ix]->mContentId}]" id="imagePosition-{$galleryImages[ix]->mContentId}" value="{$galleryImages[ix]->mInfo.position}"/>
{/forminput}
</div>
@@ -106,24 +106,32 @@
<option value="delete">{tr}Delete{/tr}</option>
<option value="remove">{tr}Remove{/tr} ({tr}Don't delete if in other galleries{/tr})</option>
<option value="thumbnail">{tr}Regenerate Thumbnails{/tr}</option>
- <option value="rotate:-90">&lt;&lt; {tr}Rotate Counter Clockwise{/tr}</option>
- <option value="rotate:90">&gt;&gt; {tr}Rotate Clockwise{/tr}</option>
+ <optgroup label="{tr}Rotate{/tr}">
+ <option value="rotate:90">&gt;&gt; {tr}Rotate Clockwise{/tr}</option>
+ <option value="rotate:-90">&lt;&lt; {tr}Rotate Counter Clockwise{/tr}</option>
+ </optgroup>
{if $gBitSystem->isPackageActive( 'gatekeeper' ) }
- <option value="security:">{tr}Set Security to{/tr} ~~ {tr}Publically Visible{/tr} ~~</option>
- {foreach from=$securities key=secId item=sec}
- <option value="security:{$secId}">{tr}Set Security to{/tr} "{$sec.security_description}"</option>
- {/foreach}
+ <optgroup label="{tr}Set Security to{/tr}">
+ <option value="security:">~~ {tr}Publically Visible{/tr} ~~</option>
+ {foreach from=$securities key=secId item=sec}
+ <option value="security:{$secId}">{tr}Set Security to{/tr} "{$sec.security_description}"</option>
+ {/foreach}
+ </optgroup>
{/if}
- {foreach from=$galleryList item=gal key=galleryId}
- {if $gContent->mInfo.content_id ne $gal.content_id}
- <option value="gallerycopy:{$gal.content_id}">{tr}Copy to gallery{/tr} "{$gal.title|truncate:30}"</option>
- {/if}
- {/foreach}
- {foreach from=$galleryList item=gal key=galleryId}
- {if $gContent->mInfo.content_id ne $gal.content_id}
- <option value="gallerymove:{$gal.content_id}">{tr}Move to gallery{/tr} "{$gal.title|truncate:30}"</option>
- {/if}
- {/foreach}
+ <optgroup label="{tr}Copy to Gallery{/tr}">
+ {foreach from=$galleryList item=gal key=galleryId}
+ {if $gContent->mInfo.content_id ne $gal.content_id}
+ <option value="gallerycopy:{$gal.content_id}">{$gal.title|truncate:50}</option>
+ {/if}
+ {/foreach}
+ </optgroup>
+ <optgroup label="{tr}Move to Gallery{/tr}">
+ {foreach from=$galleryList item=gal key=galleryId}
+ {if $gContent->mInfo.content_id ne $gal.content_id}
+ <option value="gallerymove:{$gal.content_id}">{$gal.title|truncate:50}</option>
+ {/if}
+ {/foreach}
+ </optgroup>
</select>
{formhelp note=""}
{/forminput}