Task #1153 - Boite de dialogue modale

#1153 Dialog box :  confirm_form in javascript , use of smoke, add style
This commit is contained in:
Dany De Bontridder 2015-08-25 00:38:44 +02:00
parent 8f855f8a50
commit 7e7407575a
26 changed files with 239 additions and 170 deletions

View file

@ -97,7 +97,7 @@ if ( $request_sa== 'jrn' )
echo '<td>'.h($row['od_name']).'</td>';
echo '<td>'.h($row['od_description']).'</td>';
echo '<td>';
echo '<form method="POST" class="print" style="margin:0px;padding:0px;">';
echo '<form method="POST" id="preod_frm" class="print" style="margin:0px;padding:0px;">';
echo dossier::hidden();
echo $hid->input("sa","del");
echo $hid->input("ac",$request_ac);
@ -106,7 +106,7 @@ if ( $request_sa== 'jrn' )
echo $hid->input("jrn",$get_jrn);
$b='<input type="submit" class="smallbutton" value="'._("Effacer").'"'.
' onClick="return confirm(\''._("Voulez-vous vraiment effacer cette operation ?").'\');" >';
' onClick="return confirm_form(\'preod_frm\',\''._("Voulez-vous vraiment effacer cette operation ?").'\');" >';
echo $b;
echo '</form>';