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: liste.php,v 1.2 2005-11-28 16:25:23 alexandre_tb Exp $ |
// CVS : $Id: liste.php,v 1.3 2006-09-18 09:56:28 alexandre_tb Exp $ |
/** |
* Application projet |
* |
31,7 → 31,7 |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.2 $ |
*@version $Revision: 1.3 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
45,8 → 45,22 |
if (file_exists(PROJET_CHEMIN_APPLI.'langues/pro_langues_fr.local.inc.php')) |
include_once PROJET_CHEMIN_APPLI.'langues/pro_langues_fr.local.inc.php' ; |
// On vérifie si l'utilisateur participe à des projets |
if ($auth) { |
|
// Entete de la liste, qu'on recupere dans un template |
|
if (PROJET_UTILISE_TYPE && $this->_type != "") { |
include_once PROJET_CHEMIN_CLASSES.'projetTemplate.class.php' ; |
include_once 'HTML/Template/IT.php'; |
$template = new projetTemplate ($this->_db) ; |
$chaine = $template->getTemplate(2, $GLOBALS['lang'], $this->_type); |
if (projetTemplate::isError ($chaine)) echo $chaine->getMessage() ; |
$tpl = new HTML_Template_IT() ; |
$tpl -> setTemplate($chaine); |
|
} |
|
if ($auth){ |
|
$utilisateur_liste = new inscription_liste($this->_db) ; |
// On teste ici s'il y a une mise à jour de statut |
if (isset($_POST['statut'])) { |
193,6 → 207,11 |
} |
} |
// Nettoyage de l'url |
|
if (PROJET_UTILISE_TYPE && $this->_type != '') { |
$tpl->setVariable('liste_projet', $res) ; |
$res = $tpl->get(); |
} |
$this->_url->removeQueryString (PROJET_VARIABLE_ID_PROJET); |
return $titre.$res ; |
|
199,6 → 218,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.2 2005/11/28 16:25:23 alexandre_tb |
* nettoyage URL en sortie de programme |
* |
* Revision 1.1 2005/11/25 14:47:51 alexandre_tb |
* version initiale |
* |