#158 plugin block_sender doesn't use user's theme

open
nobody
None
5
2006-08-17
2006-08-17
Sam Wilson
No

The 'Block Sender' link goes to a page that doesn't use
the user's chosen theme. SquirrelMail 1.4.7 and
Block_Sender 2.02.

Discussion

  • Tomas Kuliavas

    Tomas Kuliavas - 2006-08-25

    Logged In: YES
    user_id=225877

    If you are talking about plugin options page, open
    plugins/block_server/options.php, find lines with
    ---
    $blockFile = $data_dir . $username . ".block";
    ?>

    <html>
    <?php displayPageHeader($color, 'None'); ?>
    ---

    and remove <html> tag.
    ---
    $blockFile = $data_dir . $username . ".block";

    displayPageHeader($color, 'None'); ?>
    ---

     
  • Sam Wilson

    Sam Wilson - 2006-08-30

    Logged In: YES
    user_id=914035

    Thanks for your help. I tried this, but unfortunately it
    didn't work. I've tried debugging, but I can't see anything
    wrong.

     
  • Tomas Kuliavas

    Tomas Kuliavas - 2006-08-31

    Logged In: YES
    user_id=225877

    Debugging steps are pretty simple. Check generated page
    source. It must use theme colors in <body> tag. Also check
    plugin's scripts and find all places that start html page
    (echo '<html>') without displayPageHeader() function.

    Please show URL that generates page without chosen theme
    colors. Please provide information about theme selected by
    user. 'chosen theme' does not give that information.

     
  • Tomas Kuliavas

    Tomas Kuliavas - 2006-08-31

    patch for block_sender 2.02

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks