// delete Perl config file
        $delFile = $config['paths']['config'] . $deleteConfig . '.conf.php';
        $del = @unlink('./' . $delFile);
    }
    if ($del === false) {
        $msg = '<p class="error">' . sprintf($lang['L_ERROR_DELETING_CONFIGFILE'], $deleteConfig) . '</p>';
    } else {
        $msg = '<p class="success">' . sprintf($lang['L_SUCCESS_DELETING_CONFIGFILE'], $deleteConfig) . '</p>';
    }
    $sel = 'configs';
}
$tplConfigurationConfigFiles = new MSDTemplate();
$tplConfigurationConfigFiles->set_filenames(array('tplConfigurationConfigFiles' => 'tpl/configuration/configFiles.tpl'));
$tplConfigurationConfigFiles->assign_vars(array('ICON_SAVE' => $icon['small']['save'], 'ICON_SEARCH' => $icon['search'], 'ICON_EDIT' => $icon['edit'], 'ICON_DELETE' => $icon['delete']));
$i = 0;
$configs = getConfigFilenames();
// iterate config files and print settings to screen
foreach ($configs as $c) {
    $i++;
    unset($databases);
    $databases = array();
    getConfig($c);
    $rowclass = $i % 2 ? 'dbrow' : 'dbrow1';
    if ($oldConfig == $c) {
        $rowclass = 'dbrowsel';
        // highlight active configuration
    }
    // Generate configuration output
    $outputstringMultisettings = '';
    $dbsToBackup = array();
    // look up which databases are set to be dumped
/**
 * Returns list of configuration profiles as HTML-Optionlist
 *
 * @param string $selected_config The actual configuration to pre-select in option list
 *
 * @return string HTML-option-string
 */
function getConfigFilelist($selected_config)
{
    $configs = getConfigFilenames();
    $options = Html::getOptionlist($configs, $selected_config);
    return $options;
}