18 declare(strict_types=1);
39 $this->tpl = $DIC[
"tpl"];
40 $this->
ctrl = $DIC->ctrl();
41 $this->
locator = $DIC[
"ilLocator"];
42 $this->
lng = $DIC->language();
59 $this->tpl->setCurrentBlock(
"SyntaxStyle");
60 $this->tpl->setVariable(
61 "LOCATION_SYNTAX_STYLESHEET",
64 $this->tpl->parseCurrentBlock();
66 $this->tpl->setCurrentBlock(
"ContentStyle");
67 $this->tpl->setVariable(
68 "LOCATION_CONTENT_STYLESHEET",
71 $this->tpl->parseCurrentBlock();
76 if (strtolower($this->imprint_request->getBaseClass()) ===
77 strtolower(ilImprintGUI::class)) {
81 $next_class = $this->
ctrl->getNextClass($this);
83 $title = $this->
lng->txt(
"adm_imprint");
85 switch ($next_class) {
88 $ret = parent::executeCommand();
89 $this->tabs_gui->activateTab(
"pg");
100 $this->tpl->setOnScreenMessage(
'info',
$lng->
txt(
"adm_imprint_inactive"));
110 $this->
ctrl->redirectToURL(
"ilias.php?baseClass=ilDashboardGUI");
112 $this->tpl->setTitle($this->
lng->txt(
"imprint"));
113 $this->tpl->loadStandardTemplate();
116 $this->tpl->setContent($this->
showPage());
118 $this->tpl->printToStdout(
"DEFAULT",
true,
false);
127 $b =
$ui->factory()->button()->standard(
129 $this->
ctrl->getLinkTargetByClass([ilObjLegalNoticeGUI::class, __CLASS__],
"edit")
135 public function getTabs(
string $a_activate =
""): void
138 $this->tabs_gui->activateTab(
'view');
getTabs(string $a_activate="")
postOutputProcessing(string $a_output)
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
setOutputMode(string $a_mode=self::PRESENTATION)
StandardGUIRequest $imprint_request
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface ilCtrlBaseClassInterface describes ilCtrl base classes.
setRawPageContent(bool $a_rawpagecontent)
Set Get raw page content only.
static _exists(string $a_parent_type, int $a_id, string $a_lang="", bool $a_no_cache=false)
Checks whether page exists.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getSyntaxStylePath()
setPresentationTitle(string $a_title="")
static getContentStylePath(int $a_style_id, bool $add_random=true, bool $add_token=true)
get content style path static (to avoid full reading)
showPage()
display content of page