Skip to content

[Admin] 46680: Footerlink „Technische Betreuung kontaktieren“#10834

Open
fneumann wants to merge 1 commit intoILIAS-eLearning:release_10from
fneumann:fix10-mantis46680-contact-link
Open

[Admin] 46680: Footerlink „Technische Betreuung kontaktieren“#10834
fneumann wants to merge 1 commit intoILIAS-eLearning:release_10from
fneumann:fix10-mantis46680-contact-link

Conversation

@fneumann
Copy link
Contributor

@fneumann fneumann commented Jan 8, 2026

https://mantis.ilias.de/view.php?id=46680

This PR removes the workaround of showing a "mailto:" address in the footer to anonymous user, since:

  • mailto addresses are not supported by the footer
  • a global profile GUI can be shown to anonymous users, if global profles are enabled

If technical contacts are configured, the link in the footer will always lead to a GUI for showing them.

  • Logged in users will see the profiles of technical contacts that are published for users or www
  • The anonymous user will see the profiles of contacts that are published for www

If a user is not logged in and global profiles are disabled for anonymous access, the GUI will just list the e-mail addresses of the technical contacts, even if they haven't published their profiles. This equals to the previous behavior and to their usage for "mailto:" links in the self registration and the user agreement.

@fneumann fneumann self-assigned this Jan 8, 2026
@fneumann fneumann added bugfix php Pull requests that update Php code labels Jan 8, 2026
@fneumann fneumann force-pushed the fix10-mantis46680-contact-link branch from 5188006 to 28d9f33 Compare March 18, 2026 14:10
@fneumann fneumann requested review from lscharmer and removed request for mjansenDatabay March 18, 2026 14:11
if (!empty(ilSystemSupportContacts::getValidSupportContactIds())) {
return $DIC->ctrl()->getLinkTargetByClass(self::class);
}
return '';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please return null, so that the Link is hidden if it is not present.
An empty string will result in a broken link.
See:

if (($system_support_url = \ilSystemSupportContactsGUI::getFooterLink()) !== null) {

Also the buildURI call can be readded as well (but only a suggestion as this is a bugfix): ae7301f#diff-413f26f1852286d88624d2da1c0d7a70d1a68683b82b6c30f0583c30b003eb67R102

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants