16 years agoNew template files
pdontthink [Thu, 28 Sep 2006 14:26:07 +0000 (14:26 +0000)]
New template files

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

16 years agoMisc templating changes. Note that the global template set indicator is now called .
pdontthink [Thu, 28 Sep 2006 14:21:51 +0000 (14:21 +0000)]
Misc templating changes.  Note that the global template set indicator is now called .

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

16 years agoMoving sm_print_r back to globals.php; tired of it not being available when developin...
pdontthink [Thu, 28 Sep 2006 14:17:15 +0000 (14:17 +0000)]
Moving sm_print_r back to globals.php; tired of it not being available when developing - that's what it's for, more than being available for actual code use as a string function in a file that's not included high enough.  Also new directory parsing fxn.

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

16 years agoHopefully more of what is in the util files in the templates directory can be moved...
pdontthink [Thu, 28 Sep 2006 14:11:32 +0000 (14:11 +0000)]
Hopefully more of what is in the util files in the templates directory can be moved here

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

16 years agoFile name change
pdontthink [Thu, 28 Sep 2006 14:09:18 +0000 (14:09 +0000)]
File name change

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

16 years agoFunctionality moved to Template class and/or functions/template.php
pdontthink [Thu, 28 Sep 2006 14:08:43 +0000 (14:08 +0000)]
Functionality moved to Template class and/or functions/template.php

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

16 years agoChange to store template ID and not path; also bug fixes and fine-tuning the detectio...
pdontthink [Thu, 28 Sep 2006 14:06:54 +0000 (14:06 +0000)]
Change to store template ID and not path; also bug fixes and fine-tuning the detection algorithm, etc

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

16 years agodisplayHtmlHeader uses template, no more direct echoing; also restructure how style...
pdontthink [Thu, 28 Sep 2006 14:04:53 +0000 (14:04 +0000)]
displayHtmlHeader uses template, no more direct echoing; also restructure how style links are sent out

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

16 years agoNew Template class implementation
pdontthink [Thu, 28 Sep 2006 14:02:11 +0000 (14:02 +0000)]
New Template class implementation

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

16 years agorenamed with proper class file naming conventions
pdontthink [Thu, 28 Sep 2006 14:01:19 +0000 (14:01 +0000)]
renamed with proper class file naming conventions

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

16 years agot12n of compose function. Paul, could you please check the plugin hook implementatio...
stevetruckstuff [Wed, 27 Sep 2006 21:54:14 +0000 (21:54 +0000)]
t12n of compose function.  Paul, could you please check the plugin hook implementation for correctness?  I don't think I understand it all yet.

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

16 years agoCorrecting login stylesheet since changes to template class.
stevetruckstuff [Wed, 27 Sep 2006 21:43:41 +0000 (21:43 +0000)]
Correcting login stylesheet since changes to template class.

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

16 years agoReverting other changes that snuck in. These need to wait for a bit until other...
pdontthink [Sun, 24 Sep 2006 19:05:28 +0000 (19:05 +0000)]
Reverting other changes that snuck in.  These need to wait for a bit until other files are ready to commit.  Sorry for the noise.

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

16 years agoReverting ampersand encoding. Glad I'm not going crazy after all. Thanks Tomas.
pdontthink [Sun, 24 Sep 2006 19:00:19 +0000 (19:00 +0000)]
Reverting ampersand encoding.  Glad I'm not going crazy after all.  Thanks Tomas.

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

16 years agoCorrect me if I'm wrong (because oddly, this seemed to be working previously for...
pdontthink [Sun, 24 Sep 2006 18:04:29 +0000 (18:04 +0000)]
Correct me if I'm wrong (because oddly, this seemed to be working previously for me), but ampersands do not need to be encoded in links like this.

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

16 years agoFix broken legacy use of concat_hook_function. Now you can log in again.
pdontthink [Fri, 22 Sep 2006 09:42:04 +0000 (09:42 +0000)]
Fix broken legacy use of concat_hook_function.  Now you can log in again.

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

16 years agoMove sqm_array_merge to arrays.php and subsequently move inclusion of arrays.php...
pdontthink [Fri, 22 Sep 2006 09:29:04 +0000 (09:29 +0000)]
Move sqm_array_merge to arrays.php and subsequently move inclusion of arrays.php to init.php for global access.

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

16 years agoSolved recursion problem and increased efficiency of template_construct hook by addin...
pdontthink [Fri, 22 Sep 2006 03:43:26 +0000 (03:43 +0000)]
Solved recursion problem and increased efficiency of template_construct hook by adding file name to the end of the hook name, such as template_construct_login.tpl.  Changed hook type to use the newly reworked concat_hook_function which can support merged arrays retued from the plugins.

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

16 years agoExtensive rework of concat hook function to support merged array return values
pdontthink [Fri, 22 Sep 2006 03:31:50 +0000 (03:31 +0000)]
Extensive rework of concat hook function to support merged array return values

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

16 years agoForgot since tag
pdontthink [Fri, 22 Sep 2006 03:22:39 +0000 (03:22 +0000)]
Forgot since tag

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

16 years agoNew 'nice' array_merge function that doesn't overwrite array values
pdontthink [Fri, 22 Sep 2006 03:19:05 +0000 (03:19 +0000)]
New 'nice' array_merge function that doesn't overwrite array values

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

16 years agoAdding template_construct and template_output hooks. Yikes.
pdontthink [Thu, 21 Sep 2006 15:24:41 +0000 (15:24 +0000)]
Adding template_construct and template_output hooks.  Yikes.

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

16 years agoRemoving login_form hook, plugins can now use template_construct hook and add an...
pdontthink [Thu, 21 Sep 2006 15:19:44 +0000 (15:19 +0000)]
Removing login_form hook, plugins can now use template_construct hook and add an array index called login_form to the return value for that hook

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

16 years agoFixed error check
pdontthink [Thu, 21 Sep 2006 13:29:22 +0000 (13:29 +0000)]
Fixed error check

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

16 years agoForgot to check default template set before falling back to plugin default template...
pdontthink [Thu, 21 Sep 2006 13:25:09 +0000 (13:25 +0000)]
Forgot to check default template set before falling back to plugin default template for plugin t12n

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

16 years agoAbstract template file location logic and enable plugin templating. This class still...
pdontthink [Thu, 21 Sep 2006 12:51:27 +0000 (12:51 +0000)]
Abstract template file location logic and enable plugin templating.  This class still needs abstraction which is the next task here.  Only possibly contentious change people should look at here is the use of file_exists() to find template files instead of reling on a hard-coded list of files in template.php.

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

16 years agoEnabling use of <plugin>_info() function
pdontthink [Tue, 19 Sep 2006 17:19:29 +0000 (17:19 +0000)]
Enabling use of <plugin>_info() function

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

16 years agoDon't load prefs for serving stylesheets; instead grab template directory info from...
pdontthink [Tue, 19 Sep 2006 14:46:53 +0000 (14:46 +0000)]
Don't load prefs for serving stylesheets; instead grab template directory info from GET query string so we can make sure we are getting correct template set

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

16 years agoVariable name is misleading, if technically correct. I'd personally eventually like...
pdontthink [Tue, 19 Sep 2006 14:43:41 +0000 (14:43 +0000)]
Variable name is misleading, if technically correct.  I'd personally eventually like to see a wrapper (class) around template ids, names, dirs, and other attributes.

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

16 years agoDefault was overriding legitimate values in sqgetGlobalVar due to recent addition...
pdontthink [Tue, 19 Sep 2006 14:26:46 +0000 (14:26 +0000)]
Default was overriding legitimate values in sqgetGlobalVar due to recent addition of typecast logic

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

16 years agoVariable name is misleading, if technically correct. I'd personally eventually like...
pdontthink [Tue, 19 Sep 2006 14:11:33 +0000 (14:11 +0000)]
Variable name is misleading, if technically correct.  I'd personally eventually like to see a wrapper (class) around template ids, names, dirs, and other attributes.

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

16 years agoVariable name is misleading, if technically correct. I'd personally eventually like...
pdontthink [Tue, 19 Sep 2006 14:06:32 +0000 (14:06 +0000)]
Variable name is misleading, if technically correct.  I'd personally eventually like to see a wrapper (class) around template ids, names, dirs, and other attributes.

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

16 years agoClarifications, questions, proposals
pdontthink [Tue, 19 Sep 2006 13:26:08 +0000 (13:26 +0000)]
Clarifications, questions, proposals

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

16 years agoPulling imapConnection var. Still causes segfaults which cannot be tracked down.
stevetruckstuff [Mon, 18 Sep 2006 20:11:34 +0000 (20:11 +0000)]
Pulling imapConnection var.  Still causes segfaults which cannot be tracked down.

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

16 years agoFix no login button displayed when icons are disabled.
stevetruckstuff [Mon, 18 Sep 2006 19:08:18 +0000 (19:08 +0000)]
Fix no login button displayed when icons are disabled.

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

16 years agoFixed CRLFs. Is somebody seriously developing in Windoze??
pdontthink [Mon, 18 Sep 2006 17:13:14 +0000 (17:13 +0000)]
Fixed CRLFs.  Is somebody seriously developing in Windoze??

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

16 years agoStylesheets provided with templates won't load unless we load up prefs for stylesheet...
pdontthink [Mon, 18 Sep 2006 17:09:06 +0000 (17:09 +0000)]
Stylesheets provided with templates won't load unless we load up prefs for stylesheets too

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

16 years agoJust in case....
stevetruckstuff [Mon, 18 Sep 2006 14:57:18 +0000 (14:57 +0000)]
Just in case....

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

16 years agoCorrect path for the default icon theme.
stevetruckstuff [Mon, 18 Sep 2006 14:54:50 +0000 (14:54 +0000)]
Correct path for the default icon theme.

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

16 years agoFix unreachable code
stevetruckstuff [Mon, 18 Sep 2006 14:38:46 +0000 (14:38 +0000)]
Fix unreachable code

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

16 years agoApache 2.0.55/PHP 5.1.6
tokul [Mon, 18 Sep 2006 11:31:35 +0000 (11:31 +0000)]
Apache 2.0.55/PHP 5.1.6
Apache 1.3.33/PHP 4.3.11
Apache 2.0.54/PHP 4.3.10
Apache 1.3.33/PHP 4.1.2

No segfaults.

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

16 years agoSuppress SID constant notices in older PHP versions.
tokul [Mon, 18 Sep 2006 11:30:00 +0000 (11:30 +0000)]
Suppress SID constant notices in older PHP versions.

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

16 years agoDelivery notifications and Read notifications are currently treated as identical...
stevetruckstuff [Fri, 15 Sep 2006 19:31:32 +0000 (19:31 +0000)]
Delivery notifications and Read notifications are currently treated as identical, which they are not.  This patch creates a separate var for these two types of notifications.  compose.php will be patched to handle this correctly when templatization (t12n) is completed.

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

16 years agoAdd explicit saveDelayedErrors() member function
stevetruckstuff [Fri, 15 Sep 2006 14:36:34 +0000 (14:36 +0000)]
Add explicit saveDelayedErrors() member function

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

16 years agokibibyte is with a capital K
kink [Sun, 10 Sep 2006 08:30:13 +0000 (08:30 +0000)]
kibibyte is with a capital K

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

16 years agokilo has a small 'k'.
kink [Sat, 9 Sep 2006 18:51:06 +0000 (18:51 +0000)]
kilo has a small 'k'.

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

16 years agoUse constants for sqgetGlobalVar() typecasting
pdontthink [Fri, 8 Sep 2006 06:33:53 +0000 (06:33 +0000)]
Use constants for sqgetGlobalVar() typecasting

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

16 years agoAdded check_plugin_version() function
pdontthink [Thu, 7 Sep 2006 17:53:42 +0000 (17:53 +0000)]
Added check_plugin_version() function

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

16 years agoDuh
pdontthink [Thu, 7 Sep 2006 17:18:59 +0000 (17:18 +0000)]

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

16 years agoNew helper function for checking plugin version numbers check_plugin_version()
pdontthink [Thu, 7 Sep 2006 16:53:57 +0000 (16:53 +0000)]
New helper function for checking plugin version numbers check_plugin_version()

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

16 years agoSlight adjustment. Plugins create their own table row for login_form hook; core...
pdontthink [Thu, 7 Sep 2006 09:40:04 +0000 (09:40 +0000)]
Slight adjustment.  Plugins create their own table row for login_form hook; core sets 'extra' variables separate from plugin data

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

16 years agoI don't remember why the login_form hook had to be moved up into the table (it was...
pdontthink [Wed, 6 Sep 2006 07:55:39 +0000 (07:55 +0000)]
I don't remember why the login_form hook had to be moved up into the table (it was in fact always in the form), but placing it seemingly haphazard into just one of the two table cells is not useful for any of the plugins I can think of.  Moving to a table row of its own.

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

16 years agoWrong variable name used
pdontthink [Mon, 4 Sep 2006 18:06:28 +0000 (18:06 +0000)]
Wrong variable name used

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

16 years agoTemplating for searching email
stevetruckstuff [Thu, 31 Aug 2006 18:12:27 +0000 (18:12 +0000)]
Templating for searching email

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

16 years agoNew minus image
stevetruckstuff [Thu, 31 Aug 2006 18:09:32 +0000 (18:09 +0000)]
New minus image

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

16 years agoRemove $settings['imapConnection']. Passing this to the template causes in intermitt...
stevetruckstuff [Thu, 31 Aug 2006 18:08:40 +0000 (18:08 +0000)]
Remove $settings['imapConnection'].  Passing this to the template causes in intermittent segfault on PHP 4.3.11 (maybe others??).  Since this variable is not used by the templates right now, we will simply remove it.  Probably need to re-evaluate this later as the IMAP connection could be extremely useful to template developers.

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

16 years agoPrevent the same error from being displayed twice
stevetruckstuff [Thu, 31 Aug 2006 18:05:41 +0000 (18:05 +0000)]
Prevent the same error from being displayed twice

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

16 years agoCorrect typo in previous commit.
stevetruckstuff [Thu, 31 Aug 2006 14:44:51 +0000 (14:44 +0000)]
Correct typo in previous commit.

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

16 years agoFix error with trying to resend the header on a fatal error.
stevetruckstuff [Thu, 31 Aug 2006 14:14:28 +0000 (14:14 +0000)]
Fix error with trying to resend the header on a fatal error.

We *really* need to figure out why changes to member variables aren't being remembered outside of the member function in which they are changed.  This is afflicting the Template class and the Error class.

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

16 years agohook must be moved because include/constants.php is
tokul [Thu, 31 Aug 2006 06:16:27 +0000 (06:16 +0000)]
hook must be moved because include/constants.php is
loaded before plugins are initialized.

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

16 years agofunction is modified copy of list_writable_backends(). diff -uw between
tokul [Thu, 31 Aug 2006 05:43:18 +0000 (05:43 +0000)]
function is modified copy of list_writable_backends(). diff -uw between
1.96 and 1.97 shows that. Same structure, same while() arguments.

Steve's name is in AUTHORS. Please don't claim authorship on code that is
written by you AND other people.

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

16 years agoI've forgot that function is private in 1.4.x and is not available to plugins.
tokul [Thu, 31 Aug 2006 05:37:53 +0000 (05:37 +0000)]
I've forgot that function is private in 1.4.x and is not available to plugins.

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

16 years agoSplit sqimap_mailbox_option_list() into two functions to facilitate template development.
stevetruckstuff [Wed, 30 Aug 2006 20:45:56 +0000 (20:45 +0000)]
Split sqimap_mailbox_option_list() into two functions to facilitate template development.

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

16 years agoXCOURIEROUTBOX indicates option that can create duplicate messages.
tokul [Tue, 29 Aug 2006 18:30:09 +0000 (18:30 +0000)]
XCOURIEROUTBOX indicates option that can create duplicate messages.

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

16 years agoChange image name to match convention in images/themes/default/
stevetruckstuff [Mon, 28 Aug 2006 17:56:56 +0000 (17:56 +0000)]
Change image name to match convention in images/themes/default/

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

16 years agoDocumentation
stevetruckstuff [Mon, 28 Aug 2006 15:33:36 +0000 (15:33 +0000)]

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

16 years agoAdd vCard template
stevetruckstuff [Mon, 28 Aug 2006 15:19:09 +0000 (15:19 +0000)]
Add vCard template

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

16 years agoCorrect error on logout
stevetruckstuff [Mon, 28 Aug 2006 14:24:29 +0000 (14:24 +0000)]
Correct error on logout

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

16 years ago#1547281. Add information about use of ldaps and ldapi uris
tokul [Sun, 27 Aug 2006 11:25:11 +0000 (11:25 +0000)]
#1547281. Add information about use of ldaps and ldapi uris

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

16 years agoinformation about mail_fetch changes
tokul [Sat, 26 Aug 2006 18:12:16 +0000 (18:12 +0000)]
information about mail_fetch changes

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

16 years agoadding constants
tokul [Sat, 26 Aug 2006 17:34:38 +0000 (17:34 +0000)]
adding constants

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

16 years agoPOP3 class code replaced with mail_fetch class code.
tokul [Sat, 26 Aug 2006 17:33:58 +0000 (17:33 +0000)]
POP3 class code replaced with mail_fetch class code.
Added APOP and TLS and STLS support.
If port is set to 0, system uses default ports
Removed loading_prefs hook. It is not needed. Plugin always gets prefs
before fetching emails.
Fixed IMAP error handling in left_main. Older code ignored APPEND errors.

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

16 years agoMake sure the error handler is setup, and that icons are available to the template.
stevetruckstuff [Fri, 25 Aug 2006 23:17:07 +0000 (23:17 +0000)]
Make sure the error handler is setup, and that icons are available to the template.

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

16 years agoTemplate for advanced identity controls
stevetruckstuff [Fri, 25 Aug 2006 23:09:07 +0000 (23:09 +0000)]
Template for advanced identity controls

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

16 years agoTemplates for help section
stevetruckstuff [Fri, 25 Aug 2006 21:36:14 +0000 (21:36 +0000)]
Templates for help section

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

16 years agoi18n corrections to stylesheets regarding alignment;
stevetruckstuff [Fri, 25 Aug 2006 19:15:09 +0000 (19:15 +0000)]
i18n corrections to stylesheets regarding alignment;

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

16 years ago$icon_theme_def is not parsed correctly when reading the config file. Correcting...
stevetruckstuff [Fri, 25 Aug 2006 18:44:09 +0000 (18:44 +0000)]
$icon_theme_def is not parsed correctly when reading the config file.  Correcting this problem.

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

16 years agoadding own pop client implementation
tokul [Fri, 25 Aug 2006 14:29:15 +0000 (14:29 +0000)]
adding own pop client implementation

Original POP3 class is licensed under some 'General Artistic License' and requires
submitting all modifications to address that bounces.

According to FSF standard Artistic License is not compatible with GPL.

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

16 years agoMove new icons to appropriate folder
stevetruckstuff [Thu, 24 Aug 2006 21:31:53 +0000 (21:31 +0000)]
Move new icons to appropriate folder

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

16 years agoUtilize new default icon theme path
stevetruckstuff [Thu, 24 Aug 2006 21:15:29 +0000 (21:15 +0000)]
Utilize new default icon theme path

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

16 years agoAdd option for default icon theme.
stevetruckstuff [Thu, 24 Aug 2006 21:14:39 +0000 (21:14 +0000)]
Add option for default icon theme.

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

16 years agoNew login page as a templating demo. Feedback welcome!
stevetruckstuff [Thu, 24 Aug 2006 20:35:49 +0000 (20:35 +0000)]
New login page as a templating demo.  Feedback welcome!

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

16 years agoUpdate documentation.
stevetruckstuff [Thu, 24 Aug 2006 20:33:02 +0000 (20:33 +0000)]
Update documentation.

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

16 years agoAdd $logo_path var in case template authors want to tweak the logo themselves.
stevetruckstuff [Thu, 24 Aug 2006 20:32:39 +0000 (20:32 +0000)]
Add $logo_path var in case template authors want to tweak the logo themselves.

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

16 years agoTemplate handling is now done in init.php, so this block is no longer needed. In...
stevetruckstuff [Thu, 24 Aug 2006 20:31:43 +0000 (20:31 +0000)]
Template handling is now done in init.php, so this block is no longer needed.  In fact, it screws up handling of different templates when users aren't logged in.

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

16 years agoMake sure $icon_theme_path is set correctly when users aren't logged in.
stevetruckstuff [Thu, 24 Aug 2006 20:30:33 +0000 (20:30 +0000)]
Make sure $icon_theme_path is set correctly when users aren't logged in.

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

16 years agoSimplify login page template
stevetruckstuff [Thu, 24 Aug 2006 17:24:42 +0000 (17:24 +0000)]
Simplify login page template

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

16 years agoAdvanced option highlighting demo. Make require some additional tweaks in IE, but...
stevetruckstuff [Thu, 24 Aug 2006 16:58:29 +0000 (16:58 +0000)]
Advanced option highlighting demo.  Make require some additional tweaks in IE, but the testing I did seems to work OK.

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

16 years agoNew edit icon
stevetruckstuff [Thu, 24 Aug 2006 16:57:30 +0000 (16:57 +0000)]
New edit icon

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

16 years agoAdd new function setCSSClass() that is always available.
stevetruckstuff [Thu, 24 Aug 2006 16:56:54 +0000 (16:56 +0000)]
Add new function setCSSClass() that is always available.

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

16 years agoAdd templates for message highlighting.
stevetruckstuff [Wed, 23 Aug 2006 21:36:04 +0000 (21:36 +0000)]
Add templates for message highlighting.

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

16 years agoUpdating Paul's address.
jervfors [Tue, 22 Aug 2006 19:23:02 +0000 (19:23 +0000)]
Updating Paul's address.

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

16 years agoChanges on 18 August to functions.php were intended to correct issue with the $icon_t...
stevetruckstuff [Tue, 22 Aug 2006 18:56:16 +0000 (18:56 +0000)]
Changes on 18 August to functions.php were intended to correct issue with the $icon_theme preference not being grabbed correctly.  Unfortunately, it has come to light that this change has broken several other preferences.  This patch undoes the changes from 18 August and changes the handling of the $icon_theme pref so that it is handled correctly.

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

16 years agoadd cor to significant contributors
kink [Tue, 22 Aug 2006 14:30:41 +0000 (14:30 +0000)]
add cor to significant contributors

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

16 years agoProvide View Unsafe Images link on viewing a text/html attachment.
kink [Mon, 21 Aug 2006 19:34:27 +0000 (19:34 +0000)]
Provide View Unsafe Images link on viewing a text/html attachment.
Thanks `Bicster'

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

16 years agoFix misspelled constant PREG_SPLIT_NI_EMPTY in sqimap_get_message
kink [Mon, 21 Aug 2006 10:33:08 +0000 (10:33 +0000)]
Fix misspelled constant PREG_SPLIT_NI_EMPTY in sqimap_get_message
(#1543573). Thanks Cristian Rodriguez.

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

16 years agoRemove me from the "active" authors
cigamit [Mon, 21 Aug 2006 01:02:48 +0000 (01:02 +0000)]
Remove me from the "active" authors

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

16 years agoTODO: Allow admins to change the default icon theme when icons aren't available....
stevetruckstuff [Fri, 18 Aug 2006 21:35:17 +0000 (21:35 +0000)]
TODO: Allow admins to change the default icon theme when icons aren't available.  This should probably be done in conf.pl, and I have no idea how to change that. :-)

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

16 years agoAdd advanced template for re-ordering indexes as an example
stevetruckstuff [Fri, 18 Aug 2006 21:31:57 +0000 (21:31 +0000)]
Add advanced template for re-ordering indexes as an example

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

16 years agoMove always included vars to init.php because it is confusing when not logged in.
stevetruckstuff [Fri, 18 Aug 2006 21:27:51 +0000 (21:27 +0000)]
Move always included vars to init.php because it is confusing when not logged in.

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