diff options
author | vdigital <vdigital@piwigo.org> | 2008-09-14 00:33:53 +0000 |
---|---|---|
committer | vdigital <vdigital@piwigo.org> | 2008-09-14 00:33:53 +0000 |
commit | d1c423da759aa50f572f2bcf57aa2f22944226e9 (patch) | |
tree | 22ed4e9a27faca840f1b3ccf3f4c33687a01e2ef /admin/template/wigo/admin/permalinks.tpl | |
parent | 53aef87751829798b6804b0e3d95f78d82db8301 (diff) |
Admin template wigo/roma
git-svn-id: http://piwigo.org/svn/trunk@2526 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/template/wigo/admin/permalinks.tpl | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/admin/template/wigo/admin/permalinks.tpl b/admin/template/wigo/admin/permalinks.tpl new file mode 100644 index 000000000..2e28fe538 --- /dev/null +++ b/admin/template/wigo/admin/permalinks.tpl @@ -0,0 +1,67 @@ +{* $Id$ *} +<div class="titrePage"> + <h2>{'Permalinks'|@translate}</h2> +</div> + +<form method="post" action="{$F_ACTION}"> +<fieldset><legend>{'Add/delete a permalink'|@translate}</legend> + <label>{'Category'|@translate}: + <select name="cat_id"> + <option value="0">------</option> + {html_options options=$categories selected=$categories_selected} + </select> + </label> + + <label>{'Permalink'|@translate}: + <input name="permalink" /> + </label> + + <label>{'Save to permalink history'|@translate}: + <input type="checkbox" name="save" checked="checked" /> + </label> + + <p> + <input type="submit" class="submit" name="set_permalink" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}/> + </p> + </fieldset> +</form> + +<h3>{'Permalinks'|@translate}</h3> +<table class="table2"> + <tr class="throw"> + <td>Id {$SORT_ID}</td> + <td>{'Category'|@translate} {$SORT_NAME}</td> + <td>{'Permalink'|@translate} {$SORT_PERMALINK}</td> + </tr> +{foreach from=$permalinks item=permalink name="permalink_loop"} + <tr class="{if $smarty.foreach.permalink_loop.index is odd}row1{else}row2{/if}"> + <td>{$permalink.id}</td> + <td>{$permalink.name}</td> + <td>{$permalink.permalink}</td> + </tr> +{/foreach} +</table> + +<h3>{'Permalink history'|@translate} <a name="old_permalinks"></a></h3> +<table class="table2"> + <tr class="throw"> + <td>Id {$SORT_OLD_CAT_ID}</td> + <td>{'Category'|@translate}</td> + <td>{'Permalink'|@translate} {$SORT_OLD_PERMALINK}</td> + <td>Deleted on {$SORT_OLD_DATE_DELETED}</td> + <td>Last hit {$SORT_OLD_LAST_HIT}</td> + <td>Hit {$SORT_OLD_HIT}</td> + <td></td> + </tr> +{foreach from=$deleted_permalinks item=permalink} + <tr> + <td>{$permalink.cat_id}</td> + <td>{$permalink.name}</td> + <td>{$permalink.permalink}</td> + <td>{$permalink.date_deleted}</td> + <td>{$permalink.last_hit}</td> + <td>{$permalink.hit}</td> + <td><a href="{$permalink.U_DELETE}" {$TAG_INPUT_ENABLED}><img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" alt="[{'delete'|@translate}]" class="button"></a></td> + </tr> +{/foreach} +</table> |