squirrelmail.git
21 years agoClean ups and error checking.
indiri69 [Tue, 29 Jul 2003 16:35:11 +0000 (16:35 +0000)]
Clean ups and error checking.

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

21 years agoForgot global ;)
alex-brainstorm [Tue, 29 Jul 2003 10:24:20 +0000 (10:24 +0000)]
Forgot global  ;)

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

21 years agoRemoved the last code dependency on a specific version
alex-brainstorm [Tue, 29 Jul 2003 10:19:22 +0000 (10:19 +0000)]
Removed the last code dependency on a specific version

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

21 years agoSome themes (Sea Spray, among others) are incomplete and do not define every element...
tassium [Tue, 29 Jul 2003 01:52:05 +0000 (01:52 +0000)]
Some themes (Sea Spray, among others) are incomplete and do not define every element of the $color array as they probably should.  I moved the "last resort default theme" code up before the attempt to load the chosen theme to provide "sane" defaults should the theme be incomplete.

This is mainly an E_ALL fix.  The themes should be complete, IMO, but that's a job for another day.

** This may affect how things look depending on which theme you use.  If you notice a difference, it's because you were using an incomplete theme. **

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

21 years agofixed indentation advanced tree
stekkel [Mon, 28 Jul 2003 18:49:48 +0000 (18:49 +0000)]
fixed indentation advanced tree
fixed Trash can be selected again.

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

21 years agoremove the % from the LSUB request because we do not need it.
stekkel [Mon, 28 Jul 2003 18:48:55 +0000 (18:48 +0000)]
remove the % from the LSUB request because we do not need it.
fixed speed issue for loop

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

21 years agoDisable \NoSelect flag for INBOX.
stekkel [Mon, 28 Jul 2003 18:43:12 +0000 (18:43 +0000)]
Disable \NoSelect flag for INBOX.
Maker sure INBOX is stored in uppercase

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

21 years agoMake the title of the printer friendly page the subject of the mail -
kink [Mon, 28 Jul 2003 10:35:41 +0000 (10:35 +0000)]
Make the title of the printer friendly page the subject of the mail -
this will look better on the print itself.

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

21 years agoWhen appending a message, the returned data still included a ) from the
jangliss [Mon, 28 Jul 2003 02:39:14 +0000 (02:39 +0000)]
When appending a message, the returned data still included a ) from the
IMAP response, this would be appended to the emails.

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

21 years agoSend the user to the options page if he clicks the Fetch link when
kink [Sun, 27 Jul 2003 22:15:15 +0000 (22:15 +0000)]
Send the user to the options page if he clicks the Fetch link when
no servers are available.

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

21 years agoDrop obsolete function
kink [Sun, 27 Jul 2003 20:24:31 +0000 (20:24 +0000)]
Drop obsolete function

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

21 years agoConfigure sigstripping
kink [Sun, 27 Jul 2003 20:21:10 +0000 (20:21 +0000)]
Configure sigstripping

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

21 years agoAllow for stripping sigs when replying, if enabled will drop everything
kink [Sun, 27 Jul 2003 20:20:31 +0000 (20:20 +0000)]
Allow for stripping sigs when replying, if enabled will drop everything
after '-- ' in the replied-to message.

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

21 years agoAdd an empty body to work around a delay due to a bug in Safari.
kink [Sun, 27 Jul 2003 19:37:21 +0000 (19:37 +0000)]
Add an empty body to work around a delay due to a bug in Safari.

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

21 years agoAdded stylesheets with default Comic Sans MS and Bitstream Vera Sans/Verdana
tokul [Sun, 27 Jul 2003 12:41:27 +0000 (12:41 +0000)]
Added stylesheets with default Comic Sans MS and Bitstream Vera Sans/Verdana
fonts. style sheets default to sans-serif if font is missing. Vera is free
font provided by Bitstream. http://www.gnome.org/fonts/

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

21 years agodisabled "Previous" link is white text on white background
tokul [Sun, 27 Jul 2003 11:42:34 +0000 (11:42 +0000)]
disabled "Previous" link is white text on white background

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

21 years agoSimplified case statement. Suggestion from Thijs.
tokul [Sun, 27 Jul 2003 11:14:01 +0000 (11:14 +0000)]
Simplified case statement. Suggestion from Thijs.

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

21 years agoRepair my mistake : wrong arguments order for stristr (still not used to php's order :(
alex-brainstorm [Sun, 27 Jul 2003 11:13:34 +0000 (11:13 +0000)]
Repair my mistake : wrong arguments order for stristr (still not used to php's order :(

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

21 years agoAdded Minimal BW theme to theme list
tokul [Sun, 27 Jul 2003 11:09:26 +0000 (11:09 +0000)]
Added Minimal BW theme to theme list

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

21 years agoAdded Minimal BW theme. Purpose of theme - colorless environment for
tokul [Sun, 27 Jul 2003 11:06:50 +0000 (11:06 +0000)]
Added Minimal BW theme. Purpose of theme - colorless environment for
browsers that don't support colors and for CGA :) displays if you can find
one.

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

21 years agoAdded cleanup_nbsp function.
tokul [Sun, 27 Jul 2003 10:38:38 +0000 (10:38 +0000)]
Added cleanup_nbsp function.

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

21 years agoDefault theme is set in config/config.php. Setting it here makes SM
tokul [Sun, 27 Jul 2003 09:42:42 +0000 (09:42 +0000)]
Default theme is set in config/config.php. Setting it here makes SM
ignore default theme set by config/config.php.

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

21 years agopreg_match('/iso-8859-/'.. covered all iso-8859 charsets (iso-8859-1,
tokul [Sun, 27 Jul 2003 09:13:29 +0000 (09:13 +0000)]
preg_match('/iso-8859-/'.. covered all iso-8859 charsets (iso-8859-1,
iso-8859-2, iso-8859-13 etc). stristr does not do that.

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

21 years agoI should have probably added this many months ago when I first found out
jangliss [Sun, 27 Jul 2003 03:45:25 +0000 (03:45 +0000)]
I should have probably added this many months ago when I first found out
about the $_SESSION/$HTTP_SESSION_VAR not being available until a session
was explicitly started.  99% of the time, this shouldn't be needed, but
this function checks for an active session, and starts one if there isn't
an active one.  This should fix the following references for the $_ vars.

Tested, and doesn't seem to break anything

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

21 years agoReworked optional charset management.
alex-brainstorm [Sun, 27 Jul 2003 02:50:25 +0000 (02:50 +0000)]
Reworked optional charset management.

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

21 years agoCheck for empty default_charset in imap_utf7_decode_local() too. Duplicate code is...
alex-brainstorm [Sun, 27 Jul 2003 01:50:11 +0000 (01:50 +0000)]
Check for empty default_charset in imap_utf7_decode_local() too. Duplicate code is bad :(.

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

21 years agoReplace None mailbox with first available mailbox (eg INBOX)
alex-brainstorm [Sun, 27 Jul 2003 00:44:15 +0000 (00:44 +0000)]
Replace None mailbox with first available mailbox (eg INBOX)

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

21 years agoFix autodetect-delimiter-no-namespace code for devel sqimap_read_data(). Was breaking...
alex-brainstorm [Sun, 27 Jul 2003 00:32:34 +0000 (00:32 +0000)]
Fix autodetect-delimiter-no-namespace code for devel sqimap_read_data(). Was breaking Mercury/32.

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

21 years agoCreate a [Missing] option in mailbox select if mailbox doesn't exist, like when loade...
alex-brainstorm [Sat, 26 Jul 2003 19:42:58 +0000 (19:42 +0000)]
Create a [Missing] option in mailbox select if mailbox doesn't exist, like when loaded from saved/recent.

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

21 years agoUse sm_print_r() only if it exists, so the code can be backported.
alex-brainstorm [Sat, 26 Jul 2003 18:59:54 +0000 (18:59 +0000)]
Use sm_print_r() only if it exists, so the code can be backported.

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

21 years agoCheck for empty default_charset. RCS tag string fixed ;)
alex-brainstorm [Sat, 26 Jul 2003 18:54:44 +0000 (18:54 +0000)]
Check for empty default_charset. RCS tag string fixed ;)

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

21 years agoUse mail_sent in stead of passing whole message in url var.
kink [Sat, 26 Jul 2003 10:15:14 +0000 (10:15 +0000)]
Use mail_sent in stead of passing whole message in url var.

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

21 years ago*** empty log message ***
kink [Sat, 26 Jul 2003 10:13:35 +0000 (10:13 +0000)]
*** empty log message ***

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

21 years agoDump debug info for mailbox select before it may fail
alex-brainstorm [Sat, 26 Jul 2003 02:06:32 +0000 (02:06 +0000)]
Dump debug info for mailbox select before it may fail

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

21 years agoAdd a confirmation that message has been sent for users who do not
kink [Fri, 25 Jul 2003 23:42:19 +0000 (23:42 +0000)]
Add a confirmation that message has been sent for users who do not
use compose_in_new. I think this is more clear than just presenting them
with the message list again without any notice whatsoever.

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

21 years agoSome small HTML fixes/improvements
kink [Fri, 25 Jul 2003 22:10:22 +0000 (22:10 +0000)]
Some small HTML fixes/improvements

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

21 years agoAdd support for Mail-Followup-To to devel. In short, Reply To All will
kink [Fri, 25 Jul 2003 21:02:32 +0000 (21:02 +0000)]
Add support for Mail-Followup-To to devel. In short, Reply To All will
set To to the value of this header if set.
http://cr.yp.to/proto/replyto.html
http://www.ietf.org/proceedings/98dec/I-D/draft-ietf-drums-mail-followup-to-00.txt
I'm not a real DJB-enthousiast, but reportedly quite some software uses
this header; no harm in supporting it if it's present.

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

21 years agosqimap_encode_mailbox_name() calls added
alex-brainstorm [Fri, 25 Jul 2003 01:02:17 +0000 (01:02 +0000)]
sqimap_encode_mailbox_name() calls added

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

21 years agoDue to changed behaviour of fread (see php bug 24033) we cannot use large
stekkel [Thu, 24 Jul 2003 21:23:18 +0000 (21:23 +0000)]
Due to changed behaviour of fread (see php bug 24033) we cannot use large
buffersizes anymore because we cannot trust fread if the requested buffer is
actually returned.
blocking socket connections do not work anymore like they supposed to work
:(

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

21 years agoImap error management and 8bit chars encoding ;)
alex-brainstorm [Thu, 24 Jul 2003 18:51:59 +0000 (18:51 +0000)]
Imap error management and 8bit chars encoding ;)

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

21 years agoExtracted error_box() calling code into sqimap_error_box() for unified imap error...
alex-brainstorm [Thu, 24 Jul 2003 18:49:28 +0000 (18:49 +0000)]
Extracted error_box() calling code into sqimap_error_box() for unified imap error display

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

21 years agoCorrect on the fly base64 decode algoritm in case the returned data does not
stekkel [Thu, 24 Jul 2003 18:08:10 +0000 (18:08 +0000)]
Correct on the fly base64 decode algoritm in case the returned data does not
have "proper" lines with the same length. With an old uw server I discovered
that lines were split in the middle by \n. This fix will correct it.

The rfc about base64 decoding does not mention anything about line length.
rfc2045 does mention that lines should not be longer then 78 characters but
does not say all the lines (excluding the last of course) must be of the same
size.
There for i could not ignore it and fixed it.

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

21 years agoHTTP/1.1-compliant redirecting
kink [Thu, 24 Jul 2003 08:32:05 +0000 (08:32 +0000)]
HTTP/1.1-compliant redirecting

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

21 years agoremoved encode_mailbox_name() and changed calls since it is now in imap_general....
alex-brainstorm [Wed, 23 Jul 2003 12:12:14 +0000 (12:12 +0000)]
removed encode_mailbox_name() and changed calls since it is now in imap_general. removed INBOX name encoding. removed folder_prefix from forged LSUB INBOX response.

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

21 years agooff-by-one: when strlen == trim_at, we also don't want to print ...
kink [Wed, 23 Jul 2003 11:27:36 +0000 (11:27 +0000)]
off-by-one: when strlen == trim_at, we also don't want to print ...
make code a little cleaner and get default trim_at value out of the fct

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

21 years agoExtend sm_print_r so you can do:
kink [Wed, 23 Jul 2003 11:23:53 +0000 (11:23 +0000)]
Extend sm_print_r so you can do:
sm_print_r($a, $b, $c);

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

21 years agoFix more literal mailbox names
alex-brainstorm [Wed, 23 Jul 2003 03:02:08 +0000 (03:02 +0000)]
Fix more literal mailbox names

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

21 years agoCorrected English
pdontthink [Wed, 23 Jul 2003 01:52:15 +0000 (01:52 +0000)]
Corrected English

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

21 years agoadvanced_tree: moved Purge after trash link, and bumped font size by 0.2
alex-brainstorm [Tue, 22 Jul 2003 17:46:03 +0000 (17:46 +0000)]
advanced_tree: moved Purge after trash link, and bumped font size by 0.2

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

21 years agoMake listcommands plugin work again w.r.t. smaction
kink [Tue, 22 Jul 2003 16:30:13 +0000 (16:30 +0000)]
Make listcommands plugin work again w.r.t. smaction

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

21 years agoChangeLog
jangliss [Tue, 22 Jul 2003 13:29:00 +0000 (13:29 +0000)]
ChangeLog

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

21 years agoUpdated 'action' to be 'smaction' so that plugins can modify the action of
jangliss [Tue, 22 Jul 2003 13:28:09 +0000 (13:28 +0000)]
Updated 'action' to be 'smaction' so that plugins can modify the action of
forms.  This was suggested for the gpg plugin, but might be useful elsewhere.

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

21 years agoChanged to iso-8859-4
tokul [Tue, 22 Jul 2003 10:00:26 +0000 (10:00 +0000)]
Changed to iso-8859-4

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

21 years agoChanged Lithuanian encoding in order to make it mbstring compatible.
tokul [Tue, 22 Jul 2003 09:55:41 +0000 (09:55 +0000)]
Changed Lithuanian encoding in order to make it mbstring compatible.

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

21 years agoUpdated translation with strings from locales cvs
tokul [Tue, 22 Jul 2003 09:54:18 +0000 (09:54 +0000)]
Updated translation with strings from locales cvs

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

21 years agoFix bug that after sending reply user was returned to the first page of
kink [Tue, 22 Jul 2003 09:17:42 +0000 (09:17 +0000)]
Fix bug that after sending reply user was returned to the first page of
the message list, which should be te last-active page (use startMessage).

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

21 years agowhen falling back to the default theme, set $chosen_theme to the path
kink [Tue, 22 Jul 2003 08:46:54 +0000 (08:46 +0000)]
when falling back to the default theme, set $chosen_theme to the path
of default to make functions that depend on $chosen_theme work
correctly (most notably the select list under display preferences which
would have Alien Glow selected when user has no theme set). Thanks Tim Craig
for the bugreport.

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

21 years agoUpdated main squirrelmail.po in case translator update devel strings.
tokul [Mon, 21 Jul 2003 18:31:53 +0000 (18:31 +0000)]
Updated main squirrelmail.po in case translator update devel strings.

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

21 years agoTranslation updates from M.J.Prinsen
tokul [Mon, 21 Jul 2003 18:30:08 +0000 (18:30 +0000)]
Translation updates from M.J.Prinsen

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

21 years agoSmall cleanup: whitespace, simplification
kink [Mon, 21 Jul 2003 15:38:30 +0000 (15:38 +0000)]
Small cleanup: whitespace, simplification

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

21 years agoFix that frequently subjects were displayed ending in ... even though nothing
kink [Mon, 21 Jul 2003 15:21:42 +0000 (15:21 +0000)]
Fix that frequently subjects were displayed ending in ... even though nothing
was trimmed.

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

21 years agologchanges
kink [Mon, 21 Jul 2003 15:04:16 +0000 (15:04 +0000)]
logchanges

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

21 years agoFetching the subject for the messages-to-be-attached went wrong. $i
kink [Mon, 21 Jul 2003 15:01:23 +0000 (15:01 +0000)]
Fetching the subject for the messages-to-be-attached went wrong. $i
and $start_message have no relation to the indices of the $msg array. Fix
this by looping the $msgs array until we find the message with the right
id and take that subject. Closes #772371. Is it possible given an ID to fetch the
subject of a message in a more efficient way?

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

21 years agoFix on previous commit
kink [Mon, 21 Jul 2003 13:23:44 +0000 (13:23 +0000)]
Fix on previous commit

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

21 years agoChangeLog
kink [Mon, 21 Jul 2003 13:12:43 +0000 (13:12 +0000)]
ChangeLog

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

21 years agoFix problem with javascript when user has other plugins that include a
kink [Mon, 21 Jul 2003 13:10:41 +0000 (13:10 +0000)]
Fix problem with javascript when user has other plugins that include a
form before this form (eg Menu Buttons plugin). Using the name of the
compose form solves this.
Plus, use SquirrelMail standard copyright notice.

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

21 years agoCall set_my_charset() before actually using , and fix variable name in case != iso...
alex-brainstorm [Mon, 21 Jul 2003 12:47:06 +0000 (12:47 +0000)]
Call set_my_charset() before actually using , and fix variable name in case != iso-8859-1, all pointed out by Tomas ;)

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

21 years agochanges links of images in advanced_tree=true to .png
tokul [Mon, 21 Jul 2003 09:16:53 +0000 (09:16 +0000)]
changes links of images in advanced_tree=true to .png

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

21 years agoAdded images used for $advanced_tree=true in src/left_main.php
tokul [Mon, 21 Jul 2003 09:12:24 +0000 (09:12 +0000)]
Added images used for $advanced_tree=true in src/left_main.php
used png instead of gif due to patent issues

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

21 years agoCharset spec test should be case-insensitive
alex-brainstorm [Sun, 20 Jul 2003 22:43:15 +0000 (22:43 +0000)]
Charset spec test should be case-insensitive

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

21 years agoFixed Tomas' problem skipping iso-8859-1
alex-brainstorm [Sun, 20 Jul 2003 21:52:56 +0000 (21:52 +0000)]
Fixed Tomas' problem skipping iso-8859-1

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

21 years agoiso-8859-1 test in imap_utf7_decode_local does not work
tokul [Sun, 20 Jul 2003 17:23:26 +0000 (17:23 +0000)]
iso-8859-1 test in imap_utf7_decode_local does not work

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

21 years agoAdded optional mbstring functions to deal with i18n folder names
tokul [Sun, 20 Jul 2003 16:17:08 +0000 (16:17 +0000)]
Added optional mbstring functions to deal with i18n folder names

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

21 years agoUpdated list of servers
tokul [Sun, 20 Jul 2003 07:45:17 +0000 (07:45 +0000)]
Updated list of servers

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

21 years agoComplete Marc's fix for untagged [PARSE] response to THREAD
alex-brainstorm [Fri, 18 Jul 2003 11:24:32 +0000 (11:24 +0000)]
Complete Marc's fix for untagged [PARSE] response to THREAD

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

21 years agoAdd hooks to Changelog and plugins file
cigamit [Fri, 18 Jul 2003 03:38:37 +0000 (03:38 +0000)]
Add hooks to Changelog and plugins file

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

21 years agoSmall fix, Custom CSS option should work properly now
cigamit [Fri, 18 Jul 2003 03:17:30 +0000 (03:17 +0000)]
Small fix, Custom CSS option should work properly now

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

21 years agoRevert this part back, funny thing is that I never changed it in my local copy...
cigamit [Fri, 18 Jul 2003 03:03:11 +0000 (03:03 +0000)]
Revert this part back, funny thing is that I never changed it in my local copy...

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

21 years agoAdded 4 hooks (internal_link, mailbox_display_buttons, move_messages_button_action...
cigamit [Fri, 18 Jul 2003 02:53:37 +0000 (02:53 +0000)]
Added 4 hooks (internal_link, mailbox_display_buttons, move_messages_button_action, create_collapse_link)
These are very useful for several plugins (Msg  Flags, Archive Mail, Link Buttons to name a few) and allow for a more pretty/graphical display

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

21 years agoChange that darn dratted auto-purge folders when you delete 'em thing with
ebullient [Thu, 17 Jul 2003 06:42:30 +0000 (06:42 +0000)]
Change that darn dratted auto-purge folders when you delete 'em thing with
Courier. Sometimes it works with Courier, but it seems that more often than
not, Courier complains if you try to delete a folder and send it to Trash
(seems like we don't close or unselect the folder after copying the contents
to Trash but before we try to delete it).

In any case, since subfolders of trash Will technically work, my safety
don't shoot yourself comments aren't really appropriate.

Also flipped the question on it's head, so it will hopefully make more sense
(value stored is the same, just turned the question upside-down).

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

21 years agoShould have checked in further details what the possible side effects could
jangliss [Thu, 17 Jul 2003 06:32:50 +0000 (06:32 +0000)]
Should have checked in further details what the possible side effects could
be... for now just mark them as Special Folders.  That should take care of
it.

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

21 years agoWhen using sent subfolders, the special folder option is overruled because
jangliss [Thu, 17 Jul 2003 06:29:38 +0000 (06:29 +0000)]
When using sent subfolders, the special folder option is overruled because
the parent isn't marked as a special folder.  This code forces the parents
of the special folders to also be marked as special.  The rest of the subs
for the parent special should follow the movement of the parent in left_main

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

21 years agoUpdate ChangeLog
jangliss [Thu, 17 Jul 2003 04:16:12 +0000 (04:16 +0000)]
Update ChangeLog

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

21 years agoFinally sort out this unseen notifications thing. It now behaves as 1.2.x
jangliss [Thu, 17 Jul 2003 04:15:16 +0000 (04:15 +0000)]
Finally sort out this unseen notifications thing.  It now behaves as 1.2.x
did, when selecting "unseen & total" it displays the data for all folders
if you request it, instead of just the folders with new mail (although
based on description, the 1.4.0 behaviour was technically correct).

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

21 years agofix for BAD response during thread view. The problem was the availability of
stekkel [Wed, 16 Jul 2003 16:37:44 +0000 (16:37 +0000)]
fix for BAD response during thread view. The problem was the availability of
untagged OK responses before the actual thread response

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

21 years agoApparently my fix for hiding the unread count of 0 when in certain modes
jangliss [Wed, 16 Jul 2003 14:30:18 +0000 (14:30 +0000)]
Apparently my fix for hiding the unread count of 0 when in certain modes
made the count disappear completely.  This should work better :)

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

21 years agoFixed bug that would cause e-mails dated in the future to be displayed with
jangliss [Wed, 16 Jul 2003 06:36:07 +0000 (06:36 +0000)]
Fixed bug that would cause e-mails dated in the future to be displayed with
only the time.

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

21 years agoShouldn't display unseen count when it's 0 me thinks.
jangliss [Wed, 16 Jul 2003 04:57:00 +0000 (04:57 +0000)]
Shouldn't display unseen count when it's 0 me thinks.

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

21 years agoRemove end of array. Otherwise we attach the closing paren from the FETCH result.
indiri69 [Tue, 15 Jul 2003 03:24:29 +0000 (03:24 +0000)]
Remove end of array.  Otherwise we attach the closing paren from the FETCH result.

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

21 years agotheme issue caused by validate.php not being first
alex-brainstorm [Mon, 14 Jul 2003 16:30:23 +0000 (16:30 +0000)]
theme issue caused by validate.php not being first

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

21 years agoProvide user with ability to change date/time display in mailboxes. This was
jangliss [Mon, 14 Jul 2003 05:58:54 +0000 (05:58 +0000)]
Provide user with ability to change date/time display in mailboxes. This was
requested on IRC, and I think it should have always been optional.

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

21 years agoAdded translate.ru online translator. Changed strings. Now it is possible
tokul [Sun, 13 Jul 2003 10:45:45 +0000 (10:45 +0000)]
Added translate.ru online translator. Changed strings. Now it is possible
to change number of available languages or language pairs without
squirrelmail.po update. Different string used for InterTran is not mistake.
It looks better when string says "Number of supported languages = 28"
instead of "Number of supported language pairs = 28^2"

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

21 years agoTranslation options in Display prefs won't be displayed if translation
tokul [Sun, 13 Jul 2003 10:41:33 +0000 (10:41 +0000)]
Translation options in Display prefs won't be displayed if translation
directory is not present in locale/

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

21 years agoINBOX is not case-insensitive
alex-brainstorm [Sat, 12 Jul 2003 23:10:42 +0000 (23:10 +0000)]
INBOX is not case-insensitive

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

21 years agoGet a little extra room for internal links when attributions are off
pdontthink [Sat, 12 Jul 2003 22:27:38 +0000 (22:27 +0000)]
Get a little extra room for internal links when attributions are off

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

21 years agoNew layout AUTHORS file
kink [Sat, 12 Jul 2003 10:51:45 +0000 (10:51 +0000)]
New layout AUTHORS file

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

21 years agoBug. 765828. Rewrote patch in order to process locales correctly. If locale
tokul [Sat, 12 Jul 2003 09:01:49 +0000 (09:01 +0000)]
Bug. 765828. Rewrote patch in order to process locales correctly. If locale
is processed incorrectly, it is enough to add $languages['xx_XX']['LOCALE']
variable with full locale name. Fixed only ru_RU and lt_LT. Tested on
Linux Debian Woody and php 4.1.2, 4.2.3, 4.3.0, 4.3.2

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

21 years agoFix message highlighting for text with spaces in it.
indiri69 [Fri, 11 Jul 2003 17:51:34 +0000 (17:51 +0000)]
Fix message highlighting for text with spaces in it.

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

21 years agooldway=false : Fix forged LSUB response triggered by new regexp, and internationalize...
alex-brainstorm [Fri, 11 Jul 2003 13:01:09 +0000 (13:01 +0000)]
oldway=false : Fix forged LSUB response triggered by new regexp, and internationalized INBOX display

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

21 years agoFix literal and duplicate mailbox names
alex-brainstorm [Fri, 11 Jul 2003 10:51:54 +0000 (10:51 +0000)]
Fix literal and duplicate mailbox names

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