Commit graph

3121 commits

Author SHA1 Message Date
tokul
920ea39e59 htmlentities break everything that is not iso-8859-1
htmlspecialchars break only iso-2022 (http://en.wikipedia.org/wiki/ISO_2022).
use of iso-2022 charsets in internet communications is deprecated.
2005-06-16 08:39:36 +00:00
stekkel
7139f408f2 Put back old 1.5.1 functionality after the rest of magicHtml was synced
with stable.
2005-06-15 23:11:56 +00:00
stekkel
befb14baf7 XSS fixes 2005-06-15 22:45:44 +00:00
jangliss
5dbb3c0c19 Bug #1219184.
Identity code wasn't checking username for domain portion, if email address
was not set, it re-appended domain name to username.
2005-06-13 02:48:51 +00:00
Fredrik Jervfors
6069973792 String fix and minor formatting 2005-06-04 20:05:42 +00:00
Fredrik Jervfors
94575cc163 String and phpDocumentor fix 2005-06-04 17:04:53 +00:00
Thijs Kinkhorst
2a8241b7df string typo 2005-06-03 08:37:41 +00:00
tokul
df06aed4d2 todo about caching 2005-05-31 17:42:17 +00:00
tokul
adfda7e460 remove if(true)
indicate changes in 1.4.5cvs
add define in order to prevent loading errors in http://url/functions/imap_mailbox.php
2005-05-31 17:18:54 +00:00
tokul
6bdc2b2240 i think, it is better that way. 2005-05-29 08:49:44 +00:00
tokul
0919f2ae89 include_once instead of require_once.
subpackage tags in order to separate prefs functions and files in phpdoc
2005-05-29 08:39:49 +00:00
tokul
ac9598c450 function might be removed in 1.6. 2005-05-29 08:34:58 +00:00
tokul
f4a491aee7 documenting prefs functions 2005-05-29 08:33:18 +00:00
tokul
67646b20f7 documenting form functions.
adding id tag support to every function instead of using it only in main function.
2005-05-29 08:30:57 +00:00
Thijs Kinkhorst
d677e65490 drop any double spaces since these will be displayed in the title-attribute 2005-05-24 12:38:58 +00:00
Fredrik Jervfors
974f7ad73b Initializing aHeaderFields to avoid notices 2005-05-22 22:10:20 +00:00
Thijs Kinkhorst
1b40d377cd Fix get_identities() for the case where the user has not set an email
address: use the fallback $username@$domain that's used in compose aswell.
2005-05-22 13:43:28 +00:00
Thijs Kinkhorst
76a47436fa Handle missing flags column (in broken messages) a bit more gracefully
(ie without php-warnings).
2005-05-22 13:11:58 +00:00
Thijs Kinkhorst
6a3f0ffce5 Tweak IMAP connection error display (#1203154). 2005-05-20 10:34:40 +00:00
tokul
574965eb4f replacing skip_SM_header with two different options. If admins want to shoot
their own foot, they have to do that themselves and remove headers
completely by modifying SquirrelMail scripts.
2005-05-12 08:15:19 +00:00
tokul
51af0253d1 provide failsafe language in case $sm_language is not set in accept_lang
and default language.
2005-05-09 17:25:56 +00:00
tokul
bb39bc97b5 using 'pass' instead of 'ascii'. internal mbstring encoding that should
disable mbstring functions
2005-05-01 10:05:09 +00:00
tokul
a3af4a59a7 phpdoc blocks and some comments that explain check_php_version(4,2,0) 2005-04-26 14:35:21 +00:00
stekkel
26c36ef860 Removal of unused commented code blocks 2005-04-24 13:46:41 +00:00
stekkel
7e9488c05a We are not using objects here. 2005-04-24 13:30:00 +00:00
tokul
2106d9b552 warning about possibly broken function 2005-04-24 08:01:36 +00:00
Fredrik Jervfors
2531f52955 Trimming whitespace and replacing tabs 2005-04-23 12:08:00 +00:00
stekkel
0d2cbaf9f5 * Fix sort order direction
* do not store sortall twice. $aMailbox['SORTALL'][$iSetIndx] is leading.
* Fix for labels. Set the refering id correct.
2005-04-20 20:01:25 +00:00
Thijs Kinkhorst
3c0b4d41b2 Fix a small bug when displaying less messages than the page max. 2005-04-19 19:23:35 +00:00
stekkel
fd313477e4 Just in case ... 2005-04-19 10:44:26 +00:00
stekkel
9efd9d354c Fixed half implemented feature. Now we provide a stream when calling this
function. This will save memory usage in case we forward from compose and
will stop exhausted memory errors in case of large attachments.
2005-04-19 10:34:50 +00:00
stekkel
666ea4c638 Reset the pageindex on a new search 2005-04-18 20:59:46 +00:00
stekkel
0795b7906a Fixed truncateWithEntities function which trimmed the string one char to
early and we could end up with &nbsp instead of  

Possibly fixed multibyte string truncate because the passed int was wrong.
It used $trim_val instead of $iTrimAt (previous $trim_at)
2005-04-18 19:44:41 +00:00
stekkel
7b0bac96b6 Show email address as title attribute if we only show the personal name of
an email address.
2005-04-18 18:05:41 +00:00
stekkel
590cc07929 Show bypass trash checkbox again and move the delete button to the right. 2005-04-18 17:39:48 +00:00
tokul
19eefc1ab4 tagged debugging function used only in asearch 2005-04-18 09:00:30 +00:00
tokul
d856536961 adding html message inside iframe 2005-04-18 07:49:46 +00:00
tokul
419bdb6f9e documenting some functions.
using sqm_baseuri() instead of SM_PATH
sanitizing url arguments with htmlspecialchars in order to convert & to &
2005-04-17 14:45:30 +00:00
tokul
256aa8f9be added iframe code (used when show_html_default = true)
replaced some SM_PATH constants with sqm_baseuri(). It can be broken,
if constant contains full path.
2005-04-17 12:21:41 +00:00
stekkel
0d2a145760 removed just added htmlspecialvars around the date column because it fucks
up the display.
2005-04-16 22:26:32 +00:00
stekkel
0579439873 Small rewrite of the fix of Fredrik and another fix. i initialized the extra
columns array within the loop which was wrong (read stupid)
2005-04-16 22:20:42 +00:00
Fredrik Jervfors
5daf576b71 Fix for highlighting. highlightMessage() didn't get the right input. 2005-04-16 20:17:37 +00:00
Fredrik Jervfors
f98c36762d Fixing strings:
- Removing space before colon
- Removing trailing spaces
- Changing "said" to "wrote"
2005-04-16 17:45:40 +00:00
stekkel
6f464b161a Fix displaying of encoded addresses. 2005-04-16 16:35:18 +00:00
Thijs Kinkhorst
64366af63f Fix a variable typo.
Move the inclusion of default.js to before the extra JS code in page_header,
because the extra code may use functions from default.js (eg Forward as
Attachment, which was broken).
2005-04-16 14:20:38 +00:00
stekkel
a2a0b64cd1 strings: adapt makeComposeLink to the new js
mailbox_display, retrieve aFetchHeaders.
read_body, behave well when the cache is invalidated
2005-04-16 11:12:22 +00:00
Fredrik Jervfors
2591fc78bf Copyright update 2005-04-15 17:11:08 +00:00
tokul
86afe126f5 adding decoding of subject. might have to check other columns too. 2005-04-15 14:13:53 +00:00
stekkel
1ee95a2a68 Forgot to rename the old $xtra var to $sJsHeader. 2005-04-15 13:40:28 +00:00
stekkel
3cf396d875 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.
2005-04-15 08:44:06 +00:00