(03-13-2009 09:24 AM)rbtux Wrote: yeah well nobody is perfect ;-)
[EDIT Part 2 - Write SQL]
in /var/www/ispcp/gui/include/ispcp-mailquota.php
add to the end:
Code:
if(isset($_POST['Submit']))
{
$_POST['mailboxquota'] = $_POST['mailboxquota'] * 1024 * 1024;
$sql0="UPDATE `mail_users` SET `quota` = '".$_POST['mailboxquota']."' WHERE `domain_id` = '".$_SESSION['edit_id']."';";
$result = mysql_query($sql0);
mysql_close();
}
READY !!!
All Mailboxes for the specific user are set to the new quota after "Edit Domain".
[/EDIT]