mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
Remove duplicate $baseurl template variable
- Remove unused $overwriteURL parameter in Renderer::replaceMacros
This commit is contained in:
parent
d8125eb3db
commit
9774c95b80
41 changed files with 38 additions and 101 deletions
|
@ -120,11 +120,9 @@ class Contact extends BaseModule
|
|||
'$networks_widget' => $networks_widget
|
||||
]);
|
||||
|
||||
$base = $a->getBaseURL();
|
||||
$tpl = Renderer::getMarkupTemplate('contacts-head.tpl');
|
||||
$a->page['htmlhead'] .= Renderer::replaceMacros($tpl, [
|
||||
'$baseurl' => System::baseUrl(true),
|
||||
'$base' => $base
|
||||
'$baseurl' => $a->getBaseURL(true),
|
||||
]);
|
||||
}
|
||||
|
||||
|
@ -809,7 +807,6 @@ class Contact extends BaseModule
|
|||
|
||||
$tpl = Renderer::getMarkupTemplate('contacts-template.tpl');
|
||||
$o .= Renderer::replaceMacros($tpl, [
|
||||
'$baseurl' => System::baseUrl(),
|
||||
'$header' => L10n::t('Contacts') . (($nets) ? ' - ' . ContactSelector::networkToName($nets) : ''),
|
||||
'$tabs' => $t,
|
||||
'$total' => $total,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue