Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 461 → Rev 462

/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.1 2005-03-09 10:44:04 jpm Exp $
// CVS : $Id: adap_application.fonct.php,v 1.2 2005-09-23 15:02:38 florian 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.1 $
*@version $Revision: 1.2 $
// +------------------------------------------------------------------------------------------------------+
*/
 
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) ;
118,10 → 118,11
*/
 
function requete_site_appl (&$valeur) {
return 'gap_nom="'.$valeur['nom_appl'].'", '
.'gap_description="'.$valeur['description'].'", '
.'gap_chemin="'.$valeur['chemin'].'", '
.'gap_bool_applette="'.$valeur['applette'].'"';
if (!isset($valeur['applette'])) {$valeur['applette']=0;}
return 'gap_nom="'.$valeur['nom_appl'].'", '
.'gap_description="'.$valeur['description'].'", '
.'gap_chemin="'.$valeur['chemin'].'", '
.'gap_bool_applette="'.$valeur['applette'].'"';
}
 
 
133,6 → 134,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.1 2005/03/09 10:44:04 jpm
* Mise au norme du nom du fichier.
*
* Revision 1.2 2005/03/09 10:40:33 alex
* version initiale
*