Line 17... |
Line 17... |
17 |
// | |
|
17 |
// | |
|
18 |
// | You should have received a copy of the GNU General Public |
|
18 |
// | You should have received a copy of the GNU 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: liste.php,v 1.4 2006-12-18 17:24:09 alexandre_tb Exp $
|
22 |
// CVS : $Id: liste.php,v 1.5 2006-12-19 09:48:50 alexandre_tb Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Application projet
|
24 |
* Application projet
|
25 |
*
|
25 |
*
|
26 |
* Fichier de présentation de la liste des projets
|
26 |
* Fichier de présentation de la liste des projets
|
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 |
//Autres auteurs :
|
31 |
//Autres auteurs :
|
32 |
*@author Aucun
|
32 |
*@author Aucun
|
33 |
*@copyright Tela-Botanica 2000-2004
|
33 |
*@copyright Tela-Botanica 2000-2004
|
34 |
*@version $Revision: 1.4 $
|
34 |
*@version $Revision: 1.5 $
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
36 |
*/
|
36 |
*/
|
Line 37... |
Line 37... |
37 |
|
37 |
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
Line 51... |
Line 51... |
51 |
if (PROJET_UTILISE_TYPE && $this->_type != "") {
|
51 |
if (PROJET_UTILISE_TYPE && $this->_type != "") {
|
52 |
include_once PROJET_CHEMIN_CLASSES.'projetTemplate.class.php' ;
|
52 |
include_once PROJET_CHEMIN_CLASSES.'projetTemplate.class.php' ;
|
53 |
include_once 'HTML/Template/IT.php';
|
53 |
include_once 'HTML/Template/IT.php';
|
54 |
$template = new projetTemplate ($this->_db) ;
|
54 |
$template = new projetTemplate ($this->_db) ;
|
55 |
$chaine = $template->getTemplate(2, $GLOBALS['lang'], $this->_type);
|
55 |
$chaine = $template->getTemplate(2, $GLOBALS['lang'], $this->_type);
|
56 |
if (projetTemplate::isError ($chaine)) echo $chaine->getMessage() ;
|
56 |
if (projetTemplate::isError ($chaine)) return $chaine->getMessage() ;
|
57 |
$tpl = new HTML_Template_IT() ;
|
57 |
$tpl = new HTML_Template_IT() ;
|
58 |
$tpl -> setTemplate($chaine);
|
58 |
$tpl -> setTemplate($chaine);
|
Line 59... |
Line 59... |
59 |
|
59 |
|
Line 216... |
Line 216... |
216 |
return $titre.$res ;
|
216 |
return $titre.$res ;
|
Line 217... |
Line 217... |
217 |
|
217 |
|
218 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
218 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
219 |
*
|
219 |
*
|
- |
|
220 |
* $Log: not supported by cvs2svn $
|
- |
|
221 |
* Revision 1.4 2006/12/18 17:24:09 alexandre_tb
|
- |
|
222 |
* inclusion du fichier de langue en utilisant la globale 'lang'
|
220 |
* $Log: not supported by cvs2svn $
|
223 |
*
|
221 |
* Revision 1.3 2006/09/18 09:56:28 alexandre_tb
|
224 |
* Revision 1.3 2006/09/18 09:56:28 alexandre_tb
|
222 |
* utilisation d'un template pour l'entête de la liste des projets
|
225 |
* utilisation d'un template pour l'entête de la liste des projets
|
223 |
*
|
226 |
*
|
224 |
* Revision 1.2 2005/11/28 16:25:23 alexandre_tb
|
227 |
* Revision 1.2 2005/11/28 16:25:23 alexandre_tb
|