From 633d84af5387ce8d6b3ae5dd054b1e2144e56887 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Thu, 19 Jan 2012 10:30:27 +0000 Subject: [PATCH] --- cis/private/tools/ampelleiteruebersicht.php | 16 +++++++++++----- cms/tinymce_dms.php | 2 +- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/cis/private/tools/ampelleiteruebersicht.php b/cis/private/tools/ampelleiteruebersicht.php index 97e64e404..3df23e672 100755 --- a/cis/private/tools/ampelleiteruebersicht.php +++ b/cis/private/tools/ampelleiteruebersicht.php @@ -136,11 +136,11 @@ echo ' '.$p->t('tools/ampelStatus').' '.$p->t('tools/ampelBeschreibung').' - '.$p->t('global/organisationseinheit').' '.$p->t('tools/ampelMitarbeiter').' + '.$p->t('global/organisationseinheit').' '.$p->t('tools/ampelBestaetigtAm').' - '.$p->t('tools/ampelRestdauer').' '.$p->t('tools/ampelDeadline').' + '.$p->t('tools/ampelRestdauer').' @@ -194,13 +194,19 @@ foreach($ampel->result as $row) if($beschreibung=='' && isset($row->beschreibung[DEFAULT_LANGUAGE])) $beschreibung = $row->beschreibung[DEFAULT_LANGUAGE]; echo ''.$beschreibung.''; - $institut = $row->oe_kurzbz; - echo ''.$institut.''; + $name = $row->titelpre.' '.$row->vorname.' '.$row->nachname.' '.$row->titelpost; echo ''.$name.''; + $institut = $row->oe_kurzbz; + echo ''.$institut.''; echo ''.$datum_obj->formatDatum($row->insertamum_best,'d.m.Y').''; - echo ''.(($ts_deadline-$ts_now)/86400).''; echo ''.$datum_obj->formatDatum($row->deadline,'d.m.Y').''; + + //Restdauer wird nur angezeigt, wenn noch nicht bestaetigt + if($bestaetigt) + echo ''; + else + echo ''.(($ts_deadline-$ts_now)/86400).''; echo ''; } echo ''; diff --git a/cms/tinymce_dms.php b/cms/tinymce_dms.php index cc558d158..75d07783d 100644 --- a/cms/tinymce_dms.php +++ b/cms/tinymce_dms.php @@ -554,7 +554,7 @@ function drawKategorieMenue($rows) $locked=''; if(count($groups)>0) { - $locked = '