noalyss Version-9
menu_detail.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?><?php
5echo HtmlInput::title_box($msg,"divmenu");
6$str_code=new IText('me_code',$m->me_code);
7if ( $m->me_code != -1) $str_code->setReadOnly (true);
8
9$str_menu=new IText('me_menu',$m->me_menu);
10$str_desc=new IText('me_description',$m->me_description);
11$str_file=new IText('me_file',$m->me_file);
12$str_url=new IText('me_url',$m->me_url);
13$str_parameter=new IText('me_parameter',$m->me_parameter);
14$str_js=new IText('me_javascript',$m->me_javascript);
15$a_type=array (
16 array ('label'=>_('Impression'),'value'=>'PR' ),
17 array ('label'=>_('Menu'),'value'=>'ME' )
18 );
19$str_type=new ISelect("me_type", $a_type);
20$str_type->selected=$m->me_type;
21?>
22<table>
23 <tr>
24 <td>
25 <?php echo _("Code du menu")?>
26 </td>
27 <td>
28 <?php echo $str_code->input()?>
29 </td>
30 </tr>
31 <tr>
32 <td>
33 <?php echo _("Libellé du menu")?>
34 </td>
35 <td>
36 <?php echo $str_menu->input()?>
37 </td>
38 </tr>
39 <tr>
40 <td>
41 <?php echo _("Description")?>
42 </td>
43 <td>
44 <?php echo $str_desc->input()?>
45 </td>
46 </tr>
47 <tr>
48 <td>
49 <?php echo _("Type")?>
50 </td>
51 <td>
52 <?php echo $str_type->input();?>
53 </td>
54 </tr>
55 <tr>
56 <td>
57 <?php echo _("Fichier à inclure (depuis le répertoire include)")?>
58 </td>
59 <td>
60 <?php echo $str_file->input()?>
61 </td>
62 </tr>
63 <tr>
64 <td>
65 URL
66 </td>
67 <td>
68 <?php echo $str_url->input()?>
69 </td>
70 </tr>
71 <tr>
72 <td>
73 <?php echo _('Paramètre')?>
74 </td>
75 <td>
76 <?php echo $str_parameter->input()?>
77 </td>
78 </tr>
79 <tr>
80 <td>
81 Javascript
82 </td>
83 <td>
84 <?php echo $str_js->input()?>
85 </td>
86 </tr>
87</table>
tr($p_string, $p_extra='')
Definition: ac_common.php:88
td($p_string='', $p_extra='')
surround the string with td
Definition: ac_common.php:83
static title_box($p_name, $p_div, $p_mod="close", $p_js="", $p_draggable="n", $p_enlarge='n')
Title for boxes, you can customize the symbol thanks symbol with the mode "custom".
Html Input , create a tag <SELECT> ... </SELECT> if readonly == true then display the label correspon...
Html Input.
Definition: itext.class.php:30
$all table
$str_url
Definition: menu_detail.php:12
$str_js
Definition: menu_detail.php:14
$str_parameter
Definition: menu_detail.php:13
$str_menu
Definition: menu_detail.php:9
$str_code
Definition: menu_detail.php:6
$str_type
Definition: menu_detail.php:19
$str_desc
Definition: menu_detail.php:10
$a_type
Definition: menu_detail.php:15
$str_file
Definition: menu_detail.php:11