summaryrefslogtreecommitdiffstats
path: root/lib/private/templatelayout.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2013-12-09 13:18:13 +0100
committerVincent Petry <pvince81@owncloud.com>2014-05-15 17:51:04 +0200
commit04f73275ba222f0aae80cf80890477b141cd4902 (patch)
treeab1ee17c689414a9352f2669b7a289d4c5f6a0e4 /lib/private/templatelayout.php
parentb2e8aa70cde85302f7b7928370b681e3f01de7a8 (diff)
downloadnextcloud-server-04f73275ba222f0aae80cf80890477b141cd4902.tar.gz
nextcloud-server-04f73275ba222f0aae80cf80890477b141cd4902.zip
Now settings CSS class with appid in content DIV
Diffstat (limited to 'lib/private/templatelayout.php')
-rw-r--r--lib/private/templatelayout.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/templatelayout.php b/lib/private/templatelayout.php
index 0672ffc4a3d..a5dd9a0c614 100644
--- a/lib/private/templatelayout.php
+++ b/lib/private/templatelayout.php
@@ -15,8 +15,9 @@ class OC_TemplateLayout extends OC_Template {
/**
* @param string $renderas
+ * @param string $appid application id
*/
- public function __construct( $renderas ) {
+ public function __construct( $renderas, $appid = '' ) {
// Decide which page we show
if( $renderas == 'user' ) {
@@ -43,6 +44,7 @@ class OC_TemplateLayout extends OC_Template {
// Add navigation entry
$this->assign( 'application', '', false );
+ $this->assign( 'appid', $appid );
$navigation = OC_App::getNavigation();
$this->assign( 'navigation', $navigation);
$this->assign( 'settingsnavigation', OC_App::getSettingsNavigation());