X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=www%2Fplugins-dist%2Ftextwheel%2Finc%2Flien.php;h=854e29b37924f1114bda42cfbda00e53c015e276;hb=f854641371bdfbaba8fbab6212853d9795ba8cc8;hp=3441c0c429784fb2ead88200a73a05c3643f9044;hpb=d18fcb8f27a4016e3fa7b50a9b2255d529dca543;p=ptitvelo%2Fweb%2Fwww.git diff --git a/www/plugins-dist/textwheel/inc/lien.php b/www/plugins-dist/textwheel/inc/lien.php index 3441c0c..854e29b 100644 --- a/www/plugins-dist/textwheel/inc/lien.php +++ b/www/plugins-dist/textwheel/inc/lien.php @@ -507,7 +507,9 @@ function traiter_modeles($texte, $doublons=false, $echap='', $connect='', $liens $lien = array( 'href' => extraire_attribut($r[0],'href'), 'class' => extraire_attribut($r[0],'class'), - 'mime' => extraire_attribut($r[0],'type') + 'mime' => extraire_attribut($r[0],'type'), + 'title' => extraire_attribut($r[0],'title'), + 'hreflang' => extraire_attribut($r[0],'hreflang') ); $n = strlen($r[0]); $a -= $n; @@ -541,6 +543,8 @@ function traiter_modeles($texte, $doublons=false, $echap='', $connect='', $liens $contexte['lien'] = str_replace(""",'"', $lien['href']); $contexte['lien_class'] = $lien['class']; $contexte['lien_mime'] = $lien['mime']; + $contexte['lien_title'] = $lien['title']; + $contexte['lien_hreflang'] = $lien['hreflang']; } $modele = recuperer_fond("modeles/dist", $contexte, array(), $connect); }