Subversion Repositories Applications.projet

Compare Revisions

Regard whitespace Rev 425 → Rev 426

/trunk/presentation/mes_projets.php
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: mes_projets.php,v 1.2 2008-09-16 14:07:08 alexandre_tb Exp $
// CVS : $Id: mes_projets.php,v 1.1 2008-09-01 14:36:48 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.1 $
// +------------------------------------------------------------------------------------------------------+
*/
 
170,7 → 170,7
if (!empty($resultats)) {
$chaine_id_projet = '';
foreach ($resultats as $projet) {
$chaine_id_projet .= $this->_db->escapeSimple($projet['id']).',';
$chaine_id_projet .= $projet['id'].',';
}
$chaine_id_projet = substr($chaine_id_projet, 0, -1);
$where_recherche = ' where p_id in ('.$chaine_id_projet.')';
199,11 → 199,11
$tableau_projet = $participant->getInformationsUtilisateurs($this->_auth->getAuthData(PROJET_CHAMPS_ID));
$chaine_id_projet = '';
if (count ($tableau_projet) == 0) return '<p class="information">Vous n\'&ecirc;tes inscrit &agrave; aucun projet</p>';
foreach ($tableau_projet as $projet) $chaine_id_projet .= $this->_db->escapeSimple($projet[3]).',';
foreach ($tableau_projet as $projet) $chaine_id_projet .= $projet[3].',';
$chaine_id_projet = substr($chaine_id_projet, 0, -1);
$where_recherche .= ' where p_id in ('.$chaine_id_projet.')';
 
$from_recherche .= ' left join projet_statut_utilisateurs on psu_id_projet=p_id and psu_id_utilisateur='.$this->_auth->getAuthData(PROJET_CHAMPS_ID).
$from_recherche .= ' left join projet_statut_utilisateurs on psu_id_projet=p_id and psu_id_utilisateur='.$this->_db->escapeSimple($this->_auth->getAuthData(PROJET_CHAMPS_ID)).
' left join projet_statut on psu_id_statut=ps_id_statut';
$select = 'psu_id_statut, ps_statut_nom,';
}
243,11 → 243,11
 
// Si le projet est en dormance, on ne l affiche pas dans le mode normal
// Sauf si le theme choisit est "en dormance"
/*if ($_SESSION['_PROJET_']['projet_affichage'] != 'expert' && $ligne->p_en_dormance == 1 && $theme_selectionne != 9) {
if ($_SESSION['_PROJET_']['projet_affichage'] != 'expert' && $ligne->p_en_dormance == 1 && $theme_selectionne != 9) {
 
} else {*/
} else {
$donnees[] = $ligne;
//}
}
 
}
 
477,7 → 477,7
 
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* $Log: mes_projets.php,v $
* Revision 1.1 2008-09-01 14:36:48 alexandre_tb
* version intiale
* sert a afficher les projets auquels on est inscrit