Line 17... |
Line 17... |
17 |
// | |
|
17 |
// | |
|
18 |
// | You should have received a copy of the GNU Lesser General Public |
|
18 |
// | You should have received a copy of the GNU Lesser 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: afficheur.php,v 1.3 2004-12-07 12:24:30 jpm Exp $
|
22 |
// CVS : $Id: afficheur.php,v 1.4 2005-02-22 18:25:13 jpm Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Application réalisant l'affichage du contenu stocké dans Papyrus.
|
24 |
* Application réalisant l'affichage du contenu stocké dans Papyrus.
|
25 |
*
|
25 |
*
|
26 |
* Récupère le dernier contenu lié à un menu et le retourne.
|
26 |
* Récupère le dernier contenu lié à un menu et le retourne.
|
27 |
*
|
27 |
*
|
Line 29... |
Line 29... |
29 |
//Auteur original :
|
29 |
//Auteur original :
|
30 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
30 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
31 |
//Autres auteurs :
|
31 |
//Autres auteurs :
|
32 |
*@author Alexandre GRANIER <alexandrel@tela-botanica.org>
|
32 |
*@author Alexandre GRANIER <alexandrel@tela-botanica.org>
|
33 |
*@copyright Tela-Botanica 2000-2004
|
33 |
*@copyright Tela-Botanica 2000-2004
|
34 |
*@version $Revision: 1.3 $ $Date: 2004-12-07 12:24:30 $
|
34 |
*@version $Revision: 1.4 $ $Date: 2005-02-22 18:25:13 $
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
36 |
*/
|
36 |
*/
|
Line 37... |
Line 37... |
37 |
|
37 |
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
Line 75... |
Line 75... |
75 |
'FROM gen_menu_contenu '.
|
75 |
'FROM gen_menu_contenu '.
|
76 |
'WHERE gmc_ce_menu = '.$GLOBALS['_AFFICHEUR']['menu_courant_id'].' '.
|
76 |
'WHERE gmc_ce_menu = '.$GLOBALS['_AFFICHEUR']['menu_courant_id'].' '.
|
77 |
'AND gmc_bool_dernier = 1';
|
77 |
'AND gmc_bool_dernier = 1';
|
Line 78... |
Line 78... |
78 |
|
78 |
|
- |
|
79 |
$resultat = $GLOBALS['_AFFICHEUR']['objet_pear_db']->query($requete);
|
79 |
$resultat = $GLOBALS['_AFFICHEUR']['objet_pear_db']->query($requete);
|
80 |
(DB::isError($resultat)) ? die(BOG_afficherErreurSql(__FILE__, __LINE__, $resultat->getMessage(), $requete)) : '';
|
80 |
$ligne_contenu = $resultat->fetchRow(DB_FETCHMODE_OBJECT);
|
81 |
$ligne_contenu = $resultat->fetchRow(DB_FETCHMODE_OBJECT);
|
81 |
$contenu = $ligne_contenu->gmc_contenu;
|
- |
|
Line 82... |
Line 82... |
82 |
(DB::isError($resultat)) ? die(BOG_afficherErreurSql(__FILE__, __LINE__, $resultat->getMessage(), $requete)) : '';
|
82 |
$contenu = $ligne_contenu->gmc_contenu;
|
83 |
|
83 |
|
84 |
/** Inclusion de la bibliothèque Text_Wiki_Papyrus.*/
|
84 |
/** Inclusion de la bibliothèque Text_Wiki_Papyrus.*/
|
85 |
include_once AFFI_CHEMIN_BIBLIOTHEQUE_API.'text/wiki_papyrus/Papyrus.class.php';
|
85 |
include_once AFFI_CHEMIN_BIBLIOTHEQUE_API.'text/wiki_papyrus/Papyrus.class.php';
|
Line 137... |
Line 137... |
137 |
|
137 |
|
138 |
|
138 |
|
139 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
139 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
- |
|
140 |
*
|
- |
|
141 |
* $Log: not supported by cvs2svn $
|
- |
|
142 |
* Revision 1.3 2004/12/07 12:24:30 jpm
|
140 |
*
|
143 |
* Changement chemin d'accés à l'api Text/Wiki...
|
141 |
* $Log: not supported by cvs2svn $
|
144 |
*
|
142 |
* Revision 1.2 2004/11/26 13:10:05 jpm
|
145 |
* Revision 1.2 2004/11/26 13:10:05 jpm
|
143 |
* Utilisation des actions Papyrus et implémentation de la syntaxe Wikini.
|
146 |
* Utilisation des actions Papyrus et implémentation de la syntaxe Wikini.
|
144 |
*
|
147 |
*
|