Commit graph

2168 commits

Author SHA1 Message Date
tokul
b59beee63b using sq_is8bit function instead of ereg. Code reuse and fixes some problems
with mbstring overloading.

P.S. SquirrelMail login fails with
php_value mbstring.func_overload 2
php_value mbstring.internal_encoding utf-8
2004-10-15 09:15:49 +00:00
tokul
232912ec98 adding sq_is8bit and sq_mb_list_encodings functions.
sq_is8bit can be used in decoding functions and read_body.php
sq_mb_list_encodings provides replacement for mb_list_encodings
2004-10-15 09:12:12 +00:00
tokul
79e8f4cc82 sanitizing folder name display. 2004-10-09 12:46:40 +00:00
tokul
2545362c99 adding htmlencoded option to SquirrelOption. allows to preserve html entities
moved isset postvals test into function call. removes duplicate code.
2004-10-09 09:11:59 +00:00
tokul
7d8e72b675 moving functions from src/addressbook.php to functions/addressbook.php - possible code reuse
rearranged functions in functions/addressbook.php (functions first, classes next)
added abook_create_form function
if value of address book field contains array, create select box instead of input field.
2004-10-09 08:12:23 +00:00
tokul
16f9f9b6fa use C floating point 2004-10-04 16:35:31 +00:00
tokul
1e107aa2f1 version info 2004-10-04 14:29:58 +00:00
tokul
1127ca1b87 adding version information 2004-10-04 14:29:09 +00:00
tokul
5edccddece rearranged layout of the file. first add all functions, then add i18n code.
remove combined japanese_xtra function. System is set to use independent
xtra functions.
2004-10-04 14:25:03 +00:00
tokul
55a419d9b6 changing SM internal gettext functions to use php-gettext classes. Fix for
bug. 1019007.
2004-10-04 14:14:48 +00:00
Fredrik Jervfors
72b432b7f5 Minor cleanup in comments 2004-10-03 03:18:51 +00:00
Fredrik Jervfors
3dcfb0d948 Unifying with STABLE 2004-10-03 02:37:18 +00:00
Fredrik Jervfors
c60c790628 Minor cleanups and changing the links for downloading/viewing attachments 2004-10-03 02:14:30 +00:00
Fredrik Jervfors
00d5c9891a Cleanup in comment 2004-10-02 20:27:29 +00:00
Fredrik Jervfors
d297f47302 Minor cleanup in comments 2004-10-02 18:00:20 +00:00
indiri69
764ddb4a7a Do a natural language sort on mailbox names. Otherwise it shows as all uppercase and then all lowercase 2004-09-30 18:11:38 +00:00
tokul
6ffbf803ff fixed toggle all link for browsers without JS support. older implementation
used $mailbox variable and created longer url after each click. it still need
fixes for message moving and maybe for search.
2004-09-29 18:03:21 +00:00
tokul
e2338c538b Adding Bengali translation support 2004-09-28 17:17:02 +00:00
Fredrik Jervfors
d400b6c95d Fixing undefined variables 2004-09-28 05:37:13 +00:00
Fredrik Jervfors
f754ddfe6d Always display $org_name in the title 2004-09-28 04:54:07 +00:00
tokul
f6e01d9e45 adding tis-620 support 2004-09-10 16:33:00 +00:00
tokul
a0727bff97 adding other five charsets needed for some translations 2004-09-10 16:19:45 +00:00
Jimmy Conner
9f5ced8fd0 Fixed problem that caused an error when deleting all messages on the last page of a paginated view (provides fix for #1014612). It would point to an invalid page mainly because an extra variable wasn't being updated and one other small miscalculation. 2004-09-08 03:28:33 +00:00
tokul
ff640799f7 Use C character conversion rules if Turkish translation is used. Breaks
some case insensitive searches in Turkish translations, but stops breaking
any strtoupper/strtolower functions, that assume English character case
conversion rules.
2004-09-07 15:59:32 +00:00
tokul
58e9a56011 adding iso8859-7 and iso-8859-9 support 2004-09-07 15:55:36 +00:00
tokul
cd8b58979c adding iso8859-15 support 2004-09-07 15:11:48 +00:00
tokul
5421195484 Adding iso8859-2 encoding support 2004-09-07 14:58:07 +00:00
tokul
5c49d33bcf adding option that allows html transitional or frameset doctype 2004-09-07 13:46:36 +00:00
tokul
b7d636673e me bad. loose but lossy. 2004-09-01 16:37:57 +00:00
Jimmy Conner
a7742cbe17 Fixes for bugs #1019185 and #1017941
global variable $boxesnew was being corrupted by another function (I don't really see why its even global at this point, its also stored in the Session).  Changed the name of the variable used in the offending function.  The symptoms were that the folder list boxes would not be populated, errors when emptying the trash, and errors in the Folders Options.
2004-09-01 04:11:20 +00:00
tokul
c519c0b117 removed language codes from conf.pl. List is too big.
$default_charset can be used to change charset of English translation.
2004-08-31 17:27:10 +00:00
tokul
7e398fef72 adding space between cols="number" and $attr.
removing extra double quote.
2004-08-29 16:56:41 +00:00
tokul
4ac56e5965 agresive_decoding changed to aggressive_decoding.
added loosy_encoding to conf.pl and other configuration scripts.
added phpdoc since tags to some options.
2004-08-27 12:46:59 +00:00
tokul
c616f63103 if encoding function can't find charset, it does us-ascii encoding.
$enable_loosy_encoding option allows to use charset conversion in compose,
when output charset does not provide full support of symbols used in input
charset. (for example. utf-8 -> iso-8859-1). Provides solution for bug.806698
2004-08-27 11:54:17 +00:00
tokul
f63814f9d2 send urlencoded filename to IE 2004-08-27 11:48:44 +00:00
tokul
35cd968a09 adding iso-8859-1 and us-ascii encoding support 2004-08-27 11:47:02 +00:00
tokul
c3fbee82cb rewriting utf8 encoding function. preg_replace is safer that splitting into
arrays. now function will support all symbols until somebody comes up with
symbol No 2^31+1 :)
2004-08-26 18:39:20 +00:00
Fredrik Jervfors
b9788abcfa Minor cleanups 2004-08-24 22:00:05 +00:00
Fredrik Jervfors
33e1b8f4f4 Indentation fixes 2004-08-24 07:53:55 +00:00
Fredrik Jervfors
3b83c567dd Minor cleanups 2004-08-24 00:40:28 +00:00
Thijs Kinkhorst
850e646c72 Close connection cleanly when login/pw incorrect, following RFC recommendation. 2004-08-18 20:16:46 +00:00
Jimmy Conner
e938355b60 Reenabled the move_messages_button_action hook and changed its name to mailbox_display_button_action to promote the new location. This name change will also make it easier for plugins to support both stable and devel, instead of breaking alot of things 2004-08-18 06:05:10 +00:00
Jimmy Conner
f11b6a1d19 Small fix for users that get "Spurious argument" on every search query
Not sure if this is just my installation, but it definitely doesn't want to work without this being declared global
2004-08-18 03:36:41 +00:00
Fredrik Jervfors
d81fc9e5b0 XHTML fixes 2004-08-15 04:04:17 +00:00
Fredrik Jervfors
303d308968 XHTML fixes 2004-08-15 01:02:58 +00:00
Fredrik Jervfors
e0ff3afb18 I18n fixes 2004-08-14 19:13:31 +00:00
Fredrik Jervfors
656ef3c870 XHTML fixes 2004-08-14 02:41:12 +00:00
Fredrik Jervfors
1a4d1bf08f XHTML fixes 2004-08-12 03:47:03 +00:00
Fredrik Jervfors
04bcb32912 I18n fixes 2004-08-11 15:32:23 +00:00
Fredrik Jervfors
2f598f16c2 XHTML fixes 2004-08-11 08:40:19 +00:00