Radio_Head

Well-Known Member
Verifed Vendor
Feb 15, 2002
2,051
1
343
Hello ,

I am working on new cpanel . Since it will work on frames , I need to change the target generated from listpopstable cpanel tag when a client click on webMail on pops.html page .

Currently the target is _blank (new windows) while , since I am using a framed cpanel skin , I need a _self target defined for the webmail link generated by listpopstable.

Anyone may explain me what I have to do to change it ?

Thank you
 

Juanra

Well-Known Member
Sep 22, 2001
777
0
316
Spain
&?php
ob_start();
?&
&cpanel Email=&listpopstable()&&
&?php
$list = ob_get_contents();
ob_end_clean();
$list = preg_replace(&/target\s*=\s*neomail/&, &target=\&_self\&&, $list);
echo (&&table&&);
echo $list;
echo (&&/table&&);
?&

I really wonder what can't be done... :)
 

Radio_Head

Well-Known Member
Verifed Vendor
Feb 15, 2002
2,051
1
343
[quote:1f57cbb490][i:1f57cbb490]Originally posted by Juanra[/i:1f57cbb490]

&?php
ob_start();
?&
&cpanel Email=&listpopstable()&&
&?php
$list = ob_get_contents();
ob_end_clean();
$list = preg_replace(&/target\s*=\s*neomail/&, &target=\&_self\&&, $list);
echo (&&table&&);
echo $list;
echo (&&/table&&);
?&

I really wonder what can't be done... :)[/quote:1f57cbb490]


uaoooo !!!! :-O ! Thanks !