Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 922 → Rev 923

/trunk/papyrus/applications/admin_application/bibliotheque/adap_application.fonct.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: adap_application.fonct.php,v 1.2 2005-09-23 15:02:38 florian Exp $
// CVS : $Id: adap_application.fonct.php,v 1.3 2006-09-07 13:28:39 jp_milcent Exp $
/**
* Contient les fonctions de l'appli admin_auth
*
35,7 → 35,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.2 $
*@version $Revision: 1.3 $
// +------------------------------------------------------------------------------------------------------+
*/
 
50,7 → 50,7
*/
 
function adap_supprimer_application($id_appl, &$db) {
$requete = 'delete from gen_application where gap_id_application='.$id_appl;
$requete = 'DELETE FROM gen_application WHERE gap_id_application='.$id_appl;
$resultat = $db->query ($requete) ;
}
 
63,7 → 63,7
function adap_valeurs_par_defaut ($id_appl, &$db) {
// requete sur gen_site_auth
$requete = 'select * from gen_application where gap_id_application='.$id_appl ;
$requete = 'SELECT * FROM gen_application WHERE gap_id_application='.$id_appl ;
$resultat = $db->query ($requete) ;
if (DB::isError ($resultat)) {
trigger_error("Echec de la requete : $requete<br />".$resultat->getMessage(), E_USER_WARNING) ;
104,7 → 104,7
 
function mise_a_jour ($valeur, &$db) {
$requete = "update gen_application set ".requete_site_appl($valeur)
.' where gap_id_application='.$GLOBALS['id_appl'] ;
.' WHERE gap_id_application='.$GLOBALS['id_appl'] ;
$resultat = $db->query ($requete) ;
if (DB::isError ($resultat)) {
trigger_error("Echec de la requete : $requete<br />".$resultat->getMessage(),E_USER_WARNING) ;
134,6 → 134,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.2 2005/09/23 15:02:38 florian
* correction de bugs
*
* Revision 1.1 2005/03/09 10:44:04 jpm
* Mise au norme du nom du fichier.
*
/trunk/papyrus/applications/admin_application/admin_application.php
19,7 → 19,7
// | License along with this library; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: admin_application.php,v 1.4 2005-03-09 10:46:17 jpm Exp $
// CVS : $Id: admin_application.php,v 1.5 2006-09-07 13:28:39 jp_milcent Exp $
/**
* Application gérant les applications de Papyrus
*
31,7 → 31,7
//Auteur original :
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.4 $
*@version $Revision: 1.5 $
// +------------------------------------------------------------------------------------------------------+
*/
 
131,7 → 131,7
}
// Comportement par défaut
// requete sur la table gen_application
$requete = "select gap_id_application, gap_nom from gen_application" ;
$requete = 'SELECT gap_id_application, gap_nom FROM gen_application ORDER BY gap_nom ASC' ;
$resultat = $db->query ($requete) ;
if (DB::isError ($resultat)) {
162,6 → 162,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.4 2005/03/09 10:46:17 jpm
* Changement d'un nom de fichier.
*
* Revision 1.3 2005/03/09 10:40:26 alex
* version initiale
*