Bugfix PHP suite au ticket #1299 de la version 1.0

This commit is contained in:
Steven Mondji-Lerider 2012-08-06 10:14:44 +00:00
parent d424fe81c8
commit 1761c21014
5 changed files with 6 additions and 6 deletions

View File

@ -38,7 +38,7 @@ if ($q["t"] > 0)
<div class="menu-box">
<div class="menu-title" id="test">
<a href="javascript:menu_toggle('menu-dom');">
<img src="images/dom.png" alt="<?php __("Domains"); ?>" />&nbsp;<?php __("Domains"); ?> (<?= $q["u"]; ?>/<?= $q["t"]; ?>)
<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;"/></a>
</div>
<div class="menu-content" id="menu-dom">

View File

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

View File

@ -38,7 +38,7 @@ if ($q["t"] > 0 && $r["u"] > 0) {
<div class="menu-box">
<div class="menu-title">
<a href="javascript:menu_toggle('menu-mail');">
<img src="images/mail.png" alt="<?php __("Email Addresses"); ?>" />&nbsp;<?php __("Email Addresses"); ?> (<?= $q["u"]; ?>/<?= $q["t"]; ?>)
<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;"/></a>
</div>
<div class="menu-content" id="menu-mail">

View File

@ -33,7 +33,7 @@ if ($q["t"]) {
<div class="menu-box">
<div class="menu-title">
<a href="javascript:menu_toggle('menu-sql');">
<img src="images/mysql.png" alt="MySQL" />&nbsp;MySQL (<?= $q["u"]; ?>/<?= $q["t"]; ?>)
<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;"/></a>
</div>
<div class="menu-content" id="menu-sql">

View File

@ -34,6 +34,6 @@ $r = $quota->getquota("dom");
if ($q["t"] > 0 && $r["u"] > 0) {
?>
<div class="menu-box">
<div class="menu-title"><img src="images/stat.png" alt="<?php __("Raw web statistics"); ?>" />&nbsp;<a href="sta2_list.php"><?php __("Raw web statistics"); ?></a> (<?= $q["u"]; ?>/<?= $q["t"]; ?>)</div>
<div class="menu-title"><img src="images/stat.png" alt="<?php __("Raw web statistics"); ?>" />&nbsp;<a href="sta2_list.php"><?php __("Raw web statistics"); ?></a> (<?php echo $q["u"]; ?>/<?php echo $q["t"]; ?>)</div>
</div>
<?php } ?>
<?php } ?>