Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2013-12-09 16:18:13 +0400
committerVincent Petry <pvince81@owncloud.com>2014-05-15 19:51:04 +0400
commit04f73275ba222f0aae80cf80890477b141cd4902 (patch)
treeab1ee17c689414a9352f2669b7a289d4c5f6a0e4 /lib/private/template.php
parentb2e8aa70cde85302f7b7928370b681e3f01de7a8 (diff)
Now settings CSS class with appid in content DIV
Diffstat (limited to 'lib/private/template.php')
-rw-r--r--lib/private/template.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/template.php b/lib/private/template.php
index 3d18b52bac9..dfeb5d14b08 100644
--- a/lib/private/template.php
+++ b/lib/private/template.php
@@ -30,6 +30,7 @@ class OC_Template extends \OC\Template\Base {
private $renderas; // Create a full page?
private $path; // The path to the template
private $headers=array(); //custom headers
+ protected $app; // app id
/**
* @brief Constructor
@@ -62,6 +63,7 @@ class OC_Template extends \OC\Template\Base {
// Set the private data
$this->renderas = $renderas;
$this->path = $path;
+ $this->app = $app;
parent::__construct($template, $requesttoken, $l10n, $themeDefaults);
}
@@ -172,7 +174,7 @@ class OC_Template extends \OC\Template\Base {
$data = parent::fetchPage();
if( $this->renderas ) {
- $page = new OC_TemplateLayout($this->renderas);
+ $page = new OC_TemplateLayout($this->renderas, $this->app);
// Add custom headers
$page->assign('headers', $this->headers, false);