summaryrefslogtreecommitdiffstats
path: root/application/Bootstrap.php
diff options
context:
space:
mode:
authormichael pereira2011-03-08 19:41:07 +0100
committermichael pereira2011-03-08 19:41:07 +0100
commit6a917fa16d4aabd8e69e1db08867899c860424e1 (patch)
tree5aee03f6bf1810ec340110df55fd1edacf44f592 /application/Bootstrap.php
parentBootOs Name anzeigen & Reihenfolge im BootMenu (diff)
parentansehnlichere oberfläche && Controller auflistung (diff)
downloadpbs2-6a917fa16d4aabd8e69e1db08867899c860424e1.tar.gz
pbs2-6a917fa16d4aabd8e69e1db08867899c860424e1.tar.xz
pbs2-6a917fa16d4aabd8e69e1db08867899c860424e1.zip
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/Bootstrap.php')
-rw-r--r--application/Bootstrap.php12
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();