From 32f87f034ee9eb2e48dbab8bb20f2937232c9899 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Fri, 1 Feb 2013 11:34:06 +0000 Subject: [PATCH] Accueil TNG --- bureau/admin/index.php | 157 +++++++++++++++++----------------- bureau/admin/styles/style.css | 12 +-- 2 files changed, 85 insertions(+), 84 deletions(-) diff --git a/bureau/admin/index.php b/bureau/admin/index.php index 6e5ba01c..1b80be6f 100644 --- a/bureau/admin/index.php +++ b/bureau/admin/index.php @@ -49,93 +49,94 @@ if (!$charset) $charset="UTF-8"; +
-
+
- -

 

-$error
"; ?> -
-ATTENTION : vous allez accéder à votre panel en mode *non sécurisé*
-Cliquez ici pour passer en mode sécurisé"; -} -*/ -?> -
-
- -";__("You are attemping to connect without IP restriction."); echo "

"; } ?> -
-
- - - - - -
" />
- -
+ +

 

+ $error"; ?> +
+ ATTENTION : vous allez accéder à votre panel en mode *non sécurisé*
+ Cliquez ici pour passer en mode sécurisé"; + } + */ + ?> +
+ - + + -
+ + ";__("You are attemping to connect without IP restriction."); echo "

"; } ?> +
+
+ + + + + +
" />
+ +
-
+
-invoke("hook_admin_webmail"); -if (($wr=variable_get("webmail_redirect")) && isset($res[$wr]) && $res[$wr]) { - $url=$res[$wr]; -} else { - foreach($res as $r) if ($r!==false) { $url=$r; break; } -} -if (isset($url) && $url) { -?> -

-
+ // Here we used to have a form to enter the squirrelmail's webmail. + // Following the "rule of less astonishment, we try to put it here again, even though the webmail is now a plugin. + $res=$hooks->invoke("hook_admin_webmail"); + if (($wr=variable_get("webmail_redirect")) && isset($res[$wr]) && $res[$wr]) { + $url=$res[$wr]; + } else { + foreach($res as $r) if ($r!==false) { $url=$r; break; } + } + if (isset($url) && $url) { + ?> +

+
-
- -
- - - - - -
- -
- -
- - - -
-show_help("login",true); -?> -
-

-Powered by AlternC -

-
+
-
- + + + + +
+ +
+ +
+ + + +
+ show_help("login",true); + ?> +
+

+ Powered by AlternC +

+
+ +
+ + +
diff --git a/bureau/admin/styles/style.css b/bureau/admin/styles/style.css index 202a1e5e..c1a8efb7 100644 --- a/bureau/admin/styles/style.css +++ b/bureau/admin/styles/style.css @@ -144,15 +144,15 @@ input.inav:hover, .inav a:hover, a.inav:hover { padding: 4px 10px; color: black; cursor: pointer; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; } input[type=button], input[type=submit] { - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; } .ina a:hover, a.ina:hover, .inav a:hover, a.inav:hover { text-decoration: none;