diff options
author | Simon | 2011-03-08 19:12:36 +0100 |
---|---|---|
committer | Simon | 2011-03-08 19:12:36 +0100 |
commit | 260b7860bcfcd6ad4d80437bad1d9b885c680e75 (patch) | |
tree | 997584da7323694c31da8514ec192fb4a03a9c3a /application/Bootstrap.php | |
parent | filtertypes implementiert (diff) | |
download | pbs2-260b7860bcfcd6ad4d80437bad1d9b885c680e75.tar.gz pbs2-260b7860bcfcd6ad4d80437bad1d9b885c680e75.tar.xz pbs2-260b7860bcfcd6ad4d80437bad1d9b885c680e75.zip |
arbeiten zur oberflächenvereinheitlichung
Diffstat (limited to 'application/Bootstrap.php')
-rw-r--r-- | application/Bootstrap.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/application/Bootstrap.php b/application/Bootstrap.php index 224ffcb..7f24b84 100644 --- a/application/Bootstrap.php +++ b/application/Bootstrap.php @@ -14,6 +14,18 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap $view->headTitle('pbs2') ->setSeparator(' :: '); } + function _initViewHelpers() + { + $this->bootstrap('layout'); + $layout = $this->getResource('layout'); + $view = $layout->getView(); + + $view->doctype('XHTML1_STRICT'); + $view->headMeta()->appendHttpEquiv('Content-Type', 'text/html;charset=utf-8'); + $view->headLink()->appendStylesheet('/media/css/styles.css'); + $view->headTitle()->setSeparator(' - '); + $view->headTitle('pbs2'); + } } function print_a(){ $numargs = func_num_args(); |