Exemplo n.º 1
0
                    $error = true;
                    $dialogBox->error($config->backlog->output());
                }
            }
            // display form
            $form .= $config->display_form($newPropertyList, $section);
        } else {
            // display form
            $form .= $config->display_form(null, $section);
        }
    } else {
        // error loading the configuration
        $error = true;
        $dialogBox->error($config->backlog->output());
    }
    if ($config->is_modified()) {
        $dialogBox->warning(get_lang('Note. This configuration file has been manually changed. The system will try to retrieve all the configuration values, but it can not guarantee to retrieve additional settings manually inserted'));
    }
}
if (!isset($config_name)) {
    $nameTools = get_lang('Configuration');
    ClaroBreadCrumbs::getInstance()->setCurrent($nameTools, $_SERVER['PHP_SELF']);
} else {
    // tool name and url to edit config file
    $nameTools = get_lang($config->get_conf_name());
    ClaroBreadCrumbs::getInstance()->setCurrent($nameTools, $_SERVER['PHP_SELF'] . '?config_code=' . $config_code);
}
/*************************************************************************** */
/* Display
/*************************************************************************** */
// define bredcrumb