uawdijnntqw1x1x1
IP : 216.73.216.249
Hostname : webm001.cluster110.gra.hosting.ovh.net
Kernel : Linux webm001.cluster110.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
etiennec
/
www
/
b9da6
/
..
/
plugins-dist
/
textwheel
/
inc
/
ressource.php
/
/
<?php /* * transforme un raccourci de ressource en un lien minimaliste * * */ define('_EXTRAIRE_RESSOURCES', ',' . '<"?(https?://|[^\s][\w -]+\.[\w -]+)[^<]*>'.',UimsS'); function traiter_ressources($r) { $html = null; if ($ressource = charger_fonction('ressource', 'inc', true)) { $html = $ressource($r[0]); } if (is_null($html)) { include_spip('inc/lien'); $url = explode(' ', trim($r[0], '<>')); $url = $url[0]; # <http://url/absolue> if (preg_match(',^https?://,i', $url)) $html = PtoBR(propre("<span class='ressource spip_out'><[->".$url."]></span>")); # <url/relative> else if (false !== strpos($url, '/')) $html = PtoBR(propre("<span class='ressource spip_in'><[->".$url."]></span>")); # <fichier.rtf> else { preg_match(',\.([^.]+)$,', $url, $regs); if (file_exists($f = _DIR_IMG.$regs[1].'/'.$url)) { $html = PtoBR(propre("<span class='ressource spip_in'><[".$url."->".$f."]></span>")); } else { $html = PtoBR(propre("<span class='ressource'><".$url."></span>")); } } } return '<html>'.$html.'</html>'; } ?>
/home/etiennec/www/b9da6/../plugins-dist/textwheel/inc/ressource.php