Changeset 27119 in spip-zone


Ignore:
Timestamp:
Mar 6, 2009, 11:39:42 PM (10 years ago)
Author:
booz@…
Message:

debug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_test_/joomla2spip/joomla2spip_fonctions.php

    r27116 r27119  
    2828$lename = ($name)? $name : "" ;
    2929$href = extraire_attribut($val,"href");
    30 $href = preg_replace("/index\.php\?option=com_content&task=view&id=/","spip.php?page=article&id_article=",$href);
     30$href = preg_replace("/index\.php\?option=com_content&task=view&id=([0-9]+)&Itemid=[0-9]+/","spip.php?page=article&id_article=\\1",$href);
    3131
    3232if($lename){
Note: See TracChangeset for help on using the changeset viewer.