public function __construct($a_title, $a_postvar) { global $lng, $tpl, $ilUser; $this->lng = $lng; $this->lng->loadLanguageModule('dateplaner'); $this->user_settings = ilCalendarUserSettings::_getInstanceByUserId($ilUser->getId()); $tpl->addJavascript("./Services/Calendar/js/recurrence_input.js"); parent::__construct($a_title, $a_postvar); }
public function __construct($title, $post_var) { global $lng; parent::__construct($title, $post_var); $this->title_input = new ilTextInputGUI($this->getTitle(), "display_" . $this->getPostVar()); $this->title_input->setDisabled(true); $this->title_input->setInfo($lng->txt("dcl_ilias_refere\tnce_info")); $this->search_input = new ilTextInputGUI($this->getTitle(), "search_" . $this->getPostVar()); $this->search_input->setDisabled(false); $this->search_input->setInfo($lng->txt('dcl_ilias_reference_info')); $this->hidden_input = new ilHiddenInputGUI($this->getPostVar()); }
/** * @param string $title * @param string $post_var */ public function __construct($title, $post_var) { global $lng, $tpl; /** * @var $tpl iltemplate */ parent::__construct($title, $post_var); $tpl->addJavaScript('./Modules/DataCollection/js/ilDclTreeSearch.js'); $this->title_input = new ilTextInputGUI($this->getTitle(), "display_" . $this->getPostVar()); $this->title_input->setDisabled(true); $this->title_input->setInfo($lng->txt("dcl_ilias_refere\tnce_info")); $this->title_input->setInlineStyle('width: 98%; display:inline-block;'); $this->search_input = new ilTextInputGUI($this->getTitle(), "search_" . $this->getPostVar()); $this->search_input->setDisabled(false); $this->search_input->setInfo($lng->txt('dcl_ilias_reference_info')); $this->search_input->setInlineStyle('width: 98%; margin-top: 5px;'); $this->hidden_input = new ilHiddenInputGUI($this->getPostVar()); $this->lng = $lng; }