/trunk/client/cartographie/configuration/car_config.inc.php |
---|
1,5 → 1,4 |
<?php |
// +----------------------------------------------------------------------------+ |
// |car_config.inc.php | |
// +----------------------------------------------------------------------------+ |
12,17 → 11,17 |
// |
// $Id: car_config.inc.php,v 1.1 2004/11/30 13:37:13 tam Exp $ |
// Paramêtres indiquant que l'on est en français pourpermettre la mise en majuscule des caractères accentués |
setlocale(LC_CTYPE, "fr_FR"); |
/** |
//=========================DEFINITION DE VARIABLES ================================= |
* Définition des variables globales |
//================================================================================== |
*/ |
$GLOBALS['car_auth'] = &$_GEN_commun['pear_auth'] ; |
$GLOBALS['car_db'] = &$_GEN_commun['pear_db'] ; |
$GLOBALS['car_auth'] =& $_GEN_commun['pear_auth'] ; |
$GLOBALS['car_db'] =& $_GEN_commun['pear_db'] ; |
$GLOBALS['car_url'] = $_GEN_commun['url']; |
/** |
//==================================== LES URLS ================================== |
48,7 → 47,6 |
* Constantes des noms de tables et de champs dans l'annuaire |
//================================================================================== |
*/ |
define ("CAR_ANNUAIRE", "annuaire_tela") ; |
define ("CAR_CHAMPS_NOM", "U_NAME") ; // Nom du champs nom |
define ("CAR_CHAMPS_MAIL", "U_MAIL") ; // Nom du champs mail |
/trunk/client/cartographie/cartographie.php |
---|
55,13 → 55,14 |
function AUTH_formulaire_login() { |
// l'url de la page en cours |
$url = CAR_URL; |
$url = $GLOBALS['car_url']; |
$url->addQueryString('historique_cartes', $GLOBALS['historique_cartes']); |
$url->addQueryString('fin', true); |
$res = '<h2 class="titre2_cartographie">'.CAR_TEXTE_IDENTIFICATION_2.'</h2>'; |
$res .= "<div>".CAR_LAIUS_INSCRIPTION." <a href=\"".CAR_CHEMIN_INSCRIPTION."\">".CAR_S_INSCRIRE."</a></div>\n" ; |
$res .= '<h2 class="titre2_cartographie">'.CAR_TEXTE_IDENTIFICATION_1.'</h2>'; |
$form = new HTML_QuickForm ('inscription', 'post', preg_replace ('/&/', '&', $url).'&historique_cartes='.$GLOBALS['historique_cartes'].'&fin=true') ; |
$form = new HTML_QuickForm ('inscription', 'post', preg_replace('/&/', '&', $url->getURL())) ; |
$form->addElement ('text', 'username', CAR_EMAIL) ; |
$form->addElement ('password', 'password', CAR_MOT_DE_PASSE) ; |
$form->addElement('submit', 'connexion', CAR_VALIDER); |
/trunk/client/cartographie/liste_inscrit.php |
---|
275,11 → 275,11 |
$indic=0; |
} |
$res.="<td><input type=\"checkbox\" name=\"select[]\" value=\"".$ligne[CAR_CHAMPS_MAIL]."\" /></td> |
<td>".$ligne[CAR_CHAMPS_NOM]." </td> |
<td>".$ligne[CAR_CHAMPS_PRENOM]." </td> |
<td>".strtoupper($ligne[CAR_CHAMPS_NOM])." </td> |
<td>".str_replace(' - ', '-', ucwords(strtolower(str_replace('-', ' - ', $ligne[CAR_CHAMPS_PRENOM]))))." </td> |
<td>".date("d m Y", strtotime($ligne[CAR_CHAMPS_DATE_INS]))."</td> |
<td>".$ligne[CAR_CHAMPS_CODE_POSTAL]." </td> |
<td>".$ligne[CAR_CHAMPS_VILLE]." </td> |
<td>".strtoupper($ligne[CAR_CHAMPS_VILLE])." </td> |
</tr>\n"; |
} |
$res.="</table></div>\n"; |