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.rss.php,v 1.104 2007-12-14 15:58:39 alexandre_tb Exp $ |
// CVS : $Id: bazar.fonct.rss.php,v 1.105 2008-03-17 11:02:59 jp_milcent Exp $ |
/** |
* |
*@package bazar |
28,7 → 28,7 |
*@author Florian Schmitt <florian@ecole-et-nature.org> |
//Autres auteurs : |
*@copyright Tela-Botanica 2000-2006 |
*@version $Revision: 1.104 $ |
*@version $Revision: 1.105 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
483,6 → 483,7 |
else $res .= BAZ_PAS_DE_COMMENTAIRES.'<br /><br />'."\n"; |
|
//formulaire des commentaires |
if ($GLOBALS['AUTH']->getAuth()) { |
$form_commentaire = new HTML_QuickForm('bazar_commentaire', 'post', $url); |
$squelette =& $form_commentaire->defaultRenderer(); |
$squelette->setFormTemplate("\n".'<form {attributes}>'."\n".'{content}'."\n".'</form>'."\n"); |
502,13 → 503,14 |
$form_commentaire->addRule('Commentaire', BAZ_COMMENTAIRE_REQUIS, 'required', '', 'client') ; |
$form_commentaire->setRequiredNote(BAZ_CHAMPS_REQUIS) ; |
$res .= $form_commentaire->toHTML(); |
} |
$res .= '</div>'."\n"; |
} |
} |
|
// Nettoyage de l'url |
$GLOBALS['_BAZAR_']['url']->removeQueryString('action'); |
$GLOBALS['_BAZAR_']['url']->removeQueryString('id_fiche'); |
// Nettoyage de l'url avant les return : apparement inutile sinon pose pb dans Papyrus (url applette deconnexion et moteur de recherche) [jpm le 17 mars 2008] |
//$GLOBALS['_BAZAR_']['url']->removeQueryString('action'); |
//$GLOBALS['_BAZAR_']['url']->removeQueryString('id_fiche'); |
$GLOBALS['_BAZAR_']['url']->removeQueryString('id_commentaire'); |
$GLOBALS['_BAZAR_']['url']->removeQueryString('typeannonce'); |
return $res ; |
1247,6 → 1249,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.104 2007-12-14 15:58:39 alexandre_tb |
* Fusion avec la livraison AHA : 14 decembre 2007 |
* |
* Revision 1.103 2007-12-10 12:59:34 jp_milcent |
* Fusion avec la livraison AHA : 10 décembre 2007 |
* |