Pour ceux qui comme moi souhaite ouvrir les liens des marqueurs dans un nouvel onglet ( target="_blank")
Dossiers : /modules/Blogs/functions/
Fichier : functions.php à la ligne 698
- Code: Tout sélectionner
$replaces = array(
'<a href="http://fr.wikipedia.org/wiki/\\1" class="wikipedia">\\1</a>',
'<a href="http://\\1" class="web">\\1</a>',
'<a href="http://www.google.fr/search?source=ig&hl=fr&rlz=&=&q=\\1" class="googlelink">\\1</a>',
'<a href="http://fr.php.net/manual/fr/function.\\1.php" class="phpnet">\\1</a>',
'<table class="quote_box"><tr><td class="quote_title">Citation</td></tr><tr><td class="quote_body">\\1</td></tr></table>'
);
on ajoute un petit target="_blank" ce qui donne :
- Code: Tout sélectionner
$replaces = array(
'<a target="_blank" href="http://fr.wikipedia.org/wiki/\\1" class="wikipedia">\\1</a>',
'<a target="_blank" href="http://\\1" class="web">\\1</a>',
'<a target="_blank" href="http://www.google.fr/search?source=ig&hl=fr&rlz=&=&q=\\1" class="googlelink">\\1</a>',
'<a target="_blank" href="http://fr.php.net/manual/fr/function.\\1.php" class="phpnet">\\1</a>',
'<table class="quote_box"><tr><td class="quote_title">Citation</td></tr><tr><td class="quote_body">\\1</td></tr></table>'
);
Ce qui permet d'ouvrir un nouvel onglet avec le lien qui vas bien
Voili


News