/trunk/client/bottin/bibliotheque/inscription.fonct.php |
---|
19,8 → 19,8 |
// | 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: inscription.fonct.php,v 1.5 2005-11-18 16:04:15 florian Exp $ |
// CVS : $Id: inscription.fonct.php,v 1.5 2005-11-18 16:04:15 florian Exp $ |
// CVS : $Id: inscription.fonct.php,v 1.6 2005-11-24 16:17:52 florian Exp $ |
// CVS : $Id: inscription.fonct.php,v 1.6 2005-11-24 16:17:52 florian Exp $ |
/** |
* Fonctions du module inscription |
* |
32,8 → 32,8 |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.5 $ $Date: 2005-11-18 16:04:15 $ |
*@version $Revision: 1.5 $ $Date: 2005-11-18 16:04:15 $ |
*@version $Revision: 1.6 $ $Date: 2005-11-24 16:17:52 $ |
*@version $Revision: 1.6 $ $Date: 2005-11-24 16:17:52 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
649,6 → 649,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.5 2005/11/18 16:04:15 florian |
* corrections de bugs, optimisations, tests pour rendre inscription stable. |
* |
* Revision 1.4 2005/11/17 18:48:02 florian |
* corrections bugs + amélioration de l'application d'inscription |
* |
/trunk/client/bottin/bibliotheque/lib.carto.php |
---|
29,11 → 29,11 |
*@version 01 juillet 2002 |
// +-----------------------------------------------------------------------------------------------+ |
// |
// $Id: lib.carto.php,v 1.1 2005-09-22 14:02:49 ddelon Exp $ |
// $Id: lib.carto.php,v 1.2 2005-11-24 16:17:52 florian Exp $ |
// FICHIER : $RCSfile: lib.carto.php,v $ |
// AUTEUR : $Author: ddelon $ |
// VERSION : $Revision: 1.1 $ |
// DATE : $Date: 2005-09-22 14:02:49 $ |
// AUTEUR : $Author: florian $ |
// VERSION : $Revision: 1.2 $ |
// DATE : $Date: 2005-11-24 16:17:52 $ |
// |
// +-----------------------------------------------------------------------------------------------+ |
// A FAIRE : |
82,7 → 82,7 |
function afficherHistoriqueCarte () |
{ |
$res=''; |
$res='<div style="float:left;">'.INS_ECHELLE; |
$tabonglet = explode ('*', $this->historique); |
$tabnom = explode ('*', $this->nom); |
foreach ($tabonglet as $key=>$value) { |
101,7 → 101,7 |
$res.='href="'.$this->url.'&historique_cartes='.$chemin.'"> '.$this->caractere_separation.' '.$tabnom[$key].'</a>'; |
} |
$res.= '</div>'."\n"; |
return $res; |
}//Fin de la méthode afficherHistoriqueCarte(). |
416,10 → 416,6 |
// La méthode imgform() utilise la méthode get_cartoAction() de l'objet Carto_Action pour connaître |
// en fonction des coordonnées du clic l'action à entreprendre. |
// Quoi qu'il arrive, on ouvre la balise formulaire |
$res = '<form action="'.$this->url.'" method="post"><br />'."\n"; |
$res .= '<div style="text-align: center;"><strong>'.INS_CLIQUER_ACCEDER.'</strong></div>'; |
if (isset ($this->image_x) && ($this->image_x != '') && isset ($this->image_y) && ($this->image_y != '')) { |
// on regarde ici si l'on a pas un objet de plus bas niveau présent dans la variable de session carte |
//a charger a la place de l'objet de plus haut niveau |
540,8 → 536,7 |
} |
$res .= INS_CHEMIN_APPLI.'/bibliotheque/lib.carto.extractimg.php?fichier='.$this->id.$id_image.'"'; |
$res .= ' name="image" onmouseover="javascript:show(\'d\');" onmouseout="javascript:show(\'d\');" />'."\n"; |
$res .= '<input type="hidden" name="historique_cartes" value="'.$this->historique.'" />'; |
$res .= '</form>'."\n"; |
$res .= '<input type="hidden" name="historique_cartes" value="'.$this->historique.'" />'."\n"; |
return $res; |
} |
574,7 → 569,7 |
$i=0; |
$retour = '<select name="liste_zone_carte" onchange="javascript:this.form.submit();">'."\n"; |
$retour = '<select name="liste_zone_carte" style="float:right;" onchange="javascript:this.form.submit();">'."\n"; |
$retour .= '<option value="">'.INS_VISUALISER_ZONE.'</option>'."\n"; |
$nom_chp_nom_zone = $this->_info_table_zg['nom_chp_nom_zone']; |
1188,6 → 1183,9 |
//-- Fin du code source ------------------------------------------------------------ |
/* |
* $Log: not supported by cvs2svn $ |
* Revision 1.1 2005/09/22 14:02:49 ddelon |
* nettoyage annuaire et php5 |
* |
* Revision 1.2 2005/09/22 13:30:49 florian |
* modifs pour compatibilité XHTML Strict + corrections de bugs (mais ya encore du boulot!!) |
* |
/trunk/client/bottin/bibliotheque/inscription.class.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: inscription.class.php,v 1.4 2005-11-17 18:48:02 florian Exp $ |
// CVS : $Id: inscription.class.php,v 1.5 2005-11-24 16:17:52 florian Exp $ |
/** |
* Inscription |
* |
31,7 → 31,7 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org> |
//Autres auteurs : |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.4 $ $Date: 2005-11-17 18:48:02 $ |
*@version $Revision: 1.5 $ $Date: 2005-11-24 16:17:52 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
133,6 → 133,9 |
$squelette->setElementTemplate( '<span class="bouton" id="bouton_annuler">{label}{element}</span>'."\n", 'annuler'); |
$squelette->setElementTemplate( '<span class="bouton" id="bouton_valider">{label}{element}</span>'."\n", 'valider'); |
$squelette->setGroupElementTemplate('<span class="groupe_bouton">{label}{element}</span>', 'groupe_bouton') ; |
//Traduction de champs requis |
$formtemplate->setRequiredNote(INS_CHAMPS_REQUIS) ; |
$formtemplate->setJsWarnings(INS_ERREUR_SAISIE,INS_VEUILLEZ_CORRIGER); |
$debut = '<h2>'.INS_AJOUT_MEMBRE.'</h2>'."\n"; |
$this->addElement('html', $debut); |
$this->addElement('text', 'email', INS_EMAIL) ; |
/trunk/client/bottin/cartographie.php |
---|
26,13 → 26,13 |
*@version 03 mai 2004 |
// +-----------------------------------------------------------------------------------------------+ |
// |
// $Id: cartographie.php,v 1.1 2005-09-22 14:02:49 ddelon Exp $ |
// $Id: cartographie.php,v 1.2 2005-11-24 16:17:52 florian Exp $ |
// FICHIER : $RCSfile: cartographie.php,v $ |
// AUTEUR : $Author: ddelon $ |
// VERSION : $Revision: 1.1 $ |
// DATE : $Date: 2005-09-22 14:02:49 $ |
// AUTEUR : $Author: florian $ |
// VERSION : $Revision: 1.2 $ |
// DATE : $Date: 2005-11-24 16:17:52 $ |
*/ |
include_once 'configuration/ins_annuaire.config.inc.php'; |
include_once PAP_CHEMIN_RACINE.'/client/bottin/configuration/bottin.config.inc.php'; |
include_once INS_CHEMIN_APPLI.'configuration/cartographie.config.inc.php'; |
include_once INS_CHEMIN_APPLI.'bibliotheque/cartographie.fonct.php'; |
include_once INS_CHEMIN_APPLI.'bibliotheque/lib.carto.php'; |
39,12 → 39,6 |
include_once INS_CHEMIN_APPLI.'bibliotheque/cartographie.fonct.php'; |
//include_once 'HTML/QuickForm.php' ; |
// Ajout d'une feuille de style externe |
GEN_stockerStyleExterne('cartographie', 'presentations/cartographie.css') ; |
if (isset($GLOBALS['logout']) && $GLOBALS['logout']==1) { |
$GLOBALS['AUTH']->logout(); |
} |
//================================================================================================ |
//================================================================================================ |
128,7 → 122,7 |
$resultat_cp = $GLOBALS['ins_db']->query($requete_cp) ; |
if (DB::isError($resultat_cp)) { |
die(' |
<H2 class="erreur">Erreur de requête</H2>'. |
<h2 class="erreur">Erreur de requête</h2>'. |
'<b>Requete : </b>'.$requete_cp. |
'<br/><br/><b>Erreur : </b>'.$resultat_cp->getMessage()); |
} |
225,16 → 219,15 |
return $res; |
} |
else { |
// Quoi qu'il arrive, on ouvre la balise formulaire |
$res = '<form action="'.$monde->url.'" method="post">'."\n"; |
$historique_carte = new Carto_HistoriqueCarte ($monde, '>', 'chemin_carto'); |
$res .= $historique_carte->afficherHistoriqueCarte(); |
$res .= "<br />\n" ; |
$tab = explode('*',$monde->historique); |
$res .= $historique_carte->afficherHistoriqueCarte()."\n" ; |
$res .= $img; |
$res .= '<br /><div style="text-align: center;"><strong>'.INS_COULEUR.'</strong></div><br />'."\n"; |
$res .= '<br /><small><strong>'.INS_AVERTISSEMENT_TITRE.' : </strong>'; |
$res .= INS_AVERTISSEMENT.'</small>'."\n"; |
$res .= '</form>'."\n"; |
$res .= '<p style="text-align: center;">'."\n"; |
$res .= '<strong>'.INS_CLIQUER_ACCEDER.'</strong><br />'."\n"; |
$res .= INS_COULEUR."\n".'</p>'."\n"; |
return $res; |
} |
} |
243,6 → 236,9 |
//-- Fin du code source ------------------------------------------------------------ |
/* |
* $Log: not supported by cvs2svn $ |
* Revision 1.1 2005/09/22 14:02:49 ddelon |
* nettoyage annuaire et php5 |
* |
* Revision 1.2 2005/09/22 13:30:49 florian |
* modifs pour compatibilité XHTML Strict + corrections de bugs (mais ya encore du boulot!!) |
* |
/trunk/client/bottin/langues/bottin.langue_fr.inc.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: bottin.langue_fr.inc.php,v 1.2 2005-11-18 16:04:15 florian Exp $ |
// CVS : $Id: bottin.langue_fr.inc.php,v 1.3 2005-11-24 16:17:52 florian Exp $ |
/** |
* Fichier de traduction en français de l'application ins_annuaire |
* |
29,7 → 29,7 |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.2 $ $Date: 2005-11-18 16:04:15 $ |
*@version $Revision: 1.3 $ $Date: 2005-11-24 16:17:52 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
define ('INS_TITRE_INSCRIPTION', 'Inscription au réseau'); |
154,13 → 154,8 |
define ('INS_ENVOYER', 'Envoyer') ; |
define ('INS_LABEL_PROJET', 'en tant que membre du réseau'); |
define ('INS_COULEUR', 'La couleur est proportionnelle au nombre d\'inscrits.') ; |
define ('INS_AVERTISSEMENT_TITRE', 'Avertissement et déni de responsabilité') ; |
define ('INS_AVERTISSEMENT', 'La représentation et l\'utilisation des frontières, des noms géographiques et autres '. |
' données employés sur les cartes et utilisés dans les listes,'. |
' les tableaux, les documents et les bases de données de ce site ne sont pas garanties sans '. |
'erreurs, de même qu\'elles n\'engagent pas la responsabilité des auteurs de ce site ni '. |
'n\'impliquent de reconnaissance officielle de leur part.') ; |
define ('INS_MONDE', 'Monde') ; |
define ('INS_ECHELLE', 'Echelle : ') ; |
define ('INS_CLIQUER_ACCEDER', 'Cliquer sur la carte pour zoomer ou accéder aux informations ') ; |
define ('INS_VISUALISER_ZONE', 'Mettre en rouge la zone...'); |
define ('INS_MESSAGE_ENVOYE', '<br /><br />Votre message a été envoyé') ; |
190,6 → 185,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.2 2005/11/18 16:04:15 florian |
* corrections de bugs, optimisations, tests pour rendre inscription stable. |
* |
* Revision 1.1 2005/11/17 18:48:02 florian |
* corrections bugs + amélioration de l'application d'inscription |
* |
/trunk/client/bottin/cartographie.admin.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: cartographie.admin.php,v 1.1 2005-09-22 14:02:49 ddelon Exp $ |
// CVS : $Id: cartographie.admin.php,v 1.2 2005-11-24 16:17:52 florian Exp $ |
/** |
* |
*@package bazar |
27,7 → 27,7 |
*@author Florian Schmitt <florian@ecole-et-nature.org> |
//Autres auteurs : |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.1 $ $Date: 2005-09-22 14:02:49 $ |
*@version $Revision: 1.2 $ $Date: 2005-11-24 16:17:52 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
// +------------------------------------------------------------------------------------------------------+ |
52,9 → 52,9 |
function afficherContenuCorps() |
{ |
/** Inclusion du fichier de configuration de cette application.*/ |
require_once 'configuration/ins_annuaire.config.inc.php'; |
require_once PAP_CHEMIN_RACINE.'client/bottin/configuration/bottin.config.inc.php'; |
require_once INS_CHEMIN_APPLI.'configuration/cartographie.config.inc.php'; |
require_once 'HTML/QuickForm.php' ; |
require_once PAP_CHEMIN_RACINE.'api/pear/HTML/QuickForm.php' ; |
//------------------------------------------------------------------------------------------------------------------- |
// Initialisation des attributs |
77,7 → 77,7 |
'<!-- BEGIN required --><span class="symbole_obligatoire">*</span><!-- END required -->'."\n". |
'<!-- BEGIN error --><span class="erreur">{error}</span><!-- END error -->'."\n". |
'</li>'."\n"); |
$requete = $requete = 'SHOW TABLES FROM '.INS_BASE; |
$requete = 'SHOW TABLES FROM '.$this->objet_pear_db->dsn['database']; |
$resultat = $this->objet_pear_db->query($requete) ; |
if (DB::isError($resultat)) { |
die ("Echec de la requete<br />".$resultat->getMessage()."<br />".$resultat->getDebugInfo()) ; |
84,7 → 84,7 |
} |
$option_tables = array(); |
while ($ligne = $resultat->fetchRow(DB_FETCHMODE_ASSOC)) { |
$option_tables[$ligne['Tables_in_'.INS_BASE]] = $ligne['Tables_in_'.INS_BASE]; |
$option_tables[$ligne['Tables_in_'.$this->objet_pear_db->dsn['database']]] = $ligne['Tables_in_'.$this->objet_pear_db->dsn['database']]; |
} |
$javascript= array('onchange' => 'javascript:this.form.submit();'); |
$form->addElement('select', 'nom_table1', INS_TABLE, $option_tables, $javascript); |