| 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.71 2007-10-22 09:18:39 alexandre_tb Exp $
|
22 |
// CVS : $Id: bazar.fonct.php,v 1.72 2007-10-22 10:09:21 florian 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.71 $ $Date: 2007-10-22 09:18:39 $
|
34 |
*@version $Revision: 1.72 $ $Date: 2007-10-22 10:09:21 $
|
| 35 |
// +------------------------------------------------------------------------------------------------------+
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
| 36 |
*/
|
36 |
*/
|
| Line 37... |
Line 37... |
| 37 |
|
37 |
|
| 38 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
| Line 306... |
Line 306... |
| 306 |
}
|
306 |
}
|
| 307 |
else {
|
307 |
else {
|
| Line 308... |
Line 308... |
| 308 |
|
308 |
|
| 309 |
include_once BAZ_CHEMIN_APPLI.'bibliotheque/bazarTemplate.class.php';
|
309 |
include_once BAZ_CHEMIN_APPLI.'bibliotheque/bazarTemplate.class.php';
|
| 310 |
$modele = new bazarTemplate($GLOBALS['_BAZAR_']['db']);
|
310 |
$modele = new bazarTemplate($GLOBALS['_BAZAR_']['db']);
|
| 311 |
$res .= $modele->getTemplate(BAZ_TEMPLATE_MESSAGE_LOGIN, $GLOBALS['_BAZAR_']['langue']);
|
311 |
$res .= $modele->getTemplate(BAZ_TEMPLATE_MESSAGE_LOGIN, $GLOBALS['_BAZAR_']['langue'], $GLOBALS['_BAZAR_']['categorie_nature']);
|
| 312 |
}
|
312 |
}
|
| 313 |
return $res;
|
313 |
return $res;
|
| Line 314... |
Line 314... |
| 314 |
}
|
314 |
}
|
| Line 678... |
Line 678... |
| 678 |
}
|
678 |
}
|
| 679 |
else {
|
679 |
else {
|
| Line 680... |
Line 680... |
| 680 |
|
680 |
|
| 681 |
include_once BAZ_CHEMIN_APPLI.'bibliotheque/bazarTemplate.class.php';
|
681 |
include_once BAZ_CHEMIN_APPLI.'bibliotheque/bazarTemplate.class.php';
|
| 682 |
$modele = new bazarTemplate($GLOBALS['_BAZAR_']['db']);
|
682 |
$modele = new bazarTemplate($GLOBALS['_BAZAR_']['db']);
|
| 683 |
$res .= $modele->getTemplate(BAZ_TEMPLATE_MESSAGE_LOGIN, $GLOBALS['_BAZAR_']['langue']);
|
683 |
$res .= $modele->getTemplate(BAZ_TEMPLATE_MESSAGE_LOGIN, $GLOBALS['_BAZAR_']['langue'], $GLOBALS['_BAZAR_']['categorie_nature']);
|
| Line 684... |
Line 684... |
| 684 |
}
|
684 |
}
|
| 685 |
|
685 |
|
| Line 1374... |
Line 1374... |
| 1374 |
}
|
1374 |
}
|
| Line 1375... |
Line 1375... |
| 1375 |
|
1375 |
|
| 1376 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
1376 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
| 1377 |
*
|
1377 |
*
|
| - |
|
1378 |
* $Log: not supported by cvs2svn $
|
| - |
|
1379 |
* Revision 1.71 2007-10-22 09:18:39 alexandre_tb
|
| - |
|
1380 |
* prise en compte de la langue dans les requetes sur bazar_nature
|
| 1378 |
* $Log: not supported by cvs2svn $
|
1381 |
*
|
| 1379 |
* Revision 1.70 2007-10-10 13:26:36 alexandre_tb
|
1382 |
* Revision 1.70 2007-10-10 13:26:36 alexandre_tb
|
| 1380 |
* utilisation de la classe Administrateur_bazar a la place de niveau_droit
|
1383 |
* utilisation de la classe Administrateur_bazar a la place de niveau_droit
|
| 1381 |
* suppression de fonction niveau_droit
|
1384 |
* suppression de fonction niveau_droit
|
| 1382 |
*
|
1385 |
*
|