aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-03-06 02:07:15 +0000
committerrvelices <rv-github@modusoptimus.com>2007-03-06 02:07:15 +0000
commitf797f8c7a179c79b1aabdd4c020efb6329699b8e (patch)
treefe13742ab9eb15663239b950f1ff96809050c95d /template/yoga
parent054d7c459fee32853a4bd9e984a7273eb0f52fbd (diff)
permalinks: admin fix on some tricky cases when setting a new permalinks.inc.php
permalinks: added ability to sort the permalink tables in the admin added new action in category_cats.inc.php git-svn-id: http://piwigo.org/svn/trunk@1873 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga')
-rw-r--r--template/yoga/admin/permalinks.tpl26
1 files changed, 13 insertions, 13 deletions
diff --git a/template/yoga/admin/permalinks.tpl b/template/yoga/admin/permalinks.tpl
index 508cf66a9..dbbe4827f 100644
--- a/template/yoga/admin/permalinks.tpl
+++ b/template/yoga/admin/permalinks.tpl
@@ -5,7 +5,7 @@
<h2>{lang:Permalinks}</h2>
</div>
-<form method="post">
+<form method="post" action="{F_ACTION}">
<fieldset><legend>{lang:Add/delete a permalink}</legend>
<label>Category:
<select name="cat_id">
@@ -33,15 +33,15 @@
<h3>{lang:Permalinks}</h3>
<table class="table2">
<tr class="throw">
- <td>Id</td>
- <td>{lang:Category}</td>
- <td>{lang:Permalink}</td>
+ <td>Id {SORT_ID}</td>
+ <td>{lang:Category} {SORT_NAME}</td>
+ <td>{lang:Permalink} {SORT_PERMALINK}</td>
</tr>
<!-- BEGIN permalink -->
<tr>
- <td>{permalink.CAT_ID}</td>
- <td>{permalink.CAT}</td>
- <td>{permalink.PERMALINK}</td>
+ <td>{permalink.id}</td>
+ <td>{permalink.name}</td>
+ <td>{permalink.permalink}</td>
</tr>
<!-- END permalink -->
</table>
@@ -49,18 +49,18 @@
<h3>{lang:Permalink history}</h3>
<table class="table2">
<tr class="throw">
- <td>Id</td>
+ <td>Id {SORT_OLD_CAT_ID}</td>
<td>{lang:Category}</td>
- <td>{lang:Permalink}</td>
- <td>Deleted on</td>
- <td>Last hit</td>
- <td>Hit</td>
+ <td>{lang:Permalink} {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>
<!-- BEGIN deleted_permalink -->
<tr>
<td>{deleted_permalink.cat_id}</td>
- <td>{deleted_permalink.display_name}</td>
+ <td>{deleted_permalink.name}</td>
<td>{deleted_permalink.permalink}</td>
<td>{deleted_permalink.date_deleted}</td>
<td>{deleted_permalink.last_hit}</td>