4 include_once
'./Services/WebServices/ECS/classes/class.ilECSSetting.php';
34 $this->container = $settingsContainer;
65 $GLOBALS[
'tpl']->setTitle($this->lng->txt(
'ecs_campus_connect_title'));
67 $this->ctrl->saveParameter($this,
'server_id');
69 $next_class = $this->ctrl->getNextClass($this);
70 $cmd = $this->ctrl->getCmd();
95 $GLOBALS[
'ilCtrl']->returnToParent($this);
104 include_once
'./Services/WebServices/ECS/classes/Mapping/class.ilECSNodeMappingSettings.php';
117 include_once
'./Services/WebServices/ECS/classes/Mapping/class.ilECSNodeMappingSettings.php';
134 $ilTabs->activateTab(
'ecs_crs_allocation');
138 $GLOBALS[
'tpl']->setContent($form->getHTML());
148 include_once
'./Services/Form/classes/class.ilPropertyFormGUI.php';
150 $form->setFormAction($this->ctrl->getFormAction($this));
151 $form->setTitle($this->lng->txt(
'settings'));
157 $tpl =
new ilTemplate(
'tpl.ecs_import_id_form.html',
true,
true,
'Services/WebServices/ECS');
158 $tpl->setVariable(
'SIZE',5);
159 $tpl->setVariable(
'MAXLENGTH',11);
160 $tpl->setVariable(
'POST_VAR',
'import_id');
161 # $tpl->setVariable('PROPERTY_VALUE',$this->rule->getContainerId());
163 #if($this->settings->getImportId())
165 # $tpl->setVariable('COMPLETE_PATH',$this->buildPath($this->rule->getContainerId()));
168 $imp->setHTML(
$tpl->get());
169 $imp->setInfo($this->lng->txt(
'ecs_import_id_info'));
170 $form->addItem($imp);
173 $check =
new ilCheckboxInputGUI($this->lng->txt(
'ecs_individual_alloc'),
'individual');
174 $check->
setInfo($this->lng->txt(
'ecs_individual_alloc'));
175 $form->addItem($check);
177 $form->addCommandButton(
'cUpdateSettings',$this->lng->txt(
'save'));
178 $form->addCommandButton(
'cSettings', $this->lng->txt(
'cancel'));
192 $ilTabs->activateTab(
'ecs_dir_allocation');
193 $ilTabs->activateSubTab(
'dSettings');
197 $GLOBALS[
'tpl']->setContent($form->getHTML());
209 if($form->checkInput())
211 include_once
'./Services/WebServices/ECS/classes/Mapping/class.ilECSNodeMappingSettings.php';
220 $form->setValuesByPost();
222 $ilCtrl->redirect($this,
'dSettings');
230 include_once
'./Services/WebServices/ECS/classes/Mapping/class.ilECSNodeMappingSettings.php';
231 include_once
'./Services/Form/classes/class.ilPropertyFormGUI.php';
234 $form->setFormAction($this->ctrl->getFormAction($this));
235 $form->setTitle($this->lng->txt(
'general_settings'));
237 $active =
new ilCheckboxInputGUI($this->lng->txt(
'ecs_node_mapping_activate'),
'active');
239 $form->addItem($active);
241 $create_empty =
new ilCheckboxInputGUI($this->lng->txt(
'ecs_node_mapping_create_empty'),
'empty');
243 $create_empty->setInfo($this->lng->txt(
'ecs_node_mapping_create_empty_info'));
244 $form->addItem($create_empty);
246 $form->addCommandButton(
'dUpdateSettings',$this->lng->txt(
'save'));
247 $form->addCommandButton(
'cancel', $this->lng->txt(
'cancel'));
258 $GLOBALS[
'ilTabs']->activateSubTab(
'dTrees');
259 $GLOBALS[
'ilTabs']->activateTab(
'ecs_dir_allocation');
268 $GLOBALS[
'ilTabs']->activateSubTab(
'dMappingOverview');
269 $GLOBALS[
'ilTabs']->activateTab(
'ecs_dir_allocation');
280 $ilTabs->clearTargets();
281 $ilTabs->setBackTarget(
282 $this->lng->txt(
'ecs_back_settings'),
283 $this->ctrl->getParentReturn($this)
286 'ecs_dir_allocation',
287 $this->lng->txt(
'ecs_dir_alloc'),
288 $this->ctrl->getLinkTarget($this,
'dSettings')
291 'ecs_crs_allocation',
292 $this->lng->txt(
'ecs_crs_alloc'),
293 $this->ctrl->getLinkTarget($this,
'cSettings')
306 if($a_tab == self::TAB_DIRECTORY)
310 $this->lng->txt(
'ecs_cc_mapping_overview'),
311 $this->ctrl->getLinkTarget($this,
'dMappingOverview')
315 $this->lng->txt(
'ecs_cms_dir_tree'),
316 $this->ctrl->getLinkTarget($this,
'dTrees')
320 $this->lng->txt(
'settings'),
321 $this->ctrl->getLinkTarget($this,
'dSettings')