squirrelmail.patch.plugins 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. @@ -88,6 +88,17 @@
  6. $plugins[13] = 'squirrel_logger';
  7. $plugins[14] = 'translate';
  8. +$plugins[15] = 'addgraphics';
  9. +$plugins[16] = 'check_quota';
  10. +$plugins[17] = 'chg_sasl_passwd';
  11. +$plugins[18] = 'folder_sizes';
  12. +$plugins[19] = 'gpg';
  13. +$plugins[20] = 'ldifimport';
  14. +$plugins[21] = 'pupdate';
  15. +$plugins[22] = 'show_user_and_ip';
  16. +$plugins[23] = 'smallcal';
  17. +$plugins[24] = 'vkeyboard';
  18. +
  19. /* NOP, for patch line placeholder (avoids fuzz) */
  20. $theme_css = '';
  21. $theme_default = 0;
  22. Index: share/squirrelmail/plugins/gpg/gpg_local_prefs.txt
  23. diff -Nau share/squirrelmail/plugins/gpg/gpg_local_prefs.txt.orig share/squirrelmail/plugins/gpg/gpg_local_prefs.txt.php
  24. --- share/squirrelmail/plugins/gpg/gpg_local_prefs.txt.orig 2005-03-17 13:05:32.171844020 +0100
  25. +++ share/squirrelmail/plugins/gpg/gpg_local_prefs.txt 2005-03-17 13:06:31.730254296 +0100
  26. @@ -4,7 +4,7 @@
  27. #
  28. # $Id: squirrelmail.patch.plugins,v 1.3 2005/03/20 16:06:38 ms Exp $
  29. #
  30. -path_to_gpg=/usr/bin/gpg
  31. +path_to_gpg=@l_prefix@/bin/gpg
  32. allowprivatekeys=true
  33. allowkeygeneration=true
  34. systemkeyring=false
  35. @@ -14,6 +14,6 @@
  36. maxfilesize=100000
  37. allowpassphrasecaching=false
  38. insecure_mem_warning=1
  39. -default_keystrength=1024
  40. +default_keystrength=2048
  41. default_keyexpires=2y
  42. debug=0
  43. Index: share/squirrelmail/plugins/gpg/setup.php
  44. diff -Nau share/squirrelmail/plugins/gpg/setup.php.orig share/squirrelmail/plugins/gpg/setup.php
  45. --- share/squirrelmail/plugins/gpg/setup.php.orig 2005-03-18 12:01:39.398171000 +0100
  46. +++ share/squirrelmail/plugins/gpg/setup.php 2005-03-18 12:03:35.986216000 +0100
  47. @@ -14,7 +14,9 @@
  48. *
  49. */
  50. if (!defined (SM_PATH)){
  51. - if (file_exists('./gpg_functions.php')){
  52. + if (file_exists('../../../plugins/gpg/gpg_functions.php')){
  53. + define (SM_PATH , '../../../');
  54. + } elseif (file_exists('../../plugins/gpg/gpg_functions.php')){
  55. define (SM_PATH , '../../');
  56. } elseif (file_exists('../plugins/gpg/gpg_functions.php')) {
  57. define (SM_PATH, '../');
  58. Index: share/squirrelmail/plugins/chg_sasl_passwd/options.php
  59. diff -Nau share/squirrelmail/plugins/chg_sasl_passwd/options.php.orig share/squirrelmail/plugins/chg_sasl_passwd/options.php
  60. --- share/squirrelmail/plugins/chg_sasl_passwd/options.php.orig 2005-03-17 21:00:03.157951000 +0100
  61. +++ share/squirrelmail/plugins/chg_sasl_passwd/options.php 2005-03-18 14:16:40.480988000 +0100
  62. @@ -70,8 +70,8 @@
  63. ' "" + dir_path + "/../../src/signout.php?chg_sasl_passwd";' . "', 0);\n" .
  64. "//-->\n</script>\n";
  65. - echo "<H2>" . _("Your password has successfully been changed.") . "</H2>\n";
  66. - echo '<div align=center>' . _("Please") . '<a href="' . SM_PATH .
  67. + echo "<H2><div align=center>" . _("Your password has successfully been changed.") . "</div></H2>\n";
  68. + echo '<div align=center>' . _("Please, ") . '<a href="' . SM_PATH .
  69. 'src/signout.php?chg_sasl_passwd" TARGET=_top>' .
  70. _("logout and log back in using your new password.") . "</div>\n";
  71. }
  72. Index: share/squirrelmail/plugins/chg_sasl_passwd/setup.php
  73. diff -Nau share/squirrelmail/plugins/chg_sasl_passwd/setup.php.orig share/squirrelmail/plugins/chg_sasl_passwd/setup.php
  74. --- share/squirrelmail/plugins/chg_sasl_passwd/setup.php.orig 2005-03-03 00:38:44.000000000 +0100
  75. +++ share/squirrelmail/plugins/chg_sasl_passwd/setup.php 2005-03-18 14:29:52.513613000 +0100
  76. @@ -32,8 +32,12 @@
  77. if (isset($_SERVER['QUERY_STRING']) &&
  78. stristr($_SERVER['QUERY_STRING'], 'chg_sasl_passwd') )
  79. - echo "<br><b>" . _("Your password has been changed. This requires that you logout and then log back in with the new password.") .
  80. - "<br><p><br>\n" . _("Logging out automagically") . ".<br><br>\n";
  81. + echo "<center>" .
  82. + "<br /><b>" . _("Your password has been changed.") .
  83. + "</b><br />" . _("This requires that you logout and then") .
  84. + "<br />" . _("log back in with the new password.") .
  85. + "<br /><br />" . _("Logging out automatically...") .
  86. + "</center><br /><br /><br />\n";
  87. /* Switch back to the SquirrelMail domain */
  88. textdomain('squirrelmail');