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.php,v 1.1 2005-09-22 14:02:49 ddelon Exp $ |
// CVS : $Id: annuaire.php,v 1.2 2005-09-29 16:07:51 alexandre_tb Exp $ |
/** |
* programme principal du module annuaire |
* |
32,7 → 32,7 |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.1 $ |
*@version $Revision: 1.2 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
39,10 → 39,14 |
// +------------------------------------------------------------------------------------------------------+ |
// | ENTETE du PROGRAMME | |
// +------------------------------------------------------------------------------------------------------+ |
include_once 'configuration/ins_annuaire.config.inc.php'; |
include_once INS_CHEMIN_APPLI.'configuration/annuaire.config.inc.php'; |
include_once 'configuration/bottin.config.inc.php'; |
include_once 'configuration/annuaire.config.inc.php'; |
include_once INS_CHEMIN_APPLI.'bibliotheque/annuaire.fonct.php'; |
|
if (!isset($GLOBALS['lang'])) { |
$GLOBALS['lang'] = INS_LANGUE_DEFAUT ; |
} |
include_once INS_CHEMIN_APPLI."langues/annuaire.langue.".$GLOBALS['lang'].".inc.php" ; |
|
/** |
* Renvoie le code HTML de l'application |
52,6 → 56,7 |
function afficherContenuCorps () { |
$res = '<h1 class="annuaire_titre1">'.ANN_TITRE.'</h1>'."\n" ; |
if (!$GLOBALS['AUTH']->getAuth()) { |
include_once INS_CHEMIN_APPLI.'langues/bottin_langue_fr.inc.php'; |
include_once INS_CHEMIN_APPLI.'configuration/inscription.config.inc.php'; |
include_once INS_CHEMIN_APPLI.'bibliotheque/inscription.fonct.php'; |
$res .= AUTH_formulaire_login() ; |
78,8 → 83,8 |
$res .= '<h2 class="annuaire_titre2">'.ANN_CLIQUEZ_LETTRE.'</h2>'."\n"; |
|
// S'il y a un mail a envoyé, on l'envoie |
if (isset($_POST['select']) && is_array ($_POST['select'])) $res .= envoie_mail() ; |
$res .= parcourirAnnu('') ; |
if (isset($_POST['select']) && is_array ($_POST['select'])) $res .= envoie_mail_depuis_annuaire() ; |
$res .= parcourirAnnu() ; |
} |
return $res; |
} |
86,6 → 91,9 |
|
/**------------------------------------------------------------------------------ |
* $Log: not supported by cvs2svn $ |
* Revision 1.1 2005/09/22 14:02:49 ddelon |
* nettoyage annuaire et php5 |
* |
* Revision 1.4 2005/09/22 13:30:49 florian |
* modifs pour compatibilité XHTML Strict + corrections de bugs (mais ya encore du boulot!!) |
* |