Subversion Repositories Applications.papyrus

Rev

Rev 810 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 810 Rev 1292
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.5 2006-04-10 14:01:36 florian Exp $
22
// CVS : $Id: annuaire.php,v 1.6 2007-04-06 08:35:46 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.5 $
35
*@version       $Revision: 1.6 $
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/bottin.fonct.php';
44
include_once INS_CHEMIN_APPLI.'bibliotheque/annuaire.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 48... Line -...
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 ;
-
 
56
	}
48
}
57
}
49
include_once INS_CHEMIN_APPLI."langues/annuaire.langue.".$GLOBALS['lang'].".inc.php" ;
58
 
50
 
59
/**
51
/**
60
 *  Renvoie le code HTML de l'application
52
 *  Renvoie le code HTML de l'application
61
 *
53
 *
-
 
54
 * @return  string  HTML
-
 
55
 */
62
 * @return  string  HTML
56
function afficherContenuCorps () {
63
 */
57
    if (isset($_GET['voir_fiche'])) {
64
function afficherContenuCorps () {
58
    	include_once INS_CHEMIN_APPLI.'bibliotheque/inscription.fonct.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']) ) {
59
    	include_once INS_CHEMIN_APPLI.'bibliotheque/inscription.class.php';
66
    	$res = affiche_onglet_info();    		     	
60
    	$res=info($_GET['voir_fiche']);
67
    } else {
61
    } else {
68
    	$res = '<h1 class="annuaire_titre1">'.INS_ANNUAIRE_MEMBRES.'</h1>'."\n" ;
62
    	$res = '<h1 class="annuaire_titre1">'.INS_ANNUAIRE_MEMBRES.'</h1>'."\n" ;
Line 79... Line 73...
79
    return $res;
73
    return $res;
80
}
74
}
Line 81... Line 75...
81
 
75
 
82
/**------------------------------------------------------------------------------
76
/**------------------------------------------------------------------------------
83
* $Log: not supported by cvs2svn $
-
 
84
* Revision 1.4  2006/04/04 12:23:05  florian
-
 
85
* modifs affichage fiches, généricité de la carto, modification totale de l'appli annuaire
-
 
86
*
77
* $Log: not supported by cvs2svn $
87
* Revision 1.3  2005/10/03 09:38:42  alexandre_tb
78
* Revision 1.3  2005/10/03 09:38:42  alexandre_tb
88
* Lorsque non loggué, on renvoie un message et non un formulaire
79
* Lorsque non loggué, on renvoie un message et non un formulaire
89
*
80
*
90
* Revision 1.2  2005/09/29 16:07:51  alexandre_tb
81
* Revision 1.2  2005/09/29 16:07:51  alexandre_tb