Subversion Repositories Applications.projet

Rev

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

Rev 156 Rev 158
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.32 2007-01-02 14:30:12 alexandre_tb Exp $
23
// CVS : $Id: projetControleur.class.php,v 1.33 2007-01-04 17:04:19 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.32 $
36
*@version       $Revision: 1.33 $
37
// +------------------------------------------------------------------------------------------------------+
37
// +------------------------------------------------------------------------------------------------------+
38
*/
38
*/
Line 39... Line 39...
39
 
39
 
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
Line 1694... Line 1694...
1694
     * @return string
1694
     * @return string
1695
     * @access public
1695
     * @access public
1696
     */
1696
     */
1697
    function referencerListeExterne( )
1697
    function referencerListeExterne( )
1698
    {
1698
    {
-
 
1699
        $requete = 'show tables like \'agora\'' ;
-
 
1700
        $resultat = $this->_db->query ($requete);
-
 
1701
        if ($resultat->numRows() == 0) {
-
 
1702
        	return 'Cette fonctionnalité n\'est pas active' ;
-
 
1703
        }
1699
        $res = '<h1>'.PROJET_REFERENCER_LISTE.'</h1>' ;
1704
        $res = '<h1>'.PROJET_REFERENCER_LISTE.'</h1>' ;
1700
        include_once PROJET_CHEMIN_CLASSES.'liste_externe.class.php' ;
1705
        include_once PROJET_CHEMIN_CLASSES.'liste_externe.class.php' ;
1701
        $liste_externe = new liste_externe($this->_db) ;
1706
        $liste_externe = new liste_externe($this->_db) ;
1702
        include_once PROJET_CHEMIN_CLASSES.'HTML_formulaireListeExterne.class.php' ;
1707
        include_once PROJET_CHEMIN_CLASSES.'HTML_formulaireListeExterne.class.php' ;
1703
        $this->_url->addQueryString(PROJET_VARIABLE_ID_PROJET, $this->_id_projet) ;
1708
        $this->_url->addQueryString(PROJET_VARIABLE_ID_PROJET, $this->_id_projet) ;