Subversion Repositories Applications.papyrus

Rev

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

Rev 448 Rev 679
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_backoffice.php,v 1.1 2005-09-22 14:02:49 ddelon Exp $
22
// CVS : $Id: annuaire_backoffice.php,v 1.2 2006-01-02 09:51:54 alexandre_tb Exp $
23
/**
23
/**
24
* programme principal du module annuaire_moteur
24
* programme principal du module annuaire_moteur
25
*
25
*
26
* programme principal du module annuaire_moteur
26
* programme principal du module annuaire_moteur
27
*
27
*
Line 29... Line 29...
29
//Auteur original :
29
//Auteur original :
30
*@author        Alexandre Granier <alexandre@tela-botanica.org>
30
*@author        Alexandre Granier <alexandre@tela-botanica.org>
31
//Autres auteurs :
31
//Autres auteurs :
32
*@author        Aucun
32
*@author        Aucun
33
*@copyright     Tela-Botanica 2000-2004
33
*@copyright     Tela-Botanica 2000-2004
34
*@version       $Revision: 1.1 $
34
*@version       $Revision: 1.2 $
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
36
*/
36
*/
Line 37... Line 37...
37
 
37
 
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
39
// |                                            ENTETE du PROGRAMME                                       |
39
// |                                            ENTETE du PROGRAMME                                       |
Line 40... Line 40...
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
41
 
41
 
42
// +------------------------------------------------------------------------------------------------------+
42
// +------------------------------------------------------------------------------------------------------+
43
// |                                            ENTETE du PROGRAMME                                       |
43
// |                                            ENTETE du PROGRAMME                                       |
44
// +------------------------------------------------------------------------------------------------------+
44
// +------------------------------------------------------------------------------------------------------+
45
include_once 'configuration/ins_annuaire.config.inc.php';
45
include_once 'configuration/bottin.config.inc.php';
46
include_once INS_CHEMIN_APPLI.'configuration/annuaire_backoffice.config.inc.php';
46
include_once INS_CHEMIN_APPLI.'configuration/annuaire_backoffice.config.inc.php';
-
 
47
include_once INS_CHEMIN_APPLI.'bibliotheque/annuaire.fonct.php';
-
 
48
include_once INS_CHEMIN_APPLI.'bibliotheque/annuaire_backoffice.fonct.php';
-
 
49
include_once INS_CHEMIN_APPLI.'bibliotheque/inscription.class.php';
-
 
50
include_once INS_CHEMIN_APPLI.'bibliotheque/inscription.fonct.php';
-
 
51
 
-
 
52
if (!isset($GLOBALS['lang'])) {
-
 
53
    $GLOBALS['lang'] = INS_LANGUE_DEFAUT ;
Line 47... Line 54...
47
include_once INS_CHEMIN_APPLI."annuaire.fonct.php";
54
}
48
include_once INS_CHEMIN_APPLI.'bibliotheque/annuaire_backoffice.fonct.php';
55
include_once INS_CHEMIN_APPLI."langues/bottin_langue_".$GLOBALS['lang'].".inc.php" ;
49
 
56
 
50
if (isset($lang)) {
57
if (isset($lang)) {
51
    include_once ANN_CHEMIN_APPLI."/langues/ann_langue_$lang.inc.php" ;
58
    include_once INS_CHEMIN_APPLI."/langues/annuaire_backoffice.langue.$lang.inc.php" ;
Line 52... Line 59...
52
} else {
59
} else {
53
    include_once ANN_CHEMIN_APPLI.'/langues/ann_langue_fr.inc.php' ;
60
    include_once INS_CHEMIN_APPLI.'/langues/annuaire_backoffice.langue.fr.inc.php' ;
Line 61... Line 68...
61
    global $statut ;
68
    global $statut ;
Line 62... Line 69...
62
 
69
 
63
    if (!$GLOBALS['AUTH']->getAuth())  {
70
    if (!$GLOBALS['AUTH']->getAuth())  {
64
        $res = AUTH_formulaire_login() ;
71
        $res = AUTH_formulaire_login() ;
65
    } else {
72
    } else {
66
        if (isset($_GET['u_id'])) {
73
        if (isset($_REQUEST[INS_CHAMPS_ID])) {
67
            include_once (ANN_CHEMIN_APPLI.'admin_annu.php');
74
            include_once (INS_CHEMIN_APPLI.'bibliotheque/edition_fiche.php');
68
            $GLOBALS['ann_url']->addQueryString ('u_id', $_GET['u_id']) ;
75
            $GLOBALS['ins_url']->addQueryString (INS_CHAMPS_ID, $_REQUEST[INS_CHAMPS_ID]) ;
69
            return putFrame() ;
76
            return putFrame() ;
70
        }
77
        }
71
        if (isset ($_GET['action'])) {
78
        if (isset ($_GET['action'])) {
72
            include_once (ANN_CHEMIN_APPLI.'mail_tous.php') ;
79
            include_once (INS_CHEMIN_APPLI.'bibliotheque/mail_tous.php') ;
73
            return putFrame() ;
80
            return putFrame() ;
-
 
81
        }
-
 
82
        if (isset($_REQUEST['ajouter'])) {
-
 
83
        	return ajouterInscrit() ;	
74
        }
84
        }
75
        $res = "<div>".mkengine()."</div>\n" ;
-
 
76
        //mkquery() ;
-
 
77
        $res .= "<div>".mkresu()."</div>\n" ;
-
 
78
    
85
        $res = "<div>".mkengine()."</div>\n" ;
79
    }
86
    }
80
    return $res ;
87
    return $res ;
Line 81... Line 88...
81
}
88
}
82
 
89