5 include_once(
"./Services/COPage/classes/class.ilPageMultiLang.php");
26 function __construct($a_parent_type, $a_parent_id, $a_single_page_mode =
false)
31 include_once(
"./Services/Object/classes/class.ilObjectTranslation.php");
44 $next_class = $ilCtrl->getNextClass();
49 $cmd = $ilCtrl->getCmd(
"settings");
50 if (in_array(
$cmd, array(
"settings",
"activateMultilinguality",
"cancel",
51 "saveMultilingualitySettings",
"confirmDeactivateMultiLanguage",
"addLanguage",
52 "saveLanguages",
"deactivateMultiLang",
"confirmRemoveLanguages",
204 if ($a_page_lang ==
"")
209 $lng->loadLanguageModule(
"meta");
211 $tpl =
new ilTemplate(
"tpl.page_multi_lang_info.html",
true,
true,
"Services/COPage");
212 $tpl->setVariable(
"TXT_MASTER_LANG", $lng->txt(
"obj_master_lang"));
213 $tpl->setVariable(
"VAL_ML", $lng->txt(
"meta_l_".$this->ot->getMasterLanguage()));
214 $cl = ($a_page_lang ==
"-")
215 ? $this->ot->getMasterLanguage()
217 $tpl->setVariable(
"TXT_CURRENT_LANG", $lng->txt(
"cont_current_lang"));
218 $tpl->setVariable(
"VAL_CL", $lng->txt(
"meta_l_".$cl));