Commit graph

3121 commits

Author SHA1 Message Date
Fredrik Jervfors
2834210b28 Indentation cleanup 2005-01-17 05:41:38 +00:00
Jimmy Conner
934df3d319 Added hook for Preferences Backend to resolve potential file inclusions 2005-01-14 06:16:22 +00:00
tokul
6b73a2c9b7 Provides some fixes for #1043576 (incorrect wrapping of multibyte texts).
If same code is ported to stable, it could make that bug specific to
devel branch. Devel branch needs more fixes for sqBodyWrap function. I would
like to add Eastern charset support before moving it to 1.4.5
2005-01-10 18:43:44 +00:00
tokul
0798207ff3 replacing urlencode with rawurlencode. It is possible that I've missed space
encoding as plus issue when I've tested IE or older php versions does not have
such behaviour. Should fix bug #1076733.
2005-01-09 17:01:42 +00:00
Fredrik Jervfors
5fcc041bd2 Replacing tabs with spaces, trimming white space at EOL and newline at EOF (PHP only) 2005-01-07 17:42:23 +00:00
Fredrik Jervfors
9faf3051c1 Changing squirrelmail/Squirrelmail to SquirrelMail in some strings as well as other minor documentation fixes 2004-12-29 15:06:20 +00:00
Thijs Kinkhorst
127e38685a Add param 'clean' to formatBody to prevent irrelevant stuff like 'download
this as a file' being output in printer friendly. I guess formatBody is
a bit too much of an all-in-one function and it might be cleaner to split
it up at some time in the future. Also add colons to the printer friendly
mailheaders and make them bold.
2004-12-28 13:12:28 +00:00
Thijs Kinkhorst
f4f0728bde Cvascript detection was broken when you changed your setting from never
to autodetect. Fixes: #983614
2004-12-27 21:14:55 +00:00
Thijs Kinkhorst
a73561b911 Increment year in copyright notice. 2004-12-27 15:04:02 +00:00
Thijs Kinkhorst
a3be315040 Add server type 'hmailserver' to work around a searching problem with hMailServer.
Fixes: #1085377
2004-12-24 15:45:33 +00:00
tokul
336c54cb94 explanation of weird chars and header 2004-12-19 15:45:53 +00:00
tokul
ce4d30f9e2 adding sq_setlocale function in order to use multiple locale names without
php 4.3+ dependency
2004-12-09 14:58:08 +00:00
pdontthink
341635bc76 Following up on my long standing threat to remove internal_link hook. Templates make it unnecessary, it is inefficient, and the only plugin using it requires a source patch to the same code anyway. 2004-11-24 22:33:11 +00:00
Thijs Kinkhorst
afa5c6823a set_url_var would eat the "&" if the first url var was being changed.
Fixes #1053725
2004-11-21 14:56:11 +00:00
Thijs Kinkhorst
7f32e1d4d0 Add support for recognising 'Priority' and 'Importance' headers next to the
'X-Priority' that we've been supporting for a long time.
2004-11-21 13:10:06 +00:00
Thijs Kinkhorst
300f1e105d Fix two time zone calculation bugs, thanks to david white for the
excellent analysis; verified by me to be correct solutions.
Closes: #1063879
2004-11-21 11:35:33 +00:00
jangliss
140fbed2ec New line here makes a lot of slightly tidier looking HTML code 2004-11-16 06:20:09 +00:00
tokul
70f56f06fc removing default_charset tests. code can be reused in main function and
ldap needs option that forces decoding when default charset matches
2004-11-15 14:31:18 +00:00
tokul
1038fd2435 allow mbstring functions will all charsets that are available in mbstring.
might add some override that removes need to run mbstring.internal_encoding n times.
fix for bug.1005353
2004-11-14 18:00:32 +00:00
tokul
fab75c08e5 removing obsolate global abook comments.
enhancing list_writeable_backends function
2004-11-14 17:39:30 +00:00
tokul
b216fd82f2 using own squirrelmail functions for encoding/decoding instead of xml functions.
fixes bug.655137
2004-11-14 17:36:37 +00:00
tokul
4737320556 extending utf-8 decoding function.
default_charset test removed because it is better to do in main decoding
function and ldap needs decoding without default_charset test
2004-11-14 17:30:06 +00:00
Fredrik Jervfors
2f301496a7 Fixing XHTML fix 2004-11-12 17:53:40 +00:00
Fredrik Jervfors
66d6ea252d XHTML fixes 2004-11-12 14:21:31 +00:00
tokul
65e2ab7c4a set value returned by ini_get to boolean 2004-11-10 17:49:33 +00:00
tokul
7220e57bed special chars should be undone only after encoding 2004-11-10 17:38:58 +00:00
pdontthink
c05e7e12c8 Fix: Messages shown with bad times in message list due to misinterpreted UW IMAP internal date 2004-11-09 20:04:10 +00:00
tokul
83a8ecb3df don't run decode cycles if charset is the same 2004-11-08 15:56:48 +00:00
tokul
3c0cbadc5b adding phpdoc to abook database class 2004-11-05 11:55:47 +00:00
tokul
0e485197cf documenting options class 2004-11-03 19:38:53 +00:00
Fredrik Jervfors
8c8ecffa57 Replacing tabs with spaces, trimming white space at EOL and newline at EOF 2004-11-02 22:21:34 +00:00
tokul
7b769af3b5 info about added global abook and some comments in abook_local_file.php 2004-11-01 18:49:06 +00:00
tokul
1c0b53d316 adding phpdoc blocks in addressbook classes (one more backend to go)
adding global file based address book support.
global_file backend removed (code reuse)
administrator plugin still need some mods, but it is dark outside and i'll
finish it later.
2004-11-01 17:59:53 +00:00
tokul
e4260dc661 Adding compact page selection options. Thanks to Felix Egli for idea, patch
and other fixes.
Fixed incorrect declaration of $data_dir variable
Removed getPref calls for page selector, because they are already loaded
in load_prefs
2004-11-01 11:31:05 +00:00
tokul
4c04f7cd41 more checks in charset name 2004-11-01 11:02:13 +00:00
tokul
ff01150fd9 adding phpdoc blocks.
fixed unchecked used of create. According to the docs it is optional.
2004-11-01 10:49:31 +00:00
tokul
70da4834e1 removed $phone from array and from ldap queries. SM does not use it.
added phpdoc blocks
enabled list_addr function. currently returns empty array.
2004-11-01 10:47:36 +00:00
Jimmy Conner
2cd94f0d75 Removed variables that were initialized, but never actually used
Also remove a few more globals that were unused
Remove a few newlines at the end of files
Hopefully this will help shrink the memory footprint of SM just slightly
2004-11-01 02:05:15 +00:00
Jimmy Conner
ab05b58d51 Fix a few variables that were inputted incorrectly 2004-11-01 00:40:12 +00:00
Jimmy Conner
6bfd0f1168 Remove unused globals 2004-10-31 23:24:09 +00:00
indiri69
d05fcaf17e Should compared strings with strings. Otherwise a string of just '0' is treated as false 2004-10-29 18:15:59 +00:00
tokul
ef13b079c9 $utfencode and $htmlsave options were not followed in base64 decoding. Maybe
will come up with better if structure tomorrow or during weekend
2004-10-28 18:28:44 +00:00
Jimmy Conner
69b94b6a1c Minor bug fix, assignment in condition resulting in our seeding function to fail 2004-10-28 06:37:38 +00:00
Jimmy Conner
3ce3906906 Missing global, $color was not defined 2004-10-28 05:50:39 +00:00
Jimmy Conner
d0fd6c2198 Minor bug fix, just a misspelled variable $ar instead of $a 2004-10-28 05:30:21 +00:00
Jimmy Conner
b591549290 Minor Bug fix, localbackendname was being set in the wrong "scope". 2004-10-28 05:28:48 +00:00
Jimmy Conner
c9446974d8 Minor bug fix, just a misspelled variable 2004-10-28 05:17:41 +00:00
Jimmy Conner
7ac7b090be Wrong break point is set, we are only 2 deep here, not 3 2004-10-28 04:36:31 +00:00
Jimmy Conner
2c5ad34a2c Missing global, $passed_ent_id was not being set or passed 2004-10-28 04:26:45 +00:00
Fredrik Jervfors
ca476763ce String fix 2004-10-26 05:43:11 +00:00