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.11 2006-10-16 15:49:07 ddelon Exp $ |
// CVS : $Id: afficheur.php,v 1.12 2006-11-21 15:50:05 jp_milcent 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.11 $ $Date: 2006-10-16 15:49:07 $ |
*@version $Revision: 1.12 $ $Date: 2006-11-21 15:50:05 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
297,6 → 297,14 |
$retour = $wikini->transform($contenu, 'Xhtml'); |
} |
|
// +---------------------------------------------------------------------------------------------------------------+ |
// Nous regardons si nous voulons surligner ou pas des mots |
if (isset($_GET['var_recherche'])) { |
$tab_mots = explode(' ', rawurldecode($_GET['var_recherche'])); |
foreach ($tab_mots as $mot) { |
$retour = str_replace($mot, '<span class="surlignage">'.$mot.'</span>', $retour); |
} |
} |
|
//---------------------------------------------------------------------------- |
// Renvoie du contenu de la page |
317,6 → 325,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.11 2006/10/16 15:49:07 ddelon |
* Refactorisation code mulitlinguisme et gestion menu invisibles |
* |
* Revision 1.10 2006/06/29 15:12:26 ddelon |
* Multilinguisme : contenu par defaut |
* |