This commit is contained in:
Christian Paminger
2007-09-17 13:37:57 +00:00
parent dbb2fc5394
commit f3b4584d16
6 changed files with 121 additions and 50 deletions
+2 -2
View File
@@ -255,7 +255,7 @@ elseif ($aktion=='lva_single_set')
//$error_msg.='Blockung'.$lva[$i]->stundenblockung.var_dump($lva);
//$error_msg.='Datum:'.$new_datum.' Std:'.($new_stunde+$j).$new_ort.$db_stpl_table.$uid;
for ($j=0;$j<$lva[$i]->stundenblockung;$j++)
if (!$lva[$i]->save_stpl($new_datum,$new_stunde+$j,$new_ort,$db_stpl_table,$uid))
if (!$lva[$i]->save_stpl($new_datum,$new_stunde+$j,$new_ort,$db_stpl_table,$uid))
$error_msg.='Error: '.$lva[$i]->errormsg;
//else die('test');
}
@@ -488,7 +488,7 @@ while ($begin<=$ende)
<script type="application/x-javascript">
<?php
if ($error_msg!='')
if ($error_msg!='')
echo "alert('".str_replace("'",'"',$error_msg)."');";
?>
top.document.getElementById("statusbarpanel-text").setAttribute("label","<?php echo htmlspecialchars($PHP_SELF.$error_msg); ?>");