squirrelmail.git
16 years agoPHP 4.4.0 notice: Only variables should be assigned by reference in src/right_main...
jervfors [Mon, 15 Aug 2005 01:01:58 +0000 (01:01 +0000)]
PHP 4.4.0 notice: Only variables should be assigned by reference in src/right_main.php on line 346

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9965 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoPHP 4.4.0 notice: Only variables should be assigned by reference in src/view_text...
jervfors [Sun, 14 Aug 2005 15:28:03 +0000 (15:28 +0000)]
PHP 4.4.0 notice: Only variables should be assigned by reference in src/view_text.php on line 49

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9963 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoDon't attempt to delete a mailbox that does not exist.
jangliss [Thu, 11 Aug 2005 03:43:08 +0000 (03:43 +0000)]
Don't attempt to delete a mailbox that does not exist.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9928 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoremove html formating from error messages. XSS fixes sanitize errors and display...
tokul [Wed, 10 Aug 2005 19:27:37 +0000 (19:27 +0000)]
remove html formating from error messages. XSS fixes sanitize errors and display "

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9927 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoremoved references from abook_database.php
tokul [Wed, 10 Aug 2005 18:47:41 +0000 (18:47 +0000)]
removed references from abook_database.php

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9926 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoremoving references from backend functions. lookup causes E_NOTICE in php
tokul [Wed, 10 Aug 2005 18:35:41 +0000 (18:35 +0000)]
removing references from backend functions. lookup causes E_NOTICE in php
4.4.0, because tries to return array(). Use of references can't be explained.
Main backend class and file/ldap backends don't use refencences. If it is
used for some reason, other lookup() should have to use references too.
I suspect that reason is performance or it is relict from some different code.
PHP manual says that developers should not use references in order to increase
performance.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9925 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoRespect the error_reporting setting in php.ini and do not display errors
stekkel [Sat, 6 Aug 2005 12:01:39 +0000 (12:01 +0000)]
Respect the error_reporting setting in php.ini and do not display errors
when the error level is not enabled in php.ini

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9923 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoDo not use $key as varname outside functions because that's used for the
stekkel [Sat, 6 Aug 2005 11:44:56 +0000 (11:44 +0000)]
Do not use $key as varname outside functions because that's used for the
global secret key.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9922 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agophpdoc fix.
tokul [Sat, 6 Aug 2005 06:16:39 +0000 (06:16 +0000)]
phpdoc fix.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9919 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoupdate pot and add locale options to xgetpo script
tokul [Sat, 6 Aug 2005 06:09:43 +0000 (06:09 +0000)]
update pot and add locale options to xgetpo script

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9917 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoremoving $available_languages option
tokul [Sat, 6 Aug 2005 06:01:49 +0000 (06:01 +0000)]
removing $available_languages option

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9916 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agomoving administrator check to option block registration. reduces amount of
tokul [Sat, 6 Aug 2005 05:52:58 +0000 (05:52 +0000)]
moving administrator check to option block registration. reduces amount of
code loaded during plugin's init. removing trailing linefeed from auth.php

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9915 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agosome languages use syntax that can't be adapted for printf command. If translator
tokul [Sat, 6 Aug 2005 05:18:15 +0000 (05:18 +0000)]
some languages use syntax that can't be adapted for printf command. If translator
tries to translate string correctly, he/she can create msgfmt errors.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9913 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoadding -c option to msgfmt calls in order to detect formating errors (#1252843)
tokul [Sat, 6 Aug 2005 03:49:39 +0000 (03:49 +0000)]
adding -c option to msgfmt calls in order to detect formating errors (#1252843)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9912 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoReplace PHP4 -> PHP since we also support upcoming PHP versions
kink [Wed, 3 Aug 2005 21:32:39 +0000 (21:32 +0000)]
Replace PHP4 -> PHP since we also support upcoming PHP versions
(at least we wish to support them).

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9901 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years ago* sync matches and replacement arrays again in magicHtml()
stekkel [Wed, 3 Aug 2005 17:58:30 +0000 (17:58 +0000)]
* sync matches and replacement arrays again in magicHtml()
* fix for regular expression that should catch
url(http://domain.tld/location)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9894 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agochmod 700 locale
tokul [Wed, 3 Aug 2005 12:21:32 +0000 (12:21 +0000)]
chmod 700 locale

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9893 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agomore php 4.1.2 testing. it is possible that ini_get call is not needed.
tokul [Wed, 3 Aug 2005 12:19:53 +0000 (12:19 +0000)]
more php 4.1.2 testing. it is possible that ini_get call is not needed.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9892 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agousing B encoding with headers in multibyte character sets.
tokul [Wed, 3 Aug 2005 12:06:42 +0000 (12:06 +0000)]
using B encoding with headers in multibyte character sets.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9891 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoglob exists only in 4.3.0+
tokul [Wed, 3 Aug 2005 11:54:27 +0000 (11:54 +0000)]
glob exists only in 4.3.0+

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9890 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoAllow configure to be ran from any directory, thanks Ceri Davies.
kink [Tue, 2 Aug 2005 20:16:48 +0000 (20:16 +0000)]
Allow configure to be ran from any directory, thanks Ceri Davies.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9888 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoinformation about $languages update
tokul [Tue, 2 Aug 2005 15:17:21 +0000 (15:17 +0000)]
information about $languages update

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9887 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years ago$languages are moved to locale/<localename>/setup.php files.
tokul [Tue, 2 Aug 2005 15:14:11 +0000 (15:14 +0000)]
$languages are moved to locale/<localename>/setup.php files.
SquirrelMail locales cvs should support in any package from 1.4.6 and 1.5.1.

Code can't be used for 1.4.x stable, if XTRA_CODE fixes are not backported.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9886 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoinvalid doc entry
tokul [Tue, 2 Aug 2005 14:27:42 +0000 (14:27 +0000)]
invalid doc entry

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9885 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoB encoding code is unstable. needs more coding and testing
tokul [Tue, 2 Aug 2005 14:17:54 +0000 (14:17 +0000)]
B encoding code is unstable. needs more coding and testing

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9884 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoremoving obsolate file
tokul [Tue, 2 Aug 2005 12:29:53 +0000 (12:29 +0000)]
removing obsolate file

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9879 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoinformation about SquirrelSpell fix
tokul [Tue, 2 Aug 2005 07:04:02 +0000 (07:04 +0000)]
information about SquirrelSpell fix

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9873 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agofix gettext and sprintf formating now. work on error_box later.
tokul [Tue, 2 Aug 2005 06:58:21 +0000 (06:58 +0000)]
fix gettext and sprintf formating now. work on error_box later.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9872 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoinformation about newmail and abook_ldap_server changes
tokul [Mon, 1 Aug 2005 08:25:43 +0000 (08:25 +0000)]
information about newmail and abook_ldap_server changes

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9863 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agodon't use full URL in sounds media preferences.
tokul [Mon, 1 Aug 2005 08:12:07 +0000 (08:12 +0000)]
don't use full URL in sounds media preferences.
adding configuration option to disable upload of sound files.
adding svg and ogg support in embed tags.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9862 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agostrip basedn from nickname.
tokul [Mon, 1 Aug 2005 08:07:13 +0000 (08:07 +0000)]
strip basedn from nickname.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9861 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoinstead of retrieving text with 'Download as a file link' and removing link text...
tokul [Sun, 31 Jul 2005 14:19:04 +0000 (14:19 +0000)]
instead of retrieving text with 'Download as a file link' and removing link text later,
retrieve text without Download link.

add character set option to engines that don't change used character sets
in their forms. Fixes translation of 8bit texts (translations from Russian,
Greek, Chinese, Korean, Japanese, etc to English and other languages)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9855 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoadding workaround for encoding of long multibyte headers. Saves my head from
tokul [Sun, 31 Jul 2005 13:18:24 +0000 (13:18 +0000)]
adding workaround for encoding of long multibyte headers. Saves my head from
debugging of encodeHeader.

adding information about made changes to changelog.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9854 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoadding dgettext and dngettext function support and additional $l10n array safety...
tokul [Sun, 31 Jul 2005 12:56:52 +0000 (12:56 +0000)]
adding dgettext and dngettext function support and additional $l10n array safety checks.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9853 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agomoving include to the top.
tokul [Sun, 31 Jul 2005 12:44:39 +0000 (12:44 +0000)]
moving include to the top.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9852 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agodisplay list of attachments on printer friendly page.
tokul [Sun, 31 Jul 2005 12:42:56 +0000 (12:42 +0000)]
display list of attachments on printer friendly page.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9851 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoadd php5 E_STRICT support and disable logging of disabled error messages.
tokul [Sun, 31 Jul 2005 12:13:30 +0000 (12:13 +0000)]
add php5 E_STRICT support and disable logging of disabled error messages.

it is possible that switch($iErrNo) should be replaced with if control
structures in order to follow php error_reporting setting.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9850 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoadd one more timezone check and some US time zone names.
tokul [Sun, 31 Jul 2005 11:40:32 +0000 (11:40 +0000)]
add one more timezone check and some US time zone names.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9849 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoin theme loading fails, $color is not set.
tokul [Sun, 31 Jul 2005 11:34:19 +0000 (11:34 +0000)]
in theme loading fails, $color is not set.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9848 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoremoving reference. it is not needed and causes E_NOTICE error in php 4.4.0.
tokul [Sun, 31 Jul 2005 11:33:18 +0000 (11:33 +0000)]
removing reference. it is not needed and causes E_NOTICE error in php 4.4.0.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9847 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agocode was checked, when similar code was debugged on openbsd 3.5 for phpldapadmin.
tokul [Sun, 31 Jul 2005 11:31:29 +0000 (11:31 +0000)]
code was checked, when similar code was debugged on openbsd 3.5 for phpldapadmin.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9846 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoautomatic translation loading code. disabled, see comments.
tokul [Fri, 29 Jul 2005 16:39:54 +0000 (16:39 +0000)]
automatic translation loading code. disabled, see comments.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9845 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agousing base_uri instead of SM_PATH.
tokul [Fri, 29 Jul 2005 14:45:08 +0000 (14:45 +0000)]
using base_uri instead of SM_PATH.

SM_PATH is file system path and we need URL path in href.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9844 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoError handling and more templates
stekkel [Thu, 28 Jul 2005 21:04:59 +0000 (21:04 +0000)]
Error handling and more templates

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9843 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoTemplates
stekkel [Thu, 28 Jul 2005 21:04:22 +0000 (21:04 +0000)]
Templates

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9842 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoIntroduce error handling
stekkel [Thu, 28 Jul 2005 21:03:00 +0000 (21:03 +0000)]
Introduce error handling

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9841 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoinclude css file (templates)
stekkel [Thu, 28 Jul 2005 21:02:12 +0000 (21:02 +0000)]
include css file (templates)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9840 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoStart with css.
stekkel [Thu, 28 Jul 2005 21:01:39 +0000 (21:01 +0000)]
Start with css.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9839 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoUpdating theme documentation
jervfors [Mon, 25 Jul 2005 06:09:02 +0000 (06:09 +0000)]
Updating theme documentation

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9806 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoMake sure mailboxnames like INBOX_Blah doesn't match on our INBOX detection
stekkel [Wed, 20 Jul 2005 19:30:53 +0000 (19:30 +0000)]
Make sure mailboxnames like INBOX_Blah doesn't match on our INBOX detection
regular expression.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9803 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoadd extra checks in case some yahoo user decides to remove all us-ascii libraries.
tokul [Wed, 20 Jul 2005 10:07:30 +0000 (10:07 +0000)]
add extra checks in case some yahoo user decides to remove all us-ascii libraries.
(#1239782)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9796 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoAdd extra checks in In-Reply-To header generation. Removes E_NOTICE level
tokul [Wed, 20 Jul 2005 08:47:47 +0000 (08:47 +0000)]
Add extra checks in In-Reply-To header generation. Removes E_NOTICE level
error in php 5.0.4+ (#1206474)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9787 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoHave these examples make more sense; you should not store prefs under spool
kink [Sun, 17 Jul 2005 15:47:20 +0000 (15:47 +0000)]
Have these examples make more sense; you should not store prefs under spool
but under lib (FHS), and it's better to make a squirrelmail subdir because
a dir "data" under /var/{lib,spool} is not clear.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9786 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agofix path disclose problem in functions.php
tokul [Sun, 17 Jul 2005 15:40:49 +0000 (15:40 +0000)]
fix path disclose problem in functions.php
don't display system information, if plugin is disabled.
use squirrelmail option widgets instead of own functions. Option saving is
handled by sm.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9785 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agomisunderstood use of second array_shift command
tokul [Sun, 17 Jul 2005 07:27:32 +0000 (07:27 +0000)]
misunderstood use of second array_shift command

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9784 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoreducing size of setup.php
tokul [Fri, 15 Jul 2005 12:44:44 +0000 (12:44 +0000)]
reducing size of setup.php
removing unneeded javascript support detection in registration of options block

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9782 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoif 'js' => TRUE, javascript support is checked by src/options.php
tokul [Fri, 15 Jul 2005 11:10:03 +0000 (11:10 +0000)]
if 'js'   => TRUE, javascript support is checked by src/options.php

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9781 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoduplicate function. fix use first. compare functions later.
tokul [Fri, 15 Jul 2005 11:08:28 +0000 (11:08 +0000)]
duplicate function. fix use first. compare functions later.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9780 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoinformation about fix.
tokul [Thu, 14 Jul 2005 17:48:37 +0000 (17:48 +0000)]
information about fix.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9779 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agophp 5.1b2 - can't use function call inside array_shift() function.
tokul [Thu, 14 Jul 2005 17:44:41 +0000 (17:44 +0000)]
php 5.1b2 - can't use function call inside array_shift() function.

src/configtest.php
- add extra checks in use_php_recode and use_php_iconv.
- fix typo. $dbtype should be used instead $db

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9778 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoreduced setup.php size.
tokul [Thu, 14 Jul 2005 14:54:57 +0000 (14:54 +0000)]
reduced setup.php size.
added checks for disabled plugin in spamcop.php.
listed used hooks and pref keys in README

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9777 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agousing squirrelmail api for error message
tokul [Thu, 14 Jul 2005 14:50:49 +0000 (14:50 +0000)]
using squirrelmail api for error message

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9776 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agocode reuse. moving generic function from plugin to function/plugins.php
tokul [Thu, 14 Jul 2005 14:49:22 +0000 (14:49 +0000)]
code reuse. moving generic function from plugin to function/plugins.php

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9775 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agostop loading functions in setup.php
tokul [Wed, 13 Jul 2005 13:50:51 +0000 (13:50 +0000)]
stop loading functions in setup.php
detect spamcop submission inside compose_send hook.
add keep/don't keep submitted mails option
fix redirection when compose_new_win = true.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9771 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agomoving to documentation module
tokul [Tue, 12 Jul 2005 08:55:01 +0000 (08:55 +0000)]
moving to documentation module

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9761 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agomoving phpdoc to documentation module
tokul [Tue, 12 Jul 2005 08:53:40 +0000 (08:53 +0000)]
moving phpdoc to documentation module

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9760 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agodocumenting hook changes
tokul [Tue, 12 Jul 2005 08:47:16 +0000 (08:47 +0000)]
documenting hook changes

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9758 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agouse different variable name in order to preserve original variable data
tokul [Sun, 10 Jul 2005 13:40:19 +0000 (13:40 +0000)]
use different variable name in order to preserve original variable data

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9751 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoload default theme in logout_error if possible.
tokul [Sun, 10 Jul 2005 13:36:19 +0000 (13:36 +0000)]
load default theme in logout_error if possible.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9750 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agotime zone configuration options.
tokul [Sun, 10 Jul 2005 12:54:18 +0000 (12:54 +0000)]
time zone configuration options.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9749 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoit uses
tokul [Fri, 8 Jul 2005 15:36:40 +0000 (15:36 +0000)]
it uses

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9731 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoinformation about TZ changes. will update configuration utils by Sunday.
tokul [Fri, 8 Jul 2005 15:35:32 +0000 (15:35 +0000)]
information about TZ changes. will update configuration utils by Sunday.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9730 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agomodified time zone support. It works the same way as timezones.cfg and extra
tokul [Fri, 8 Jul 2005 15:27:44 +0000 (15:27 +0000)]
modified time zone support. It works the same way as timezones.cfg and extra
configuration option is still needed.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9729 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoadd information about move_messages.php changes and fix linefeed.
tokul [Fri, 8 Jul 2005 12:01:50 +0000 (12:01 +0000)]
add information about move_messages.php changes and fix linefeed.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9728 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoFix for folder cache if the cache was somehow broken. Reproduced bad cache
jangliss [Wed, 6 Jul 2005 18:17:47 +0000 (18:17 +0000)]
Fix for folder cache if the cache was somehow broken.  Reproduced bad cache
when managing large amounts of emails on multiple pages.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9727 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agocode might create undefined function error if used.
tokul [Wed, 6 Jul 2005 15:46:01 +0000 (15:46 +0000)]
code might create undefined function error if used.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9726 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agofix broken function first. work on usability later.
tokul [Wed, 6 Jul 2005 15:45:10 +0000 (15:45 +0000)]
fix broken function first. work on usability later.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9725 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agofix formating. phpdoc complained about unknown tag.
tokul [Sun, 3 Jul 2005 15:48:59 +0000 (15:48 +0000)]
fix formating. phpdoc complained about unknown tag.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9712 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agodocumenting identity functions. options_identities_table hook differs in
tokul [Sun, 3 Jul 2005 14:27:39 +0000 (14:27 +0000)]
documenting identity functions. options_identities_table hook differs in
1.4.5+/1.5.1+. It might cause html formating errors, if first array key
is used without checking SquirrelMail version.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9711 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoadding since tags. information is useful for developers that use SquirrelMail API.
tokul [Sun, 3 Jul 2005 12:22:27 +0000 (12:22 +0000)]
adding since tags. information is useful for developers that use SquirrelMail API.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9710 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoadding two themes. #1217066 and #1217069
tokul [Sun, 3 Jul 2005 10:32:32 +0000 (10:32 +0000)]
adding two themes. #1217066 and #1217069
Simple Green 2 theme is similar to Simple Green theme, but colors are softer
and contrast differs.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9704 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoldap_list/ldap_search and starttls support in address book ldap backend
tokul [Sun, 3 Jul 2005 09:58:45 +0000 (09:58 +0000)]
ldap_list/ldap_search and starttls support in address book ldap backend

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9703 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agodocumenting functions and adding some sq_mb_list_encodings updates
tokul [Sun, 3 Jul 2005 09:55:10 +0000 (09:55 +0000)]
documenting functions and adding some sq_mb_list_encodings updates

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9702 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agodocumenting functions
tokul [Sun, 3 Jul 2005 09:54:20 +0000 (09:54 +0000)]
documenting functions

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9701 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoThis is CAN-2005-2095
kink [Sat, 2 Jul 2005 10:08:12 +0000 (10:08 +0000)]
This is CAN-2005-2095

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9696 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoBugfix: $empty was not always set; yields spurious notices.
kink [Fri, 1 Jul 2005 08:05:29 +0000 (08:05 +0000)]
Bugfix: $empty was not always set; yields spurious notices.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9695 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoChange Log
jangliss [Wed, 29 Jun 2005 19:29:20 +0000 (19:29 +0000)]
Change Log

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9693 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoRewrite identity handling to remove stupid extraction of post variables.
jangliss [Wed, 29 Jun 2005 19:24:17 +0000 (19:24 +0000)]
Rewrite identity handling to remove stupid extraction of post variables.

This code change may break plugins that use/alter identity stuff, I have to
do some more research.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9692 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoadding Bluesome theme (#1188209).
tokul [Wed, 29 Jun 2005 14:56:52 +0000 (14:56 +0000)]
adding Bluesome theme (#1188209).

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9689 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agothere are 16 color keys
tokul [Sun, 26 Jun 2005 08:03:42 +0000 (08:03 +0000)]
there are 16 color keys

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9663 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agofunctions test for addCheckBox function that is available.
tokul [Sun, 26 Jun 2005 07:49:13 +0000 (07:49 +0000)]
functions test for addCheckBox function that is available.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9661 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoadding short language_country locale codes to some languages. This restores
tokul [Sun, 26 Jun 2005 07:47:16 +0000 (07:47 +0000)]
adding short language_country locale codes to some languages. This restores
previous SquirrelMail behaviour, but can cause problems in php 4.1.x, if short
locale uses different character set.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9660 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoadding extra attributes support and default css classes to form functions.
tokul [Sun, 26 Jun 2005 07:43:14 +0000 (07:43 +0000)]
adding extra attributes support and default css classes to form functions.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9659 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agothis should fix display of jpegs and gifs in firefox.
tokul [Sun, 26 Jun 2005 07:39:23 +0000 (07:39 +0000)]
this should fix display of jpegs and gifs in firefox.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9658 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoFix variable typo in parseFetch which caused IMAP errors with Exchange.
kink [Fri, 24 Jun 2005 08:15:38 +0000 (08:15 +0000)]
Fix variable typo in parseFetch which caused IMAP errors with Exchange.
Thanks Christian Froemmel from Charite.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9657 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoFix #1222617. Javascript creation relied on rg=1 for forcing focus to
jangliss [Wed, 22 Jun 2005 03:05:14 +0000 (03:05 +0000)]
Fix #1222617.  Javascript creation relied on rg=1 for forcing focus to
password field if username was supplied by url arg.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9643 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoadding ldap listing controls to conf.pl
tokul [Tue, 21 Jun 2005 09:06:04 +0000 (09:06 +0000)]
adding ldap listing controls to conf.pl
moving some ldap configuration options to advanced section in order to
reduce number of questions in ldap configuration.
blocking use of wildcard in file and db backends when listing is disabled.
This should close #529563 in devel.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9641 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agousing include_once instead of require_once.
tokul [Mon, 20 Jun 2005 16:17:23 +0000 (16:17 +0000)]
using include_once instead of require_once.

code modified to use list_addr() instead of search('*') when List All
option is sellected.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9640 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years ago529563 fixes and some cleanup:
tokul [Mon, 20 Jun 2005 16:04:41 +0000 (16:04 +0000)]
529563 fixes and some cleanup:
* require_once converted to include_once and moved to the top part of script.
* internal script functions are placed after includes
* instead of testing form vars with isset, we check sqgetGlobalVar().
* list all request uses list_addr() function instead of wide (*) search.
* listall variable is tested with isset() instead of empty().

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9639 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoadding functional list_addr function and listing parameter, that is used
tokul [Mon, 20 Jun 2005 15:58:14 +0000 (15:58 +0000)]
adding functional list_addr function and listing parameter, that is used
to control listing of directories. part of 529563 fixes

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9638 7612ce4b-ef26-0410-bec9-ea0150e637f0