19,7 → 19,7 |
// | License along with this library; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: annuaire_backoffice.php,v 1.1 2005-09-22 14:02:49 ddelon Exp $ |
// CVS : $Id: annuaire_backoffice.php,v 1.2 2006-01-02 09:51:54 alexandre_tb Exp $ |
/** |
* programme principal du module annuaire_moteur |
* |
31,7 → 31,7 |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.1 $ |
*@version $Revision: 1.2 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
42,15 → 42,22 |
// +------------------------------------------------------------------------------------------------------+ |
// | ENTETE du PROGRAMME | |
// +------------------------------------------------------------------------------------------------------+ |
include_once 'configuration/ins_annuaire.config.inc.php'; |
include_once 'configuration/bottin.config.inc.php'; |
include_once INS_CHEMIN_APPLI.'configuration/annuaire_backoffice.config.inc.php'; |
include_once INS_CHEMIN_APPLI."annuaire.fonct.php"; |
include_once INS_CHEMIN_APPLI.'bibliotheque/annuaire.fonct.php'; |
include_once INS_CHEMIN_APPLI.'bibliotheque/annuaire_backoffice.fonct.php'; |
include_once INS_CHEMIN_APPLI.'bibliotheque/inscription.class.php'; |
include_once INS_CHEMIN_APPLI.'bibliotheque/inscription.fonct.php'; |
|
if (!isset($GLOBALS['lang'])) { |
$GLOBALS['lang'] = INS_LANGUE_DEFAUT ; |
} |
include_once INS_CHEMIN_APPLI."langues/bottin_langue_".$GLOBALS['lang'].".inc.php" ; |
|
if (isset($lang)) { |
include_once ANN_CHEMIN_APPLI."/langues/ann_langue_$lang.inc.php" ; |
include_once INS_CHEMIN_APPLI."/langues/annuaire_backoffice.langue.$lang.inc.php" ; |
} else { |
include_once ANN_CHEMIN_APPLI.'/langues/ann_langue_fr.inc.php' ; |
include_once INS_CHEMIN_APPLI.'/langues/annuaire_backoffice.langue.fr.inc.php' ; |
} |
|
define ("ANN_MAIL_TOUS", 1) ; |
63,19 → 70,19 |
if (!$GLOBALS['AUTH']->getAuth()) { |
$res = AUTH_formulaire_login() ; |
} else { |
if (isset($_GET['u_id'])) { |
include_once (ANN_CHEMIN_APPLI.'admin_annu.php'); |
$GLOBALS['ann_url']->addQueryString ('u_id', $_GET['u_id']) ; |
if (isset($_REQUEST[INS_CHAMPS_ID])) { |
include_once (INS_CHEMIN_APPLI.'bibliotheque/edition_fiche.php'); |
$GLOBALS['ins_url']->addQueryString (INS_CHAMPS_ID, $_REQUEST[INS_CHAMPS_ID]) ; |
return putFrame() ; |
} |
if (isset ($_GET['action'])) { |
include_once (ANN_CHEMIN_APPLI.'mail_tous.php') ; |
include_once (INS_CHEMIN_APPLI.'bibliotheque/mail_tous.php') ; |
return putFrame() ; |
} |
if (isset($_REQUEST['ajouter'])) { |
return ajouterInscrit() ; |
} |
$res = "<div>".mkengine()."</div>\n" ; |
//mkquery() ; |
$res .= "<div>".mkresu()."</div>\n" ; |
|
} |
return $res ; |
} |