// Add description as navigation point
ADD_DESCR("admin", __FILE__);
-if (isset($_POST['ok']))
-{
+if (isset($_POST['ok'])) {
// Save settings
ADMIN_SAVE_SETTINGS($_POST);
-}
- else
-{
+} else {
// Prepare constants for the template
- define('__LIMIT_VALUE', $_CONFIG['user_limit']);
- define('__ALPHA_VALUE', $_CONFIG['user_alpha']);
+ define('__LIMIT_VALUE', getConfig('user_limit'));
+ define('__ALPHA_VALUE', getConfig('user_alpha'));
// Load form template
LOAD_TEMPLATE("admin_config_user");