function _actionAdministrationSettings($sSettingsCatName)
{
if (!preg_match('/^[A-Za-z0-9_-]+$/', $sSettingsCatName)) {
return MsgBox(_t('_sys_request_page_not_found_cpt'));
}
$iId = $this->_oDb->getSettingsCategory($sSettingsCatName);
if (empty($iId)) {
return MsgBox(_t('_sys_request_page_not_found_cpt'));
}
bx_import('BxDolAdminSettings');
$mixedResult = '';
if (isset($_POST['save']) && isset($_POST['cat'])) {
$oSettings = new BxDolAdminSettings($iId);
$mixedResult = $oSettings->saveChanges($_POST);
}
$oSettings = new BxDolAdminSettings($iId);
$sResult = $oSettings->getForm();
if ($mixedResult !== true && !empty($mixedResult)) {
$sResult = $mixedResult . $sResult;
}
$aVars = array('content' => $sResult);
return $this->_oTemplate->parseHtmlByName('default_padding', $aVars);
}