noalyss  Version-6.7.2
 All Data Structures Namespaces Files Functions Variables Enumerations
ajax_plugin_detail.php
Go to the documentation of this file.
00001 <?php
00002 
00003 /*
00004  *   This file is part of NOALYSS.
00005  *
00006  *   NOALYSS is free software; you can redistribute it and/or modify
00007  *   it under the terms of the GNU General Public License as published by
00008  *   the Free Software Foundation; either version 2 of the License, or
00009  *   (at your option) any later version.
00010  *
00011  *   NOALYSS is distributed in the hope that it will be useful,
00012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *   GNU General Public License for more details.
00015  *
00016  *   You should have received a copy of the GNU General Public License
00017  *   along with NOALYSS; if not, write to the Free Software
00018  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00019  */
00020 
00021 // Copyright Author Dany De Bontridder danydb@aevalys.eu
00022 
00023 /**
00024  * @file
00025  * @brief add, modify or delete plugin
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>
 All Data Structures Namespaces Files Functions Variables Enumerations