noalyss
Version-9
Toggle main menu visibility
Main Page
Related Pages
Packages
Package List
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
$
a
s
u
v
Files
File List
Globals
All
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
p
r
s
t
u
w
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Typedefs
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Pages
include
ajax
ajax_create_menu.php
Go to the documentation of this file.
1
<?php
2
//This file is part of NOALYSS and is under GPL
3
//see licence.txt
4
/**
5
*@file
6
*@brief Menu creation
7
*/
8
9
if
( ! defined (
'ALLOWED'
) ) die(
'Appel direct ne sont pas permis'
);
10
$msg
=_(
"Création"
);
11
$m
=
new
Menu_Ref
(
$cn
);
12
echo
'<form method="POST" id="ajax_create_menu_frm" onsubmit="return confirm_box(this,\''
._(
'Vous confirmez ?'
).
'\'
)
">';
13
echo HtmlInput::hidden('create_menu', 1);
14
require_once NOALYSS_TEMPLATE.'/menu_detail.php';
15
echo HtmlInput::submit('create_menubt',_('Sauver'));
16
echo HtmlInput::button_close('divmenu');
17
echo '</form>';
18
?>
$cn
$cn
Definition:
ajax_anc_accounting.php:30
$m
$m
Definition:
ajax_create_menu.php:11
$msg
$msg
Definition:
ajax_create_menu.php:10
Menu_Ref
Menu_Ref let you manage the available menu.
Definition:
menu_ref.class.php:30