110 return $this->context_collection->
main();
120 if ($content === null) {
123 $ui = $this->dic->ui();
124 return $ui->factory()->legacy(
125 $ui->renderer()->render($content) . self::$content
127 })->withLowPriority();
133 return $this->
globalScreen()->layout()->factory()->title()->withModification(
134 function (?
string $content) :
string {
137 )->withLowPriority();
142 return $this->
globalScreen()->layout()->factory()->short_title()->withModification(
143 function (?
string $content) :
string {
144 return self::$short_title;
146 )->withLowPriority();
151 return $this->
globalScreen()->layout()->factory()->view_title()->withModification(
152 function (?
string $content) :
string {
153 return self::$view_title;
155 )->withLowPriority();
163 return $this->
globalScreen()->layout()->factory()->footer()->withModification(
function (?
Footer $footer = null) : ?
Footer {
164 $f = $this->dic->ui()->factory();
168 $ilias_version = $this->dic->settings()->get(
'ilias_version');
169 $text =
"powered by ILIAS (v{$ilias_version})";
173 $imprint_title = $this->dic->language()->txt(
"imprint");
175 $links[] =
$f->link()->standard($imprint_title, $imprint_url);
181 $links[] =
$f->link()->standard($system_support_title, $system_support_url);
187 $translation_title = $this->dic->language()->txt(
'translation');
188 $links[] =
$f->link()->standard($translation_title, $translation_url)->withOpenInNewViewport(
true);
194 $links[] =
$f->link()->standard($accessibility_control_title, $accessibility_control_url);
200 $links[] =
$f->link()->standard($accessibility_report_title, $accessibility_report_url);
203 $footer =
$f->mainControls()->footer($links, $text);
205 $tosWithdrawalGui = new \ilTermsOfServiceWithdrawalGUIHelper($this->dic->user());
206 $footer = $tosWithdrawalGui->modifyFooter($footer);
208 if (self::$perma_link !==
"") {
209 $footer = $footer->withPermanentURL(
new URI(self::$perma_link));
static setViewTitle(string $view_title)
static _isPageTranslation()
Check if the current request is a page translation.
getFooterModification(CalledContexts $screen_context_stack)
static _getStaticLink( $a_ref_id, $a_type='', $a_fallback_goto=true, $append="")
Get static link.
static getFooterLink()
Get footer link.
Class ShortTitleModification.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getContentModification(CalledContexts $screen_context_stack)
Class ShortTitleModification.
getViewTitleModification(CalledContexts $screen_context_stack)
Class ContentModification.
Class AbstractModificationProvider.
static getFooterText()
Get footer text.
static _getTranslationLink()
Get the link to translate the current page.
getTitleModification(CalledContexts $screen_context_stack)
The scope of this class is split ilias-conform URI's into components.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getShortTitleModification(CalledContexts $screen_context_stack)
static setContent(string $content)
static setShortTitle(string $short_title)
static setTitle(string $title)
Interface ModificationProvider.
static setPermaLink(string $perma_link)
This describes the Footer.
static _checkTranslate()
Permission check for translations.
Class ilPageContentProvider.