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: annuaire.php,v 1.6 2007-04-06 08:35:46 neiluj Exp $
|
22 |
// CVS : $Id: annuaire.php,v 1.7 2007-04-11 08:30:12 neiluj Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* programme principal du module annuaire
|
24 |
* programme principal du module annuaire
|
25 |
*
|
25 |
*
|
26 |
* programme principal du module annuaire
|
26 |
* programme principal du module annuaire
|
27 |
*
|
27 |
*
|
Line 30... |
Line 30... |
30 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
30 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
31 |
*@author Florian SCHMITT <florian@ecole-et-nature.org>
|
31 |
*@author Florian SCHMITT <florian@ecole-et-nature.org>
|
32 |
//Autres auteurs :
|
32 |
//Autres auteurs :
|
33 |
*@author Aucun
|
33 |
*@author Aucun
|
34 |
*@copyright Tela-Botanica 2000-2004
|
34 |
*@copyright Tela-Botanica 2000-2004
|
35 |
*@version $Revision: 1.6 $
|
35 |
*@version $Revision: 1.7 $
|
36 |
// +------------------------------------------------------------------------------------------------------+
|
36 |
// +------------------------------------------------------------------------------------------------------+
|
37 |
*/
|
37 |
*/
|
Line 38... |
Line 38... |
38 |
|
38 |
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
40 |
// | ENTETE du PROGRAMME |
|
40 |
// | ENTETE du PROGRAMME |
|
41 |
// +------------------------------------------------------------------------------------------------------+
|
41 |
// +------------------------------------------------------------------------------------------------------+
|
42 |
include_once 'configuration/bottin.config.inc.php';
|
42 |
include_once 'configuration/bottin.config.inc.php';
|
43 |
include_once 'configuration/annuaire.config.inc.php';
|
43 |
include_once 'configuration/annuaire.config.inc.php';
|
Line 44... |
Line 44... |
44 |
include_once INS_CHEMIN_APPLI.'bibliotheque/annuaire.fonct.php';
|
44 |
include_once INS_CHEMIN_APPLI.'bibliotheque/bottin.fonct.php';
|
45 |
|
45 |
|
46 |
if (!isset($GLOBALS['lang'])) {
|
46 |
if (!isset($GLOBALS['lang'])) {
|
47 |
$GLOBALS['lang'] = INS_LANGUE_DEFAUT ;
|
47 |
$GLOBALS['lang'] = INS_LANGUE_DEFAUT ;
|
Line -... |
Line 48... |
- |
|
48 |
}
|
- |
|
49 |
include_once INS_CHEMIN_APPLI."langues/annuaire.langue.".$GLOBALS['lang'].".inc.php" ;
|
- |
|
50 |
|
- |
|
51 |
if ( isset($_GET['voir_fiche']) or isset($_GET['voir_abonnement']) or isset($_GET['voir_actus']) or isset($_GET['voir_ressources']) or isset($_GET['voir_competences']) ) {
|
- |
|
52 |
//---------------le menu de l'appli-----------
|
- |
|
53 |
function afficherContenuNavigation () {
|
- |
|
54 |
$res =inscription_onglets();
|
- |
|
55 |
return $res ;
|
48 |
}
|
56 |
}
|
49 |
include_once INS_CHEMIN_APPLI."langues/annuaire.langue.".$GLOBALS['lang'].".inc.php" ;
|
57 |
}
|
50 |
|
58 |
|
51 |
/**
|
59 |
/**
|
52 |
* Renvoie le code HTML de l'application
|
60 |
* Renvoie le code HTML de l'application
|
53 |
*
|
61 |
*
|
54 |
* @return string HTML
|
- |
|
55 |
*/
|
- |
|
56 |
function afficherContenuCorps () {
|
62 |
* @return string HTML
|
57 |
if (isset($_GET['voir_fiche'])) {
|
63 |
*/
|
58 |
include_once INS_CHEMIN_APPLI.'bibliotheque/inscription.fonct.php';
|
64 |
function afficherContenuCorps () {
|
59 |
include_once INS_CHEMIN_APPLI.'bibliotheque/inscription.class.php';
|
65 |
if ( isset($_GET['voir_fiche']) or isset($_GET['voir_abonnement']) or isset($_GET['voir_actus']) or isset($_GET['voir_ressources']) or isset($_GET['voir_competences']) ) {
|
60 |
$res=info($_GET['voir_fiche']);
|
66 |
$res = affiche_onglet_info();
|
61 |
} else {
|
67 |
} else {
|
62 |
$res = '<h1 class="annuaire_titre1">'.INS_ANNUAIRE_MEMBRES.'</h1>'."\n" ;
|
68 |
$res = '<h1 class="annuaire_titre1">'.INS_ANNUAIRE_MEMBRES.'</h1>'."\n" ;
|
Line 73... |
Line 79... |
73 |
return $res;
|
79 |
return $res;
|
74 |
}
|
80 |
}
|
Line 75... |
Line 81... |
75 |
|
81 |
|
76 |
/**------------------------------------------------------------------------------
|
82 |
/**------------------------------------------------------------------------------
|
- |
|
83 |
* $Log: not supported by cvs2svn $
|
- |
|
84 |
* Revision 1.5 2006/04/10 14:01:36 florian
|
- |
|
85 |
* uniformisation de l'appli bottin: plus qu'un fichier de fonctions
|
- |
|
86 |
*
|
- |
|
87 |
* Revision 1.4 2006/04/04 12:23:05 florian
|
- |
|
88 |
* modifs affichage fiches, généricité de la carto, modification totale de l'appli annuaire
|
77 |
* $Log: not supported by cvs2svn $
|
89 |
*
|
78 |
* Revision 1.3 2005/10/03 09:38:42 alexandre_tb
|
90 |
* Revision 1.3 2005/10/03 09:38:42 alexandre_tb
|
79 |
* Lorsque non loggué, on renvoie un message et non un formulaire
|
91 |
* Lorsque non loggué, on renvoie un message et non un formulaire
|
80 |
*
|
92 |
*
|
81 |
* Revision 1.2 2005/09/29 16:07:51 alexandre_tb
|
93 |
* Revision 1.2 2005/09/29 16:07:51 alexandre_tb
|