423,20 → 423,12 |
case 'view': |
$body .= $core->showSettingsList("settings", $manager, "list"); |
break; |
case 'edit': |
case 'update-password': |
$body .= "<form action='".$process."' method='post'>\n"; |
$body .= "<input type='hidden' name='mode' value='setting-edit'>\n"; |
$body .= "<input type='hidden' name='settingID' value='".$uuid."'>\n"; |
$body .= $core->showSettingForm($uuid, "Редактирование информации о настройке"); |
$body .= "<input type='hidden' name='mode' value='update-password'>\n"; |
$body .= $core->showUpdatePasswordForm(); |
$body .= "</form>"; |
break; |
case 'delete': |
$body .= "<form action='".$process."' method='post'>\n"; |
$body .= "<input type='hidden' name='mode' value='setting-delete'>\n"; |
$body .= "<input type='hidden' name='settingID' value='".$uuid."'>\n"; |
$body .= $core->showSettingForm($uuid, "Редактирование информации о настройке"); |
$body .= "</form>"; |
break; |
break; |
} |
|
$tmpl->assign('header', "CPanel"); |