diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2024-05-22 19:20:57 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2024-06-12 15:11:27 +0200 |
commit | 13c074f8b8f8340efc7c5912c615b6cfa693409d (patch) | |
tree | ba25af8cb3fac211545ced2a0c8d0a06875889d4 /Zotlabs/Module | |
parent | 9d56bb952e162dddd24d3bcdc50b2957ef0e0b97 (diff) | |
download | volse-hubzilla-13c074f8b8f8340efc7c5912c615b6cfa693409d.tar.gz volse-hubzilla-13c074f8b8f8340efc7c5912c615b6cfa693409d.tar.bz2 volse-hubzilla-13c074f8b8f8340efc7c5912c615b6cfa693409d.zip |
Module\Setup: Pass all required params for the template.
Non-existing keys in the array passed to the template causes a warning.
Also make optional parts of the template actually optional by skipping
them if the value is empty.
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Setup.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Module/Setup.php b/Zotlabs/Module/Setup.php index 647415385..a4204afd7 100644 --- a/Zotlabs/Module/Setup.php +++ b/Zotlabs/Module/Setup.php @@ -215,9 +215,11 @@ class Setup extends \Zotlabs\Web\Controller { $tpl = get_markup_template('install.tpl'); return replace_macros($tpl, array( '$title' => $install_title, + '$icon' => null, '$pass' => '', '$status' => t('Permission denied.'), '$text' => '', + '$what_next' => null, )); } } |