1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/squirrelmail/squirrelmail.patch Wed Apr 15 22:49:00 2009 +0200 1.3 @@ -0,0 +1,50 @@ 1.4 +Index: functions/display_messages.php 1.5 +--- functions/display_messages.php.orig 2005-03-21 23:18:32 +0100 1.6 ++++ functions/display_messages.php 2005-07-30 21:15:29 +0200 1.7 +@@ -88,8 +88,8 @@ 1.8 + "\"$width_and_height /><br />\n"; 1.9 + } 1.10 + echo ( $hide_sm_attributions ? '' : 1.11 +- '<small>' . sprintf (_("SquirrelMail version %s"), $version) . '<br />'. 1.12 +- _("By the SquirrelMail Project Team") . "<br /></small>\n" ). 1.13 ++ '<br />'. 1.14 ++ "<br />\n" ). 1.15 + '<table cellspacing="1" cellpadding="0" bgcolor="'.$color[1].'" width="70%">'. 1.16 + '<tr><td>'. 1.17 + '<table width="100%" border="0" bgcolor="'.$color[4].'" align="center">'. 1.18 +Index: functions/imap_general.php 1.19 +--- functions/imap_general.php.orig 2005-05-20 12:37:34 +0200 1.20 ++++ functions/imap_general.php 2005-07-30 21:14:27 +0200 1.21 +@@ -568,6 +568,7 @@ 1.22 + 1.23 + set_up_language($squirrelmail_language, true); 1.24 + include_once(SM_PATH . 'functions/display_messages.php' ); 1.25 ++ do_hook('invalid_login'); /* used with squirrelmail_logger */ 1.26 + sqsession_destroy(); 1.27 + /* terminate the session nicely */ 1.28 + sqimap_logout($imap_stream); 1.29 +Index: src/login.php 1.30 +--- src/login.php.orig 2005-06-22 15:45:35 +0200 1.31 ++++ src/login.php 2005-07-30 21:15:39 +0200 1.32 +@@ -132,8 +132,8 @@ 1.33 + ' /><br />' . "\n" 1.34 + : '' ). 1.35 + ( (isset($hide_sm_attributions) && $hide_sm_attributions) ? '' : 1.36 +- '<small>' . sprintf (_("SquirrelMail version %s"), $version) . '<br />' ."\n". 1.37 +- ' ' . _("By the SquirrelMail Project Team") . '<br /></small>' . "\n" ) . 1.38 ++ '<br />' ."\n". 1.39 ++ '<br />' . "\n" ) . 1.40 + html_tag( 'table', 1.41 + html_tag( 'tr', 1.42 + html_tag( 'td', 1.43 +Index: src/right_main.php 1.44 +--- src/right_main.php.orig 2005-06-15 23:12:05 +0200 1.45 ++++ src/right_main.php 2005-07-30 21:14:27 +0200 1.46 +@@ -182,6 +182,7 @@ 1.47 + ) 1.48 + ) , 1.49 + 'center', $color[9], 'width="70%" cellpadding="0" cellspacing="3" border="0"' ); 1.50 ++ echo "<br />\n"; 1.51 + } 1.52 + } 1.53 + }