diff options
| author | michael pereira | 2011-04-05 17:52:59 +0200 |
|---|---|---|
| committer | michael pereira | 2011-04-05 17:52:59 +0200 |
| commit | 5336329dafe6591b0b1269e741e44a8ec01a9b28 (patch) | |
| tree | 5fc6efee0b7ffa2a5afd0734ec21201de1909769 /application/modules/user/controllers/BootosController.php | |
| parent | Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff) | |
| download | pbs2-5336329dafe6591b0b1269e741e44a8ec01a9b28.tar.gz pbs2-5336329dafe6591b0b1269e741e44a8ec01a9b28.tar.xz pbs2-5336329dafe6591b0b1269e741e44a8ec01a9b28.zip | |
Dates angepasst
Diffstat (limited to 'application/modules/user/controllers/BootosController.php')
| -rw-r--r-- | application/modules/user/controllers/BootosController.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/application/modules/user/controllers/BootosController.php b/application/modules/user/controllers/BootosController.php index 12e2d68..04324ef 100644 --- a/application/modules/user/controllers/BootosController.php +++ b/application/modules/user/controllers/BootosController.php @@ -86,9 +86,7 @@ class user_BootosController extends Zend_Controller_Action $this->view->bootoslist = $pagination->getElements(); $this->view->pagination = $pagination->pagination($pageurl); - $this->view->page = $pagination->getRequestPage(); - $this->view->bootoslist = $this->view->bootoslist; - + $this->view->page = $pagination->getRequestPage(); $update = $this->_request->getParam('checkupdate'); @@ -96,9 +94,9 @@ class user_BootosController extends Zend_Controller_Action foreach ($this->view->bootoslist as $bootos){ $this->view->update[$bootos->getID()] = $update && $this->checkupdateAction($bootos); $bootos->setGroupID("[".$bootos->getGroupID()."] ".$groupMapper->find($bootos->getGroupID())->getTitle()); - $bootos->setMembershipID("[".$bootos->getMembershipID()."] ".$personMapper->find($this->membershipMapper->find($bootos->getMembershipID())->getPersonID())->getFirstname()); $bootos->setConfigID("[".$bootos->getConfigID()."] ".$configMapper->find($bootos->getConfigID())->getTitle()); - + $bootos->setCreated(date(Zend_Registry::get('dateformat'),$bootos->getCreated())); + $bootos->setExpires(date(Zend_Registry::get('dateformat'),$bootos->getExpires())); } } |
