fhiiqm/form/vertrag_form.inc.php
changeset 13 741b35e9ebbe
parent 8 908abe8cec4d
child 16 3ebe66308a00
--- a/fhiiqm/form/vertrag_form.inc.php	Tue Sep 27 14:59:40 2011 +0200
+++ b/fhiiqm/form/vertrag_form.inc.php	Wed Oct 05 16:46:09 2011 +0200
@@ -14,7 +14,10 @@
 ?>
 <div align="center">
 <?php
-    if  (strpos($_SERVER['PHP_SELF'],"ins") > -1) $text = "Eingabe"; else $text="&Auml;ndern / L&ouml;schen";
+    if (!is_null($_SESSION["recht"]) && !in_array("ve",$_SESSION["recht"]))
+        $text = "";
+    else
+        if  (strpos($_SERVER['PHP_SELF'],"ins") > -1) $text = "Eingabe"; else $text="&Auml;ndern / L&ouml;schen";
 ?>
 <h3><font face="Verdana, Arial, Helvetica, sans-serif"><?php echo $text;?> Vertragsdaten</font></h3>
 <h5>* - Felder sind erforderlich!</h5>