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: projet.php,v 1.15 2007-06-25 12:15:06 alexandre_tb Exp $ |
// CVS : $Id: projet.php,v 1.16 2008-08-25 15:26:18 alexandre_tb Exp $ |
/** |
* Application projet |
* |
31,7 → 31,7 |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.15 $ |
*@version $Revision: 1.16 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
45,9 → 45,13 |
// Inclusion des styles selon papyrus |
if (function_exists("GEN_stockerStyleExterne")) { |
if (file_exists('client/projet/projet.css')) GEN_stockerStyleExterne('projet','client/projet/projet.css') ; |
if (file_exists('client/projet/arbre.css')) GEN_stockerStyleExterne('projet_arbre','client/projet/arbre.css') ; |
} |
|
// Nettoyage de la variable logout de papyrus |
$GLOBALS['url']->removeQueryString('logout'); |
|
// Nous indiquons à Papyrus de ne pas chercher de balises d'applettes dans le contenu généré par l'appli |
$GLOBALS['_PAPYRUS_']['applette']['analyse'] = true; |
// +------------------------------------------------------------------------------------------------------+ |
// | LISTE des constantes | |
// +------------------------------------------------------------------------------------------------------+ |
81,7 → 85,7 |
$GLOBALS['url']->addQueryString(PROJET_VARIABLE_ACTION, PROJET_ACTION_VOIR_PARTICIPANT) ; |
$res .= '<li id="projet_participants" class="'.cma(PROJET_ACTION_VOIR_PARTICIPANT).'"><a href="'.$GLOBALS['url']->getURL().'">Participants</a></li>'; |
$res .= '</ul>'; |
$GLOBALS['url']->removeQueryString (PROJET_VARIABLE_ACTION) ; |
//$GLOBALS['url']->removeQueryString (PROJET_VARIABLE_ACTION) ; |
} |
if (isset ($GLOBALS['_GEN_commun']['info_application']->seulement_forum)) { |
$res = '' ; |
121,6 → 125,7 |
|
$sortie .= $controleur->menuGeneral() ; |
} |
|
if (isset($GLOBALS['_GEN_commun']['info_application']->seulement)) { |
$controleur->setIdProjet($GLOBALS['_GEN_commun']['info_application']->seulement) ; |
} |
139,6 → 144,7 |
if (isset ($GLOBALS['_GEN_commun']['info_application']->seulement_forum)) { |
return ; |
} |
|
return $sortie; |
} |
|
148,7 → 154,7 |
// On recherche une action dans la variable $action, s'il n'y a pas, on envoie defaut |
$action = isset($_REQUEST[PROJET_VARIABLE_ACTION]) ? $_REQUEST[PROJET_VARIABLE_ACTION] : PROJET_DEFAUT; |
|
// on fait de même pour id_projet |
// on fait de meme pour id_projet |
$id_projet = isset($_REQUEST[PROJET_VARIABLE_ID_PROJET]) ? $_REQUEST[PROJET_VARIABLE_ID_PROJET] : ''; |
|
$service = isset($_REQUEST[PROJET_VARIABLE_SERVICE]) ? $_REQUEST[PROJET_VARIABLE_SERVICE] : ''; |
160,7 → 166,7 |
// et pour id_document |
$id_document = isset($_REQUEST['id_document']) ? $_REQUEST['id_document'] : ''; |
|
// On construit le controleur en lui passant en paramètre l'identifiant de connexion à la BD |
// On construit le controleur en lui passant en parametre l'identifiant de connexion a la BD |
// l'objet d'authentification et l'url de la page |
|
$controleur = new projetControleur(&$GLOBALS['projet_db'], &$GLOBALS['projet_auth'], &$GLOBALS['url']) ; |
228,8 → 234,11 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.15 2007-06-25 12:15:06 alexandre_tb |
* merge from narmer |
* |
* Revision 1.14 2007/04/19 15:34:35 neiluj |
* préparration release (livraison) "Narmer" - v0.25 |
* preparration release (livraison) "Narmer" - v0.25 |
* |
* Revision 1.13 2007/04/19 09:18:46 alexandre_tb |
* ajout de la variable $service pour appeler les services (dans la cadre de liaisons asynchrones |