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_create_menu.php

16 lines
555 B
PHP
Raw Normal View History

2015-09-27 00:35:53 +02:00
<?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';
$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 'template/menu_detail.php';
echo HtmlInput::submit('create_menubt',_('Sauver'));
echo HtmlInput::button_close('divmenu');
echo '</form>';
?>