Enable renderAs public page
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
d07d66e24b
commit
b89827d761
|
@ -123,6 +123,10 @@ class TemplateLayout extends \OC_Template {
|
|||
} else if ($renderAs == 'guest') {
|
||||
parent::__construct('core', 'layout.guest');
|
||||
$this->assign('bodyid', 'body-login');
|
||||
} else if ($renderAs == 'public') {
|
||||
parent::__construct('core', 'layout.public');
|
||||
$this->assign( 'appid', $appId );
|
||||
$this->assign('bodyid', 'body-public');
|
||||
} else {
|
||||
parent::__construct('core', 'layout.base');
|
||||
|
||||
|
|
Loading…
Reference in New Issue