--- 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ährdung: $stmt->error<br />\n";
}
}
if ($rett)
{
- echo "<p class='green'><b>Gefährdungen für Arbeitsplatztyp '$apid' wurden erfolgreich gespeichert.</b></p>\n";
+ echo "<p class='green'><b>Gefä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ährdungen: </td>";
foreach ($ap["gf"] as $gf)
{
if ($next) $next ="<tr><td> </td>"; else $next =" ";
@@ -183,7 +183,7 @@
echo "</table>\n";
}
else
- echo "<p class='red'><b>Gefährdungen für Arbeitsplatztyp '$apid'' wurden nicht oder nur teilweise gespeichert</b></p>\n";
+ echo "<p class='red'><b>Gefährdungen für Arbeitsplatztyp '".$ap["aptyp"]."' wurden nicht oder nur teilweise gespeichert</b></p>\n";
echo "</div>";
echo "<p class='sc'> <a href=\"ap_gefahr_flist.php\" target=\"_self\" title=\"Arbplatztyp-Gefährdungen-Liste\">« zur Arbeitsplatztyp-Gefährdung-Liste</a></p>\n";