Changeset 32192 in spip-zone


Ignore:
Timestamp:
Oct 18, 2009, 9:44:40 AM (11 years ago)
Author:
cedric@…
Message:

code plus smart puisque extraire_attribut accepte un tableau en entree

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/notifications/notifications.php

    r32191 r32192  
    480480        foreach ($t as $champ)
    481481                $links = $links + extraire_balises($champ,'a');
    482         foreach($links as $k=>$l)
    483                 $links[$k] = extraire_attribut($l,'href');
     482        $links = extraire_attribut($links,'href');
    484483        $links = implode("\n",$links);
    485484        if ($links)
Note: See TracChangeset for help on using the changeset viewer.