diff options
| author | Simon | 2011-03-06 20:30:46 +0100 |
|---|---|---|
| committer | Simon | 2011-03-06 20:30:46 +0100 |
| commit | 25d2484dc7d4682802813006580730a6889dc337 (patch) | |
| tree | 88ac060ef7cd536a9ade11bc48561b7b8c266aaa | |
| parent | Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff) | |
| download | pbs2-25d2484dc7d4682802813006580730a6889dc337.tar.gz pbs2-25d2484dc7d4682802813006580730a6889dc337.tar.xz pbs2-25d2484dc7d4682802813006580730a6889dc337.zip | |
bootstrap für benutzung von globalem css vorbereitet
| -rw-r--r-- | application/Bootstrap.php | 7 | ||||
| -rw-r--r-- | application/configs/application.ini | 1 | ||||
| -rw-r--r-- | application/views/scripts/filter/index.phtml | 2 |
3 files changed, 10 insertions, 0 deletions
diff --git a/application/Bootstrap.php b/application/Bootstrap.php index a836253..224ffcb 100644 --- a/application/Bootstrap.php +++ b/application/Bootstrap.php @@ -7,6 +7,13 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap $auth = Zend_Auth::getInstance(); $auth->setStorage(new Zend_Auth_Storage_Session('auth')); } + protected function _initDocType(){ + $this->bootstrap('View'); + $view = $this->getResource('View'); + $view->doctype('XHTML1_STRICT'); + $view->headTitle('pbs2') + ->setSeparator(' :: '); + } } function print_a(){ $numargs = func_num_args(); diff --git a/application/configs/application.ini b/application/configs/application.ini index 9bfaec2..226dc30 100644 --- a/application/configs/application.ini +++ b/application/configs/application.ini @@ -13,6 +13,7 @@ resources.db.params.username = root resources.db.params.password = 123456 resources.db.params.dbname = pbs resources.db.isDefaultTableAdapter = true +resources.view[] = "" [staging : production] diff --git a/application/views/scripts/filter/index.phtml b/application/views/scripts/filter/index.phtml index fb195a3..bbc7374 100644 --- a/application/views/scripts/filter/index.phtml +++ b/application/views/scripts/filter/index.phtml @@ -1,4 +1,6 @@ +<?php echo $this->headTitle() ?> <h1>Filters</h1> + <style> table{font-family:verdana;font-size:12px;} td{border:1px solid #CCC;} |
