summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/BootmenuController.php
diff options
context:
space:
mode:
authorSimon2011-04-05 18:03:15 +0200
committerSimon2011-04-05 18:03:15 +0200
commitd6c01d3907e3c607c6ca8332faaa20dcf7f81d2f (patch)
tree9bc41fa305dd457c881084038d55dd3cdfe4af34 /application/modules/user/controllers/BootmenuController.php
parentDatumsformat eingebettet und Datum in Filter hinzugefügt (diff)
parentDates angepasst (diff)
downloadpbs2-d6c01d3907e3c607c6ca8332faaa20dcf7f81d2f.tar.gz
pbs2-d6c01d3907e3c607c6ca8332faaa20dcf7f81d2f.tar.xz
pbs2-d6c01d3907e3c607c6ca8332faaa20dcf7f81d2f.zip
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/modules/user/controllers/BootmenuController.php')
-rw-r--r--application/modules/user/controllers/BootmenuController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/modules/user/controllers/BootmenuController.php b/application/modules/user/controllers/BootmenuController.php
index f24cb47..738b7d5 100644
--- a/application/modules/user/controllers/BootmenuController.php
+++ b/application/modules/user/controllers/BootmenuController.php
@@ -69,6 +69,7 @@ class user_BootmenuController extends Zend_Controller_Action
if(Pbs_Acl::checkRight('booai')){
$bootmenu = $this->bootmenuMapper->findBy(array('groupID' => $this->membership->getGroupID()));
foreach ($bootmenu as $bm){
+ $bm->setCreated(date(Zend_Registry::get('dateformat'),$bm->getCreated()));
$bootmenuID = $bm->getID();
$bootmenuentries[$bootmenuID] = $this->bootmenuentriesMapper->findBy(array('bootmenuID' => $bootmenuID));
foreach ($bootmenuentries[$bootmenuID] as $bootmenuentry){
@@ -79,6 +80,7 @@ class user_BootmenuController extends Zend_Controller_Action
}else{
$bootmenu = $this->bootmenuMapper->findBy(array('membershipID' => $this->membership->getID()));
+ $bootmenu[0]->setCreated(date(Zend_Registry::get('dateformat'),$bm->getCreated()));
$bootmenuID = $bootmenu[0]->getID();
$bootmenuentries[$bootmenuID] = $this->bootmenuentriesMapper->findBy(array('bootmenuID' => $bootmenuID));
foreach ($bootmenuentries[$bootmenuID] as $bootmenuentry){