diff --git a/.gitattributes b/.gitattributes index 73065a32..97bbc017 100644 --- a/.gitattributes +++ b/.gitattributes @@ -222,6 +222,8 @@ bureau/admin/images/ip.png -text bureau/admin/images/lang.png -text bureau/admin/images/logs.png -text bureau/admin/images/mail.png -text +bureau/admin/images/menu_moins.png -text +bureau/admin/images/menu_plus.png -text bureau/admin/images/minus.png -text bureau/admin/images/mysql.png -text bureau/admin/images/new.png -text diff --git a/bureau/admin/images/menu_moins.png b/bureau/admin/images/menu_moins.png new file mode 100644 index 00000000..832b7ec7 Binary files /dev/null and b/bureau/admin/images/menu_moins.png differ diff --git a/bureau/admin/images/menu_plus.png b/bureau/admin/images/menu_plus.png new file mode 100644 index 00000000..8bcf8b33 Binary files /dev/null and b/bureau/admin/images/menu_plus.png differ diff --git a/bureau/admin/index.php b/bureau/admin/index.php index 183cb6f2..a7cfbceb 100644 --- a/bureau/admin/index.php +++ b/bureau/admin/index.php @@ -52,7 +52,7 @@ if (!$charset) $charset="UTF-8";
-
+
diff --git a/bureau/admin/js/alternc.js b/bureau/admin/js/alternc.js index 0b0dc755..3cb60935 100644 --- a/bureau/admin/js/alternc.js +++ b/bureau/admin/js/alternc.js @@ -201,7 +201,14 @@ function is_valid_mail(arg) { } function menu_toggle(id) { - $("#"+id).toggle(); + $("#"+id).toggle(200, function() { + // Animation complete. + if ($("#"+id).is(":hidden")) { + $("#"+id+"-img").attr("src","images/menu_plus.png"); + } else { + $("#"+id+"-img").attr("src","images/menu_moins.png"); + } + }); /* Pour quand on voudra enregistrer l'etat du menu ;) var tmp = {}; diff --git a/bureau/admin/mem_logout.php b/bureau/admin/mem_logout.php index d8884e60..28cfc148 100644 --- a/bureau/admin/mem_logout.php +++ b/bureau/admin/mem_logout.php @@ -43,9 +43,15 @@ if (!$charset) $charset="UTF-8"; -

+
-
- +
+

+ +
+

+

 

+
+
- \ No newline at end of file + diff --git a/bureau/admin/menu_adm.php b/bureau/admin/menu_adm.php index 5ad9472e..ea771787 100644 --- a/bureau/admin/menu_adm.php +++ b/bureau/admin/menu_adm.php @@ -30,7 +30,7 @@ if ($mem->checkRight()) { ?>