From 36d17457109f26fa9928897d4e6926d7176159d9 Mon Sep 17 00:00:00 2001
From: mistic100
Date: Sat, 10 Nov 2012 12:34:36 +0000
Subject: clean HTML+JS code on cat_list.tpl
git-svn-id: http://piwigo.org/svn/trunk@18986 68402e56-0260-453c-a942-63ccdbb3a9ee
---
admin/themes/default/template/cat_list.tpl | 73 +++++++++++++++---------------
1 file changed, 37 insertions(+), 36 deletions(-)
(limited to 'admin/themes')
diff --git a/admin/themes/default/template/cat_list.tpl b/admin/themes/default/template/cat_list.tpl
index b1c46bb13..859034a77 100644
--- a/admin/themes/default/template/cat_list.tpl
+++ b/admin/themes/default/template/cat_list.tpl
@@ -2,6 +2,7 @@
jQuery(document).ready(function(){
jQuery(".catPos").hide();
jQuery(".drag_button").show();
+ jQuery("#manualOrder").hide();
jQuery(".categoryLi").css("cursor","move");
jQuery(".categoryUl").sortable({
axis: "y",
@@ -9,8 +10,8 @@ jQuery(document).ready(function(){
update : function() {
jQuery("#manualOrder").show();
jQuery("#notManualOrder").hide();
- jQuery("#autoOrder").hide();
- jQuery("#createAlbum").hide();
+ jQuery("#formAutoOrder").hide();
+ jQuery("#formCreateAlbum").hide();
},
});
@@ -30,23 +31,23 @@ jQuery(document).ready(function(){
});
jQuery("#addAlbumOpen").click(function(){
- jQuery("#createAlbum").toggle();
+ jQuery("#formCreateAlbum").toggle();
jQuery("input[name=virtual_name]").focus();
- jQuery("#autoOrder").hide();
+ jQuery("#formAutoOrder").hide();
});
jQuery("#addAlbumClose").click(function(){
- jQuery("#createAlbum").hide();
+ jQuery("#formCreateAlbum").hide();
});
jQuery("#autoOrderOpen").click(function(){
- jQuery("#autoOrder").toggle();
- jQuery("#createAlbum").hide();
+ jQuery("#formAutoOrder").toggle();
+ jQuery("#formCreateAlbum").hide();
});
jQuery("#autoOrderClose").click(function(){
- jQuery("#autoOrder").hide();
+ jQuery("#formAutoOrder").hide();
});
jQuery("#cancelManualOrder").click(function(){
@@ -58,32 +59,32 @@ jQuery(document).ready(function(){
{/literal}{/footer_script}
{$CATEGORIES_NAV} › {'Album list management'|@translate}
-
-
- {'create a new album'|@translate}
- {if count($categories) }| {'apply automatic sort order'|@translate}{/if}
-
+
+ {'create a new album'|@translate}
+ {if count($categories)}| {'apply automatic sort order'|@translate}{/if}
-
-
-