Commit graph

190 commits

Author SHA1 Message Date
indiri69
778a559cda A forward slash can appear in query of a string, so find the start of a query first. 2003-07-29 21:29:38 +00:00
Thijs Kinkhorst
6e8d622861 Extend sm_print_r so you can do:
sm_print_r($a, $b, $c);
2003-07-23 11:23:53 +00:00
tassium
2b5ba2626f New function: sm_print_r()
This is intended to be a debugging function.  Ever wanted to do a print_r, but found that some of the values were "eaten" by your browser's parser because they had <> in them?  Use this function instead.  It runs htmlentities() on the output of print_r() AND as a bonus wraps the entire thing in <pre> and </pre> tags.
2003-07-03 14:14:48 +00:00
Thijs Kinkhorst
9d5490c98a Fix comp_in_new: make outputing the compose link a function so that
the comp_in_new works the same everywhere.
In this new function, make sure that comp_in_new still works when
JavaScript off.
When JavaScript off, do not output all kinds of JavaScript functions
which are never going to be called.
2003-06-08 14:37:35 +00:00
Thijs Kinkhorst
62a3b54436 Remove some obsoleted parsing functions. 2003-05-22 16:22:52 +00:00
Erin Schnabel
f6730690f9 New Dev version strings.
slight include order change to avoid potential E_ALL message.
2003-04-04 04:00:36 +00:00
Thijs Kinkhorst
e04a02e1bd Continue development on 1.4.1!
Devel team can split 1.5.0 now if they wish.
2003-04-03 19:07:42 +00:00
Thijs Kinkhorst
e8bca9014e Preparing for 1.4.0 release 2003-04-03 17:58:31 +00:00
philippe_mingo
e4ba9851d4 Masato Higashiyama japanese patch. 2003-03-27 16:47:48 +00:00
jangliss
1910cefb96 Weird locales seem to mess with uppercase i, and php seems to like to
convert function names according to locales... bad php, but not much we can
do.  Changed quoteIMAP to quoteimap to work around this for now.  It's only
used during login as far as I can find.
2003-03-10 18:01:45 +00:00
Erin Schnabel
86968b3b4b Cache the base url (protocol://host:port) in the session to make it
faster. get_location already parsed php_self to get the url
e.g. /path/to/sqmail/src
So now, to make Locations compliant, you can either, call get_location if
you know the place you're redirecting to has the same url path you do
(src to src, for example), or check for 'sq_base_url' in the session vars,
call get_location to set it if it isn't there, and then use the
'sq_base_url' session var + base_uri from session + desired location to
redirect.
2003-03-10 07:19:20 +00:00
Erin Schnabel
de20bf0dc9 Clean up references to global vars 2003-03-03 01:43:16 +00:00
Thijs Kinkhorst
2ebce64cba We're talking Megabytes here, not millibytes :) 2003-02-12 05:52:59 +00:00
Thijs Kinkhorst
cfa5204ef3 Continue development 2003-01-24 09:56:34 +00:00
Thijs Kinkhorst
9b174f2895 Releasing RC2a 2003-01-24 09:42:17 +00:00
Thijs Kinkhorst
c02ac502f8 Obsolete duplicate function to make sure version comparison is done in a
predictable way.
2003-01-23 20:14:43 +00:00
Thijs Kinkhorst
2a24b91684 Continue development 2003-01-23 18:34:05 +00:00
Thijs Kinkhorst
ac398c4534 RC2 2003-01-23 17:09:54 +00:00
Thijs Kinkhorst
88a42368fc Obsolete code because crc32() does exist in our minimum php requirements. 2003-01-15 15:49:23 +00:00
Thijs Kinkhorst
3a8028f597 *** empty log message *** 2002-12-31 13:06:27 +00:00
Thijs Kinkhorst
75de52f258 Getting ready for 1.4.0 RC1 2002-12-31 12:49:43 +00:00
Erin Schnabel
2fe515893c forgot to re-enable after testing.. duh. 2002-12-29 19:12:20 +00:00
Erin Schnabel
415b302b6f Wanted to add the SquirrelMail versioning functions we'd talked about before
we split the streams to the new RC for 1.4.

check_sm_version performs similar function to check_php_version, and
will return true if version is >= what is specified.

For Thijs/Jonathan - the check_sm_version will return false if the
constant it checks against is not defined, making the function itself
safe for previous levels,  should you want to roll it back to stable
to allow plugin developers to use the check_sm_version function to
test for 'new' elements like SM_PATH, etc. that are present in 1.3.x
and up.

More info (though not a ton, I'll admit) is in the sm2-planning module
in cvs: cvs co sm2-planning, then pull up sm2-planning/index.php in your
browser.
2002-12-29 19:10:34 +00:00
Thijs Kinkhorst
6deb18e8dc Fix for IIS, thanks Bruce Richardson 2002-12-20 11:35:48 +00:00
stekkel
19da2d75db defrost 2002-10-29 21:38:01 +00:00
stekkel
842ee8b0d6 CVS FROST 2002-10-29 20:17:09 +00:00
Thijs Kinkhorst
f061369901 More rg=0 2002-09-21 20:26:52 +00:00
stekkel
155c8b350a Fixed stupid bug causing double lines (the same) 2002-09-05 14:58:38 +00:00
teepe
5ca94f95ee defrosting 2002-08-20 16:12:05 +00:00
teepe
cdd5a160fd 1.3.1emacs functions/strings.php 2002-08-20 15:18:24 +00:00
stekkel
baca7e66e0 missed a ) 2002-08-19 08:33:05 +00:00
stekkel
79c9044708 adapted version to 1.3.1 [CVS-DEVEL] instead of 1.3.1 (cvs-devel) 2002-08-19 08:26:18 +00:00
teepe
1863932b85 1.3.0 - 1.3.1 defrosting 2002-08-17 19:45:45 +00:00
teepe
b99474b1f0 1.3.0 version string 2002-08-17 19:05:40 +00:00
stekkel
e8c96a4b3e moved sqUnwordWrap from compose to this file 2002-07-25 18:32:15 +00:00
jmunro
7d86e0f0bf Update Changelog and add one more macosx workaround 2002-06-18 15:10:35 +00:00
graf25
f635d37406 Setting version to 1.3.0 [CVS-DEVEL] 2002-05-27 18:11:27 +00:00
jmunro
f8dc8fd369 fix for bug #552961, word wrapping problems. 2002-05-09 15:37:11 +00:00
jmunro
53c1c7a68e updating for 1.2.7 CVS :) 2002-04-30 04:07:53 +00:00
jmunro
4c2ea803d4 version # update to 1.2.6 2002-04-30 03:15:46 +00:00
philippe_mingo
7f0fc85311 Bugfix 2002-03-24 19:54:26 +00:00
philippe_mingo
13cfb682e6 Non-ascii characters caused problems with SVN function and were replaced
with a ? by SourceForge.net in your original log message, which follows:
Asunto: [SM-DEVEL] Bug in mime.php:decodeHeader()
De: Christian Schmidt &lt;christian@ostenfeld.dk&gt;
Fecha: S?b, 23 de Marzo de 2002, 14:48

Currently, the decodeHeader decodes headers containing several
encoded-words incorrectly. E.g. the header "=?iso-8859-1?Q?=C9?= and
=?iso-8859-1?Q?=E9?=" is decoded into "? and ?" and not into "? and ?"
as expected.

Also, it currently does not ignore white-space between consecutive
encoded-words as it should.
2002-03-24 08:09:35 +00:00
philippe_mingo
07992a020a Optimizarion:
Translatetext is a mime.php specific function.
2002-03-23 16:43:06 +00:00
philippe_mingo
5077b11c57 Optimization:
Wraping functions are only used in compose.php
2002-03-23 16:36:39 +00:00
philippe_mingo
9d8c238c5d Optimization:
Function next_pos_minus_white is not used into SM core, not SM official
plugins. It's code will go into a "not currently in use" repository".
2002-03-23 16:30:46 +00:00
philippe_mingo
05747bc945 Optimization:
readMailboxParent was only been used in imap_mailbox. Removed from
strings.php as this is a frequent loaded module.
2002-03-23 16:23:57 +00:00
simond
17f36392d0 Clear out tabs for proper spaces 2002-03-02 20:31:04 +00:00
teepe
52a1dd0287 going on -- defrost 2002-02-22 13:14:57 +00:00
teepe
46b342a9d6 getting ready for 1.2.5 2002-02-22 13:03:34 +00:00
philippe_mingo
46841e05a2 Bugfix in generate random string. 2002-02-11 19:36:12 +00:00