Subversion Repositories Applications.papyrus

Rev

Rev 1688 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1688 Rev 1723
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.7 2007-04-11 08:30:12 neiluj Exp $
22
// CVS : $Id: annuaire.php,v 1.7.4.1 2007-11-22 10:23:05 alexandre_tb 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.7 $
35
*@version       $Revision: 1.7.4.1 $
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';
-
 
44
include_once INS_CHEMIN_APPLI.'bibliotheque/bottin.fonct.php';
Line 44... Line 45...
44
include_once INS_CHEMIN_APPLI.'bibliotheque/bottin.fonct.php';
45
include_once INS_CHEMIN_APPLI.'bibliotheque/bottin.class.php';
45
 
46
 
46
if (!isset($GLOBALS['lang'])) {
47
if (!isset($GLOBALS['lang'])) {
47
    $GLOBALS['lang'] = INS_LANGUE_DEFAUT ;
48
    $GLOBALS['lang'] = INS_LANGUE_DEFAUT ;
Line 60... Line 61...
60
 *  Renvoie le code HTML de l'application
61
 *  Renvoie le code HTML de l'application
61
 *
62
 *
62
 * @return  string  HTML
63
 * @return  string  HTML
63
 */
64
 */
64
function afficherContenuCorps () {
65
function afficherContenuCorps () {
-
 
66
    // Recuperation de la configuration
-
 
67
    if (isset($_REQUEST['id_inscription'])) {
-
 
68
     	$GLOBALS ['ins_config'] = inscription::getConfig($_REQUEST['id_inscription']);
-
 
69
    } else {
-
 
70
    	$GLOBALS ['ins_config'] = inscription::getConfig();
-
 
71
    }
-
 
72
    // Template du formulaire
-
 
73
    $GLOBALS['ins_config']['ic_inscription_template'] = inscription::getTemplate(INS_TEMPLATE_FORMULAIRE, 
-
 
74
    									$GLOBALS['ins_config']['ic_id_inscription']);
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']) ) {
75
    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']) ) {
66
    	$res = affiche_onglet_info();    		     	
76
    	$res = affiche_onglet_info();    		     	
67
    } else {
77
    } else {
68
    	$res = '<h1 class="annuaire_titre1">'.INS_ANNUAIRE_MEMBRES.'</h1>'."\n" ;
78
    	$res = '<h1 class="annuaire_titre1">'.INS_ANNUAIRE_MEMBRES.'</h1>'."\n" ;
69
	    if (!$GLOBALS['AUTH']->getAuth()&&INS_NECESSITE_LOGIN)  {
79
	    if (!$GLOBALS['AUTH']->getAuth()&&INS_NECESSITE_LOGIN)  {
Line 79... Line 89...
79
    return $res;
89
    return $res;
80
}
90
}
Line 81... Line 91...
81
 
91
 
82
/**------------------------------------------------------------------------------
92
/**------------------------------------------------------------------------------
-
 
93
* $Log: not supported by cvs2svn $
-
 
94
* Revision 1.7  2007/04/11 08:30:12  neiluj
-
 
95
* remise en état du CVS...
83
* $Log: not supported by cvs2svn $
96
*
84
* Revision 1.5  2006/04/10 14:01:36  florian
97
* Revision 1.5  2006/04/10 14:01:36  florian
85
* uniformisation de l'appli bottin: plus qu'un fichier de fonctions
98
* uniformisation de l'appli bottin: plus qu'un fichier de fonctions
86
*
99
*
87
* Revision 1.4  2006/04/04 12:23:05  florian
100
* Revision 1.4  2006/04/04 12:23:05  florian