Line 17... |
Line 17... |
17 |
// | |
|
17 |
// | |
|
18 |
// | You should have received a copy of the GNU Lesser General Public |
|
18 |
// | You should have received a copy of the GNU Lesser General Public |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
22 |
// CVS : $Id: bazar.fonct.php,v 1.74.2.10 2008-02-01 17:20:18 florian Exp $
|
22 |
// CVS : $Id: bazar.fonct.php,v 1.74.2.11 2008-03-17 11:03:02 jp_milcent Exp $
|
23 |
/**
|
23 |
/**
|
24 |
*
|
24 |
*
|
25 |
* Fonctions du module bazar
|
25 |
* Fonctions du module bazar
|
26 |
*
|
26 |
*
|
27 |
*
|
27 |
*
|
Line 29... |
Line 29... |
29 |
//Auteur original :
|
29 |
//Auteur original :
|
30 |
*@author Alexandre Granier <alexandre@tela-botanica.org>
|
30 |
*@author Alexandre Granier <alexandre@tela-botanica.org>
|
31 |
*@author Florian Schmitt <florian@ecole-et-nature.org>
|
31 |
*@author Florian Schmitt <florian@ecole-et-nature.org>
|
32 |
//Autres auteurs :
|
32 |
//Autres auteurs :
|
33 |
*@copyright Tela-Botanica 2000-2004
|
33 |
*@copyright Tela-Botanica 2000-2004
|
34 |
*@version $Revision: 1.74.2.10 $ $Date: 2008-02-01 17:20:18 $
|
34 |
*@version $Revision: 1.74.2.11 $ $Date: 2008-03-17 11:03:02 $
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
36 |
*/
|
36 |
*/
|
Line 37... |
Line 37... |
37 |
|
37 |
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
Line 646... |
Line 646... |
646 |
//------------------------------------------------------------------------------------------------
|
646 |
//------------------------------------------------------------------------------------------------
|
647 |
if ($mode == BAZ_ACTION_MODIFIER) {
|
647 |
if ($mode == BAZ_ACTION_MODIFIER) {
|
648 |
$res=baz_afficher_formulaire_annonce('modification',$formtemplate);
|
648 |
$res=baz_afficher_formulaire_annonce('modification',$formtemplate);
|
649 |
}
|
649 |
}
|
Line 650... |
Line 650... |
650 |
|
650 |
|
651 |
// Nettoyage de l'url avant les return
|
651 |
// Nettoyage de l'url avant les return : apparement inutile sinon pose pb (url applette deconnexion et moteur de recherche) [jpm le 17 mars 2008]
|
652 |
$GLOBALS['_BAZAR_']['url']->removeQueryString(BAZ_VARIABLE_ACTION);
|
652 |
//$GLOBALS['_BAZAR_']['url']->removeQueryString(BAZ_VARIABLE_ACTION);
|
Line 653... |
Line 653... |
653 |
$GLOBALS['_BAZAR_']['url']->removeQueryString('id_fiche');
|
653 |
//$GLOBALS['_BAZAR_']['url']->removeQueryString('id_fiche');
|
654 |
|
654 |
|
655 |
//------------------------------------------------------------------------------------------------
|
655 |
//------------------------------------------------------------------------------------------------
|
656 |
//CAS DE L'INSCRIPTION D'UNE ANNONCE
|
656 |
//CAS DE L'INSCRIPTION D'UNE ANNONCE
|
Line 676... |
Line 676... |
676 |
$GLOBALS['_BAZAR_']['url']->addQueryString (BAZ_VARIABLE_VOIR, BAZ_VOIR_MES_FICHES);
|
676 |
$GLOBALS['_BAZAR_']['url']->addQueryString (BAZ_VARIABLE_VOIR, BAZ_VOIR_MES_FICHES);
|
677 |
header ('Location: '.str_replace ('&', '&', $GLOBALS['_BAZAR_']['url']->getURL())) ;
|
677 |
header ('Location: '.str_replace ('&', '&', $GLOBALS['_BAZAR_']['url']->getURL())) ;
|
678 |
exit();
|
678 |
exit();
|
679 |
}
|
679 |
}
|
680 |
}
|
680 |
}
|
681 |
}
|
- |
|
682 |
else {
|
681 |
} else {
|
683 |
|
- |
|
684 |
include_once BAZ_CHEMIN_APPLI.'bibliotheque/bazarTemplate.class.php';
|
682 |
include_once BAZ_CHEMIN_APPLI.'bibliotheque/bazarTemplate.class.php';
|
685 |
$modele = new bazarTemplate($GLOBALS['_BAZAR_']['db']);
|
683 |
$modele = new bazarTemplate($GLOBALS['_BAZAR_']['db']);
|
686 |
$res .= $modele->getTemplate(BAZ_TEMPLATE_MESSAGE_LOGIN, $GLOBALS['_BAZAR_']['langue'], $GLOBALS['_BAZAR_']['categorie_nature']);
|
684 |
$res .= $modele->getTemplate(BAZ_TEMPLATE_MESSAGE_LOGIN, $GLOBALS['_BAZAR_']['langue'], $GLOBALS['_BAZAR_']['categorie_nature']);
|
687 |
}
|
685 |
}
|
Line 1329... |
Line 1327... |
1329 |
}
|
1327 |
}
|
Line 1330... |
Line 1328... |
1330 |
|
1328 |
|
1331 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
1329 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
1332 |
*
|
1330 |
*
|
- |
|
1331 |
* $Log: not supported by cvs2svn $
|
- |
|
1332 |
* Revision 1.74.2.10 2008-02-01 17:20:18 florian
|
- |
|
1333 |
* suppression du lien annuler pour la sélection des fiches, pas de valeur par défaut pour la sélection, et sélectionner un type de fiche devient obligatoire.
|
1333 |
* $Log: not supported by cvs2svn $
|
1334 |
*
|
1334 |
* Revision 1.74.2.9 2008-02-01 16:23:29 florian
|
1335 |
* Revision 1.74.2.9 2008-02-01 16:23:29 florian
|
1335 |
* ajout champs_mail, décommenter les traductions des javascripts
|
1336 |
* ajout champs_mail, décommenter les traductions des javascripts
|
1336 |
*
|
1337 |
*
|
1337 |
* Revision 1.74.2.8 2008-02-01 09:56:56 alexandre_tb
|
1338 |
* Revision 1.74.2.8 2008-02-01 09:56:56 alexandre_tb
|