Subversion Repositories Applications.papyrus

Rev

Rev 1219 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1219 Rev 1246
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.php,v 1.35.2.1 2007-02-15 13:42:16 jp_milcent Exp $
22
// CVS : $Id: bazar.php,v 1.35.2.2 2007-03-07 16:53:17 jp_milcent Exp $
23
/**
23
/**
24
* 
24
* 
25
*@package bazar
25
*@package bazar
26
//Auteur original :
26
//Auteur original :
27
*@author        Alexandre GRANIER <alexandre@tela-botanica.org>
27
*@author        Alexandre GRANIER <alexandre@tela-botanica.org>
28
*@author        Florian Schmitt <florian@ecole-et-nature.org>
28
*@author        Florian Schmitt <florian@ecole-et-nature.org>
29
//Autres auteurs :
29
//Autres auteurs :
30
*@copyright     Tela-Botanica 2000-2004
30
*@copyright     Tela-Botanica 2000-2004
31
*@version       $Revision: 1.35.2.1 $ $Date: 2007-02-15 13:42:16 $
31
*@version       $Revision: 1.35.2.2 $ $Date: 2007-03-07 16:53:17 $
32
// +------------------------------------------------------------------------------------------------------+
32
// +------------------------------------------------------------------------------------------------------+
33
*/
33
*/
Line 34... Line 34...
34
 
34
 
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
Line 126... Line 126...
126
		//partie consultation d'annonces
126
		//partie consultation d'annonces
127
		$GLOBALS['_BAZAR_']['url']->addQueryString('action', BAZ_VOIR_TOUTES_ANNONCES);
127
		$GLOBALS['_BAZAR_']['url']->addQueryString('action', BAZ_VOIR_TOUTES_ANNONCES);
128
		$res .= '<li id="consulter"';
128
		$res .= '<li id="consulter"';
129
		if (!isset($_GET['action']) || (isset($_GET['action']) && ($_GET['action']==BAZ_VOIR_TOUTES_ANNONCES || $_GET['action']==BAZ_VOIR_FICHE))) $res .=' class="onglet_actif" ';
129
		if (!isset($_GET['action']) || (isset($_GET['action']) && ($_GET['action']==BAZ_VOIR_TOUTES_ANNONCES || $_GET['action']==BAZ_VOIR_FICHE))) $res .=' class="onglet_actif" ';
130
		$res .='><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.BAZ_CONSULTER.'</a>'."\n".'</li>'."\n";
130
		$res .='><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.BAZ_CONSULTER.'</a>'."\n".'</li>'."\n";
131
		$GLOBALS['_BAZAR_']['url']->removeQueryString('nature');
131
		$GLOBALS['_BAZAR_']['url']->removeQueryString('action');
Line 132... Line 132...
132
	
132
	
133
		// Mes fiches
133
		// Mes fiches
134
		$GLOBALS['_BAZAR_']['url']->addQueryString('action', BAZ_ACTION_VOIR_VOS_ANNONCES);
134
		$GLOBALS['_BAZAR_']['url']->addQueryString('action', BAZ_ACTION_VOIR_VOS_ANNONCES);
135
		$res .= '<li id="consulter"';
135
		$res .= '<li id="consulter"';
136
		if (isset($_GET['action']) && $_GET['action']==BAZ_ACTION_VOIR_VOS_ANNONCES) $res .=' class="onglet_actif" ';
136
		if (isset($_GET['action']) && $_GET['action']==BAZ_ACTION_VOIR_VOS_ANNONCES) $res .=' class="onglet_actif" ';
137
		$res .= '><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.BAZ_VOIR_VOS_ANNONCES.'</a>'."\n".'</li>'."\n";
137
		$res .= '><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.BAZ_VOIR_VOS_ANNONCES.'</a>'."\n".'</li>'."\n";
Line 138... Line 138...
138
		$GLOBALS['_BAZAR_']['url']->removeQueryString('nature');
138
		$GLOBALS['_BAZAR_']['url']->removeQueryString('action');
139
		
139
		
140
		//partie abonnement aux annonces
140
		//partie abonnement aux annonces
141
		$GLOBALS['_BAZAR_']['url']->addQueryString('action', BAZ_S_INSCRIRE);
141
		$GLOBALS['_BAZAR_']['url']->addQueryString('action', BAZ_S_INSCRIRE);
Line 223... Line 223...
223
 
223
 
224
 
224
 
225
/* +--Fin du code ----------------------------------------------------------------------------------------+
225
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
226
*
-
 
227
* $Log: not supported by cvs2svn $
-
 
228
* Revision 1.35.2.1  2007/02/15 13:42:16  jp_milcent
-
 
229
* Utilisation de IN à la place du = dans les requêtes traitant les catégories de fiches.
226
*
230
* Permet d'utiliser la syntaxe 1,2,3 dans la configuration de categorie_nature.
227
* $Log: not supported by cvs2svn $
231
*
228
* Revision 1.35  2006/10/05 08:53:50  florian
232
* Revision 1.35  2006/10/05 08:53:50  florian
229
* amelioration moteur de recherche, correction de bugs
233
* amelioration moteur de recherche, correction de bugs
230
*
234
*