4 include_once
'./Services/Table/classes/class.ilTable2GUI.php';
5 include_once
'./Services/Authentication/classes/class.ilAuthLoginPageEditorSettings.php';
23 public function __construct($a_parent_obj, $a_parent_cmd =
"")
30 $this->lng->loadLanguageModule(
'meta');
40 $installed = $this->lng->getInstalledLanguages();
44 foreach($installed as $key => $langkey)
46 $tbl_data[$counter][
'key'] = $langkey;
63 $this->tpl->setVariable(
'LANGID',$a_set[
'key']);
64 $this->tpl->setVariable(
'LANGKEY_CHECKED',$a_set[
'status'] ?
'checked="checked' :
'');
65 $this->tpl->setVariable(
'TXT_LANGUAGE',$this->lng->txt(
'meta_l_'.$a_set[
'key']));
67 if($this->lng->getDefaultLanguage() == $a_set[
'key'])
69 $this->tpl->setVariable(
'TXT_SYSTEM', $this->lng->txt(
'system_language'));
74 $this->tpl->setVariable(
'STATUS_ALT', $this->lng->txt(
'active'));
75 $this->tpl->setVariable(
'CHECKED_LANGKEY',
'checked="checked"');
80 $this->tpl->setVariable(
'STATUS_ALT', $this->lng->txt(
'inactive'));
82 $this->tpl->setVariable(
'LINK_TXT',$this->lng->txt(
'edit'));
84 $this->tpl->setVariable(
'LINK_NAME', $ilCtrl->getLinkTargetByClass(
'ilpageobjectgui',
'edit'));
96 $this->
setFormAction($ilCtrl->getFormAction($this->getParentObject()));
97 $this->
setRowTemplate(
'tpl.auth_login_page_editor_table_row.html',
'Services/Authentication');
98 $this->
setId(
'loginpageeditor');
102 $this->
addColumn($this->lng->txt(
'language'),
'language',
'85%');
103 $this->
addColumn($this->lng->txt(
'active'),
'active',
'5%');
104 $this->
addColumn($this->lng->txt(
'actions'),
'actions',
'10%');
106 $this->
addMultiCommand(
'activate', $this->lng->txt(
'login_page_activate'));
112 $this->
enable(
'select_all');