1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/noalyss_ynh.git synced 2024-09-03 19:46:20 +02:00
noalyss_ynh/sources/include/ajax/ajax_create_menu.php
dudjima 3a905a4a87 Update sources 7.01
Update files from sources with last update on noalyss.eu
2018-04-13 18:58:28 +02:00

19 lines
617 B
PHP

<?php
//This file is part of NOALYSS and is under GPL
//see licence.txt
/**
*@file
*@brief Menu creation
*/
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/menu_ref.class.php';
$msg=_("Création");
$m=new Menu_Ref($cn);
echo '<form method="POST" id="ajax_create_menu_frm" onsubmit="return confirm_box(this,\''._('Vous confirmez ?').'\')">';
echo HtmlInput::hidden('create_menu', 1);
require_once NOALYSS_TEMPLATE.'/menu_detail.php';
echo HtmlInput::submit('create_menubt',_('Sauver'));
echo HtmlInput::button_close('divmenu');
echo '</form>';
?>