aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/admin/permalinks.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-02-28 03:07:12 +0000
committerrvelices <rv-github@modusoptimus.com>2007-02-28 03:07:12 +0000
commitea56d7b2ac1d41ea19b5fb45843c839e30a0b37b (patch)
tree5f55c108b1a808867d44db2b6ebcf0ad573874b6 /template/yoga/admin/permalinks.tpl
parent30e259904cc38172b2b730455009455675f0d8f5 (diff)
feature 657: permalinks for categories
git-svn-id: http://piwigo.org/svn/trunk@1866 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/admin/permalinks.tpl')
-rw-r--r--template/yoga/admin/permalinks.tpl71
1 files changed, 71 insertions, 0 deletions
diff --git a/template/yoga/admin/permalinks.tpl b/template/yoga/admin/permalinks.tpl
new file mode 100644
index 000000000..508cf66a9
--- /dev/null
+++ b/template/yoga/admin/permalinks.tpl
@@ -0,0 +1,71 @@
+<div class="titrePage">
+ <ul class="categoryActions">
+ <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"></a></li>
+ </ul>
+ <h2>{lang:Permalinks}</h2>
+</div>
+
+<form method="post">
+<fieldset><legend>{lang:Add/delete a permalink}</legend>
+ <label>Category:
+ <select name="cat_id">
+ <option value="0">------</option>
+<!-- BEGIN categories -->
+ <option value="{categories.VALUE}" {categories.SELECTED}>{categories.OPTION}</option>
+<!-- END categories -->
+ </select>
+ </label>
+
+ <label>{lang:Permalink}:
+ <input name="permalink" />
+ </label>
+
+ <label>{lang:Save to permalink history}:
+ <input type="checkbox" name="save" checked="checked" />
+ </label>
+
+ <p>
+ <input type="submit" class="submit" name="set_permalink" value="{lang:submit}"/>
+ </p>
+ </fieldset>
+</form>
+
+<h3>{lang:Permalinks}</h3>
+<table class="table2">
+ <tr class="throw">
+ <td>Id</td>
+ <td>{lang:Category}</td>
+ <td>{lang:Permalink}</td>
+ </tr>
+<!-- BEGIN permalink -->
+ <tr>
+ <td>{permalink.CAT_ID}</td>
+ <td>{permalink.CAT}</td>
+ <td>{permalink.PERMALINK}</td>
+ </tr>
+<!-- END permalink -->
+</table>
+
+<h3>{lang:Permalink history}</h3>
+<table class="table2">
+ <tr class="throw">
+ <td>Id</td>
+ <td>{lang:Category}</td>
+ <td>{lang:Permalink}</td>
+ <td>Deleted on</td>
+ <td>Last hit</td>
+ <td>Hit</td>
+ <td></td>
+ </tr>
+<!-- BEGIN deleted_permalink -->
+ <tr>
+ <td>{deleted_permalink.cat_id}</td>
+ <td>{deleted_permalink.display_name}</td>
+ <td>{deleted_permalink.permalink}</td>
+ <td>{deleted_permalink.date_deleted}</td>
+ <td>{deleted_permalink.last_hit}</td>
+ <td>{deleted_permalink.hit}</td>
+ <td><a href="{deleted_permalink.U_DELETE}"><img src="{pwg_root}{themeconf:icon_dir}/delete.png" alt="Delete"></a></td>
+ </tr>
+<!-- END deleted_permalink -->
+</table>