summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8068f4e)
raw | patch | inline | side by side (parent: 8068f4e)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 15 Nov 2007 13:26:48 +0000 (13:26 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 15 Nov 2007 13:26:48 +0000 (13:26 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-playground@7802 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_ViewportController.inc | patch | blob | history |
index 9eeda233ac613ce7f8582dc6533b4e90e067585d..32a2a9978d16535ce4720b997e7433dd0e63b15c 100644 (file)
*/
class ViewportController {
- private $theme= 'default';
+ private $theme;
private $smarty;
private $language= '';
private $timezone;
+ private $mainTemplate= 'main';
/*! \brief ViewportController constructor
throw new ViewportControllerException(sprintf(_("Directory '%s' specified as compile-directory is not accessible!"), $this->Smarty->compile_dir));
}
+ /* Get more display settings */
+ $this->theme= $config->getValue('theme', 'default');
+
/* Check for old files in compile directory */
$this->cleanSmartyCompileDir();
}
}
+ public function getTemplatePath($name) {
+ return "horst";
+ }
+
+
public function render() {
- echo "Render called\n";
+ #Header generator from template
+ echo $this->getTemplatePath('main');
}
}