summaryrefslogtreecommitdiffstats
path: root/lib/private/TemplateLayout.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/TemplateLayout.php')
-rw-r--r--lib/private/TemplateLayout.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php
index 8cc235bf818..eb8477ca9e9 100644
--- a/lib/private/TemplateLayout.php
+++ b/lib/private/TemplateLayout.php
@@ -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');