Forum » » Divers » » [Résolu] - highlight code
Posté : 02-10-2017 10:15
:thumbs_down_reverseans ce cas ci portion de HTML on voit le dysfonctionnement de la colorisation syntaxique. Car la détection renvoi !!!javascript!!! alors qu'elle devrait renvoyer html ou xml<div class="row bg-light">
<div class="col-md-4">.col-md-4</div>
<div class="col-md-4 ml-auto">.col-md-4 .ml-auto</div>
</div>
<div class="row">
<div class="col-md-9 ml-md-auto">.col-md-3 .ml-md-auto</div>
</div>
<div class="row">
<div class="col-auto mr-auto">.col-auto .mr-auto</div>
<div class="col-auto">.col-auto</div>
</div>
/*
le géoréférencement des anonymes est basé sur un décodage des adresse ip
le géoréférencement des membres sur une géolocalisation exacte réalisé par l'utilisateur
la geolocalisation instantanée est réalisé par les api html5 de géolocalisation (!! elle n'est disponible que pour un site en https)
*/
if (!stristr($_SERVER['PHP_SELF'],"modules.php"))
die();
if (strstr($ModPath,'..') || strstr($ModStart,'..') || stristr($ModPath, 'script') || stristr($ModPath, 'cookie') || stristr($ModPath, '!!iframe!!') || stristr($ModPath, 'applet') || stristr($ModPath, 'object') || stristr($ModPath, 'meta') || stristr($ModStart, 'script') || stristr($ModStart, 'cookie') || stristr($ModStart, '!!iframe!!') || stristr($ModStart, 'applet') || stristr($ModStart, 'object') || stristr($ModStart, 'meta'))
die();
global $pdst, $language, $title;
if (file_exists('modules/'.$ModPath.'/admin/pages.php'))
!!include!! ('modules/'.$ModPath.'/admin/pages.php');
!!include!! ('modules/'.$ModPath.'/geoloc_conf.php');
if (file_exists('modules/'.$ModPath.'/lang/geoloc.lang-'.$lang uage.'.php'))
!!include!!_once('modules/'.$ModPath.'/lang/geoloc.lang-'.$ language.'.php');
else
!!include!!_once('modules/'.$ModPath.'/lang/geoloc.lang-french.p hp');
$infooo='';
Cet article provient de Labo JPB-PHR 2015-2024
https://labo.infocapagde.com/viewtopic.php?topic=904&forum=49