diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-08-08 22:37:27 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-08-08 22:38:42 +0200 |
commit | d1d47eb5eb28d9a62f3a16cc3b1be4e0136bed8b (patch) | |
tree | 62ccf4976d114c4ce997018c199493243d28b2db /lib/template.php | |
parent | 6aaa49d38620d2092f546cbb27f23da6f5e5e138 (diff) | |
download | nextcloud-server-d1d47eb5eb28d9a62f3a16cc3b1be4e0136bed8b.tar.gz nextcloud-server-d1d47eb5eb28d9a62f3a16cc3b1be4e0136bed8b.zip |
do proper styling for settings pages
Diffstat (limited to 'lib/template.php')
-rw-r--r-- | lib/template.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/template.php b/lib/template.php index 12047a38a13..9d13b142dba 100644 --- a/lib/template.php +++ b/lib/template.php @@ -239,6 +239,11 @@ class OC_Template{ $search=new OC_Template( 'core', 'part.searchbox'); $search->assign('searchurl',OC_Helper::linkTo( 'search', 'index.php' )); $page->assign('searchbox', $search->fetchPage()); + if(array_search(OC_APP::getCurrentApp(),array('settings','admin','help'))!==false){ + $page->assign('bodyid','body-settings'); + }else{ + $page->assign('bodyid','body-user'); + } // Add navigation entry $page->assign( "navigation", OC_App::getNavigation()); |