From: Hypolite Petovan Date: Tue, 1 May 2018 12:39:45 +0000 (-0400) Subject: [advancedcontentfilter] Fix unknown function "current_theme" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=37c4455c0621496ff1030568fbef60e682d15dd6;p=friendica-addons.git [advancedcontentfilter] Fix unknown function "current_theme" --- diff --git a/advancedcontentfilter/advancedcontentfilter.php b/advancedcontentfilter/advancedcontentfilter.php index 993c8b4c..47ace1c2 100644 --- a/advancedcontentfilter/advancedcontentfilter.php +++ b/advancedcontentfilter/advancedcontentfilter.php @@ -201,6 +201,7 @@ function advancedcontentfilter_content(App $a) } else { $t = get_markup_template('settings.tpl', 'addon/advancedcontentfilter/'); return replace_macros($t, [ + '$current_theme' => $a->getCurrentTheme(), '$backtosettings' => L10n::t('Back to Addon Settings'), '$title' => L10n::t('Advanced Content Filter'), '$add_a_rule' => L10n::t('Add a Rule'), diff --git a/advancedcontentfilter/templates/settings.tpl b/advancedcontentfilter/templates/settings.tpl index b29c275b..813dc919 100644 --- a/advancedcontentfilter/templates/settings.tpl +++ b/advancedcontentfilter/templates/settings.tpl @@ -48,7 +48,7 @@