| Line 19... |
Line 19... |
| 19 |
// | |
|
19 |
// | |
|
| 20 |
// | You should have received a copy of the GNU General Public License |
|
20 |
// | You should have received a copy of the GNU General Public License |
|
| 21 |
// | along with Foobar; if not, write to the Free Software |
|
21 |
// | along with Foobar; if not, write to the Free Software |
|
| 22 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
22 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
| 23 |
// +------------------------------------------------------------------------------------------------------+
|
23 |
// +------------------------------------------------------------------------------------------------------+
|
| 24 |
// CVS : $Id: adap_application.fonct.php,v 1.3 2006-09-07 13:28:39 jp_milcent Exp $
|
24 |
// CVS : $Id: adap_application.fonct.php,v 1.4 2006-12-01 10:39:14 alexandre_tb Exp $
|
| 25 |
/**
|
25 |
/**
|
| 26 |
* Contient les fonctions de l'appli admin_auth
|
26 |
* Contient les fonctions de l'appli admin_auth
|
| 27 |
*
|
27 |
*
|
| 28 |
*
|
28 |
*
|
| 29 |
*
|
29 |
*
|
| Line 33... |
Line 33... |
| 33 |
//Auteur original :
|
33 |
//Auteur original :
|
| 34 |
*@author Alexandre Granier <alexandre@tela-botanica.org>
|
34 |
*@author Alexandre Granier <alexandre@tela-botanica.org>
|
| 35 |
//Autres auteurs :
|
35 |
//Autres auteurs :
|
| 36 |
*@author Aucun
|
36 |
*@author Aucun
|
| 37 |
*@copyright Tela-Botanica 2000-2004
|
37 |
*@copyright Tela-Botanica 2000-2004
|
| 38 |
*@version $Revision: 1.3 $
|
38 |
*@version $Revision: 1.4 $
|
| 39 |
// +------------------------------------------------------------------------------------------------------+
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
| 40 |
*/
|
40 |
*/
|
| Line 41... |
Line 41... |
| 41 |
|
41 |
|
| 42 |
// +------------------------------------------------------------------------------------------------------+
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
| Line 72... |
Line 72... |
| 72 |
$tableau_retour = array () ;
|
72 |
$tableau_retour = array () ;
|
| 73 |
$ligne = $resultat->fetchRow (DB_FETCHMODE_OBJECT) ;
|
73 |
$ligne = $resultat->fetchRow (DB_FETCHMODE_OBJECT) ;
|
| 74 |
$tableau_retour['nom_appl'] = $ligne->gap_nom ;
|
74 |
$tableau_retour['nom_appl'] = $ligne->gap_nom ;
|
| 75 |
$tableau_retour['description'] = $ligne->gap_description ;
|
75 |
$tableau_retour['description'] = $ligne->gap_description ;
|
| 76 |
$tableau_retour['chemin'] = $ligne->gap_chemin ;
|
76 |
$tableau_retour['chemin'] = $ligne->gap_chemin ;
|
| 77 |
$tableau_retour['applette'] = $ligne->gap_bool_applette ;
|
- |
|
| 78 |
unset ($requete, $resultat) ;
|
77 |
unset ($requete, $resultat) ;
|
| 79 |
return $tableau_retour ;
|
78 |
return $tableau_retour ;
|
| 80 |
}
|
79 |
}
|
| Line 81... |
Line 80... |
| 81 |
|
80 |
|
| Line 119... |
Line 118... |
| 119 |
|
118 |
|
| 120 |
function requete_site_appl (&$valeur) {
|
119 |
function requete_site_appl (&$valeur) {
|
| 121 |
if (!isset($valeur['applette'])) {$valeur['applette']=0;}
|
120 |
if (!isset($valeur['applette'])) {$valeur['applette']=0;}
|
| 122 |
return 'gap_nom="'.$valeur['nom_appl'].'", '
|
121 |
return 'gap_nom="'.$valeur['nom_appl'].'", '
|
| 123 |
.'gap_description="'.$valeur['description'].'", '
|
122 |
.'gap_description="'.$valeur['description'].'", '
|
| 124 |
.'gap_chemin="'.$valeur['chemin'].'", '
|
- |
|
| 125 |
.'gap_bool_applette="'.$valeur['applette'].'"';
|
123 |
.'gap_chemin="'.$valeur['chemin'].'"';
|
| Line 126... |
Line 124... |
| 126 |
}
|
124 |
}
|
| 127 |
|
125 |
|
| Line 132... |
Line 130... |
| 132 |
|
130 |
|
| 133 |
|
131 |
|
| 134 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
132 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
| - |
|
133 |
*
|
| - |
|
134 |
* $Log: not supported by cvs2svn $
|
| - |
|
135 |
* Revision 1.3 2006/09/07 13:28:39 jp_milcent
|
| 135 |
*
|
136 |
* Mise en majuscule des termes SQL et trie des application par ordre alphabétique.
|
| 136 |
* $Log: not supported by cvs2svn $
|
137 |
*
|
| 137 |
* Revision 1.2 2005/09/23 15:02:38 florian
|
138 |
* Revision 1.2 2005/09/23 15:02:38 florian
|
| 138 |
* correction de bugs
|
139 |
* correction de bugs
|
| 139 |
*
|
140 |
*
|