| | |
| | | |
| | | global $app, $conf; |
| | | |
| | | require_once('../../lib/config.inc.php'); |
| | | require_once '../../lib/config.inc.php'; |
| | | |
| | | require_once('../../lib/app.inc.php'); |
| | | require_once '../../lib/app.inc.php'; |
| | | |
| | | /** |
| | | * |
| | | * @param db $exdb |
| | | * @return array |
| | | */ |
| | | |
| | | |
| | | function read_limit_data($exdb) { |
| | | $limits = array(); |
| | | // Limits |
| | |
| | | return $limits; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * |
| | | * @param array $limits |
| | |
| | | } |
| | | |
| | | function yes_no($num, $reverse = false) { |
| | | return (($num == 1 && !$reverse) || ($num != 1 && $reverse) ? 'y' : 'n'); |
| | | return ($num == 1 && !$reverse) || ($num != 1 && $reverse) ? 'y' : 'n'; |
| | | } |
| | | |
| | | // taken from the web_domain_edit.php |