diff --git a/src/Render/FriendicaSmartyEngine.php b/src/Render/FriendicaSmartyEngine.php index 2c76ff0255..0f5ee21f27 100644 --- a/src/Render/FriendicaSmartyEngine.php +++ b/src/Render/FriendicaSmartyEngine.php @@ -83,6 +83,8 @@ final class FriendicaSmartyEngine extends TemplateEngine Hook::callAll('template_vars', $arr); $vars = $arr['vars']; + $this->smarty->clearAllAssign(); + foreach ($vars as $key => $value) { if ($key[0] === '$') { $key = substr($key, 1); diff --git a/view/theme/frio/php/minimal.php b/view/theme/frio/php/minimal.php index ad4581ff03..43c5305863 100644 --- a/view/theme/frio/php/minimal.php +++ b/view/theme/frio/php/minimal.php @@ -6,7 +6,10 @@ -
+
+
+ +
diff --git a/view/theme/frio/templates/auto_request.tpl b/view/theme/frio/templates/auto_request.tpl index a6f148723f..eec9c7f3ec 100644 --- a/view/theme/frio/templates/auto_request.tpl +++ b/view/theme/frio/templates/auto_request.tpl @@ -1,45 +1,43 @@ -
-

{{$header}}

+

{{$header}}

{{if !$myaddr}} -

- {{$page_desc nofilter}} -

-

- {{$invite_desc nofilter}} -

+

+ {{$page_desc nofilter}} +

+

+ {{$invite_desc nofilter}} +

{{/if}} -
+ {{if $url}} -
-
{{$url_label}}
-
{{$url}}
-
+
+
{{$url_label}}
+
{{$url}}
+
{{/if}} {{if $keywords}} -
-
{{$keywords_label}}
-
{{$keywords}}
-
+
+
{{$keywords_label}}
+
{{$keywords}}
+
{{/if}} -
- - {{if $myaddr}} - {{$myaddr}} - - {{else}} - - {{/if}} - -
-
+
+ + {{if $myaddr}} + {{$myaddr}} + + {{else}} + + {{/if}} + +
+
-
+
{{if $submit}} - + {{/if}} - -
- -
+ +
+