Getter/Setter for theme info

This commit is contained in:
Michael 2021-07-25 19:39:10 +00:00
commit 5a87ccf026
13 changed files with 57 additions and 28 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_info['events_in_profile'] = false;
$a->theme_info['videowidth'] = 622;
$a->setThemeInfoValue('events_in_profile', false);
$a->setThemeInfoValue('videowidth', 622);
Renderer::setActiveTemplateEngine('smarty3');

View file

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