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.13 2007-08-28 10:33:50 alexandre_tb Exp $ |
// CVS : $Id: resume.php,v 1.13.2.1 2008-10-29 15:56:50 alexandre_tb Exp $ |
/** |
* Application projet |
* |
31,7 → 31,7 |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2005 |
*@version $Revision: 1.13 $ |
*@version $Revision: 1.13.2.1 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
45,27 → 45,27 |
|
$retour = ''; |
|
// création de l'objet projet courant |
// creation de l'objet projet courant |
include_once PROJET_CHEMIN_CLASSES.'projet.class.php' ; |
include_once PROJET_CHEMIN_CLASSES.'participe.class.php' ; |
$projet = new projet ($this->_db, $this->_id_projet) ; |
|
// récupération de la liste des documents associés |
// recuperation de la liste des documents associes |
$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 |
// creation de la vue liste de document, on nettoie l'url |
//$this->_url->removeQueryString(PROJET_VARIABLE_ACTION) ; |
include_once PROJET_CHEMIN_CLASSES.'HTML_listeDocuments.class.php' ; |
include_once (PROJET_CHEMIN_CLASSES.'ezmlmAccessObject.class.php') ; |
$vue_liste_document = new HTML_listeDocuments($this->_url, false, '', $this->_auth) ; |
|
// réglage de paramètres de la vue |
// reglage de parametres de la vue |
$vue_liste_document->setAction (array ("couper" => PROJET_ACTION_COUPER, "modifier" => PROJET_ACTION_MODIFIER, "supprimer" => PROJET_SUPPRESSION_FICHIER)) ; |
$vue_liste_document->setCheminIcones(PROJET_CHEMIN_ICONES) ; |
|
|
// vérification des droits de l'utilisateur |
// verification des droits de l'utilisateur |
$entete_liste = array (PROJET_FICHIERS_NOM, PROJET_FICHIERS_TAILLE, PROJET_FICHIERS_PAR, PROJET_FICHIERS_CREE_LE) ; |
|
if ($this->_auth->getAuth()) { |
89,7 → 89,7 |
} else { |
$visible = false ; |
} |
// récupération de la liste des documents associés |
// recuperation de la liste des documents associes |
$liste_documents = document::getDocumentsRecents(4, $this->_db, PROJET_CHEMIN_FICHIER, |
PROJET_CHEMIN_ICONES, $this->_id_projet, $visible) ; |
|
108,7 → 108,7 |
} |
} else { |
$droits = PROJET_DROIT_AUCUN ; |
// récupération de la liste des documents associés |
// recuperation de la liste des documents associes |
$liste_documents = document::getDocumentsRecents(4, $this->_db, PROJET_CHEMIN_FICHIER, |
PROJET_CHEMIN_ICONES, $this->_id_projet, false) ; |
|
119,7 → 119,7 |
$vue_liste_document->construitListe ($liste_documents, $droits, 'ignore_repertoire', $this->_db) ; |
|
$wiki_res = '' ; |
// Les wikinis associés au projet |
// Les wikinis associes au projet |
if ($projet->getWikini()) { |
$url = $GLOBALS['_GEN_commun']['url'] ; |
|
132,7 → 132,7 |
$wiki_res .= '<div>'.PROJET_WIKINI_PAS.'</div>'."\n" ; |
} |
// On charge les listes de discussion du projet |
// Pour le moment seul ezmlm est supportée |
// Pour le moment seul ezmlm est supportee |
|
$projet->getListesAssociees(); |
$sortie_liste = '' ; |
190,7 → 190,7 |
} |
} |
|
// Site internet associé |
// Site internet associe |
$sortie_web = '<h2>'.PROJET_ESPACE_INTERNET.'</h2>'."\n" ; |
if ($projet->getEspaceInternet() != '') { |
$sortie_web .= '<a href="'.$projet->getEspaceInternet().'" target="_blank">'.$projet->getEspaceInternet().'</a>'."\n" ; |
213,6 → 213,7 |
} |
} |
|
|
$retour .= '<h1>'.PROJET_PROJET.' : '.$projet->getTitre()."</h1>" ; |
$retour .= '<h2>'.PROJET_RESUME.'</h2>'."\n" ; |
$retour .= '<div>'.$projet->getResume().'</div>'."\n" ; |