From: Hypolite Petovan Date: Mon, 6 May 2019 02:04:29 +0000 (-0400) Subject: [widgets] Remove superfluous $baseurl template variable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=81f9f266ab7edb8b073c2aed298ca9a9dc69086d;p=friendica-addons.git [widgets] Remove superfluous $baseurl template variable --- diff --git a/widgets/widget_like.php b/widgets/widget_like.php index 56ad1e5b..1fcc96b9 100644 --- a/widgets/widget_like.php +++ b/widgets/widget_like.php @@ -62,8 +62,6 @@ function like_widget_content(&$a, $conf){ '$dislike' => $dislikes, '$strdislike'=> L10n::tt("%d person doesn't like this", "%d people don't like this", $dislikes), - - '$baseurl' => $a->getBaseURL(), ]); return $o; diff --git a/widgets/widgets.php b/widgets/widgets.php index 31bd0308..5c075964 100644 --- a/widgets/widgets.php +++ b/widgets/widgets.php @@ -62,7 +62,6 @@ function widgets_settings(&$a,&$o) { $t = Renderer::getMarkupTemplate("settings.tpl", "addon/widgets/"); $o .= Renderer::replaceMacros($t, [ '$submit' => L10n::t('Generate new key'), - '$baseurl' => $a->getBaseURL(), '$title' => "Widgets", '$label' => L10n::t('Widgets key'), '$key' => $key,