aboutsummaryrefslogtreecommitdiffstats
path: root/lib/templatelayout.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-10-24 10:16:32 -0700
committerLukas Reschke <lukas@statuscode.ch>2012-10-24 10:16:32 -0700
commit515e1b467e58337067ee3a4a8945f449d3c2ef3a (patch)
tree06ed218ada64bb696e9c6ce22baa79b827df8530 /lib/templatelayout.php
parent7454186806d8ebc440f7604d1ff517433bdd9faa (diff)
parent561cbb2de69a31934c22fc28332b5a14b6fcfc68 (diff)
downloadnextcloud-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.php4
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');