squirrelmail/squirrelmail.patch.plugins

changeset 157
3214ed6c04f6
child 159
5524672ebbe7
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/squirrelmail/squirrelmail.patch.plugins	Wed Apr 15 22:49:00 2009 +0200
     1.3 @@ -0,0 +1,87 @@
     1.4 +Index: etc/squirrelmail/config.php
     1.5 +diff -Nau etc/squirrelmail/config.php.orig etc/squirrelmail/config.php
     1.6 +--- etc/squirrelmail/config.php.orig	2005-03-16 13:02:25 +0100
     1.7 ++++ etc/squirrelmail/config.php	2005-03-16 12:31:51 +0100
     1.8 +@@ -89,6 +89,19 @@
     1.9 + $plugins[13] = 'squirrel_logger';
    1.10 + $plugins[14] = 'translate';
    1.11 + 
    1.12 ++$plugins[15] = 'addgraphics';
    1.13 ++$plugins[16] = 'avelsieve';
    1.14 ++$plugins[17] = 'check_quota';
    1.15 ++$plugins[18] = 'chg_sasl_passwd';
    1.16 ++$plugins[19] = 'folder_sizes';
    1.17 ++$plugins[20] = 'gpg';
    1.18 ++$plugins[21] = 'ldifimport';
    1.19 ++$plugins[22] = 'pupdate';
    1.20 ++$plugins[23] = 'show_user_and_ip';
    1.21 ++$plugins[24] = 'smallcal';
    1.22 ++$plugins[25] = 'vkeyboard';
    1.23 ++$plugins[26] = 'username';
    1.24 ++
    1.25 + /* NOP, for patch line placeholder (avoids fuzz) */
    1.26 + $theme_css = '';
    1.27 + $theme_default = 0;
    1.28 +Index: share/squirrelmail/plugins/gpg/setup.php
    1.29 +diff -Nau share/squirrelmail/plugins/gpg/setup.php.orig share/squirrelmail/plugins/gpg/setup.php
    1.30 +--- share/squirrelmail/plugins/gpg/setup.php.orig	2005-03-18 12:01:39.398171000 +0100
    1.31 ++++ share/squirrelmail/plugins/gpg/setup.php	2005-03-18 12:03:35.986216000 +0100
    1.32 +@@ -14,7 +14,9 @@
    1.33 +  *
    1.34 +  */
    1.35 + if (!defined (SM_PATH)){
    1.36 +-    if (file_exists('./gpg_functions.php')){
    1.37 ++    if (file_exists('../../../plugins/gpg/gpg_functions.php')){
    1.38 ++        define (SM_PATH , '../../../');
    1.39 ++    } elseif (file_exists('../../plugins/gpg/gpg_functions.php')){
    1.40 +         define (SM_PATH , '../../');
    1.41 +     } elseif (file_exists('../plugins/gpg/gpg_functions.php')) {
    1.42 +         define (SM_PATH, '../');
    1.43 +Index: share/squirrelmail/plugins/chg_sasl_passwd/options.php
    1.44 +diff -Nau share/squirrelmail/plugins/chg_sasl_passwd/options.php.orig share/squirrelmail/plugins/chg_sasl_passwd/options.php
    1.45 +--- share/squirrelmail/plugins/chg_sasl_passwd/options.php.orig	2005-03-17 21:00:03.157951000 +0100
    1.46 ++++ share/squirrelmail/plugins/chg_sasl_passwd/options.php	2005-03-18 14:16:40.480988000 +0100
    1.47 +@@ -70,8 +70,8 @@
    1.48 +              ' "" + dir_path + "/../../src/signout.php?chg_sasl_passwd";' . "', 0);\n" .
    1.49 +              "//-->\n</script>\n";
    1.50 + 
    1.51 +-        echo "<H2>" . _("Your password has successfully been changed.") . "</H2>\n";
    1.52 +-        echo '<div align=center>' . _("Please") . '<a href="' . SM_PATH .
    1.53 ++        echo "<H2><div align=center>" . _("Your password has successfully been changed.") . "</div></H2>\n";
    1.54 ++        echo '<div align=center>' . _("Please, ") . '<a href="' . SM_PATH .
    1.55 +              'src/signout.php?chg_sasl_passwd" TARGET=_top>' .
    1.56 +              _("logout and log back in using your new password.") . "</div>\n";
    1.57 +     }
    1.58 +Index: share/squirrelmail/plugins/chg_sasl_passwd/setup.php
    1.59 +diff -Nau share/squirrelmail/plugins/chg_sasl_passwd/setup.php.orig share/squirrelmail/plugins/chg_sasl_passwd/setup.php
    1.60 +--- share/squirrelmail/plugins/chg_sasl_passwd/setup.php.orig	2005-03-03 00:38:44.000000000 +0100
    1.61 ++++ share/squirrelmail/plugins/chg_sasl_passwd/setup.php	2005-03-18 14:29:52.513613000 +0100
    1.62 +@@ -32,8 +32,12 @@
    1.63 + 
    1.64 +     if (isset($_SERVER['QUERY_STRING']) &&
    1.65 +         stristr($_SERVER['QUERY_STRING'], 'chg_sasl_passwd') )
    1.66 +-        echo "<br><b>" . _("Your password has been changed. This requires that you logout and then log back in with the new password.") .
    1.67 +-             "<br><p><br>\n" . _("Logging out automagically") . ".<br><br>\n";
    1.68 ++        echo "<center>" .
    1.69 ++             "<br /><b>" . _("Your password has been changed.") .
    1.70 ++             "</b><br />" . _("This requires that you logout and then") .
    1.71 ++             "<br />" . _("log back in with the new password.") .
    1.72 ++             "<br /><br />" . _("Logging out automatically...") .
    1.73 ++             "</center><br /><br /><br />\n";
    1.74 + 
    1.75 +     /* Switch back to the SquirrelMail domain */
    1.76 +     textdomain('squirrelmail');
    1.77 +Index: share/squirrelmail/plugins/check_quota/config.sample.php
    1.78 +diff -uaN share/squirrelmail/plugins/check_quota/config.sample.php.orig share/squirrelmail/plugins/check_quota/config.sample.php     
    1.79 +--- share/squirrelmail/plugins/check_quota/config.sample.php.orig       2008-01-03 06:39:34.000000000 +0100
    1.80 ++++ share/squirrelmail/plugins/check_quota/config.sample.php    2008-01-03 06:39:48.000000000 +0100
    1.81 +@@ -25,7 +25,7 @@
    1.82 +  * 0: UNIX / 1: IMAP / 2: cPanel
    1.83 + */
    1.84 + 
    1.85 +-$settings['quota_type'] = 0;
    1.86 ++$settings['quota_type'] = 1;
    1.87 + 
    1.88 + 
    1.89 + /*
    1.90 +

mercurial