diff options
author | Mario <mario@mariovavti.com> | 2024-06-10 09:35:13 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-06-10 09:35:13 +0000 |
commit | d9e97a7c1f24ab6f64d60adddb4ddce72105fa72 (patch) | |
tree | c67d33ab659ee77266d7e677b4f8845325bbb8c0 /Zotlabs | |
parent | 51fe071c5ee6e7bd6adf532b250f788d3cb2e9cc (diff) | |
download | volse-hubzilla-d9e97a7c1f24ab6f64d60adddb4ddce72105fa72.tar.gz volse-hubzilla-d9e97a7c1f24ab6f64d60adddb4ddce72105fa72.tar.bz2 volse-hubzilla-d9e97a7c1f24ab6f64d60adddb4ddce72105fa72.zip |
remove superfluous backslash
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Render/SmartyInterface.php | 2 | ||||
-rw-r--r-- | Zotlabs/Render/Theme.php | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Zotlabs/Render/SmartyInterface.php b/Zotlabs/Render/SmartyInterface.php index d80ea3f3a..64c6aa377 100644 --- a/Zotlabs/Render/SmartyInterface.php +++ b/Zotlabs/Render/SmartyInterface.php @@ -20,7 +20,7 @@ class SmartyInterface extends Smarty { $template_dirs = array('theme' => "view/theme/$thname/tpl/"); if ( x(App::$theme_info,"extends") ) { - $template_dirs = $template_dirs + array('extends' => "view/theme/" . \App::$theme_info["extends"] . "/tpl/"); + $template_dirs = $template_dirs + array('extends' => "view/theme/" . App::$theme_info["extends"] . "/tpl/"); } $template_dirs = $template_dirs + array('base' => 'view/tpl/'); $this->setTemplateDir($template_dirs); diff --git a/Zotlabs/Render/Theme.php b/Zotlabs/Render/Theme.php index 543bf7a3f..a42b65e03 100644 --- a/Zotlabs/Render/Theme.php +++ b/Zotlabs/Render/Theme.php @@ -24,7 +24,7 @@ class Theme { * * @return array */ - static public function current(){ + static public function current() { self::$system_theme = ((isset(App::$config['system']['theme'])) ? App::$config['system']['theme'] : ''); @@ -37,7 +37,7 @@ class Theme { if(App::$profile_uid) { $r = q("select channel_theme from channel where channel_id = %d limit 1", - intval(\App::$profile_uid) + intval(App::$profile_uid) ); if($r) { $page_theme = $r[0]['channel_theme']; @@ -46,7 +46,7 @@ class Theme { // Themes from Comanche layouts over-ride the channel theme - if(array_key_exists('theme', \App::$layout) && \App::$layout['theme']) { + if(array_key_exists('theme', App::$layout) && App::$layout['theme']) { $page_theme = App::$layout['theme']; } |