--- a/fhiiqm/form/partner_form.inc.php Tue Sep 27 14:59:40 2011 +0200
+++ b/fhiiqm/form/partner_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="Ändern";
+ if (!is_null($_SESSION["recht"]) && !in_array("vpe",$_SESSION["recht"]))
+ $text = "";
+ else
+ if (strpos($_SERVER['PHP_SELF'],"ins") > -1) $text = "Eingabe"; else $text="Ändern";
?>
<h3><font face="Verdana, Arial, Helvetica, sans-serif"><?php echo $text;?> Partner </font></h3>
<h5>* - Felder sind erforderlich!</h5>