450 Code cleaning ajax_misc rename files for ajax
This commit is contained in:
parent
7e74c15f9c
commit
2bed86c6f8
9 changed files with 10 additions and 10 deletions
62
include/ajax_plugin_detail.php
Normal file
62
include/ajax_plugin_detail.php
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of PhpCompta.
|
||||
*
|
||||
* PhpCompta is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* PhpCompta is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with PhpCompta; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
/* $Revision$ */
|
||||
|
||||
// Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
|
||||
|
||||
/**
|
||||
* @file
|
||||
* @brief add, modify or delete plugin
|
||||
*
|
||||
*/
|
||||
$msg=($new==1)?"Nouvelle extension":"Modification ".$me_menu->value;
|
||||
echo HtmlInput::title_box($msg, $ctl);
|
||||
?>
|
||||
<form method="POST" onsubmit="return confirm('Vous confirmez')">
|
||||
<table>
|
||||
<tr>
|
||||
<TD>Label</td>
|
||||
<td><?=$me_menu->input();?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<TD>Code</td>
|
||||
<td><?=$me_code->input();?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<TD>Description</td>
|
||||
<td><?=$me_description->input();?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<TD>Fichier</td>
|
||||
<td><?=$me_file->input();?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?
|
||||
if ($new ==1 )
|
||||
{
|
||||
echo HtmlInput::submit("save_plugin","Ajouter ce plugin");
|
||||
} else {
|
||||
$delete=new ICheckBox('delete_pl');
|
||||
echo "<p>Voulez-vous effacer ce plugin ? ".$delete->input()."</p>";
|
||||
echo HtmlInput::submit("mod_plugin","Modifier ce plugin");
|
||||
|
||||
}
|
||||
?>
|
||||
</form>
|
||||
Loading…
Add table
Add a link
Reference in a new issue