aboutsummaryrefslogtreecommitdiffstats
path: root/template/default
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-10-12 14:30:46 +0000
committerz0rglub <z0rglub@piwigo.org>2003-10-12 14:30:46 +0000
commit2978cbc1b3d4597adb81fcba30548c447e58b205 (patch)
treea28c4b50d38b600f0508e95cd47e7dbaa722c3c5 /template/default
parentbe463866f6979b748aa389bf177142269a62fa69 (diff)
When reordering a category, the page comes back with the top aligned with
the moved category git-svn-id: http://piwigo.org/svn/trunk@198 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/default')
-rw-r--r--template/default/admin/cat_list.vtp9
1 files changed, 5 insertions, 4 deletions
diff --git a/template/default/admin/cat_list.vtp b/template/default/admin/cat_list.vtp
index 74e09c211..6aaaa9f9d 100644
--- a/template/default/admin/cat_list.vtp
+++ b/template/default/admin/cat_list.vtp
@@ -26,6 +26,7 @@
<!--VTP_cat-->
<tr>
<{#td} style="width:50%;text-align:left;">
+ <a name="{#id}"></a>
{#indent}<img src="../template/{#user_template}/admin/images/puce.gif" alt="&gt;" />
&nbsp;{#name} [
<!--VTP_storage-->
@@ -40,19 +41,19 @@
<{#td} class="{#class}"
style="width:1px;white-space:nowrap;text-align:center;">
<!--VTP_up-->
- <a href="{#up_url}"><img src="../template/{#user_template}/admin/images/arrow_up.gif" alt="{#cat_up}" title="{#cat_up}" style="border:none;" /></a>
+ <a href="{#up_url}#{#id}"><img src="../template/{#user_template}/admin/images/arrow_up.gif" alt="{#cat_up}" title="{#cat_up}" style="border:none;" /></a>
<!--/VTP_up-->
<!--VTP_no_up-->
- <a href="{#last_url}"><img src="../template/{#user_template}/admin/images/arrow_last.gif" alt="{#cat_last}" title="{#cat_last}" style="border:none;" /></a>
+ <a href="{#last_url}#{#id}"><img src="../template/{#user_template}/admin/images/arrow_last.gif" alt="{#cat_last}" title="{#cat_last}" style="border:none;" /></a>
<!--/VTP_no_up-->
</{#td}>
<{#td} class="{#class}"
style="width:1px;white-space:nowrap;text-align:center;">
<!--VTP_down-->
- <a href="{#down_url}"><img src="../template/{#user_template}/admin/images/arrow_down.gif" alt="{#cat_down}" title="{#cat_down}" style="border:none;" /></a>
+ <a href="{#down_url}#{#id}"><img src="../template/{#user_template}/admin/images/arrow_down.gif" alt="{#cat_down}" title="{#cat_down}" style="border:none;" /></a>
<!--/VTP_down-->
<!--VTP_no_down-->
- <a href="{#first_url}"><img src="../template/{#user_template}/admin/images/arrow_first.gif" alt="{#cat_first}" title="{#cat_first}" style="border:none;" /></a>
+ <a href="{#first_url}#{#id}"><img src="../template/{#user_template}/admin/images/arrow_first.gif" alt="{#cat_first}" title="{#cat_first}" style="border:none;" /></a>
<!--/VTP_no_down-->
</{#td}>
<{#td} class="{#class}" style="width:1px;text-align:center;">