Subversion Repositories Applications.projet

Rev

Rev 323 | Rev 332 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 323 Rev 331
Line 18... Line 18...
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
// +------------------------------------------------------------------------------------------------------+
Line 22... Line 22...
22
 
22
 
Line 23... Line 23...
23
// CVS : $Id: projetControleur.class.php,v 1.44 2008-08-26 08:52:28 alexandre_tb Exp $
23
// CVS : $Id: projetControleur.class.php,v 1.45 2008-08-26 12:42:10 alexandre_tb Exp $
24
 
24
 
25
/**
25
/**
26
* Application projet
26
* Application projet
Line 31... Line 31...
31
//Auteur original :
31
//Auteur original :
32
*@author        Alexandre Granier <alexandre@tela-botanica.org>
32
*@author        Alexandre Granier <alexandre@tela-botanica.org>
33
//Autres auteurs :
33
//Autres auteurs :
34
*@author        Aucun
34
*@author        Aucun
35
*@copyright     Tela-Botanica 2000-2004
35
*@copyright     Tela-Botanica 2000-2004
36
*@version       $Revision: 1.44 $
36
*@version       $Revision: 1.45 $
37
// +------------------------------------------------------------------------------------------------------+
37
// +------------------------------------------------------------------------------------------------------+
38
*/
38
*/
Line 39... Line 39...
39
 
39
 
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
Line 807... Line 807...
807
        $document->suppressionSQL() ;
807
        $document->suppressionSQL() ;
Line 808... Line 808...
808
        
808
        
809
        // On verifie s il reste des documents associes au projet et si non on met 
809
        // On verifie s il reste des documents associes au projet et si non on met 
810
        // a jour projet.p_avoir_document
810
        // a jour projet.p_avoir_document
-
 
811
        if (count ($projet->getListesDocuments(PROJET_CHEMIN_FICHIER)) == 0) $projet->setAvoirDocument(false); 
-
 
812
        
811
        if (count ($projet->getListesDocuments(PROJET_CHEMIN_FICHIER)) == 0) $projet->setAvoirDocument(false); 
813
        $this->_url->removeQueryString(PROJET_VARIABLE_ID_DOCUMENT);
Line 812... Line 814...
812
        return ;
814
        return ;
Line 813... Line 815...
813
 
815
 
Line 1765... Line 1767...
1765
	}
1767
	}
1766
}
1768
}
1767
/* +--Fin du code ----------------------------------------------------------------------------------------+
1769
/* +--Fin du code ----------------------------------------------------------------------------------------+
1768
*
1770
*
1769
* $Log: not supported by cvs2svn $
1771
* $Log: not supported by cvs2svn $
-
 
1772
* Revision 1.44  2008-08-26 08:52:28  alexandre_tb
-
 
1773
* suppression de la methode accueilProjet desormais remplacee par resume.php
-
 
1774
*
1770
* Revision 1.43  2008-08-25 15:06:59  alexandre_tb
1775
* Revision 1.43  2008-08-25 15:06:59  alexandre_tb
1771
* ajout:
1776
* ajout:
1772
* - des notifications
1777
* - des notifications
1773
* - des messages en retour
1778
* - des messages en retour
1774
* - correction inscription a un projet avec liste externe
1779
* - correction inscription a un projet avec liste externe