theme infos are now bundled in a single array

This commit is contained in:
Michael 2021-07-25 19:07:03 +00:00
parent 0551648399
commit c52b8595e8
9 changed files with 22 additions and 21 deletions

View file

@ -33,8 +33,8 @@ function frio_init(App $a)
$frio = 'view/theme/frio';
// disable the events module link in the profile tab
$a->theme_events_in_profile = false;
$a->videowidth = 622;
$a->theme_info['events_in_profile'] = false;
$a->theme_info['videowidth'] = 622;
Renderer::setActiveTemplateEngine('smarty3');

View file

@ -21,7 +21,7 @@ use Friendica\Util\Strings;
function vier_init(App $a)
{
$a->theme_events_in_profile = false;
$a->theme_info['events_in_profile'] = false;
Renderer::setActiveTemplateEngine('smarty3');