diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-10-24 10:16:32 -0700 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-10-24 10:16:32 -0700 |
commit | 515e1b467e58337067ee3a4a8945f449d3c2ef3a (patch) | |
tree | 06ed218ada64bb696e9c6ce22baa79b827df8530 /lib/templatelayout.php | |
parent | 7454186806d8ebc440f7604d1ff517433bdd9faa (diff) | |
parent | 561cbb2de69a31934c22fc28332b5a14b6fcfc68 (diff) | |
download | nextcloud-server-515e1b467e58337067ee3a4a8945f449d3c2ef3a.tar.gz nextcloud-server-515e1b467e58337067ee3a4a8945f449d3c2ef3a.zip |
Merge pull request #81 from fmms/master
Codestyle add some needed spaces.
Diffstat (limited to 'lib/templatelayout.php')
-rw-r--r-- | lib/templatelayout.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/templatelayout.php b/lib/templatelayout.php index 78893457f47..c3da172a7c1 100644 --- a/lib/templatelayout.php +++ b/lib/templatelayout.php @@ -12,7 +12,7 @@ class OC_TemplateLayout extends OC_Template { if( $renderas == 'user' ) { parent::__construct( 'core', 'layout.user' ); - if(in_array(OC_APP::getCurrentApp(),array('settings','admin','help'))!==false) { + if(in_array(OC_APP::getCurrentApp(), array('settings','admin','help'))!==false) { $this->assign('bodyid','body-settings', false); }else{ $this->assign('bodyid','body-user', false); @@ -38,7 +38,7 @@ class OC_TemplateLayout extends OC_Template { foreach(OC_App::getEnabledApps() as $app) { $apps_paths[$app] = OC_App::getAppWebPath($app); } - $this->assign( 'apps_paths', str_replace('\\/', '/',json_encode($apps_paths)),false ); // Ugly unescape slashes waiting for better solution + $this->assign( 'apps_paths', str_replace('\\/', '/', json_encode($apps_paths)), false ); // Ugly unescape slashes waiting for better solution if (OC_Config::getValue('installed', false) && !OC_AppConfig::getValue('core', 'remote_core.css', false)) { OC_AppConfig::setValue('core', 'remote_core.css', '/core/minimizer.php'); |