From 260b7860bcfcd6ad4d80437bad1d9b885c680e75 Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 8 Mar 2011 19:12:36 +0100 Subject: arbeiten zur oberflächenvereinheitlichung --- application/Bootstrap.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'application/Bootstrap.php') 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(); -- cgit v1.2.3-55-g7522