mirror of
https://github.com/nextcloud/server.git
synced 2025-03-17 17:53:16 +00:00
do proper styling for settings pages
This commit is contained in:
parent
6aaa49d386
commit
d1d47eb5eb
3 changed files with 6 additions and 1 deletions
Binary file not shown.
|
@ -27,7 +27,7 @@
|
|||
<?php endforeach; ?>
|
||||
</head>
|
||||
|
||||
<body id="body-user">
|
||||
<body id="<?php echo $_['bodyid'];?>">
|
||||
<div id="header">
|
||||
<a href="<?php echo link_to('', 'index.php'); ?>" title="" id="owncloud"><img src="<?php echo image_path('', 'owncloud-logo-small-white.png'); ?>" alt="ownCloud" /></a>
|
||||
<?php echo $_['searchbox']?>
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue