/**
  * edit properties form
  */
 function properties()
 {
     global $lng;
     $lng->loadLanguageModule("style");
     $this->setTabs("settings");
     $this->setSubTabs("cont_general_properties");
     //$showViewInFrameset = $this->ilias->ini->readVariable("layout","view_target") == "frame";
     $showViewInFrameset = true;
     if ($showViewInFrameset) {
         $buttonTarget = ilFrameTargetInfo::_getFrame("MainContent");
     } else {
         $buttonTarget = "ilContObj" . $this->object->getID();
     }
     // lm properties
     $this->initPropertiesForm();
     $this->getPropertiesFormValues();
     if ($this->object->getType() == "lm") {
         // Edit ecs export settings
         include_once 'Modules/LearningModule/classes/class.ilECSLearningModuleSettings.php';
         $ecs = new ilECSLearningModuleSettings($this->object);
         $ecs->addSettingsToForm($this->form, 'lm');
     }
     $this->tpl->setContent($this->form->getHTML());
 }
 /**
  * edit properties form
  */
 function properties()
 {
     global $lng;
     $lng->loadLanguageModule("style");
     $this->setTabs("settings");
     $this->setSubTabs("settings");
     // lm properties
     $this->initPropertiesForm();
     $this->getPropertiesFormValues();
     if ($this->object->getType() == "lm") {
         // Edit ecs export settings
         include_once 'Modules/LearningModule/classes/class.ilECSLearningModuleSettings.php';
         $ecs = new ilECSLearningModuleSettings($this->object);
         $ecs->addSettingsToForm($this->form, 'lm');
     }
     $this->tpl->setContent($this->form->getHTML());
 }