mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-21 21:43:41 +00:00
Merge pull request #852 from MrPetovan/task/remove-duplicate-baseurl
[widgets] Remove superfluous $baseurl template variable
This commit is contained in:
commit
582bec6415
2 changed files with 0 additions and 3 deletions
|
@ -62,8 +62,6 @@ function like_widget_content(&$a, $conf){
|
||||||
|
|
||||||
'$dislike' => $dislikes,
|
'$dislike' => $dislikes,
|
||||||
'$strdislike'=> L10n::tt("%d person doesn't like this", "%d people don't like this", $dislikes),
|
'$strdislike'=> L10n::tt("%d person doesn't like this", "%d people don't like this", $dislikes),
|
||||||
|
|
||||||
'$baseurl' => $a->getBaseURL(),
|
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return $o;
|
return $o;
|
||||||
|
|
|
@ -62,7 +62,6 @@ function widgets_settings(&$a,&$o) {
|
||||||
$t = Renderer::getMarkupTemplate("settings.tpl", "addon/widgets/");
|
$t = Renderer::getMarkupTemplate("settings.tpl", "addon/widgets/");
|
||||||
$o .= Renderer::replaceMacros($t, [
|
$o .= Renderer::replaceMacros($t, [
|
||||||
'$submit' => L10n::t('Generate new key'),
|
'$submit' => L10n::t('Generate new key'),
|
||||||
'$baseurl' => $a->getBaseURL(),
|
|
||||||
'$title' => "Widgets",
|
'$title' => "Widgets",
|
||||||
'$label' => L10n::t('Widgets key'),
|
'$label' => L10n::t('Widgets key'),
|
||||||
'$key' => $key,
|
'$key' => $key,
|
||||||
|
|
Loading…
Reference in a new issue