Line 17... |
Line 17... |
17 |
// | |
|
17 |
// | |
|
18 |
// | You should have received a copy of the GNU Lesser General Public |
|
18 |
// | You should have received a copy of the GNU Lesser General Public |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
22 |
// CVS : $Id: admin_application.php,v 1.8 2007-03-20 14:17:36 alexandre_tb Exp $
|
22 |
// CVS : $Id: admin_application.php,v 1.8.2.1 2007-08-06 15:24:32 jp_milcent Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Application gérant les applications de Papyrus
|
24 |
* Application gérant les applications de Papyrus
|
25 |
*
|
25 |
*
|
26 |
* Cette application permet de gérer les applications de papyrus
|
26 |
* Cette application permet de gérer les applications de papyrus
|
27 |
* elle permet de spécifier pour un monde quel annuaire utiliser
|
27 |
* elle permet de spécifier pour un monde quel annuaire utiliser
|
Line 29... |
Line 29... |
29 |
*
|
29 |
*
|
30 |
*@package Admin_auth
|
30 |
*@package Admin_auth
|
31 |
//Auteur original :
|
31 |
//Auteur original :
|
32 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
32 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
33 |
*@copyright Tela-Botanica 2000-2004
|
33 |
*@copyright Tela-Botanica 2000-2004
|
34 |
*@version $Revision: 1.8 $
|
34 |
*@version $Revision: 1.8.2.1 $
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
36 |
*/
|
36 |
*/
|
Line 37... |
Line 37... |
37 |
|
37 |
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
Line 109... |
Line 109... |
109 |
</fieldset>
|
109 |
</fieldset>
|
110 |
</form>';
|
110 |
</form>';
|
111 |
return $res ;
|
111 |
return $res ;
|
112 |
} else {
|
112 |
} else {
|
113 |
// Le lien pour une nouvelle entrée
|
113 |
// Le lien pour une nouvelle entrée
|
- |
|
114 |
$url->addQueryString('action', 'nouveau');
|
- |
|
115 |
$url_nouveau = $url->getURL();
|
- |
|
116 |
$url->removeQueryString('action', 'nouveau');
|
114 |
$res .= '<a href="'.$url->getURL().'&action=nouveau">'.ADAP_AJOUTER.'</a>'."\n<br />" ;
|
117 |
$res .= '<a href="'.$url_nouveau.'">'.ADAP_AJOUTER.'</a>'."\n<br />" ;
|
115 |
// traitement de la suppression
|
118 |
// traitement de la suppression
|
116 |
if (isset ($_REQUEST['action']) && $_REQUEST['action'] == 'supprimer') adap_supprimer_application($_REQUEST['id_appl'], $db) ;
|
119 |
if (isset ($_REQUEST['action']) && $_REQUEST['action'] == 'supprimer') adap_supprimer_application($_REQUEST['id_appl'], $db) ;
|
Line 117... |
Line 120... |
117 |
|
120 |
|
118 |
// traitement de l'ajout
|
121 |
// traitement de l'ajout
|
Line 175... |
Line 178... |
175 |
|
178 |
|
176 |
|
179 |
|
177 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
180 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
- |
|
181 |
*
|
- |
|
182 |
* $Log: not supported by cvs2svn $
|
- |
|
183 |
* Revision 1.8 2007-03-20 14:17:36 alexandre_tb
|
178 |
*
|
184 |
* remplacement des varaibles $GLOBALS par $_REQUEST, pour que l appli fonctionne avec les register_globals à Off
|
179 |
* $Log: not supported by cvs2svn $
|
185 |
*
|
180 |
* Revision 1.7 2006/12/01 10:39:14 alexandre_tb
|
186 |
* Revision 1.7 2006/12/01 10:39:14 alexandre_tb
|
181 |
* Suppression des références aux applettes
|
187 |
* Suppression des références aux applettes
|
182 |
*
|
188 |
*
|