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: afficheur.php,v 1.2 2004-11-26 13:10:05 jpm Exp $ |
// CVS : $Id: afficheur.php,v 1.3 2004-12-07 12:24:30 jpm Exp $ |
/** |
* Application réalisant l'affichage du contenu stocké dans Papyrus. |
* |
31,7 → 31,7 |
//Autres auteurs : |
*@author Alexandre GRANIER <alexandrel@tela-botanica.org> |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.2 $ $Date: 2004-11-26 13:10:05 $ |
*@version $Revision: 1.3 $ $Date: 2004-12-07 12:24:30 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
82,7 → 82,7 |
(DB::isError($resultat)) ? die(BOG_afficherErreurSql(__FILE__, __LINE__, $resultat->getMessage(), $requete)) : ''; |
|
/** Inclusion de la bibliothèque Text_Wiki_Papyrus.*/ |
include_once AFFI_CHEMIN_BIBLIOTHEQUE_API.'text_wiki_papyrus/Papyrus.class.php'; |
include_once AFFI_CHEMIN_BIBLIOTHEQUE_API.'text/wiki_papyrus/Papyrus.class.php'; |
// Nous regardons si nous avons à faire à un texte sous format Wikini |
if ($ligne_contenu->gmc_ce_type_contenu == 1) { |
// Création d'un objet Text_Papyrus : |
96,7 → 96,7 |
// Application des règles de Papyrus : |
$retour = $papyrus->transform($contenu, 'Xhtml'); |
} else if ($ligne_contenu->gmc_ce_type_contenu == 2) { |
include_once AFFI_CHEMIN_BIBLIOTHEQUE_API.'text_wiki_wikini/Wikini.class.php'; |
include_once AFFI_CHEMIN_BIBLIOTHEQUE_API.'text/wiki_wikini/Wikini.class.php'; |
// Création d'un objet Text_Wikini : |
$wikini =& new Text_Wikini(); |
// Pour éviter de remplacer les caractères spéciaux du XHTML: |
139,6 → 139,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.2 2004/11/26 13:10:05 jpm |
* Utilisation des actions Papyrus et implémentation de la syntaxe Wikini. |
* |
* Revision 1.1 2004/06/16 14:35:26 jpm |
* Changement de nom de Génésia en Papyrus. |
* Changement de l'arborescence. |