stekkel [Fri, 30 Aug 2002 15:05:33 +0000 (15:05 +0000)]
fix for getEntity
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3512
7612ce4b-ef26-0410-bec9-
ea0150e637f0
thomppj [Thu, 29 Aug 2002 23:45:08 +0000 (23:45 +0000)]
Ok. One simple mistake... :)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3511
7612ce4b-ef26-0410-bec9-
ea0150e637f0
thomppj [Thu, 29 Aug 2002 23:42:46 +0000 (23:42 +0000)]
First, more formatting conventions.
1. Wrap all operands of a complex expression with parentheses.
For instance:
if ($bob == 'foo' || $bob == 'bar') {
is wrong. Do this instead:
if (($bob == 'foo') || ($bob == 'bar')) {
2. Carefully decide between pre and post incrementation. If it
does not matter, always choose pre because it is technically
more efficient. For instance:
for ($i = 0; $i < $count; $i++) {
is wrong. Do this instead:
for ($i = 0; $i < $count; ++$i) {
3. Classes should be named in style like this:
MessageHeader
Rfc8222Header
etc. When there is an acronym at the beginning, treat it
like a word - do NOT captitalize each letter of the acronym.
4. Put each class in a seperate file named ClassName.class.php.
Related classes can be put in one directory and then included
in a main include file.
Second, big changes with mime.class.php here. And I don't think I broke
anything. (Sounds like famous last words, eh?)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3510
7612ce4b-ef26-0410-bec9-
ea0150e637f0
robsiemb [Thu, 29 Aug 2002 15:43:38 +0000 (15:43 +0000)]
correctly detect \Noselect in LSUB responses, and set $mbx->is_noselect
so that the folder tree does not allow you to select a nonexistant
mailbox
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3507
7612ce4b-ef26-0410-bec9-
ea0150e637f0
ullgren [Wed, 28 Aug 2002 22:35:03 +0000 (22:35 +0000)]
FIxing bug #600369
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3506
7612ce4b-ef26-0410-bec9-
ea0150e637f0
indiri69 [Wed, 28 Aug 2002 20:39:16 +0000 (20:39 +0000)]
Allow messages with addresses in BCC only.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3504
7612ce4b-ef26-0410-bec9-
ea0150e637f0
indiri69 [Wed, 28 Aug 2002 20:38:33 +0000 (20:38 +0000)]
Move -1 to first section of for loop.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3503
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Wed, 28 Aug 2002 16:35:37 +0000 (16:35 +0000)]
code cleanup
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3499
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Wed, 28 Aug 2002 16:23:25 +0000 (16:23 +0000)]
added var to message-class where we put the location of the temporary
attachment name in case we use the message-object also for composing
messages. (Not finished yet but I'm working on it)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3498
7612ce4b-ef26-0410-bec9-
ea0150e637f0
robsiemb [Wed, 28 Aug 2002 16:18:56 +0000 (16:18 +0000)]
whoops, remove extra variable
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3497
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Wed, 28 Aug 2002 14:52:01 +0000 (14:52 +0000)]
Fixes from Jason to sqimap_read_data.
This also removes the ")" characters which doesn't belong to the requested
data but are part of the imap output.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3495
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Wed, 28 Aug 2002 11:36:08 +0000 (11:36 +0000)]
"J.I Kim" <aporie@iskra.sarang.net>
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3491
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Wed, 28 Aug 2002 11:20:52 +0000 (11:20 +0000)]
Volkan YILDIRIM <volkan@apb.com.tr>
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3489
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Wed, 28 Aug 2002 10:40:16 +0000 (10:40 +0000)]
put back text-decoration:none
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3488
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jmunro [Wed, 28 Aug 2002 07:38:07 +0000 (07:38 +0000)]
webmail top hook
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3487
7612ce4b-ef26-0410-bec9-
ea0150e637f0
robsiemb [Tue, 27 Aug 2002 18:15:55 +0000 (18:15 +0000)]
. fixed 'heigth' typo to 'height'
. changed rollover highlighting to use CSS
. changed the ID tags to use 4 character identifiers to deal with
large folder trees
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3479
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Tue, 27 Aug 2002 17:38:01 +0000 (17:38 +0000)]
htmlspecialvars bodystructure
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3477
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Tue, 27 Aug 2002 17:23:09 +0000 (17:23 +0000)]
Added error message in case the bodystructure couldn't processed.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3476
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Tue, 27 Aug 2002 16:36:10 +0000 (16:36 +0000)]
finally managed to solve the bad Junk after literal output from the
imap-server
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3475
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Tue, 27 Aug 2002 14:26:30 +0000 (14:26 +0000)]
Masato's credits
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3473
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Tue, 27 Aug 2002 12:48:30 +0000 (12:48 +0000)]
fix for Junk after literal error message from imap-server when mail is
appended to the sentfolder
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3472
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Tue, 27 Aug 2002 07:04:43 +0000 (07:04 +0000)]
Paul's changes
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3471
7612ce4b-ef26-0410-bec9-
ea0150e637f0
thomppj [Mon, 26 Aug 2002 22:53:05 +0000 (22:53 +0000)]
Fixed strings so that they would be mo better english. :)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3470
7612ce4b-ef26-0410-bec9-
ea0150e637f0
indiri69 [Mon, 26 Aug 2002 22:13:56 +0000 (22:13 +0000)]
Changed the way we handle entities in message/rfc822 types. $msg->entity_id++
would increment by 0.1 in php 4.0.4 but would increment by 1.0 in php 4.0.6.
This meant that a message/rfc822 type with only a text/plain part would label
the text/plain part entity 3.0 instead of 2.1. This should fix that problem.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3469
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Mon, 26 Aug 2002 14:31:15 +0000 (14:31 +0000)]
added extra check for save internal link extensions. (for use with
magicHTML)
Maybe this is the wrong fix but in case of iframes tags with a cid link to an
internal entity it's possible that stupid users download attached virus
entities because the iframe src pointed to a filename with .scr, .exe, .bat or
other extension. This patch only allow the following hardcoded save extensions:
gif, jpeg, jpg, png, bmp.
To do:
notify user in case of invalid extensions.
totally remove iframes because I think in most cases (virus) they are unsave.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3468
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Mon, 26 Aug 2002 14:21:35 +0000 (14:21 +0000)]
fix for getFilename
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3467
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Mon, 26 Aug 2002 12:30:02 +0000 (12:30 +0000)]
fix for viewing html entities with images involved.
We have to pass the complete message object to magicHTML to find the related
images.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3466
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Mon, 26 Aug 2002 11:18:10 +0000 (11:18 +0000)]
modified html_link to redirect output to view_text.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3465
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Mon, 26 Aug 2002 11:14:33 +0000 (11:14 +0000)]
fix for downloadlink and for redirecting html entities
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3464
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Mon, 26 Aug 2002 10:45:51 +0000 (10:45 +0000)]
fix warning
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3463
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Mon, 26 Aug 2002 10:07:22 +0000 (10:07 +0000)]
fix for the bodystructure parser
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3462
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Mon, 26 Aug 2002 09:40:11 +0000 (09:40 +0000)]
"Arief S Fitrianto" <arief@gurame.fisika.ui.ac.id>
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3461
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Mon, 26 Aug 2002 09:38:08 +0000 (09:38 +0000)]
Marc check this.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3460
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Mon, 26 Aug 2002 09:31:22 +0000 (09:31 +0000)]
typo
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3459
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Mon, 26 Aug 2002 09:27:43 +0000 (09:27 +0000)]
quick hack to remove the preg_match for * [0-9]+ FETCH in case of
sqimap_run_command. Explanation: if we request for a single fetch (not a
list) we shouldn't look for extra fetch lines because this stops the
processing in case of body entities with * a001 fetch lines.
Later we can glue the 2 functions together if we add information to
sqimap_read_data_list about the nature of the call (list or not)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3458
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Mon, 26 Aug 2002 08:32:21 +0000 (08:32 +0000)]
Minor sintax changes
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3457
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Mon, 26 Aug 2002 07:30:33 +0000 (07:30 +0000)]
"Kent B. Hansen" <kent@squirrelmail.dk>
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3456
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Mon, 26 Aug 2002 07:29:00 +0000 (07:29 +0000)]
"Marcos Tadeu von Lutzow Vidal" <marcos@v2r.com.br>
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3455
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Mon, 26 Aug 2002 07:16:18 +0000 (07:16 +0000)]
main po update
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3454
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Mon, 26 Aug 2002 07:15:11 +0000 (07:15 +0000)]
Typo
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3453
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Mon, 26 Aug 2002 06:56:04 +0000 (06:56 +0000)]
Spanish Update
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3452
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Sun, 25 Aug 2002 09:54:19 +0000 (09:54 +0000)]
JP and ES updates.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3451
7612ce4b-ef26-0410-bec9-
ea0150e637f0
indiri69 [Sat, 24 Aug 2002 21:37:52 +0000 (21:37 +0000)]
More code cleanup
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3450
7612ce4b-ef26-0410-bec9-
ea0150e637f0
indiri69 [Sat, 24 Aug 2002 21:28:18 +0000 (21:28 +0000)]
Code cleanup
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3449
7612ce4b-ef26-0410-bec9-
ea0150e637f0
indiri69 [Sat, 24 Aug 2002 19:39:02 +0000 (19:39 +0000)]
Removed findDisplayEntity. The mime class has one like it already.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3448
7612ce4b-ef26-0410-bec9-
ea0150e637f0
indiri69 [Sat, 24 Aug 2002 19:34:57 +0000 (19:34 +0000)]
Added argument $strict to findDisplayEntity. When false (the default) it
assume 'text/plain', 'text/html', and 'text/message' are viewable. When
true (strict mode), it will only treat the types passed as viewable. This
means if you pass just 'text/html' in alt_order, then it will only return
those parts that are viewable 'text/html'.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3447
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Sat, 24 Aug 2002 05:38:31 +0000 (05:38 +0000)]
Typo. _ was missing.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3446
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Fri, 23 Aug 2002 20:15:30 +0000 (20:15 +0000)]
Seems to be using a PHP 4.1 only function... changing code so also the PHP 4.0 syntax can be
used.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3445
7612ce4b-ef26-0410-bec9-
ea0150e637f0
indiri69 [Fri, 23 Aug 2002 17:49:01 +0000 (17:49 +0000)]
Replaced some deleted lines that are need for filters to work correctly.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3444
7612ce4b-ef26-0410-bec9-
ea0150e637f0
indiri69 [Fri, 23 Aug 2002 17:41:20 +0000 (17:41 +0000)]
Fixed typo
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3443
7612ce4b-ef26-0410-bec9-
ea0150e637f0
indiri69 [Fri, 23 Aug 2002 17:30:34 +0000 (17:30 +0000)]
Removed spaces from end of SEARCH string, UW doesn't like them.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3442
7612ce4b-ef26-0410-bec9-
ea0150e637f0
indiri69 [Fri, 23 Aug 2002 17:19:38 +0000 (17:19 +0000)]
Added missing
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3441
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Fri, 23 Aug 2002 16:46:15 +0000 (16:46 +0000)]
fix for undefined textarea
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3439
7612ce4b-ef26-0410-bec9-
ea0150e637f0
indiri69 [Fri, 23 Aug 2002 16:45:41 +0000 (16:45 +0000)]
Change > < to they're plain text equivalents. Now when we view text/html as plaintext it doesn't look as bad.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3438
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Fri, 23 Aug 2002 16:44:14 +0000 (16:44 +0000)]
fixed warnings
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3437
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Fri, 23 Aug 2002 16:38:16 +0000 (16:38 +0000)]
Sorry Philippe I get terrible warnings and I use language NL_nl, Is this the
proper fix?
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3436
7612ce4b-ef26-0410-bec9-
ea0150e637f0
indiri69 [Fri, 23 Aug 2002 16:31:32 +0000 (16:31 +0000)]
Cleaned up parseComments so it handles comments inside of comments. Changed
a for to a foreach for simplify the clean up function.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3434
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Fri, 23 Aug 2002 16:27:28 +0000 (16:27 +0000)]
Indentation
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3433
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Fri, 23 Aug 2002 16:19:29 +0000 (16:19 +0000)]
Some indentation.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3432
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Fri, 23 Aug 2002 16:02:51 +0000 (16:02 +0000)]
OOOpps. Looks like Marc and I were working on the same code 8)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3431
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Fri, 23 Aug 2002 15:46:58 +0000 (15:46 +0000)]
Masato:
Change into the extra encode philosophy to allow other languages to
use it.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3430
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Fri, 23 Aug 2002 15:42:41 +0000 (15:42 +0000)]
fix for reply wrapping.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3429
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Fri, 23 Aug 2002 15:10:50 +0000 (15:10 +0000)]
make use of sqimap_read_data_list in imap_general + some fixes for devel
Can somebody test it because I never used/test this plugin
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3428
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Fri, 23 Aug 2002 14:53:24 +0000 (14:53 +0000)]
Japanese
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3427
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Fri, 23 Aug 2002 13:54:18 +0000 (13:54 +0000)]
"-= M.J. Prinsen =-" <various@bovendelft.xs4all.nl>
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3425
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Fri, 23 Aug 2002 12:33:08 +0000 (12:33 +0000)]
Bugfixes mime class. (Like I mentioned in the mail Paul)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3424
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Fri, 23 Aug 2002 12:05:57 +0000 (12:05 +0000)]
fixes for changed attachment handling
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3423
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Fri, 23 Aug 2002 11:59:02 +0000 (11:59 +0000)]
This fixes the broken smtp transport when dot's are not handled properly.
it is tested for smtp but i'm not sure if it also counts for sendmail (I
think it does).
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3422
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Fri, 23 Aug 2002 06:52:32 +0000 (06:52 +0000)]
Corrected JP headers
"-= M.J. Prinsen =-" <various@bovendelft.xs4all.nl>
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3421
7612ce4b-ef26-0410-bec9-
ea0150e637f0
indiri69 [Thu, 22 Aug 2002 21:54:22 +0000 (21:54 +0000)]
Fixed a few typos, removed so trailing spaces.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3419
7612ce4b-ef26-0410-bec9-
ea0150e637f0
thomppj [Thu, 22 Aug 2002 20:15:13 +0000 (20:15 +0000)]
Reformatted, cleaned up, optimized, and so forth... Dang, people! Write
neat code. I removed almost 400 lines of code do to sloppy coding!
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3418
7612ce4b-ef26-0410-bec9-
ea0150e637f0
indiri69 [Thu, 22 Aug 2002 18:36:04 +0000 (18:36 +0000)]
Moved links to bottom of menu before header
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3417
7612ce4b-ef26-0410-bec9-
ea0150e637f0
indiri69 [Thu, 22 Aug 2002 17:58:17 +0000 (17:58 +0000)]
Added two new hooks 'read_body_menu_top' and 'read_body_menu_bottom'
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3415
7612ce4b-ef26-0410-bec9-
ea0150e637f0
indiri69 [Thu, 22 Aug 2002 16:26:02 +0000 (16:26 +0000)]
Only show text/plain if show_html_default=0
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3414
7612ce4b-ef26-0410-bec9-
ea0150e637f0
indiri69 [Thu, 22 Aug 2002 15:14:12 +0000 (15:14 +0000)]
Subject doesn't have comments
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3413
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Thu, 22 Aug 2002 13:49:39 +0000 (13:49 +0000)]
Some fixes
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3412
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Thu, 22 Aug 2002 13:07:40 +0000 (13:07 +0000)]
removed double code (sorry forgot)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3411
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Thu, 22 Aug 2002 12:20:48 +0000 (12:20 +0000)]
added user-agent check (from Masato Japanese patches)
(this has nothing to do with Japanese, just an enhancement)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3410
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Thu, 22 Aug 2002 11:57:37 +0000 (11:57 +0000)]
small changes that maybe solve a paginator bug
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3409
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Thu, 22 Aug 2002 10:43:01 +0000 (10:43 +0000)]
Locales update
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3408
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Thu, 22 Aug 2002 10:34:42 +0000 (10:34 +0000)]
Fix
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3407
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Thu, 22 Aug 2002 10:14:25 +0000 (10:14 +0000)]
Bugfix
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3406
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Thu, 22 Aug 2002 10:04:34 +0000 (10:04 +0000)]
Indentation & Bugfix
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3405
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Thu, 22 Aug 2002 09:33:09 +0000 (09:33 +0000)]
Masato
Japanes patch
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3404
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Thu, 22 Aug 2002 09:30:04 +0000 (09:30 +0000)]
Added toggle_all link + formatting changes
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3403
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Thu, 22 Aug 2002 09:18:54 +0000 (09:18 +0000)]
Masato
Japanese encodings
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3402
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Thu, 22 Aug 2002 09:15:53 +0000 (09:15 +0000)]
Masato
Japanese locale files
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3401
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Thu, 22 Aug 2002 09:13:40 +0000 (09:13 +0000)]
Masato
Japanese help files.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3400
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Thu, 22 Aug 2002 09:05:39 +0000 (09:05 +0000)]
Masato
Japanese security image
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3399
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Thu, 22 Aug 2002 08:45:08 +0000 (08:45 +0000)]
fixed problem with forwarding messages
Thnx Jasper Kalkman for spotting the problem.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3398
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Thu, 22 Aug 2002 08:43:29 +0000 (08:43 +0000)]
added function to extract filename from an entity with error correction in
case the disposition isn't defined
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3397
7612ce4b-ef26-0410-bec9-
ea0150e637f0
thomppj [Wed, 21 Aug 2002 22:56:09 +0000 (22:56 +0000)]
Lots of small user interface fixes. Added user option to enable/disable "forward as attachment".
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3396
7612ce4b-ef26-0410-bec9-
ea0150e637f0
indiri69 [Wed, 21 Aug 2002 17:22:53 +0000 (17:22 +0000)]
Missed a spelling change
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3389
7612ce4b-ef26-0410-bec9-
ea0150e637f0
indiri69 [Wed, 21 Aug 2002 17:17:21 +0000 (17:17 +0000)]
How we call findDisplayEntity should depend on whether we want to show
HTML documents. Otherwise we end up displaying a plain text version of the
HTML part instead of the text/plain part.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3388
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Wed, 21 Aug 2002 14:05:40 +0000 (14:05 +0000)]
fix for dissapearing carriage returns in case of draft messages.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3387
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Wed, 21 Aug 2002 13:45:06 +0000 (13:45 +0000)]
fixed a lot of warnings
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3386
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Wed, 21 Aug 2002 13:43:49 +0000 (13:43 +0000)]
fix for bug-report
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3385
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Wed, 21 Aug 2002 10:10:52 +0000 (10:10 +0000)]
fix for image-display $passed_ent_id -> ent_id
Now we only use passed_ent_id in case of message/rfc822 attachments
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3384
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Wed, 21 Aug 2002 10:09:15 +0000 (10:09 +0000)]
fix for getEntity and the return of a non-object
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3383
7612ce4b-ef26-0410-bec9-
ea0150e637f0
indiri69 [Tue, 20 Aug 2002 21:13:45 +0000 (21:13 +0000)]
A few changes, mostly to make the code more readable. In
findAlternativeEntity we now compare current or greater best_view since
RFC2046 says we should use the LAST viewable part.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3377
7612ce4b-ef26-0410-bec9-
ea0150e637f0