Dave's Brain

Browse - Computer Tips - How can I remove the ugly vertical framebar from SquirrelMail?

Date: 2016jan3
Product: SquirrelMail
Language: php

Q.  How can I remove the ugly vertical framebar from SquirrelMail?

A.  I could not find an option so had to change the source.
Keep a backup.
In file /usr/share/squirrelmail/src/webmail.php add frameborder=0
to every <frame ...>

if ($location_of_bar == 'right') { $output .= "<frame src=\"$right_frame_url\" name=\"right\" frameborder=\"0\">\n" . "<frame src=\"left_main.php\" name=\"left\" frameborder=\"0\">\n"; } else { $output .= "<frame src=\"left_main.php\" name=\"left\" frameborder=\"0\">\n". "<frame src=\"$right_frame_url\" name=\"right\" frameborder=\"0\">\n"; }

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.