Subversion Repositories Applications.projet

Compare Revisions

Ignore whitespace Rev 96 → Rev 97

/trunk/actions/resume.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: resume.php,v 1.6 2005-12-13 10:48:52 alexandre_tb Exp $
// CVS : $Id: resume.php,v 1.7 2006-01-18 10:51:01 alexandre_tb Exp $
/**
* Application projet
*
31,7 → 31,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2005
*@version $Revision: 1.6 $
*@version $Revision: 1.7 $
// +------------------------------------------------------------------------------------------------------+
*/
 
48,7 → 48,8
$projet = new projet ($this->_db, $this->_id_projet) ;
 
// récupération de la liste des documents associés
$liste_documents = document::getDocumentsRecents(4, $this->_db, PROJET_CHEMIN_FICHIER, PROJET_CHEMIN_ICONES, $this->_id_projet) ;
$liste_documents = document::getDocumentsRecents(4, $this->_db, PROJET_CHEMIN_FICHIER,
PROJET_CHEMIN_ICONES, $this->_id_projet) ;
 
// création de la vue liste de document, on nettoie l'url
//$this->_url->removeQueryString(PROJET_VARIABLE_ACTION) ;
77,7 → 78,15
if ($statut !='' || $isAdm) {
array_push ($entete_liste, PROJET_FICHIERS_VISIBILITE) ;
$visible = true ;
} else {
$visible = false ;
}
// récupération de la liste des documents associés
$liste_documents = document::getDocumentsRecents(4, $this->_db, PROJET_CHEMIN_FICHIER,
PROJET_CHEMIN_ICONES, $this->_id_projet, $visible) ;
 
// si chef de projet ou si propriétaire d'au moins 1 document
$proprietaire_un_document = false ;
 
92,6 → 101,10
}
} else {
$droits = PROJET_DROIT_AUCUN ;
// récupération de la liste des documents associés
$liste_documents = document::getDocumentsRecents(4, $this->_db, PROJET_CHEMIN_FICHIER,
PROJET_CHEMIN_ICONES, $this->_id_projet, false) ;
}
if (!isset($droits)) $droits = PROJET_DROIT_AUCUN ;