This commit is contained in:
Alan Garcia 2013-02-04 10:36:47 +00:00
parent 2725477158
commit f5fbcedd6d
12 changed files with 27 additions and 12 deletions

2
.gitattributes vendored
View File

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 B

View File

@ -52,7 +52,7 @@ if (!$charset) $charset="UTF-8";
<body>
<div id="global">
<div id="content" style="width:100%;">
<div id="content" style="width:1000px;">
<p id="logo"> <img src="logo.png" border="0" alt="<?php __("Web Hosting Control Panel"); ?>" title="<?php __("Web Hosting Control Panel"); ?>" /></a>
</p>

View File

@ -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 = {};

View File

@ -43,9 +43,15 @@ if (!$charset) $charset="UTF-8";
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset; ?>" />
</head>
<body style="margin: 20px;">
<h3 style="text-align: center"><?php __("Disconnected"); ?></h3>
<div id="global">
<?php __("You have been logged out of your administration desktop."); ?><br />
<a href="../index.php"><?php __("Click here to log in"); ?></a>
<div id="content" style="width:1000px;">
<h3 style="text-align: center"><?php __("Disconnected"); ?></h3>
<?php __("You have been logged out of your administration desktop."); ?><br />
<p><a href="../index.php"><?php __("Click here to log in"); ?></a></p>
<p>&nbsp;</p>
</div>
</div>
</body>
</html>
</html>

View File

@ -30,7 +30,7 @@ if ($mem->checkRight()) { ?>
<a href="javascript:menu_toggle('menu-adm');">
<div class="menu-title">
<img src="images/admin.png" alt="Administration" />&nbsp;<span class="adminmenu"><?php __("Administration"); ?></span>
<img src="images/row-down.png" alt="" style="float:right;"/>
<img src="/images/menu_moins.png" alt="" style="float:right;" id="menu-adm-img"/>
</div>
</a>
<div class="menu-content" id ="menu-adm">

View File

@ -32,7 +32,7 @@ if ($q["t"] > 0 || $q['u'] > 0)
<a href="javascript:menu_toggle('menu-dom');">
<div class="menu-title" id="test">
<img src="images/dom.png" alt="<?php __("Domains"); ?>" />&nbsp;<?php __("Domains"); ?> (<?php echo $q["u"]; ?>/<?php echo $q["t"]; ?>)
<img src="images/row-down.png" alt="" style="float:right;"/>
<img src="images/menu_moins.png" alt="" style="float:right;" id="menu-dom-img"/>
</div>
</a>
<div class="menu-content" id="menu-dom">

View File

@ -31,7 +31,7 @@ if ($q["t"] > 0 || $q['u'] > 0) {
<a href="javascript:menu_toggle('menu-ftp');">
<div class="menu-title">
<img src="images/ftp.png" alt="<?php __("FTP accounts"); ?>" />&nbsp;<?php __("FTP accounts"); ?> <?php if (!$quota->cancreate("ftp")) { echo '<span class="full">'; } ?>(<?php echo $q["u"]; ?>/<?php echo $q["t"]; ?>)<?php if (!$quota->cancreate("ftp")) { echo '</span>'; } ?>
<img src="images/row-down.png" alt="" style="float:right;"/>
<img src="/images/menu_moins.png" alt="" style="float:right;" id="menu-ftp-img"/>
</div>
</a>
<div class="menu-content" id="menu-ftp">

View File

@ -2,7 +2,7 @@
<a href="javascript:menu_toggle('menu-lang');">
<div class="menu-title">
<img src="/images/lang.png" alt="<?php __("Languages"); ?>" />&nbsp;<?php __("Languages"); ?>
<img src="/images/row-down.png" alt="" style="float:right;"/>
<img src="/images/menu_moins.png" alt="" style="float:right;" id="menu-lang-img"/>
</div>
</a>
<div class="menu-content" id="menu-lang">

View File

@ -33,7 +33,7 @@ if ($q["u"] > 0 || ( $r["u"] > 0 && $q['t'] > 0 )) {
<a href="javascript:menu_toggle('menu-mail');">
<div class="menu-title">
<img src="images/mail.png" alt="<?php __("Email Addresses"); ?>" />&nbsp;<?php __("Email Addresses"); ?> (<?php echo $q["u"]; ?>/<?php echo $q["t"]; ?>)
<img src="images/row-down.png" alt="" style="float:right;"/>
<img src="/images/menu_moins.png" alt="" style="float:right;" id="menu-mail-img"/>
</div>
</a>
<div class="menu-content" id="menu-mail">

View File

@ -27,7 +27,7 @@ if ($q["t"] > 0 || $q['u'] >0) {
<a href="javascript:menu_toggle('menu-sql');">
<div class="menu-title">
<img src="images/mysql.png" alt="MySQL" />&nbsp;MySQL (<?php echo $q["u"]; ?>/<?php echo $q["t"]; ?>)
<img src="/images/row-down.png" alt="" style="float:right;"/>
<img src="/images/menu_moins.png" alt="" style="float:right;" id="menu-sql-img"/>
</div>
</a>
<div class="menu-content" id="menu-sql">