fhiiqm/form/raum_form.inc.php
changeset 14 32203b8f40ee
parent 1 6288d5685bff
child 23 a382de56a8e4
--- a/fhiiqm/form/raum_form.inc.php	Wed Oct 05 16:46:09 2011 +0200
+++ b/fhiiqm/form/raum_form.inc.php	Fri Oct 07 11:37:29 2011 +0200
@@ -14,7 +14,10 @@
 ?>
 <div align="center">
 <?php
-    if  (strpos($_SERVER['PHP_SELF'],"ins") > -1) $text = "Eingabe"; else $text="&Auml;ndern";
+    if (!is_null($_SESSION["recht"]) && !in_array("re",$_SESSION["recht"]))
+        $text="";
+    else
+        if  (strpos($_SERVER['PHP_SELF'],"ins") > -1) $text = "Eingabe"; else $text="&Auml;ndern";
 ?>
 <h3><font face="Verdana, Arial, Helvetica, sans-serif"><?php echo $text;?> R&auml;ume</font></h3>
 <h5>* - Felder sind erforderlich!</h5>