From f5fbcedd6de831f24036a035a89967350675b3f0 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Mon, 4 Feb 2013 10:36:47 +0000 Subject: [PATCH] Fix #1441 --- .gitattributes | 2 ++ bureau/admin/images/menu_moins.png | Bin 0 -> 291 bytes bureau/admin/images/menu_plus.png | Bin 0 -> 367 bytes bureau/admin/index.php | 2 +- bureau/admin/js/alternc.js | 9 ++++++++- bureau/admin/mem_logout.php | 14 ++++++++++---- bureau/admin/menu_adm.php | 2 +- bureau/admin/menu_dom.php | 2 +- bureau/admin/menu_ftp.php | 2 +- bureau/admin/menu_lang.php | 2 +- bureau/admin/menu_mail.php | 2 +- bureau/admin/menu_sql.php | 2 +- 12 files changed, 27 insertions(+), 12 deletions(-) create mode 100644 bureau/admin/images/menu_moins.png create mode 100644 bureau/admin/images/menu_plus.png 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 0000000000000000000000000000000000000000..832b7ec7ad1dbf924b9549e57cbc5040048d860f GIT binary patch literal 291 zcmV+;0o?wHP)im~b3JQ!0dtaoixyqQwSS#FLNN>k(_%iTmWEf4F01Ot zT8lF%9%Whb(_Uy`i5RfIAeY|~dnl!-eg6-FAb_3Hdp;Z6?002ovPDHLkV1ghjffE1# literal 0 HcmV?d00001 diff --git a/bureau/admin/images/menu_plus.png b/bureau/admin/images/menu_plus.png new file mode 100644 index 0000000000000000000000000000000000000000..8bcf8b33dc0a8effc2f020702f6ac453d90cef55 GIT binary patch literal 367 zcmV-#0g(QQP)Sz3M;KbI5^UXfnaM|A4I{biETswz-~poJ)kXjzsU&GVdQSq6nK#eo5qF_`C>(OgU4_r&u&=BH^Y#eoqs z7{`(6S^$_A;Y)FTR@Vt_+inuaMSKl?Ghfp*Vp$e2TLzeJ*LCFS`9%~M=Bs`1j^Zx+ zcqgW50wcG8ssQbaU<;KQK+;np0FOtX*{`#>!)_q=_Zb+5A;4@Nt0AIqE}ZRu{Du8J zP!xrHzP)nVyL-SkF$jVp3_}{n@lA?cV1VUs;eg$4n&wZB39-AM^A8L^L#9E&waEYg N002ovPDHLkV1ggUp1lA7 literal 0 HcmV?d00001 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()) { ?>