Confirm change or creation menu
This commit is contained in:
parent
81e720a2ea
commit
8fdf35f070
2 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
|||
require_once 'class_menu_ref.php';
|
||||
$msg="Création";
|
||||
$m=new Menu_Ref($cn);
|
||||
echo '<form method="POST">';
|
||||
echo '<form method="POST" onsubmit="return confirm(\'Vous confirmez ?\')">';
|
||||
require_once 'template/menu_detail.php';
|
||||
echo HtmlInput::submit('create_menu','Sauver');
|
||||
echo HtmlInput::button_close('divmenu');
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
require_once 'class_menu_ref.php';
|
||||
$m=new Menu_Ref($cn,$me_code);
|
||||
$msg="Modification ".$m->me_code.h($m->menu);
|
||||
echo '<form method="POST">';
|
||||
echo '<form method="POST" onsubmit="return confirm(\'Vous confirmez ?\')">';
|
||||
require_once 'template/menu_detail.php';
|
||||
|
||||
echo HtmlInput::submit('mod_menu','Sauver');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue