squirrelmail.patch.plugins 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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';
  8. +$plugins[15] = 'addgraphics';
  9. +$plugins[16] = 'avelsieve';
  10. +$plugins[17] = 'check_quota';
  11. +$plugins[18] = 'chg_sasl_passwd';
  12. +$plugins[19] = 'folder_sizes';
  13. +$plugins[20] = 'gpg';
  14. +$plugins[21] = 'ldifimport';
  15. +$plugins[22] = 'pupdate';
  16. +$plugins[23] = 'show_user_and_ip';
  17. +$plugins[24] = 'smallcal';
  18. +$plugins[25] = 'vkeyboard';
  19. +$plugins[26] = 'username';
  20. +
  21. /* NOP, for patch line placeholder (avoids fuzz) */
  22. $theme_css = '';
  23. $theme_default = 0;
  24. Index: share/squirrelmail/plugins/gpg/setup.php
  25. diff -Nau share/squirrelmail/plugins/gpg/setup.php.orig share/squirrelmail/plugins/gpg/setup.php
  26. --- share/squirrelmail/plugins/gpg/setup.php.orig 2005-03-18 12:01:39.398171000 +0100
  27. +++ share/squirrelmail/plugins/gpg/setup.php 2005-03-18 12:03:35.986216000 +0100
  28. @@ -14,7 +14,9 @@
  29. *
  30. */
  31. if (!defined (SM_PATH)){
  32. - if (file_exists('./gpg_functions.php')){
  33. + if (file_exists('../../../plugins/gpg/gpg_functions.php')){
  34. + define (SM_PATH , '../../../');
  35. + } elseif (file_exists('../../plugins/gpg/gpg_functions.php')){
  36. define (SM_PATH , '../../');
  37. } elseif (file_exists('../plugins/gpg/gpg_functions.php')) {
  38. define (SM_PATH, '../');
  39. Index: share/squirrelmail/plugins/chg_sasl_passwd/options.php
  40. diff -Nau share/squirrelmail/plugins/chg_sasl_passwd/options.php.orig share/squirrelmail/plugins/chg_sasl_passwd/options.php
  41. --- share/squirrelmail/plugins/chg_sasl_passwd/options.php.orig 2005-03-17 21:00:03.157951000 +0100
  42. +++ share/squirrelmail/plugins/chg_sasl_passwd/options.php 2005-03-18 14:16:40.480988000 +0100
  43. @@ -70,8 +70,8 @@
  44. ' "" + dir_path + "/../../src/signout.php?chg_sasl_passwd";' . "', 0);\n" .
  45. "//-->\n</script>\n";
  46. - echo "<H2>" . _("Your password has successfully been changed.") . "</H2>\n";
  47. - echo '<div align=center>' . _("Please") . '<a href="' . SM_PATH .
  48. + echo "<H2><div align=center>" . _("Your password has successfully been changed.") . "</div></H2>\n";
  49. + echo '<div align=center>' . _("Please, ") . '<a href="' . SM_PATH .
  50. 'src/signout.php?chg_sasl_passwd" TARGET=_top>' .
  51. _("logout and log back in using your new password.") . "</div>\n";
  52. }
  53. Index: share/squirrelmail/plugins/chg_sasl_passwd/setup.php
  54. diff -Nau share/squirrelmail/plugins/chg_sasl_passwd/setup.php.orig share/squirrelmail/plugins/chg_sasl_passwd/setup.php
  55. --- share/squirrelmail/plugins/chg_sasl_passwd/setup.php.orig 2005-03-03 00:38:44.000000000 +0100
  56. +++ share/squirrelmail/plugins/chg_sasl_passwd/setup.php 2005-03-18 14:29:52.513613000 +0100
  57. @@ -32,8 +32,12 @@
  58. if (isset($_SERVER['QUERY_STRING']) &&
  59. stristr($_SERVER['QUERY_STRING'], 'chg_sasl_passwd') )
  60. - echo "<br><b>" . _("Your password has been changed. This requires that you logout and then log back in with the new password.") .
  61. - "<br><p><br>\n" . _("Logging out automagically") . ".<br><br>\n";
  62. + echo "<center>" .
  63. + "<br /><b>" . _("Your password has been changed.") .
  64. + "</b><br />" . _("This requires that you logout and then") .
  65. + "<br />" . _("log back in with the new password.") .
  66. + "<br /><br />" . _("Logging out automatically...") .
  67. + "</center><br /><br /><br />\n";
  68. /* Switch back to the SquirrelMail domain */
  69. textdomain('squirrelmail');