diff --git a/cis/private/coodle/uebersicht.php b/cis/private/coodle/uebersicht.php index cd2d1747a..353f12666 100755 --- a/cis/private/coodle/uebersicht.php +++ b/cis/private/coodle/uebersicht.php @@ -129,7 +129,7 @@ foreach($coodle->result as $c) echo ' '.$coodle->convert_html_chars($c->coodle_id).' '.$coodle->convert_html_chars($c->titel).' - '.(substr($c->beschreibung,0,40)).' + '.$c->beschreibung.' '.$coodle->convert_html_chars($c->coodle_status_kurzbz).' '.$coodle->convert_html_chars($c->ersteller_uid).' '.$coodle->convert_html_chars($datum->formatDatum($c->endedatum, 'd.m.Y')).' diff --git a/cis/public/coodle.php b/cis/public/coodle.php index bb2d0918a..f331339b3 100755 --- a/cis/public/coodle.php +++ b/cis/public/coodle.php @@ -39,6 +39,7 @@ $coodle = new coodle(); if(!$coodle->load($coodle_id)) die($coodle->errormsg); +// Überprüfen ob Coodle Status laufend hat if(!$coodle->checkStatus($coodle_id)) die('Umfrage ist schon beendet oder noch nicht gestartet'); @@ -55,10 +56,6 @@ else die('Keine Berechtigung für diese Umfrage'); } -// Überprüfen ob Coodle Status laufend hat - - - // checkboxen speichern if(isset ($_POST['save'])) { @@ -233,6 +230,9 @@ if(isset ($_POST['save'])) if($ressource->zugangscode !='' && $ressource->uid =='') $name = $ressource->name; + if($ressource->ort_kurzbz != '') + $name = $ressource->ort_kurzbz; + // eigene Reihe farbig hervorheben if(isset($_GET['zugangscode']) && $_GET['zugangscode'] == $ressource->zugangscode) $class ='owner';