Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 83 → Rev 84

/trunk/papyrus/bibliotheque/fonctions/pap_initialisation.fonct.php
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: pap_initialisation.fonct.php,v 1.3 2004-06-30 07:26:52 jpm Exp $
// CVS : $Id: pap_initialisation.fonct.php,v 1.4 2004-10-21 18:15:20 jpm Exp $
/**
* Bibliothèque de fonction pour l'initialisation de Papyrus.
*
32,7 → 32,7
//Autres auteurs :
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.3 $ $Date: 2004-06-30 07:26:52 $
*@version $Revision: 1.4 $ $Date: 2004-10-21 18:15:20 $
// +------------------------------------------------------------------------------------------------------+
*/
 
47,7 → 47,7
* lui-même peut ne pas en avoir, etc...
*
* @param integer l'identifiant d'un menu.
* @return array tableau associatif indexé avec gm_id_menu et gm_ce_application et leur valeur
* @return mixed tableau associatif indexé avec gm_id_menu et gm_ce_application et leur valeur ou false en cas d'erreur.
*/
function GEN_donnerIdPremiereApplicationLiee($id_menu)
{
85,10 → 85,7
}
else {
// Gestion des erreurs sur la recherche de l'application liée.
die('ERREUR Génésia : aucune application trouvable pour le menu demandé. <br />'.
'Menu : '.$id_menu.'<br />'.
'Ligne n° : '. __LINE__ . '<br />'.
'Fichier : '. __FILE__ . '<br />');
return false;
}
}
return $aso_application_info ;
97,6 → 94,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.3 2004/06/30 07:26:52 jpm
* Modification nom de la fonction.
*
* Revision 1.2 2004/06/18 15:51:27 alex
* Modification fonction de recherche d'application liée, elle renvoie maintenant un tableau.
*
/trunk/papyrus/bibliotheque/fonctions/pap_menu.fonct.php
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: pap_menu.fonct.php,v 1.1 2004-06-15 15:11:37 jpm Exp $
// CVS : $Id: pap_menu.fonct.php,v 1.2 2004-10-21 18:15:21 jpm Exp $
/**
* Bibliothèque de fonction sur le rendu.
*
33,7 → 33,7
*@author Alexandre GRANIER <alexadandre@tela-botanica.org>
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.1 $ $Date: 2004-06-15 15:11:37 $
*@version $Revision: 1.2 $ $Date: 2004-10-21 18:15:21 $
// +------------------------------------------------------------------------------------------------------+
*/
 
128,6 → 128,7
* nous le comparons à l'argument 1. Si c'est les même on retourne faux. Sinon on rapelle
* la fonction avec l'identifiant du père trouvé pour l'argument 2. Ainsi de suite jusqu'a
* renvoyé vrai où tomber sur un menu racine (idetifiant du père = 0).
* Si les variable sont null nous retournons false.
* C'est une fonction récursive.
*
* @param integer identifiant d'un menu numéro 1.
136,6 → 137,11
*/
function GEN_etreAncetre($id_menu_1, $id_menu_2)
{
//Test erreur
if (is_null($id_menu_1) || is_null($id_menu_2)) {
return false;
}
// Initialisation des variables.
global $db;
371,6 → 377,9
 
/* +--Fin du code ---------------------------------------------------------------------------------------+
* $Log: not supported by cvs2svn $
* Revision 1.1 2004/06/15 15:11:37 jpm
* Changement de nom et d'arborescence de Genesia en Papyrus.
*
* Revision 1.43 2004/05/05 06:13:27 jpm
* Extraction de la fonction générant le "vous êtes ici", transformée en applette.
*