adminSaveSettingsFromPostData();
} else {
// Invalid!
- loadTemplate('admin_settings_saved', false, getMessage('ADMIN_PROXY_SETTINGS_INVALID'));
+ loadTemplate('admin_settings_saved', false, '{--ADMIN_PROXY_SETTINGS_INVALID--}');
}
} else {
- // Prepare content
- $content = array(
- 'proxy_host' => getConfig('proxy_host'),
- 'proxy_port' => getConfig('proxy_port'),
- 'proxy_username' => getConfig('proxy_username'),
- 'proxy_password' => getConfig('proxy_password'),
- );
-
// Load template
- loadTemplate('admin_config_proxy', false, $content);
+ loadTemplate('admin_config_proxy');
}
// [EOF]