squirrelmail.git
19 years agostrings: adapt makeComposeLink to the new js
stekkel [Sat, 16 Apr 2005 11:12:22 +0000 (11:12 +0000)]
strings: adapt makeComposeLink to the new js
mailbox_display, retrieve aFetchHeaders.
read_body, behave well when the cache is invalidated

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9311 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoTranslation fix
jervfors [Fri, 15 Apr 2005 18:53:27 +0000 (18:53 +0000)]
Translation fix

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9310 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoRemoving DOS char's
jervfors [Fri, 15 Apr 2005 18:16:04 +0000 (18:16 +0000)]
Removing DOS char's

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9309 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoCopyright update and removal of DOS char's
jervfors [Fri, 15 Apr 2005 17:13:13 +0000 (17:13 +0000)]
Copyright update and removal of DOS char's

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9308 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoStyle pedantry
jervfors [Fri, 15 Apr 2005 17:11:43 +0000 (17:11 +0000)]
Style pedantry

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9307 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoCopyright update
jervfors [Fri, 15 Apr 2005 17:11:08 +0000 (17:11 +0000)]
Copyright update

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9306 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoClarifying purpose of plugin
jervfors [Fri, 15 Apr 2005 16:14:54 +0000 (16:14 +0000)]
Clarifying purpose of plugin

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9305 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agomake sure that $aFlags is set. maybe is_array() is needed too.
tokul [Fri, 15 Apr 2005 15:08:38 +0000 (15:08 +0000)]
make sure that $aFlags is set. maybe is_array() is needed too.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9304 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoremember to add this to 1.5.x release notes
tokul [Fri, 15 Apr 2005 14:30:17 +0000 (14:30 +0000)]
remember to add this to 1.5.x release notes

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9303 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoadding decoding of subject. might have to check other columns too.
tokul [Fri, 15 Apr 2005 14:13:53 +0000 (14:13 +0000)]
adding decoding of subject. might have to check other columns too.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9302 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agowhen table width is not set, it affects width of objects (iframes in
tokul [Fri, 15 Apr 2005 14:07:07 +0000 (14:07 +0000)]
when table width is not set, it affects width of objects (iframes in
show_default_html=1 case) placed inside table.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9301 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoForgot to rename the old $xtra var to $sJsHeader.
stekkel [Fri, 15 Apr 2005 13:40:28 +0000 (13:40 +0000)]
Forgot to rename the old $xtra var to $sJsHeader.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9300 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoFixed wrong var usage. This solves the errors Thijs saw in his previous
stekkel [Fri, 15 Apr 2005 13:38:34 +0000 (13:38 +0000)]
Fixed wrong var usage. This solves the errors Thijs saw in his previous
commit.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9299 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years ago2 bugs in message_list:
kink [Fri, 15 Apr 2005 12:31:16 +0000 (12:31 +0000)]
2 bugs in message_list:
- in PHP 4.1.x, the first part of in_array may not be an array. This gives a
  lot of warnings in the message display. Not sure how to fix this, so just adding a
  note to it now.
- initialize $aCol to empty array, not empty string, since it's expected to be
  an array further down.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9298 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agohtml cleanups
stekkel [Fri, 15 Apr 2005 09:39:22 +0000 (09:39 +0000)]
html cleanups

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9297 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoLooks like message highlighting contains a bug. The color is returned
stekkel [Fri, 15 Apr 2005 08:44:06 +0000 (08:44 +0000)]
Looks like message highlighting contains a bug. The color is returned
without the leading # character. This will fix it.

TODO, somebody may want to check why the color is stored without the leading
# char.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9296 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoMake checkbox js working with fancy row highlighting and without it.
stekkel [Fri, 15 Apr 2005 07:36:55 +0000 (07:36 +0000)]
Make checkbox js working with fancy row highlighting and without it.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9287 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoLast one... shesh
jangliss [Fri, 15 Apr 2005 05:11:50 +0000 (05:11 +0000)]
Last one... shesh

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9286 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoBah, the constant switching between quote types is frustrating.
jangliss [Fri, 15 Apr 2005 05:10:08 +0000 (05:10 +0000)]
Bah, the constant switching between quote types is frustrating.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9285 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoUsing CSS style nowrap... Adding ends to the start of the classes Marc
jangliss [Fri, 15 Apr 2005 05:05:16 +0000 (05:05 +0000)]
Using CSS style nowrap... Adding ends to the start of the classes Marc
put in.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9284 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoHTML fix
jangliss [Fri, 15 Apr 2005 04:21:56 +0000 (04:21 +0000)]
HTML fix

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9283 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoJavascript treats '0' different to 0. '0' is a string, and doesn't seem to
jangliss [Fri, 15 Apr 2005 04:19:24 +0000 (04:19 +0000)]
Javascript treats '0' different to 0. '0' is a string, and doesn't seem to
match a boolean comparison.  Or at least you get some odd results.  I have
fancy highlighting off, and '0' makes it appear.  Also removed some odd
javascript:

  this.checked = !(this.checked)

on every message check box, what was this for?  Firefox makes that a stupid
bit of code, as you click on a check box, and it unchecks it immedately
making it impossible to select messages :)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9282 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoYucky template wrapping... Putting "back" the nowrap tags to make it look
jangliss [Fri, 15 Apr 2005 03:46:38 +0000 (03:46 +0000)]
Yucky template wrapping... Putting "back" the nowrap tags to make it look
like it used to.  We might want to consider using css classes in here and
start adapting some of the stuff to include better css support as we
implement templates.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9281 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agosqimap_messages_flag is depreciated and no longer exists. Now emptying the trash...
cigamit [Fri, 15 Apr 2005 02:07:32 +0000 (02:07 +0000)]
sqimap_messages_flag is depreciated and no longer exists.  Now emptying the trash works again.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9280 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agotypo
stekkel [Thu, 14 Apr 2005 22:32:17 +0000 (22:32 +0000)]
typo

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9279 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agotemplates
stekkel [Thu, 14 Apr 2005 22:28:39 +0000 (22:28 +0000)]
templates

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9278 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoTemplates
stekkel [Thu, 14 Apr 2005 22:09:03 +0000 (22:09 +0000)]
Templates

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9277 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoTemplates
stekkel [Thu, 14 Apr 2005 21:42:53 +0000 (21:42 +0000)]
Templates

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9276 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoTemplates
stekkel [Thu, 14 Apr 2005 21:34:30 +0000 (21:34 +0000)]
Templates

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9275 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years ago@since information about sm_print_r
tokul [Thu, 14 Apr 2005 17:05:18 +0000 (17:05 +0000)]
@since information about sm_print_r

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9273 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agopreformated text is harder to read, when output is centered.
tokul [Thu, 14 Apr 2005 16:33:16 +0000 (16:33 +0000)]
preformated text is harder to read, when output is centered.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9272 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoadding function params and since tags to other sqimap mailbox functions
tokul [Thu, 14 Apr 2005 16:18:15 +0000 (16:18 +0000)]
adding function params and since tags to other sqimap mailbox functions

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9271 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoFix for updating the filters rules when a folder is renamed.
cigamit [Thu, 14 Apr 2005 15:33:07 +0000 (15:33 +0000)]
Fix for updating the filters rules when a folder is renamed.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9270 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoall widgets should be named.
pdontthink [Thu, 14 Apr 2005 13:22:06 +0000 (13:22 +0000)]
all widgets should be named.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9269 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoadding file that can be used to display html mails in iframe
tokul [Thu, 14 Apr 2005 13:20:08 +0000 (13:20 +0000)]
adding file that can be used to display html mails in iframe

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9268 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoIt isn't a workaround
pdontthink [Thu, 14 Apr 2005 11:01:25 +0000 (11:01 +0000)]
It isn't a workaround

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9267 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoremove comments about mistaken sqgetGlobalVar fix
pdontthink [Thu, 14 Apr 2005 10:54:31 +0000 (10:54 +0000)]
remove comments about mistaken sqgetGlobalVar fix

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9266 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoReverting to Erin's original design; sqgetGlobalVar() should not touch vars that...
pdontthink [Thu, 14 Apr 2005 10:52:50 +0000 (10:52 +0000)]
Reverting to Erin's original design; sqgetGlobalVar() should not touch vars that are not found

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9265 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agocourier workaround
pdontthink [Wed, 13 Apr 2005 23:28:27 +0000 (23:28 +0000)]
courier workaround

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9261 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoWorkaround for Courier when sending mixed messages with nested multipart/alternative...
pdontthink [Wed, 13 Apr 2005 23:22:53 +0000 (23:22 +0000)]
Workaround for Courier when sending mixed messages with nested multipart/alternative parts

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9260 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agodocumenting some mailbox functions
tokul [Wed, 13 Apr 2005 18:48:49 +0000 (18:48 +0000)]
documenting some mailbox functions

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9259 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agosince comments are not needed for @return
tokul [Wed, 13 Apr 2005 14:21:57 +0000 (14:21 +0000)]
since comments are not needed for @return

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9258 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agodocumenting two functions
tokul [Wed, 13 Apr 2005 13:24:06 +0000 (13:24 +0000)]
documenting two functions

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9257 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoAdd Cancel button to HTML addressbook. This was even simpler than I thought.
kink [Mon, 11 Apr 2005 18:36:41 +0000 (18:36 +0000)]
Add Cancel button to HTML addressbook. This was even simpler than I thought.
Closes: #1180565

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9255 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoenough for today. adding some tags to imap mailbox functions
tokul [Mon, 11 Apr 2005 16:21:42 +0000 (16:21 +0000)]
enough for today. adding some tags to imap mailbox functions

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9254 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agomoved script to decode module. Script uses old style decode functions, is
tokul [Mon, 11 Apr 2005 08:55:10 +0000 (08:55 +0000)]
moved script to decode module. Script uses old style decode functions, is
compatible only with single byte mappings and most of single byte unicode
mappings are already implemented.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9249 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoIf From: field is unset in an email, header object for from field is not
jangliss [Sun, 10 Apr 2005 02:50:13 +0000 (02:50 +0000)]
If From: field is unset in an email, header object for from field is not
correctly set, and generates an error on reply (#1179754).

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9234 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agodocumenting functions. adding @deprecated to obsolate functions and @since
tokul [Fri, 8 Apr 2005 13:39:05 +0000 (13:39 +0000)]
documenting functions. adding @deprecated to obsolate functions and @since
tags to functions introduced after 1.0. Trying to document argument types
where possible

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9227 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoinformation about changes
tokul [Fri, 8 Apr 2005 11:50:32 +0000 (11:50 +0000)]
information about changes

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9226 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoregister_globals=off fix for squirrelmail_language extraction from cookie.
tokul [Fri, 8 Apr 2005 11:46:26 +0000 (11:46 +0000)]
register_globals=off fix for squirrelmail_language extraction from cookie.

if default squirrelmail language is set to empty string, detect default
language from HTTP_ACCEPT_LANGUAGE (#764709).

explained both tests that control language selection.

make set_my_charset work correctly when default sm language is empty.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9225 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agodocumentation updates
tokul [Fri, 8 Apr 2005 11:38:30 +0000 (11:38 +0000)]
documentation updates

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9224 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoString fix
jervfors [Fri, 8 Apr 2005 09:44:08 +0000 (09:44 +0000)]
String fix

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9223 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agofix 'referral' bug for UW-servers, sorry people
kink [Fri, 8 Apr 2005 08:47:05 +0000 (08:47 +0000)]
fix 'referral' bug for UW-servers, sorry people

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9222 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agophpDocumentor fixes
jervfors [Fri, 8 Apr 2005 06:38:00 +0000 (06:38 +0000)]
phpDocumentor fixes

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9221 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoMoving documentation from source code to README
jervfors [Thu, 7 Apr 2005 16:22:35 +0000 (16:22 +0000)]
Moving documentation from source code to README

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9220 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoPartial support for IMAP LOgin Referrals: tell the user what's going on
kink [Wed, 6 Apr 2005 21:47:06 +0000 (21:47 +0000)]
Partial support for IMAP LOgin Referrals: tell the user what's going on
and log him out (RFC 2221) (Patch #1006242).

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9219 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agosome html-fixes
kink [Wed, 6 Apr 2005 21:30:36 +0000 (21:30 +0000)]
some html-fixes

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9218 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoDrop "$oldway" mailbox list generation code from left_main. The new code
kink [Wed, 6 Apr 2005 20:58:03 +0000 (20:58 +0000)]
Drop "$oldway" mailbox list generation code from left_main. The new code
has been surviving fine since 1.3.0 and as far as we know there are no
current problems with it. What this patch does:
- Remove a lot of obsolete code from left_main.php.
- Remove configurable tweak 'oldway' from config (not renumbering conf.pl
  menu at this stage to avoid confusion of menu item numbers).
- Coding style fixes to mailbox generation code.
- Remove unneccessary (only one cell) HTML tables from left_main.
- Add support for unselectable folder color (color[15]) which was missing
  from ListBoxes.
Note: advancedtree is still a configurable tweak as it's not as mature
and has dhtml-dependencies.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9217 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agochange default reply citation site, it's better to have by default an
kink [Wed, 6 Apr 2005 18:52:14 +0000 (18:52 +0000)]
change default reply citation site, it's better to have by default an
attribution line above a reply than none.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9216 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoImprove error message for illegal folder name.
kink [Wed, 6 Apr 2005 17:51:06 +0000 (17:51 +0000)]
Improve error message for illegal folder name.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9215 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agodeprecated - considered obsolescent
tokul [Wed, 6 Apr 2005 13:51:48 +0000 (13:51 +0000)]
deprecated - considered obsolescent
obsolete - no longer in use

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9213 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoinformation about disabled script
tokul [Wed, 6 Apr 2005 13:02:39 +0000 (13:02 +0000)]
information about disabled script

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9212 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoi don't like deleting things. If some plugin uses it, users should get
tokul [Wed, 6 Apr 2005 12:55:11 +0000 (12:55 +0000)]
i don't like deleting things. If some plugin uses it, users should get
the message.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9211 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoadding since tags
tokul [Wed, 6 Apr 2005 12:46:40 +0000 (12:46 +0000)]
adding since tags

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9210 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoreplaced last redirections to src/delete_message.php with sqimap commands.
tokul [Wed, 6 Apr 2005 12:44:41 +0000 (12:44 +0000)]
replaced last redirections to src/delete_message.php with sqimap commands.
sqimap_msgs_list_delete() is used instead of sqimap_delete_messages(),
because sqimap_delete_messages() is marked as deprecated.

PS.
sqimap_msgs_list_delete($imap_stream, $mailbox, $id, $bypass_trash=false)
sqimap_msgs_list_copy  ($imap_stream, $id, $mailbox, $handle_errors = true)
sqimap_msgs_list_move  ($imap_stream, $id, $mailbox, $handle_errors = true)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9209 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agochangelog layout fixes
kink [Wed, 6 Apr 2005 12:02:23 +0000 (12:02 +0000)]
changelog layout fixes

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9208 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agohiding default prefix in operations with folders. It is not visible in other
tokul [Wed, 6 Apr 2005 10:36:00 +0000 (10:36 +0000)]
hiding default prefix in operations with folders. It is not visible in other
parts of interface

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9207 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoadding param and since tags to some functions
tokul [Tue, 5 Apr 2005 14:16:31 +0000 (14:16 +0000)]
adding param and since tags to some functions

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9206 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoupdating include/validate.php structure
tokul [Tue, 5 Apr 2005 13:48:07 +0000 (13:48 +0000)]
updating include/validate.php structure

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9204 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoone more page to go
tokul [Tue, 5 Apr 2005 13:45:39 +0000 (13:45 +0000)]
one more page to go

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9203 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agomove imap logout to before the redirect to make sure we cleanly terminate
kink [Tue, 5 Apr 2005 13:32:02 +0000 (13:32 +0000)]
move imap logout to before the redirect to make sure we cleanly terminate
the connection (code after a redirect is not guarranteed to be run).

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9201 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoadd robots tag here for completeness' sake
kink [Mon, 4 Apr 2005 19:42:30 +0000 (19:42 +0000)]
add robots tag here for completeness' sake

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9198 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agosmall fix to previous change: box could have been $used already
kink [Mon, 4 Apr 2005 19:21:26 +0000 (19:21 +0000)]
small fix to previous change: box could have been $used already

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9196 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoFix incorrect folder hierarchy shown. Patch was supplied by Awais Ahmad,
kink [Mon, 4 Apr 2005 19:04:24 +0000 (19:04 +0000)]
Fix incorrect folder hierarchy shown. Patch was supplied by Awais Ahmad,
works fine here and is confirmed to work by several other users.
Closes bug #1009654 and patch #1082558.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9195 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoupdating strings
tokul [Mon, 4 Apr 2005 14:09:53 +0000 (14:09 +0000)]
updating strings

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9191 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agousing signed decimal (%d) instead of nonexistent variable type (%i)
tokul [Mon, 4 Apr 2005 13:53:55 +0000 (13:53 +0000)]
using signed decimal (%d) instead of nonexistent variable type (%i)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9189 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoadding function that can be used to display 8bit symbols as hex codes.
tokul [Mon, 4 Apr 2005 13:39:26 +0000 (13:39 +0000)]
adding function that can be used to display 8bit symbols as hex codes.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9188 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoAdd a META robots noindex/nofollow tag to SquirrelMail generated output.
kink [Mon, 4 Apr 2005 12:58:12 +0000 (12:58 +0000)]
Add a META robots noindex/nofollow tag to SquirrelMail generated output.
Major search engines will not index squirrelmail-pages. This serves the
following points:
- The search engines' cache/index does not get polluted with useless data;
  indexing a webmail client is not of interest. We should advise search
  engines that they skip us.
- Will not make a squirrelmail install findable through google. This has
  an advantage when someone is looking for vulnerable webmail systems to
  exploit (i.e.: search for "SquirrelMail" in google, and try every system
  you find with a known exploit).
A robots.txt is not a solution because that has to be in the root of a
document tree, which squirrelmail does not have to be.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9187 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agophpDoc and i18n fixes.
jervfors [Sun, 3 Apr 2005 19:36:11 +0000 (19:36 +0000)]
phpDoc and i18n fixes.
Moving functions from "setup.php" to "functions.php".
Fixing notice in "mailout.php".
Fixing paths.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9180 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agophpDoc fixes
jervfors [Sun, 3 Apr 2005 17:04:51 +0000 (17:04 +0000)]
phpDoc fixes

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9179 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agomissing sprintf around string
kink [Sat, 2 Apr 2005 13:29:15 +0000 (13:29 +0000)]
missing sprintf around string

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9178 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoSome string fixes
kink [Fri, 1 Apr 2005 13:17:10 +0000 (13:17 +0000)]
Some string fixes

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9176 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoHTML Tidy... no such tag as nobr according to W3C.
jangliss [Thu, 31 Mar 2005 23:46:43 +0000 (23:46 +0000)]
HTML Tidy... no such tag as nobr according to W3C.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9175 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoHTML Validation tidy up. Script tags require a "type".
jangliss [Thu, 31 Mar 2005 23:28:44 +0000 (23:28 +0000)]
HTML Validation tidy up.  Script tags require a "type".

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9173 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years ago - Create a generic function to empty a folder tree, thanks to
kink [Thu, 31 Mar 2005 13:10:39 +0000 (13:10 +0000)]
  - Create a generic function to empty a folder tree, thanks to
    Randy Smith (#1145578).

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9171 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoFixed javascript errors when clicking on subject of unread messages
pdontthink [Thu, 31 Mar 2005 11:44:58 +0000 (11:44 +0000)]
Fixed javascript errors when clicking on subject of unread messages

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9170 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoFix folder rename to cope with collapsed-prefs, cyrus>=2.0 and renaming
kink [Wed, 30 Mar 2005 19:01:25 +0000 (19:01 +0000)]
Fix folder rename to cope with collapsed-prefs, cyrus>=2.0 and renaming
of unsubscribed folders. Patch #1155791

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9169 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoFixed bad/malformed request error when Sent was over quota. This was checked
kink [Wed, 30 Mar 2005 18:35:50 +0000 (18:35 +0000)]
Fixed bad/malformed request error when Sent was over quota. This was checked
at the second stage when appending to Sent but not the first stage (the
response was simply thrown away). I've abstracted the checking to a
separate function that is called at the two relevant points. Closes: #1172694

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9166 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agomercury v.4.01b does not need INBOX.
tokul [Wed, 30 Mar 2005 16:41:16 +0000 (16:41 +0000)]
mercury v.4.01b does not need INBOX.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9165 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoone more fix for #1043576. rewrapping is done in compose too.
tokul [Wed, 30 Mar 2005 11:12:15 +0000 (11:12 +0000)]
one more fix for #1043576. rewrapping is done in compose too.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9164 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agomaking script work correctly when draft is resumed. Tagging some parts that
tokul [Wed, 30 Mar 2005 11:03:29 +0000 (11:03 +0000)]
making script work correctly when draft is resumed. Tagging some parts that
might need fixes.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9163 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoAllow extra javascript to be added to checkboxes
pdontthink [Wed, 30 Mar 2005 00:48:17 +0000 (00:48 +0000)]
Allow extra javascript to be added to checkboxes

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9161 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoArea around checkboxes is now also responsive to the fancy row highlighting and auto...
pdontthink [Wed, 30 Mar 2005 00:47:21 +0000 (00:47 +0000)]
Area around checkboxes is now also responsive to the fancy row highlighting and auto-checkbox clicks; also toggle all functionality now corresponds with the fancy row highlighting when in use.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9160 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agodocumenting since tags
tokul [Tue, 29 Mar 2005 16:35:55 +0000 (16:35 +0000)]
documenting since tags

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9159 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agohandle configuration error without displaying paths in error message.
tokul [Tue, 29 Mar 2005 16:16:53 +0000 (16:16 +0000)]
handle configuration error without displaying paths in error message.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9158 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agodocumenting some imap functions
tokul [Tue, 29 Mar 2005 16:03:24 +0000 (16:03 +0000)]
documenting some imap functions

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9157 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoadding phpdoc block before include
tokul [Tue, 29 Mar 2005 15:10:31 +0000 (15:10 +0000)]
adding phpdoc block before include

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9156 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agodocumenting two functions
tokul [Tue, 29 Mar 2005 14:28:13 +0000 (14:28 +0000)]
documenting two functions

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9155 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years ago* removed need to modify backend files. everything is controlled with
tokul [Tue, 29 Mar 2005 13:22:16 +0000 (13:22 +0000)]
* removed need to modify backend files. everything is controlled with
config.php overrides.
* config.php file moved to config_default.php.
* site configuration can be stored in config/ or plugin's directories.
* added code that switches to change_password domain, if plugin is used in
1.4.x.
* merak curl test is moved to init function.
* use $cpw_ prefix for all configuration overrides in order to avoid using
generic names.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9154 7612ce4b-ef26-0410-bec9-ea0150e637f0

19 years agoWhen wanting to use mb_strtoupper, test for the existence of that function
kink [Tue, 29 Mar 2005 13:16:05 +0000 (13:16 +0000)]
When wanting to use mb_strtoupper, test for the existence of that function
(couldn't send any mail anymore because I am lacking that function).

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9153 7612ce4b-ef26-0410-bec9-ea0150e637f0