|
|
|
@ -13,7 +13,7 @@ class OC_TemplateLayout extends OC_Template { |
|
|
|
|
if( $renderas == 'user' ) { |
|
|
|
|
parent::__construct( 'core', 'layout.user' ); |
|
|
|
|
$this->assign('searchurl',OC_Helper::linkTo( 'search', 'index.php' ), false); |
|
|
|
|
if(array_search(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); |
|
|
|
|