diff -r 3831ba5c7ba7 -r 3214ed6c04f6 squirrelmail/squirrelmail.patch.plugins --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/squirrelmail/squirrelmail.patch.plugins Wed Apr 15 22:49:00 2009 +0200 @@ -0,0 +1,87 @@ +Index: etc/squirrelmail/config.php +diff -Nau etc/squirrelmail/config.php.orig etc/squirrelmail/config.php +--- etc/squirrelmail/config.php.orig 2005-03-16 13:02:25 +0100 ++++ etc/squirrelmail/config.php 2005-03-16 12:31:51 +0100 +@@ -89,6 +89,19 @@ + $plugins[13] = 'squirrel_logger'; + $plugins[14] = 'translate'; + ++$plugins[15] = 'addgraphics'; ++$plugins[16] = 'avelsieve'; ++$plugins[17] = 'check_quota'; ++$plugins[18] = 'chg_sasl_passwd'; ++$plugins[19] = 'folder_sizes'; ++$plugins[20] = 'gpg'; ++$plugins[21] = 'ldifimport'; ++$plugins[22] = 'pupdate'; ++$plugins[23] = 'show_user_and_ip'; ++$plugins[24] = 'smallcal'; ++$plugins[25] = 'vkeyboard'; ++$plugins[26] = 'username'; ++ + /* NOP, for patch line placeholder (avoids fuzz) */ + $theme_css = ''; + $theme_default = 0; +Index: share/squirrelmail/plugins/gpg/setup.php +diff -Nau share/squirrelmail/plugins/gpg/setup.php.orig share/squirrelmail/plugins/gpg/setup.php +--- share/squirrelmail/plugins/gpg/setup.php.orig 2005-03-18 12:01:39.398171000 +0100 ++++ share/squirrelmail/plugins/gpg/setup.php 2005-03-18 12:03:35.986216000 +0100 +@@ -14,7 +14,9 @@ + * + */ + if (!defined (SM_PATH)){ +- if (file_exists('./gpg_functions.php')){ ++ if (file_exists('../../../plugins/gpg/gpg_functions.php')){ ++ define (SM_PATH , '../../../'); ++ } elseif (file_exists('../../plugins/gpg/gpg_functions.php')){ + define (SM_PATH , '../../'); + } elseif (file_exists('../plugins/gpg/gpg_functions.php')) { + define (SM_PATH, '../'); +Index: share/squirrelmail/plugins/chg_sasl_passwd/options.php +diff -Nau share/squirrelmail/plugins/chg_sasl_passwd/options.php.orig share/squirrelmail/plugins/chg_sasl_passwd/options.php +--- share/squirrelmail/plugins/chg_sasl_passwd/options.php.orig 2005-03-17 21:00:03.157951000 +0100 ++++ share/squirrelmail/plugins/chg_sasl_passwd/options.php 2005-03-18 14:16:40.480988000 +0100 +@@ -70,8 +70,8 @@ + ' "" + dir_path + "/../../src/signout.php?chg_sasl_passwd";' . "', 0);\n" . + "//-->\n\n"; + +- echo "

" . _("Your password has successfully been changed.") . "

\n"; +- echo '
' . _("Please") . '
" . _("Your password has successfully been changed.") . "
\n"; ++ echo '
' . _("Please, ") . '' . + _("logout and log back in using your new password.") . "
\n"; + } +Index: share/squirrelmail/plugins/chg_sasl_passwd/setup.php +diff -Nau share/squirrelmail/plugins/chg_sasl_passwd/setup.php.orig share/squirrelmail/plugins/chg_sasl_passwd/setup.php +--- share/squirrelmail/plugins/chg_sasl_passwd/setup.php.orig 2005-03-03 00:38:44.000000000 +0100 ++++ share/squirrelmail/plugins/chg_sasl_passwd/setup.php 2005-03-18 14:29:52.513613000 +0100 +@@ -32,8 +32,12 @@ + + if (isset($_SERVER['QUERY_STRING']) && + stristr($_SERVER['QUERY_STRING'], 'chg_sasl_passwd') ) +- echo "
" . _("Your password has been changed. This requires that you logout and then log back in with the new password.") . +- "


\n" . _("Logging out automagically") . ".

\n"; ++ echo "

" . ++ "
" . _("Your password has been changed.") . ++ "
" . _("This requires that you logout and then") . ++ "
" . _("log back in with the new password.") . ++ "

" . _("Logging out automatically...") . ++ "



\n"; + + /* Switch back to the SquirrelMail domain */ + textdomain('squirrelmail'); +Index: share/squirrelmail/plugins/check_quota/config.sample.php +diff -uaN share/squirrelmail/plugins/check_quota/config.sample.php.orig share/squirrelmail/plugins/check_quota/config.sample.php +--- share/squirrelmail/plugins/check_quota/config.sample.php.orig 2008-01-03 06:39:34.000000000 +0100 ++++ share/squirrelmail/plugins/check_quota/config.sample.php 2008-01-03 06:39:48.000000000 +0100 +@@ -25,7 +25,7 @@ + * 0: UNIX / 1: IMAP / 2: cPanel + */ + +-$settings['quota_type'] = 0; ++$settings['quota_type'] = 1; + + + /* +