altocompta/include/template/menu_detail.php
Dany De Bontridder 0d248be80a Improve CFGMENU
2013-08-31 19:40:18 +00:00

86 lines
1.9 KiB
PHP

<?php
require_once 'class_html_input.php';
require_once 'class_itext.php';
echo HtmlInput::title_box($msg,"divmenu");
$str_code=new IText('me_code',$m->me_code);
if ( $m->me_code != -1) $str_code->setReadOnly (true);
$str_menu=new IText('me_menu',$m->me_menu);
$str_desc=new IText('me_description',$m->me_description);
$str_file=new IText('me_file',$m->me_file);
$str_url=new IText('me_url',$m->me_url);
$str_parameter=new IText('me_parameter',$m->me_parameter);
$str_js=new IText('me_javascript',$m->me_javascript);
$a_type=array (
array ('label'=>'Impression','value'=>'PR' ),
array ('label'=>'Menu','value'=>'ME' )
);
$str_type=new ISelect("me_type", $a_type);
$str_type->selected=$m->me_type;
?>
<table>
<tr>
<td>
Code du menu
</td>
<td>
<?php echo $str_code->input()?>
</td>
</tr>
<tr>
<td>
Libellé du menu
</td>
<td>
<?php echo $str_menu->input()?>
</td>
</tr>
<tr>
<td>
Description
</td>
<td>
<?php echo $str_desc->input()?>
</td>
</tr>
<tr>
<td>
Type
</td>
<td>
<?php echo $str_type->input();?>
</td>
</tr>
<tr>
<td>
Fichier à inclure (depuis le répertoire include)
</td>
<td>
<?php echo $str_file->input()?>
</td>
</tr>
<tr>
<td>
URL
</td>
<td>
<?php echo $str_url->input()?>
</td>
</tr>
<tr>
<td>
Paramètre
</td>
<td>
<?php echo $str_parameter->input()?>
</td>
</tr>
<tr>
<td>
Javascript
</td>
<td>
<?php echo $str_js->input()?>
</td>
</tr>
</table>