PEAK XOOPS - url target =_self in englishin japanese

url target =_self

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2007/5/6 22:51
Klomp  ¾åÅùʼ   Posts: 26
How to make an url to open in same window. [url]url[/url] opens in new window. I want it to open it in same window.
Votes:6 Average:3.33
Previous post - Next post | Parent - Children.1 | Posted on 2007/5/7 6:17
GIJOE  ÀèǤ·³Áâ   Posts: 4110
This is not an issue of piCal.
Just hack module.textsanitizer.php
quite a FAQ.
Votes:4 Average:7.50
Previous post - Next post | Parent - No child | Posted on 2007/5/7 18:15
Klomp  ¾åÅùʼ   Posts: 26
Quote:

GIJOE wrotes:
This is not an issue of piCal.
Just hack module.textsanitizer.php
quite a FAQ.
I inserted
Quote:
$patterns[] = "/\[localurl=(['\"]?)(http[s]?:\/\/[^\"'<>]*)\\1](.*)\[\/localurl\]/sU";
$replacements[] = '<a href="\\2" target="_self">\\3</a>';
That did the trick!
Thank you.
Votes:3 Average:6.67

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!