altocompta/include/ajax_mod_menu.php
Dany De Bontridder 404aeebdb6 Task #1153 - Boite de dialogue modale
#1153 Dialog box : implement alert + confirm_form
2015-08-21 17:46:28 +02:00

16 lines
537 B
PHP

<?php
//This file is part of NOALYSS and is under GPL
//see licence.txt
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class_menu_ref.php';
$m=new Menu_Ref($cn,$me_code);
$msg="Modification ".$m->me_code.' '.h($m->me_menu);
echo '<form method="POST" onsubmit="return confirm_form(this,\'Vous confirmez ?\')">';
require_once NOALYSS_INCLUDE.'/template/menu_detail.php';
echo HtmlInput::submit('modify_menu',_('Sauver'));
echo HtmlInput::button_close('divmenu');
echo '</form>';
?>