It seems the param openlinknewwindow does not work in 0.9.1.
I put this :
$params["openlinknewwindow"] = true;
I closed the browser, emptied the cache, then went to the chat to test, it does not work: links open in the same window

Yann
Moderators: OldWolf, re*s.t.a.r.s.*2
Modified: trunk/themes/default/templates/pfcclient.js.tpl.php
==============================================================================
--- trunk/themes/default/templates/pfcclient.js.tpl.php (original)
+++ trunk/themes/default/templates/pfcclient.js.tpl.php Fri Apr 7 16:27:02 2006
@@ -395,7 +395,7 @@
var range1 = 7+offset-delta;
var range2 = 7+offset+delta;
if (ttt[i].match(rx_url))
- msg = msg + '<a href="' + ttt[i] + '">' + (delta>0 ? ttt[i].substring(7,range1)+ ' ... '+ ttt[i].substring(range2,ttt[i].length) : ttt[i]) + '</a>';
+ msg = msg + '<a href="' + ttt[i] + '"<?php if($openlinknewwindow) echo ' target="_blank"'; ?>>' + (delta>0 ? ttt[i].substring(7,range1)+ ' ... '+ ttt[i].substring(range2,ttt[i].length) : ttt[i]) + '</a>';
else
{
msg = msg + ttt[i];
Return to General Support (v1.x)
Users browsing this forum: No registered users and 32 guests