Subversion Repositories Applications.bazar

Compare Revisions

Ignore whitespace Rev 86 → Rev 87

/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.38 2006-01-30 10:27:04 florian Exp $
// CVS : $Id: bazar.fonct.php,v 1.39 2006-01-30 17:25:38 alexandre_tb Exp $
/**
*
* Fonctions du module bazar
31,7 → 31,7
*@author Florian Schmitt <florian@ecole-et-nature.org>
//Autres auteurs :
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.38 $ $Date: 2006-01-30 10:27:04 $
*@version $Revision: 1.39 $ $Date: 2006-01-30 17:25:38 $
// +------------------------------------------------------------------------------------------------------+
*/
 
436,7 → 436,10
$lien_formulaire->addQueryString('action', BAZ_ACTION_MODIFIER_V);
$lien_formulaire->addQueryString('id_fiche', $GLOBALS['_BAZAR_']['id_fiche']);
}
if (!isset($GLOBALS['_BAZAR_']['id_typeannonce'])) $lien_formulaire->addQueryString('action', BAZ_ACTION_NOUVEAU);
if (isset($GLOBALS['_BAZAR_']['id_typeannonce']) && ($GLOBALS['_BAZAR_']['id_typeannonce'] != 'toutes')) {
$lien_formulaire->addQueryString('action', BAZ_ACTION_NOUVEAU);
$mode = BAZ_ACTION_NOUVEAU ;
}
//contruction du squelette du formulaire
$formtemplate = new HTML_QuickForm('formulaire', 'post', preg_replace ('/&amp;/', '&', $lien_formulaire->getURL()) );
479,7 → 482,10
} else {
$titre='<h3>'.constant($ligne['bn_label_nature']).' : </h3>'."\n";
}
$formtemplate->addElement('radio', 'typeannonce', '', $titre.$ligne['bn_description'].'<br /><br />'."\n", $ligne['bn_id_nature'], array("id" => 'select'.$ligne['bn_id_nature'], "style" => 'float:left;'));
$formtemplate->addElement('radio', 'typeannonce', '',
$titre.$ligne['bn_description'].'<br /><br />'."\n",
$ligne['bn_id_nature'], array("id" => 'select'.$ligne['bn_id_nature'],
"style" => 'float:left;'));
}
}
$squelette->setElementTemplate( '<div class="listechoix">'."\n".'{element}'."\n".'</div>'."\n");
1291,6 → 1297,10
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.38 2006/01/30 10:27:04 florian
* - ajout des entrées de formulaire fichier, url, et image
* - correction bug d'affichage du mode de saisie
*
* Revision 1.37 2006/01/24 14:11:11 alexandre_tb
* correction de bug sur l'ajout d'une image et d'un fichier
*