The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

listpopstable

Discussion in 'User Experience' started by Radio_Head, Nov 4, 2002.

  1. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    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
     
  2. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    anyone :( ?
     
  3. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    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... :)
     
  4. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    [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 !
     

Share This Page