Subversion Repositories Applications.projet

Rev

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

Rev 10 Rev 15
Line 17... Line 17...
17
// |                                                                                                      |
17
// |                                                                                                      |
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
// +------------------------------------------------------------------------------------------------------+
22
// CVS : $Id: projet.php,v 1.3 2005-09-27 16:31:06 alexandre_tb Exp $
22
// CVS : $Id: projet.php,v 1.4 2005-09-28 16:29:39 ddelon Exp $
23
/**
23
/**
24
* Application projet
24
* Application projet
25
*
25
*
26
* Fichier d'appel pour papyrus
26
* Fichier d'appel pour papyrus
27
*
27
*
Line 29... Line 29...
29
//Auteur original :
29
//Auteur original :
30
*@author        Alexandre Granier <alexandre@tela-botanica.org>
30
*@author        Alexandre Granier <alexandre@tela-botanica.org>
31
//Autres auteurs :
31
//Autres auteurs :
32
*@author        Aucun
32
*@author        Aucun
33
*@copyright     Tela-Botanica 2000-2004
33
*@copyright     Tela-Botanica 2000-2004
34
*@version       $Revision: 1.3 $
34
*@version       $Revision: 1.4 $
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
36
*/
36
*/
Line 37... Line 37...
37
 
37
 
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
Line 64... Line 64...
64
        $GLOBALS['url']->addQueryString(PROJET_VARIABLE_ID_PROJET, $_REQUEST[PROJET_VARIABLE_ID_PROJET]) ;
64
        $GLOBALS['url']->addQueryString(PROJET_VARIABLE_ID_PROJET, $_REQUEST[PROJET_VARIABLE_ID_PROJET]) ;
65
        if (empty($_REQUEST[PROJET_VARIABLE_ACTION])) {
65
        if (empty($_REQUEST[PROJET_VARIABLE_ACTION])) {
66
            $_REQUEST[PROJET_VARIABLE_ACTION] = PROJET_ACTION_VOIR_RESUME ;
66
            $_REQUEST[PROJET_VARIABLE_ACTION] = PROJET_ACTION_VOIR_RESUME ;
67
        }
67
        }
68
        $res = '' ;
68
        $res = '' ;
69
        if (isset($GLOBALS['_GEN_commun']['info_application']->presentation) && $GLOBALS['_GEN_commun']['info_application']->presentation == 'arbre') {
69
        if (isset($GLOBALS['_GEN_commun']['info_application']->presentation) && (($GLOBALS['_GEN_commun']['info_application']->presentation == 'arbre')||($GLOBALS['_GEN_commun']['info_application']->presentation == 'liste'))) {
70
            $res .= '<ul class="onglets">';
70
            $res .= '<ul class="onglets">';
71
            $GLOBALS['url']->addQueryString(PROJET_VARIABLE_ACTION, PROJET_ACTION_VOIR_RESUME);
71
            $GLOBALS['url']->addQueryString(PROJET_VARIABLE_ACTION, PROJET_ACTION_VOIR_RESUME);
72
            $res .= '<li class="'.cma(PROJET_ACTION_VOIR_RESUME).'"><a href="'.$GLOBALS['url']->getURL().'">'.PROJET_SYNTHESE.'</a></li>';
72
            $res .= '<li class="'.cma(PROJET_ACTION_VOIR_RESUME).'"><a href="'.$GLOBALS['url']->getURL().'">'.PROJET_SYNTHESE.'</a></li>';
73
            $GLOBALS['url']->addQueryString(PROJET_VARIABLE_ACTION, PROJET_ACTION_VOIR_DESCRIPTION);
73
            $GLOBALS['url']->addQueryString(PROJET_VARIABLE_ACTION, PROJET_ACTION_VOIR_DESCRIPTION);
74
            $res .= '<li class="'.cma(PROJET_ACTION_VOIR_DESCRIPTION).'"><a href="'.$GLOBALS['url']->getURL().'">'.PROJET_DESCRIPTION.'</a></li>';
74
            $res .= '<li class="'.cma(PROJET_ACTION_VOIR_DESCRIPTION).'"><a href="'.$GLOBALS['url']->getURL().'">'.PROJET_DESCRIPTION.'</a></li>';
Line 107... Line 107...
107
    if ($id_repertoire != "") {
107
    if ($id_repertoire != "") {
108
        $controleur->setIdRepertoire($id_repertoire) ;
108
        $controleur->setIdRepertoire($id_repertoire) ;
109
    }
109
    }
Line 110... Line 110...
110
    
110
    
111
    // Dans le cas de la présentation par arbre, on met les menus
111
    // Dans le cas de la présentation par arbre, on met les menus
112
    if (isset($GLOBALS['_GEN_commun']['info_application']->presentation) && $GLOBALS['_GEN_commun']['info_application']->presentation == 'arbre') {
112
    if (isset($GLOBALS['_GEN_commun']['info_application']->presentation) && (($GLOBALS['_GEN_commun']['info_application']->presentation == 'arbre') || ($GLOBALS['_GEN_commun']['info_application']->presentation == 'liste'))){
113
        $sortie .= $controleur->menuGeneral() ;
113
        $sortie .= $controleur->menuGeneral() ;
114
    }
114
    }
115
    return $sortie;
115
    return $sortie;
Line 175... Line 175...
175
    return $class ;
175
    return $class ;
176
}
176
}
177
/* +--Fin du code ----------------------------------------------------------------------------------------+
177
/* +--Fin du code ----------------------------------------------------------------------------------------+
178
*
178
*
179
* $Log: not supported by cvs2svn $
179
* $Log: not supported by cvs2svn $
-
 
180
* Revision 1.3  2005/09/27 16:31:06  alexandre_tb
-
 
181
* ??
-
 
182
*
180
*
183
*
181
* +-- Fin du code ----------------------------------------------------------------------------------------+
184
* +-- Fin du code ----------------------------------------------------------------------------------------+
182
*/
185
*/