diff options
author | redmatrix <mike@macgirvin.com> | 2016-09-01 22:20:08 -0700 |
---|---|---|
committer | redmatrix <mike@macgirvin.com> | 2016-09-01 22:20:08 -0700 |
commit | 47dd1da6fb8de2c9ba4b225e5680b6c1bbb2ca2b (patch) | |
tree | deacaaed7b9cd9bc60f4ca49c1e28b24fca0ccbc /view/theme/redbasic/php/config.php | |
parent | b3efdf2109d47c09a3e2724fbd92df2634cca2d7 (diff) | |
download | volse-hubzilla-47dd1da6fb8de2c9ba4b225e5680b6c1bbb2ca2b.tar.gz volse-hubzilla-47dd1da6fb8de2c9ba4b225e5680b6c1bbb2ca2b.tar.bz2 volse-hubzilla-47dd1da6fb8de2c9ba4b225e5680b6c1bbb2ca2b.zip |
put theme config into its own namespace
Diffstat (limited to 'view/theme/redbasic/php/config.php')
-rw-r--r-- | view/theme/redbasic/php/config.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/view/theme/redbasic/php/config.php b/view/theme/redbasic/php/config.php index 2ee998e30..b03e94e46 100644 --- a/view/theme/redbasic/php/config.php +++ b/view/theme/redbasic/php/config.php @@ -1,5 +1,7 @@ <?php +namespace Zotlabs\Theme; + class RedbasicConfig { function get_schemas() { @@ -19,7 +21,7 @@ class RedbasicConfig { } function get() { - if(!local_channel()) { + if(! local_channel()) { return; } @@ -103,7 +105,7 @@ class RedbasicConfig { $o .= replace_macros(get_markup_template('theme_settings.tpl'), array( '$submit' => t('Submit'), '$baseurl' => z_root(), - '$theme' => App::$channel['channel_theme'], + '$theme' => \App::$channel['channel_theme'], '$expert' => $expert, '$title' => t("Theme settings"), '$narrow_navbar' => array('redbasic_narrow_navbar',t('Narrow navbar'),$arr['narrow_navbar'], '', array(t('No'),t('Yes'))), |