Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 242 → Rev 243

/trunk/client/annuaire/annuaire.php
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.1.1 2005-01-03 17:27:49 alex Exp $
// CVS : $Id: annuaire.php,v 1.2 2005-01-06 15:17:39 alex Exp $
/**
* programme principal du module annuaire
*
31,7 → 31,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.1.1.1 $
*@version $Revision: 1.2 $
// +------------------------------------------------------------------------------------------------------+
*/
 
41,45 → 41,29
 
 
include_once 'client/annuaire/configuration/ann_config.inc.php' ;
include_once ANN_CHEMIN_LIBRAIRIE.'annuaire.fonct.php' ;
if (isset($lang)) {
include_once CAR_CHEMIN_APPLI."/langues/ann_langue_$lang.inc.php" ;
include_once ANN_CHEMIN_APPLI."/langues/ann_langue_$lang.inc.php" ;
} else {
include_once CAR_CHEMIN_APPLI.'/langues/ann_langue_fr.inc.php' ;
include_once ANN_CHEMIN_APPLI.'/langues/ann_langue_fr.inc.php' ;
}
 
 
include_once 'annuaire/configuration/ann_config.inc.php' ;
include_once ANN_CHEMIN_LIBRAIRIE.'ann_annuaire.fonct.php' ;
if (isset($lang)) {
include_once "annuaire/langues/ann_langue_$lang.inc.php" ;
} else {
include_once 'annuaire/langues/ann_langue_fr.inc.php' ;
}
 
include_once 'HTML/QuickForm.php' ;
 
 
define ("ENVOIE_MAIL", 2) ;
 
//==============================================================================
// putFrame ($db, $link, $DOCrow, $PAGEresult, $CURRENTPAGErow, $innerTableWidth, $innerTableSpacing)
// $db : database name
// $link : connexion to database
// $DOCrow : row about the current document
// $PAGEresult : result set: all pages linked to the current document
// $CURRENTPAGErow : row about the current page
// $innerTableWidth : global table width
// $innerTableSpacing : cell spacing for global table.
//
// Generation frame content.
//==============================================================================
/**
* Renvoie le code HTML de l'application
*
* @return string HTML
*/
 
function GEN_afficherContenuCorps () {
function afficherContenuCorps () {
 
global $AUTH, $db ;
global $GS_GLOBAL ;
 
if (!$AUTH->getAuth()) {
if (!$GLOBALS['AUTH']->getAuth()) {
$res = AUTH_formulaire_login() ;
} else {
// Le code javascript des cases à cocher
107,7 → 91,7
$res .= "<h2 class=\"annuaire_titre2\">".ANN_CLIQUEZ_LETTRE."</h2>\n";
 
global $baseURL ;
$baseURL = ANN_URL_SPIP ;
$baseURL = $GLOBALS['ann_url']->getURL() ;
// S'il y a un mail a envoyé, on l'envoie
if ($action == ENVOIE_MAIL) $res .= envoie_mail () ;
 
173,6 → 157,9
}
/**------------------------------------------------------------------------------
* $Log: not supported by cvs2svn $
* Revision 1.1.1.1 2005/01/03 17:27:49 alex
* Import initial
*
* Revision 1.1 2005/01/03 17:18:43 alex
* retour vers la liste des participants après un ajout.
*