/**
  * Save page editor settings form
  *
  */
 public function savePageEditorSettingsObject()
 {
     global $tpl, $lng, $ilCtrl, $ilSetting;
     $this->initPageEditorForm();
     if ($this->form->checkInput()) {
         include_once "./Services/COPage/classes/class.ilPageEditorSettings.php";
         include_once "./Services/COPage/classes/class.ilPageContentGUI.php";
         $buttons = ilPageContentGUI::_getCommonBBButtons();
         foreach ($buttons as $b => $t) {
             ilPageEditorSettings::writeSetting($_GET["grp"], "active_" . $b, $this->form->getInput("active_" . $b));
         }
         if ($_GET["grp"] == "test") {
             $ilSetting->set("enable_tst_page_edit", (int) $_POST["tst_page_edit"]);
         } elseif ($_GET["grp"] == "rep") {
             $ilSetting->set("enable_cat_page_edit", (int) $_POST["cat_page_edit"]);
         }
         ilUtil::sendInfo($lng->txt("msg_obj_modified"), true);
     }
     $ilCtrl->setParameter($this, "grp", $_GET["grp"]);
     $ilCtrl->redirect($this, "showPageEditorSettings");
 }