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