Go to the documentation of this file.00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
00029 $msg=($new==1)?_("Nouvelle extension"):_("Modification"). " ".$me_menu->value;
00030 echo HtmlInput::title_box($msg, $ctl);
00031 ?>
00032 <form method="POST" onsubmit="return confirm('<?php echo _("Vous confirmez");?>')">
00033 <table>
00034 <tr>
00035 <TD><?php echo _("Label");?></td>
00036 <td><?php echo $me_menu->input();?></td>
00037 </tr>
00038 <tr>
00039 <TD><?php echo _("Code");?></td>
00040 <td><?php echo $me_code->input();?></td>
00041 </tr>
00042 <tr>
00043 <TD><?php echo _("Description");?></td>
00044 <td><?php echo $me_description->input();?></td>
00045 </tr>
00046 <tr>
00047 <TD><?php echo _("Fichier");?></td>
00048 <td><?php echo $me_file->input();?></td>
00049 </tr>
00050 </table>
00051 <?php
00052 if ($new ==1 )
00053 {
00054 echo HtmlInput::submit("save_plugin",_("Ajouter ce plugin"));
00055 } else {
00056 $delete=new ICheckBox('delete_pl');
00057 echo "<p>"._("Voulez-vous effacer ce plugin ?")." ".$delete->input()."</p>";
00058 echo HtmlInput::submit("mod_plugin",_("Modifier ce plugin"));
00059
00060 }
00061 ?>
00062 </form>