Wed, 15 Apr 2009 22:49:00 +0200
Import package vendor original specs for necessary manipulations.
michael@157 | 1 | Index: etc/squirrelmail/config.php |
michael@157 | 2 | diff -Nau etc/squirrelmail/config.php.orig etc/squirrelmail/config.php |
michael@157 | 3 | --- etc/squirrelmail/config.php.orig 2005-03-16 13:02:25 +0100 |
michael@157 | 4 | +++ etc/squirrelmail/config.php 2005-03-16 12:31:51 +0100 |
michael@157 | 5 | @@ -89,6 +89,19 @@ |
michael@157 | 6 | $plugins[13] = 'squirrel_logger'; |
michael@157 | 7 | $plugins[14] = 'translate'; |
michael@157 | 8 | |
michael@157 | 9 | +$plugins[15] = 'addgraphics'; |
michael@157 | 10 | +$plugins[16] = 'avelsieve'; |
michael@157 | 11 | +$plugins[17] = 'check_quota'; |
michael@157 | 12 | +$plugins[18] = 'chg_sasl_passwd'; |
michael@157 | 13 | +$plugins[19] = 'folder_sizes'; |
michael@157 | 14 | +$plugins[20] = 'gpg'; |
michael@157 | 15 | +$plugins[21] = 'ldifimport'; |
michael@157 | 16 | +$plugins[22] = 'pupdate'; |
michael@157 | 17 | +$plugins[23] = 'show_user_and_ip'; |
michael@157 | 18 | +$plugins[24] = 'smallcal'; |
michael@157 | 19 | +$plugins[25] = 'vkeyboard'; |
michael@157 | 20 | +$plugins[26] = 'username'; |
michael@157 | 21 | + |
michael@157 | 22 | /* NOP, for patch line placeholder (avoids fuzz) */ |
michael@157 | 23 | $theme_css = ''; |
michael@157 | 24 | $theme_default = 0; |
michael@157 | 25 | Index: share/squirrelmail/plugins/gpg/setup.php |
michael@157 | 26 | diff -Nau share/squirrelmail/plugins/gpg/setup.php.orig share/squirrelmail/plugins/gpg/setup.php |
michael@157 | 27 | --- share/squirrelmail/plugins/gpg/setup.php.orig 2005-03-18 12:01:39.398171000 +0100 |
michael@157 | 28 | +++ share/squirrelmail/plugins/gpg/setup.php 2005-03-18 12:03:35.986216000 +0100 |
michael@157 | 29 | @@ -14,7 +14,9 @@ |
michael@157 | 30 | * |
michael@157 | 31 | */ |
michael@157 | 32 | if (!defined (SM_PATH)){ |
michael@157 | 33 | - if (file_exists('./gpg_functions.php')){ |
michael@157 | 34 | + if (file_exists('../../../plugins/gpg/gpg_functions.php')){ |
michael@157 | 35 | + define (SM_PATH , '../../../'); |
michael@157 | 36 | + } elseif (file_exists('../../plugins/gpg/gpg_functions.php')){ |
michael@157 | 37 | define (SM_PATH , '../../'); |
michael@157 | 38 | } elseif (file_exists('../plugins/gpg/gpg_functions.php')) { |
michael@157 | 39 | define (SM_PATH, '../'); |
michael@157 | 40 | Index: share/squirrelmail/plugins/chg_sasl_passwd/options.php |
michael@157 | 41 | diff -Nau share/squirrelmail/plugins/chg_sasl_passwd/options.php.orig share/squirrelmail/plugins/chg_sasl_passwd/options.php |
michael@157 | 42 | --- share/squirrelmail/plugins/chg_sasl_passwd/options.php.orig 2005-03-17 21:00:03.157951000 +0100 |
michael@157 | 43 | +++ share/squirrelmail/plugins/chg_sasl_passwd/options.php 2005-03-18 14:16:40.480988000 +0100 |
michael@157 | 44 | @@ -70,8 +70,8 @@ |
michael@157 | 45 | ' "" + dir_path + "/../../src/signout.php?chg_sasl_passwd";' . "', 0);\n" . |
michael@157 | 46 | "//-->\n</script>\n"; |
michael@157 | 47 | |
michael@157 | 48 | - echo "<H2>" . _("Your password has successfully been changed.") . "</H2>\n"; |
michael@157 | 49 | - echo '<div align=center>' . _("Please") . '<a href="' . SM_PATH . |
michael@157 | 50 | + echo "<H2><div align=center>" . _("Your password has successfully been changed.") . "</div></H2>\n"; |
michael@157 | 51 | + echo '<div align=center>' . _("Please, ") . '<a href="' . SM_PATH . |
michael@157 | 52 | 'src/signout.php?chg_sasl_passwd" TARGET=_top>' . |
michael@157 | 53 | _("logout and log back in using your new password.") . "</div>\n"; |
michael@157 | 54 | } |
michael@157 | 55 | Index: share/squirrelmail/plugins/chg_sasl_passwd/setup.php |
michael@157 | 56 | diff -Nau share/squirrelmail/plugins/chg_sasl_passwd/setup.php.orig share/squirrelmail/plugins/chg_sasl_passwd/setup.php |
michael@157 | 57 | --- share/squirrelmail/plugins/chg_sasl_passwd/setup.php.orig 2005-03-03 00:38:44.000000000 +0100 |
michael@157 | 58 | +++ share/squirrelmail/plugins/chg_sasl_passwd/setup.php 2005-03-18 14:29:52.513613000 +0100 |
michael@157 | 59 | @@ -32,8 +32,12 @@ |
michael@157 | 60 | |
michael@157 | 61 | if (isset($_SERVER['QUERY_STRING']) && |
michael@157 | 62 | stristr($_SERVER['QUERY_STRING'], 'chg_sasl_passwd') ) |
michael@157 | 63 | - echo "<br><b>" . _("Your password has been changed. This requires that you logout and then log back in with the new password.") . |
michael@157 | 64 | - "<br><p><br>\n" . _("Logging out automagically") . ".<br><br>\n"; |
michael@157 | 65 | + echo "<center>" . |
michael@157 | 66 | + "<br /><b>" . _("Your password has been changed.") . |
michael@157 | 67 | + "</b><br />" . _("This requires that you logout and then") . |
michael@157 | 68 | + "<br />" . _("log back in with the new password.") . |
michael@157 | 69 | + "<br /><br />" . _("Logging out automatically...") . |
michael@157 | 70 | + "</center><br /><br /><br />\n"; |
michael@157 | 71 | |
michael@157 | 72 | /* Switch back to the SquirrelMail domain */ |
michael@157 | 73 | textdomain('squirrelmail'); |
michael@157 | 74 | Index: share/squirrelmail/plugins/check_quota/config.sample.php |
michael@157 | 75 | diff -uaN share/squirrelmail/plugins/check_quota/config.sample.php.orig share/squirrelmail/plugins/check_quota/config.sample.php |
michael@157 | 76 | --- share/squirrelmail/plugins/check_quota/config.sample.php.orig 2008-01-03 06:39:34.000000000 +0100 |
michael@157 | 77 | +++ share/squirrelmail/plugins/check_quota/config.sample.php 2008-01-03 06:39:48.000000000 +0100 |
michael@157 | 78 | @@ -25,7 +25,7 @@ |
michael@157 | 79 | * 0: UNIX / 1: IMAP / 2: cPanel |
michael@157 | 80 | */ |
michael@157 | 81 | |
michael@157 | 82 | -$settings['quota_type'] = 0; |
michael@157 | 83 | +$settings['quota_type'] = 1; |
michael@157 | 84 | |
michael@157 | 85 | |
michael@157 | 86 | /* |
michael@157 | 87 |