Does this mean I need to say<br> $WhiteUrlPatterns[nz] = '<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">http://[^/] \\.nz</span>'; ### -AND-<br>
$WhiteUrlPatterns[au] = '<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">http://[^/] \\.au</span>';<div><br></div><div>Simon<br><div><br><div class="gmail_quote">
On 6 June 2010 04:19, Petko Yotov <span dir="ltr"><<a href="mailto:5ko@5ko.fr">5ko@5ko.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Saturday 05 June 2010 13:10:33, Hans wrote :<br>
<div class="im">> Saturday, June 5, 2010, 8:54:21 AM, Petko Yotov wrote:<br>
> > Yes, see $WhiteUrlPatterns at this page :<br>
> > <a href="http://www.pmwiki.org/wiki/PmWiki/UrlApprovals" target="_blank">http://www.pmwiki.org/wiki/PmWiki/UrlApprovals</a><br>
><br>
> This confuses me:<br>
<br>
</div><div class="im">> Is $WhiteUrlPatterns an array or not?<br>
<br>
</div>It can be both -- if it is not an array but a string, it will be converted to<br>
an array with a single element.<br>
<div class="im"><br>
> In any case neither way worked here ('<a href="http://localhost/'" target="_blank">http://localhost/'</a>),<br>
<br>
</div>Both work for me :<br>
<br>
$WhiteUrlPatterns = '<a href="http://localhost" target="_blank">http://localhost</a>'; ### -OR-<br>
$WhiteUrlPatterns[] = '<a href="http://localhost" target="_blank">http://localhost</a>';<br>
<font color="#888888"><br>
Petko<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>____<br><a href="http://kiwiwiki.co.nz">http://kiwiwiki.co.nz</a><br>
</div></div>