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. |
* |