19declare(strict_types=1);
30 private \ILIAS\Http\GlobalHttpState
$http;
36 $this->tpl =
$DIC[
'tpl'];
37 $this->
ctrl = $DIC->ctrl();
38 $this->
lng = $DIC->language();
39 $this->
http = $DIC->http();
56 $this->tpl->setCurrentBlock(
'SyntaxStyle');
57 $this->tpl->setVariable(
58 'LOCATION_SYNTAX_STYLESHEET',
61 $this->tpl->parseCurrentBlock();
63 $this->tpl->setCurrentBlock(
'ContentStyle');
64 $this->tpl->setVariable(
65 'LOCATION_CONTENT_STYLESHEET',
68 $this->tpl->parseCurrentBlock();
73 if (strtolower($this->imprint_request->getBaseClass()) === strtolower(__CLASS__)) {
77 $next_class = $this->
ctrl->getNextClass($this);
79 $title = $this->
lng->txt(
'adm_imprint');
81 switch ($next_class) {
84 $ret = parent::executeCommand();
85 $this->tabs_gui->activateTab(
'pg');
95 $this->tpl->setOnScreenMessage(
'info',
$lng->
txt(
'adm_imprint_inactive'));
104 $this->
ctrl->redirectToURL(
'ilias.php?baseClass=ilDashboardGUI');
107 $this->tpl->setTitle($this->
lng->txt(
'imprint'));
108 $this->tpl->loadStandardTemplate();
111 $this->tpl->setContent($this->
showPage());
113 $this->tpl->printToStdout(
'DEFAULT',
true,
false);
115 $this->
http->close();
123 $b =
$ui->factory()->button()->standard(
125 $this->ctrl->getLinkTargetByClass([ilObjLegalNoticeGUI::class, __CLASS__],
'edit')
131 public function getTabs(
string $a_activate =
''): void
134 $this->tabs_gui->activateTab(
'view');
@ilCtrl_Calls ilImprintGUI: ilPageEditorGUI, ilEditClipboardGUI, ilMediaPoolTargetSelector @ilCtrl_Ca...
showEditToolbar()
Show edit toolbar.
ILIAS Http GlobalHttpState $http
StandardGUIRequest $imprint_request
postOutputProcessing(string $a_output)
Finalizing output processing.
getTabs(string $a_activate='')
executeCommand()
execute command
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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...
static getContentStylePath(int $a_style_id, bool $add_random=true, bool $add_token=true)
get content style path static (to avoid full reading)
static getSyntaxStylePath()
showPage()
display content of page
setPresentationTitle(string $a_title="")
setRawPageContent(bool $a_rawpagecontent)
Set Get raw page content only.
setOutputMode(string $a_mode=self::PRESENTATION)
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 http()
Fetches the global http state from ILIAS.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc