"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "interface/web/client/reseller_edit.php" between
ISPConfig-3.2.4.tar.gz and ISPConfig-3.2.5.tar.gz

About: ISPConfig is an ISP management and Hosting Control Panel (for different Managed Services).

reseller_edit.php  (ISPConfig-3.2.4):reseller_edit.php  (ISPConfig-3.2.5)
skipping to change at line 183 skipping to change at line 183
$app->tpl->setVar('app_module', 'client'); $app->tpl->setVar('app_module', 'client');
// Check wether per domain relaying is enabled or not // Check wether per domain relaying is enabled or not
$global_config = $app->getconf->get_global_config('mail'); $global_config = $app->getconf->get_global_config('mail');
if($global_config['show_per_domain_relay_options'] == 'y') { if($global_config['show_per_domain_relay_options'] == 'y') {
$app->tpl->setVar("show_per_domain_relay_options", 1); $app->tpl->setVar("show_per_domain_relay_options", 1);
} else { } else {
$app->tpl->setVar("show_per_domain_relay_options", 0); $app->tpl->setVar("show_per_domain_relay_options", 0);
} }
// APS is enabled or not
$global_config = $app->getconf->get_global_config('sites');
if($global_config['show_aps_menu'] == 'y') {
$app->tpl->setVar("show_aps_menu", 1);
} else {
$app->tpl->setVar("show_aps_menu", 0);
}
//* Set the 'customer no' default value //* Set the 'customer no' default value
if($this->id == 0) { if($this->id == 0) {
//* get the system config //* get the system config
$app->uses('getconf'); $app->uses('getconf');
$system_config = $app->getconf->get_global_config(); $system_config = $app->getconf->get_global_config();
if($system_config['misc']['customer_no_template'] != '') { if($system_config['misc']['customer_no_template'] != '') {
//* Set customer no default //* Set customer no default
$customer_no = $app->functions->intval($system_co nfig['misc']['customer_no_start']+$system_config['misc']['customer_no_counter']) ; $customer_no = $app->functions->intval($system_co nfig['misc']['customer_no_start']+$system_config['misc']['customer_no_counter']) ;
$customer_no_string = str_replace('[CUSTOMER_NO]' ,$customer_no,$system_config['misc']['customer_no_template']); $customer_no_string = str_replace('[CUSTOMER_NO]' ,$customer_no,$system_config['misc']['customer_no_template']);
 End of changes. 1 change blocks. 
0 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)