fhiiqm/ap_gefahr_ed.php
changeset 28 8d8bce56918f
parent 27 d92bbe898f32
--- a/fhiiqm/ap_gefahr_ed.php	Fri Jun 08 15:04:22 2012 +0200
+++ b/fhiiqm/ap_gefahr_ed.php	Thu Jul 12 13:29:11 2012 +0200
@@ -163,17 +163,17 @@
                         if (!$rett) $rett = false;
                     }
                 }
-                if (!$rett) echo "error INSERT Gefahr: $stmt->error<br />\n";
+                if (!$rett) echo "error INSERT Gef&auml;hrdung: $stmt->error<br />\n";
                 
             }
         }
             if ($rett)
             {
-                echo "<p class='green'><b>Gef&auml;hrdungen für Arbeitsplatztyp '$apid' wurden erfolgreich gespeichert.</b></p>\n";
+                echo "<p class='green'><b>Gef&auml;hrdungen für Arbeitsplatztyp '".$ap["aptyp"]."' wurden erfolgreich gespeichert.</b></p>\n";
                 echo "<table>\n";
                 if (is_array($ap["gf"]))
                 {
-                    echo "<tr><td>Gefahren: </td>";
+                    echo "<tr><td>Gef&auml;hrdungen: </td>";
                     foreach ($ap["gf"] as $gf)
                     { 
                         if ($next) $next ="<tr><td>&nbsp;</td>"; else $next =" ";
@@ -183,7 +183,7 @@
                 echo "</table>\n";
             }   
             else
-                echo "<p class='red'><b>Gef&auml;hrdungen für Arbeitsplatztyp '$apid'' wurden nicht oder nur teilweise gespeichert</b></p>\n";
+                echo "<p class='red'><b>Gef&auml;hrdungen für Arbeitsplatztyp '".$ap["aptyp"]."' wurden nicht oder nur teilweise gespeichert</b></p>\n";
         
         echo "</div>";
         echo "<p class='sc'>&nbsp;&nbsp;&nbsp;<a href=\"ap_gefahr_flist.php\" target=\"_self\" title=\"Arbplatztyp-Gef&auml;hrdungen-Liste\">&laquo; zur Arbeitsplatztyp-Gef&auml;hrdung-Liste</a></p>\n";