aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/admin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--template/yoga/admin/picture_modify.tpl146
1 files changed, 67 insertions, 79 deletions
diff --git a/template/yoga/admin/picture_modify.tpl b/template/yoga/admin/picture_modify.tpl
index b0fe64911..2dada069f 100644
--- a/template/yoga/admin/picture_modify.tpl
+++ b/template/yoga/admin/picture_modify.tpl
@@ -1,129 +1,125 @@
-<!-- DEV TAG: not smarty migrated -->
-<!-- $Id$ -->
-<h2>{lang:title_picmod}</h2>
+{* $Id$ *}
+<h2>{'title_picmod'|@translate}</h2>
-<img src="{TN_SRC}" alt="{lang:thumbnail}" class="thumbnail" />
+<img src="{$TN_SRC}" alt="{'thumbnail'|@translate}" class="thumbnail" />
<ul class="categoryActions">
- <!-- BEGIN jumpto -->
- <li><a href="{jumpto.URL}" title="{lang:jump to image}"><img src="{themeconf:icon_dir}/category_jump-to.png" class="button" alt="{lang:jump to image}" /></a></li>
- <!-- END jumpto -->
- <li><a href="{U_SYNC}" title="{lang:synchronize metadata}" {TAG_INPUT_ENABLED}><img src="{themeconf:icon_dir}/sync_metadata.png" class="button" alt="{lang:synchronize}" /></a></li>
+ {if isset($U_JUMPTO) }
+ <li><a href="{$U_JUMPTO}" title="{'jump to image'|@translate}"><img src="{$themeconf.icon_dir}/category_jump-to.png" class="button" alt="{'jump to image'|@translate}" /></a></li>
+ {/if}
+ <li><a href="{$U_SYNC}" title="{'synchronize metadata'|@translate}" {$TAG_INPUT_ENABLED}><img src="{$themeconf.icon_dir}/sync_metadata.png" class="button" alt="{'synchronize'|@translate}" /></a></li>
</ul>
-<form action="{F_ACTION}" method="post" id="properties">
+<form action="{$F_ACTION}" method="post" id="properties">
<fieldset>
- <legend>{lang:Informations}</legend>
+ <legend>{'Informations'|@translate}</legend>
<table>
<tr>
- <td><strong>{lang:Path}</strong></td>
- <td>{PATH}</td>
+ <td><strong>{'Path'|@translate}</strong></td>
+ <td>{$PATH}</td>
</tr>
<tr>
- <td><strong>{lang:Post date}</strong></td>
- <td>{REGISTRATION_DATE}</td>
+ <td><strong>{'Post date'|@translate}</strong></td>
+ <td>{$REGISTRATION_DATE}</td>
</tr>
<tr>
- <td><strong>{lang:Dimensions}</strong></td>
- <td>{DIMENSIONS}</td>
+ <td><strong>{'Dimensions'|@translate}</strong></td>
+ <td>{$DIMENSIONS}</td>
</tr>
<tr>
- <td><strong>{lang:Filesize}</strong></td>
- <td>{FILESIZE}</td>
+ <td><strong>{'Filesize'|@translate}</strong></td>
+ <td>{$FILESIZE}</td>
</tr>
-<!-- BEGIN high -->
+{if isset($HIGH_FILESIZE) }
<tr>
- <td><strong>{lang:High filesize}</strong></td>
- <td>{high.FILESIZE}</td>
+ <td><strong>{'High filesize'|@translate}</strong></td>
+ <td>{$HIGH_FILESIZE}</td>
</tr>
-<!-- END high -->
+{/if}
<tr>
- <td><strong>{lang:Storage category}</strong></td>
- <td>{STORAGE_CATEGORY}</td>
+ <td><strong>{'Storage category'|@translate}</strong></td>
+ <td>{$STORAGE_CATEGORY}</td>
</tr>
- <!-- BEGIN links -->
+ {if isset($related_categories) }
<tr>
- <td><strong>{lang:Linked categories}</strong></td>
+ <td><strong>{'Linked categories'|@translate}</strong></td>
<td>
<ul>
- <!-- BEGIN category -->
- <li>{links.category.NAME}</li>
- <!-- END category -->
+ {foreach from=$related_categories item=name}
+ <li>{$name}</li>
+ {/foreach}
</ul>
</td>
</tr>
- <!-- END links -->
+ {/if}
</table>
</fieldset>
<fieldset>
- <legend>{lang:Properties}</legend>
+ <legend>{'Properties'|@translate}</legend>
<table>
<tr>
- <td><strong>{lang:Name}</strong></td>
- <td><input type="text" name="name" value="{NAME}" /></td>
+ <td><strong>{'Name'|@translate}</strong></td>
+ <td><input type="text" name="name" value="{$NAME}" /></td>
</tr>
<tr>
- <td><strong>{lang:Author}</strong></td>
- <td><input type="text" name="author" value="{AUTHOR}" /></td>
+ <td><strong>{'Author'|@translate}</strong></td>
+ <td><input type="text" name="author" value="{$AUTHOR}" /></td>
</tr>
<tr>
- <td><strong>{lang:Creation date}</strong></td>
+ <td><strong>{'Creation date'|@translate}</strong></td>
<td>
- <label><input type="radio" name="date_creation_action" value="unset" /> {lang:unset}</label>
- <input type="radio" name="date_creation_action" value="set" id="date_creation_action_set" /> {lang:set to}
+ <label><input type="radio" name="date_creation_action" value="unset" /> {'unset'|@translate}</label>
+ <input type="radio" name="date_creation_action" value="set" id="date_creation_action_set" /> {'set to'|@translate}
<select onmousedown="document.getElementById('date_creation_action_set').checked = true;" name="date_creation_day">
- <!-- BEGIN date_creation_day -->
- <option {date_creation_day.SELECTED} value="{date_creation_day.VALUE}">{date_creation_day.OPTION}</option>
- <!-- END date_creation_day -->
+ <option value="0">--</option>
+ {section name=day start=1 loop=31}
+ <option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$DATE_CREATION_DAY_VALUE}selected="selected"{/if}>{$smarty.section.day.index}</option>
+ {/section}
</select>
<select onmousedown="document.getElementById('date_creation_action_set').checked = true;" name="date_creation_month">
- <!-- BEGIN date_creation_month -->
- <option {date_creation_month.SELECTED} value="{date_creation_month.VALUE}">{date_creation_month.OPTION}</option>
- <!-- END date_creation_month -->
+ {html_options options=$month_list selected=$DATE_CREATION_MONTH_VALUE}
</select>
<input onmousedown="document.getElementById('date_creation_action_set').checked = true;"
name="date_creation_year"
type="text"
size="4"
maxlength="4"
- value="{DATE_CREATION_YEAR_VALUE}" />
+ value="{$DATE_CREATION_YEAR_VALUE}" />
</td>
</tr>
<tr>
- <td><strong>{lang:Tags}</strong></td>
- <td>{TAG_SELECTION}</td>
+ <td><strong>{'Tags'|@translate}</strong></td>
+ <td>{$TAG_SELECTION}</td>
</tr>
<tr>
- <td><strong>{lang:Description}</strong></td>
- <td><textarea name="description" class="description">{DESCRIPTION}</textarea></td>
+ <td><strong>{'Description'|@translate}</strong></td>
+ <td><textarea name="description" class="description">{$DESCRIPTION}</textarea></td>
</tr>
<tr>
- <td><strong>{lang:Minimum privacy level}</strong></td>
+ <td><strong>{'Minimum privacy level'|@translate}</strong></td>
<td>
<select name="level" size="1">
- <!-- BEGIN level_option -->
- <option {level_option.SELECTED} value="{level_option.VALUE}">{level_option.CONTENT} ({level_option.VALUE})</option>
- <!-- END level_option -->
+ {html_options options=$level_options selected=$level_options_selected}
</select>
</td>
</tr>
@@ -131,38 +127,34 @@
</table>
<p style="text-align:center;">
- <input class="submit" type="submit" value="{lang:Submit}" name="submit" {TAG_INPUT_ENABLED}/>
- <input class="submit" type="reset" value="{lang:Reset}" name="reset" />
+ <input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED}/>
+ <input class="submit" type="reset" value="{'Reset'|@translate}" name="reset" />
</p>
</fieldset>
</form>
-<form id="associations" method="post" action="{F_ACTION}#associations">
+<form id="associations" method="post" action="{$F_ACTION}#associations">
<fieldset>
- <legend>{lang:Association to categories}</legend>
+ <legend>{'Association to categories'|@translate}</legend>
<table class="doubleSelect">
<tr>
<td>
- <h3>{lang:Associated}</h3>
+ <h3>{'Associated'|@translate}</h3>
<select class="categoryList" name="cat_associated[]" multiple="multiple" size="30">
- <!-- BEGIN associated_option -->
- <option {associated_option.SELECTED} value="{associated_option.VALUE}">{associated_option.OPTION}</option>
- <!-- END associated_option -->
+ {html_options options=$associated_options}
</select>
- <p><input class="submit" type="submit" value="&raquo;" name="dissociate" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p>
+ <p><input class="submit" type="submit" value="&raquo;" name="dissociate" style="font-size:15px;" {$TAG_INPUT_ENABLED}/></p>
</td>
<td>
- <h3>{lang:Dissociated}</h3>
+ <h3>{'Dissociated'|@translate}</h3>
<select class="categoryList" name="cat_dissociated[]" multiple="multiple" size="30">
- <!-- BEGIN dissociated_option -->
- <option {dissociated_option.SELECTED} value="{dissociated_option.VALUE}">{dissociated_option.OPTION}</option>
- <!-- END dissociated_option -->
+ {html_options options=$dissociated_options}
</select>
- <p><input class="submit" type="submit" value="&laquo;" name="associate" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p>
+ <p><input class="submit" type="submit" value="&laquo;" name="associate" style="font-size:15px;" {$TAG_INPUT_ENABLED}/></p>
</td>
</tr>
</table>
@@ -170,30 +162,26 @@
</fieldset>
</form>
-<form id="representation" method="post" action="{F_ACTION}#representation">
+<form id="representation" method="post" action="{$F_ACTION}#representation">
<fieldset>
- <legend>{lang:Representation of categories}</legend>
+ <legend>{'Representation of categories'|@translate}</legend>
<table class="doubleSelect">
<tr>
<td>
- <h3>{lang:Represents}</h3>
+ <h3>{'Represents'|@translate}</h3>
<select class="categoryList" name="cat_elected[]" multiple="multiple" size="30">
- <!-- BEGIN elected_option -->
- <option {elected_option.SELECTED} value="{elected_option.VALUE}">{elected_option.OPTION}</option>
- <!-- END elected_option -->
+ {html_options options=$elected_options}
</select>
- <p><input class="submit" type="submit" value="&raquo;" name="dismiss" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p>
+ <p><input class="submit" type="submit" value="&raquo;" name="dismiss" style="font-size:15px;" {$TAG_INPUT_ENABLED}/></p>
</td>
<td>
- <h3>{lang:Does not represent}</h3>
+ <h3>{'Does not represent'|@translate}</h3>
<select class="categoryList" name="cat_dismissed[]" multiple="multiple" size="30">
- <!-- BEGIN dismissed_option -->
- <option {dismissed_option.SELECTED} value="{dismissed_option.VALUE}">{dismissed_option.OPTION}</option>
- <!-- END dismissed_option -->
+ {html_options options=$dismissed_options}
</select>
- <p><input class="submit" type="submit" value="&laquo;" name="elect" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p>
+ <p><input class="submit" type="submit" value="&laquo;" name="elect" style="font-size:15px;" {$TAG_INPUT_ENABLED}/></p>
</td>
</tr>
</table>