| 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.1 2005-09-22 14:02:49 ddelon Exp $
|
22 |
// CVS : $Id: annuaire.php,v 1.2 2005-09-29 16:07:51 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.1 $
|
35 |
*@version $Revision: 1.2 $
|
| 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/ins_annuaire.config.inc.php';
|
42 |
include_once 'configuration/bottin.config.inc.php';
|
| 43 |
include_once INS_CHEMIN_APPLI.'configuration/annuaire.config.inc.php';
|
43 |
include_once 'configuration/annuaire.config.inc.php';
|
| Line -... |
Line 44... |
| - |
|
44 |
include_once INS_CHEMIN_APPLI.'bibliotheque/annuaire.fonct.php';
|
| - |
|
45 |
|
| - |
|
46 |
if (!isset($GLOBALS['lang'])) {
|
| - |
|
47 |
$GLOBALS['lang'] = INS_LANGUE_DEFAUT ;
|
| Line 44... |
Line 48... |
| 44 |
include_once INS_CHEMIN_APPLI.'bibliotheque/annuaire.fonct.php';
|
48 |
}
|
| 45 |
|
49 |
include_once INS_CHEMIN_APPLI."langues/annuaire.langue.".$GLOBALS['lang'].".inc.php" ;
|
| 46 |
|
50 |
|
| 47 |
/**
|
51 |
/**
|
| 48 |
* Renvoie le code HTML de l'application
|
52 |
* Renvoie le code HTML de l'application
|
| 49 |
*
|
53 |
*
|
| 50 |
* @return string HTML
|
54 |
* @return string HTML
|
| 51 |
*/
|
55 |
*/
|
| - |
|
56 |
function afficherContenuCorps () {
|
| 52 |
function afficherContenuCorps () {
|
57 |
$res = '<h1 class="annuaire_titre1">'.ANN_TITRE.'</h1>'."\n" ;
|
| 53 |
$res = '<h1 class="annuaire_titre1">'.ANN_TITRE.'</h1>'."\n" ;
|
58 |
if (!$GLOBALS['AUTH']->getAuth()) {
|
| 54 |
if (!$GLOBALS['AUTH']->getAuth()) {
|
59 |
include_once INS_CHEMIN_APPLI.'langues/bottin_langue_fr.inc.php';
|
| 55 |
include_once INS_CHEMIN_APPLI.'configuration/inscription.config.inc.php';
|
60 |
include_once INS_CHEMIN_APPLI.'configuration/inscription.config.inc.php';
|
| 56 |
include_once INS_CHEMIN_APPLI.'bibliotheque/inscription.fonct.php';
|
61 |
include_once INS_CHEMIN_APPLI.'bibliotheque/inscription.fonct.php';
|
| Line 76... |
Line 81... |
| 76 |
GEN_stockerCodeScript($java) ;
|
81 |
GEN_stockerCodeScript($java) ;
|
| Line 77... |
Line 82... |
| 77 |
|
82 |
|
| Line 78... |
Line 83... |
| 78 |
$res .= '<h2 class="annuaire_titre2">'.ANN_CLIQUEZ_LETTRE.'</h2>'."\n";
|
83 |
$res .= '<h2 class="annuaire_titre2">'.ANN_CLIQUEZ_LETTRE.'</h2>'."\n";
|
| 79 |
|
84 |
|
| 80 |
// S'il y a un mail a envoyé, on l'envoie
|
85 |
// S'il y a un mail a envoyé, on l'envoie
|
| 81 |
if (isset($_POST['select']) && is_array ($_POST['select'])) $res .= envoie_mail() ;
|
86 |
if (isset($_POST['select']) && is_array ($_POST['select'])) $res .= envoie_mail_depuis_annuaire() ;
|
| 82 |
$res .= parcourirAnnu('') ;
|
87 |
$res .= parcourirAnnu() ;
|
| 83 |
}
|
88 |
}
|
| Line 84... |
Line 89... |
| 84 |
return $res;
|
89 |
return $res;
|
| 85 |
}
|
90 |
}
|
| - |
|
91 |
|
| - |
|
92 |
/**------------------------------------------------------------------------------
|
| - |
|
93 |
* $Log: not supported by cvs2svn $
|
| 86 |
|
94 |
* Revision 1.1 2005/09/22 14:02:49 ddelon
|
| 87 |
/**------------------------------------------------------------------------------
|
95 |
* nettoyage annuaire et php5
|
| 88 |
* $Log: not supported by cvs2svn $
|
96 |
*
|
| 89 |
* Revision 1.4 2005/09/22 13:30:49 florian
|
97 |
* Revision 1.4 2005/09/22 13:30:49 florian
|
| 90 |
* modifs pour compatibilité XHTML Strict + corrections de bugs (mais ya encore du boulot!!)
|
98 |
* modifs pour compatibilité XHTML Strict + corrections de bugs (mais ya encore du boulot!!)
|