From 6cd53ebb35a21b8457d19d5cdcccf98680f208f8 Mon Sep 17 00:00:00 2001 From: Karl Burkhart Date: Thu, 25 Oct 2012 07:49:35 +0000 Subject: [PATCH] =?UTF-8?q?bei=20Bezeichnung=20-=20Beschr=C3=A4nkung=20der?= =?UTF-8?q?=20Zeichen=20weggenommen=20ort=5Fkurzbz=20bei=20Ressource=20anz?= =?UTF-8?q?eigen=20wird=20jetzt=20ber=C3=BCcksichtigt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cis/private/coodle/uebersicht.php | 2 +- cis/public/coodle.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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';