[various] Adapt BaseURL calls for new UriInterface

This commit is contained in:
Philipp 2023-02-18 20:57:09 +01:00
parent 75df306424
commit 648fadedd3
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
30 changed files with 478 additions and 479 deletions

View file

@ -73,7 +73,7 @@ function irc_module() {}
function irc_content()
{
$baseurl = DI::baseUrl()->get() . '/addon/irc';
$baseurl = DI::baseUrl() . '/addon/irc';
$o = '';
/* set the list of popular channels */
@ -95,7 +95,7 @@ function irc_content()
DI::page()['aside'] .= '<div class="widget"><h3>' . DI::l10n()->t('Popular Channels') . '</h3><ul>';
foreach ($chats as $chat) {
DI::page()['aside'] .= '<li><a href="' . DI::baseUrl()->get() . '/irc?channels=' . $chat . '" >' . '#' . $chat . '</a></li>';
DI::page()['aside'] .= '<li><a href="' . DI::baseUrl() . '/irc?channels=' . $chat . '" >' . '#' . $chat . '</a></li>';
}
DI::page()['aside'] .= '</ul></div>';