Subversion Repositories Applications.bazar

Compare Revisions

Ignore whitespace Rev 56 → Rev 57

/trunk/bazar.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: bazar.php,v 1.16 2005-12-01 15:31:30 florian Exp $
// CVS : $Id: bazar.php,v 1.17 2005-12-01 16:05:41 florian Exp $
/**
*
*@package bazar
28,7 → 28,7
*@author Florian Schmitt <florian@ecole-et-nature.org>
//Autres auteurs :
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.16 $ $Date: 2005-12-01 15:31:30 $
*@version $Revision: 1.17 $ $Date: 2005-12-01 16:05:41 $
// +------------------------------------------------------------------------------------------------------+
*/
 
62,8 → 62,8
// +------------------------------------------------------------------------------------------------------+
 
error_reporting(E_ALL);
require_once PAP_CHEMIN_RACINE.'api/pear/DB.php' ;
require_once PAP_CHEMIN_RACINE.'api/pear/Auth.php' ;
require_once 'DB.php' ;
require_once 'Auth.php' ;
require_once 'configuration/baz_config.inc.php'; //fichier de configuration de Bazar
require_once 'bibliotheque/bazar.fonct.php'; //fichier des fonctions de Bazar
 
184,6 → 184,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.16 2005/12/01 15:31:30 florian
* correction bug modifs et saisies
*
* Revision 1.15 2005/11/30 13:58:45 florian
* ajouts graphisme (logos, boutons), changement structure SQL bazar_fiche
*
/trunk/bibliotheque/bazar.fonct.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: bazar.fonct.php,v 1.21 2005-12-01 15:31:30 florian Exp $
// CVS : $Id: bazar.fonct.php,v 1.22 2005-12-01 16:05:41 florian Exp $
/**
*
* Fonctions du module bazar
30,7 → 30,7
*@author Florian Schmitt <florian@ecole-et-nature.org>
//Autres auteurs :
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.21 $ $Date: 2005-12-01 15:31:30 $
*@version $Revision: 1.22 $ $Date: 2005-12-01 16:05:41 $
// +------------------------------------------------------------------------------------------------------+
*/
 
37,10 → 37,10
// +------------------------------------------------------------------------------------------------------+
// | ENTETE du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
require_once PAP_CHEMIN_RACINE.'api/pear/HTML/QuickForm.php' ;
require_once PAP_CHEMIN_RACINE.'api/pear/HTML/QuickForm/checkbox.php' ;
require_once PAP_CHEMIN_RACINE.'api/pear/HTML/QuickForm/textarea.php' ;
require_once PAP_CHEMIN_RACINE.'api/pear/HTML/Table.php' ;
require_once 'HTML/QuickForm.php' ;
require_once 'HTML/QuickForm/checkbox.php' ;
require_once 'HTML/QuickForm/textarea.php' ;
require_once 'HTML/Table.php' ;
require_once 'bazar.fonct.formulaire.php';
require_once 'bazar.fonct.rss.php';
 
1343,6 → 1343,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.21 2005/12/01 15:31:30 florian
* correction bug modifs et saisies
*
* Revision 1.20 2005/11/30 13:58:45 florian
* ajouts graphisme (logos, boutons), changement structure SQL bazar_fiche
*
/trunk/bibliotheque/bazar.fonct.formulaire.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: bazar.fonct.formulaire.php,v 1.9 2005-11-24 16:17:13 florian Exp $
// CVS : $Id: bazar.fonct.formulaire.php,v 1.10 2005-12-01 16:05:41 florian Exp $
/**
* Formulaire
*
31,7 → 31,7
//Autres auteurs :
*@author Aleandre GRANIER <alexandre@tela-botanica.org>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.9 $ $Date: 2005-11-24 16:17:13 $
*@version $Revision: 1.10 $ $Date: 2005-12-01 16:05:41 $
// +------------------------------------------------------------------------------------------------------+
*/
 
61,7 → 61,7
$select[$ligne[0]] = $ligne[1] ;
}
$option=array('style'=>'width: '.$limite1.'px;');
require_once PAP_CHEMIN_RACINE.'api/pear/HTML/QuickForm/select.php';
require_once 'HTML/QuickForm/select.php';
$select= new HTML_QuickForm_select($nom_bdd, constant($label), $select, $option);
$select->setSize($limite2);
$select->setMultiple(0);
95,7 → 95,7
if (DB::isError ($resultat)) {
die ($GLOBALS['_BAZAR_']['db']->getMessage().$GLOBALS['_BAZAR_']['db']->getDebugInfo()) ;
}
require_once PAP_CHEMIN_RACINE.'api/pear/HTML/QuickForm/advcheckbox.php' ;
require_once 'HTML/QuickForm/advcheckbox.php' ;
$i=0;
while ($ligne = $resultat->fetchRow()) {
//$chkbox[$ligne[0]] = $ligne[1] ;
213,7 → 213,7
* @return void
*/
function labelhtml(&$formtemplate, $nom_bdd , $label, $limite1, $limite2, $defaut, $source, $obligatoire) {
require_once PAP_CHEMIN_RACINE.'api/pear/HTML/QuickForm/html.php';
require_once 'HTML/QuickForm/html.php';
$formhtml= new HTML_QuickForm_html('<li>'.constant($label).'</li>'."\n");
$formtemplate->addElement($formhtml) ;
}
221,6 → 221,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.9 2005/11/24 16:17:13 florian
* corrections bugs, ajout des cases à cocher
*
* Revision 1.8 2005/11/18 16:03:23 florian
* correction bug html entites
*
/trunk/bibliotheque/bazar.fonct.rss.php
349,7 → 349,7
$option=array('style'=>'width:300px;', 'maxlength'=>100);
$form_commentaire->addElement('text', 'Nom', BAZ_ENTREZ_VOTRE_NOM, $option);
$option=array('style'=>'width:100%;height:100px;white-space: pre;padding:3px;');
require_once PAP_CHEMIN_RACINE.'api/pear/HTML/QuickForm/textarea.php';
require_once 'HTML/QuickForm/textarea.php';
$formtexte= new HTML_QuickForm_textarea('Commentaire', BAZ_ENTREZ_VOTRE_COMMENTAIRE, $option);
$form_commentaire->addElement($formtexte) ;
$form_commentaire->addElement('submit', 'Envoyer', BAZ_ENVOYER);