Ne liste pas les comptes FTP si il n'en existe pas
This commit is contained in:
parent
0ff32f590d
commit
1376be6f99
|
@ -24,7 +24,6 @@
|
|||
/* ############# FTP ############# */
|
||||
|
||||
$q = $quota->getquota("ftp");
|
||||
|
||||
if ($q["t"] > 0 || $q['u'] > 0) {
|
||||
|
||||
?>
|
||||
|
@ -39,7 +38,9 @@ if ($q["t"] > 0 || $q['u'] > 0) {
|
|||
<?php if ($quota->cancreate("ftp")) { ?>
|
||||
<li><a href="ftp_edit.php?create=1"><img src="images/new.png" alt="<?php __("Create a new ftp account"); ?>" /> <?php __("Create a new ftp account"); ?></a></li>
|
||||
<?php } ?>
|
||||
<?php if ( $q['u'] > 0 ) { // if there are some FTP accounts ?>
|
||||
<li><a href="ftp_list.php"><?php __("FTP accounts list"); ?></a></li>
|
||||
<?php } //no existing FTP accounts ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue