squirrelmail.git
18 years agoWhen incrementing config file version numbers, we must increment what we're testing...
tassium [Wed, 4 Oct 2006 18:09:25 +0000 (18:09 +0000)]
When incrementing config file version numbers, we must increment what we're testing for in configtest.php.

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

18 years agoUpdate version number to match new version # on conf.pl
stevetruckstuff [Wed, 4 Oct 2006 17:38:43 +0000 (17:38 +0000)]
Update version number to match new version # on conf.pl

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

18 years agoSome examples of old $color themes converted using themes/color_theme_to_css.php...
stevetruckstuff [Wed, 4 Oct 2006 16:40:30 +0000 (16:40 +0000)]
Some examples of old $color themes converted using themes/color_theme_to_css.php.  To use these themes, they must first be installed through conf.pl.

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

18 years agoFirst attempt at converting $color themes to CSS stylesheets. Seems to work pretty...
stevetruckstuff [Wed, 4 Oct 2006 16:39:21 +0000 (16:39 +0000)]
First attempt at converting $color themes to CSS stylesheets.  Seems to work pretty well.  This will need to be modified as CSS is cleaned up.

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

18 years agoAdded comment only
pdontthink [Wed, 4 Oct 2006 15:36:31 +0000 (15:36 +0000)]
Added comment only

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

18 years agoDemo of template-provided stylesheets.
stevetruckstuff [Tue, 3 Oct 2006 15:32:06 +0000 (15:32 +0000)]
Demo of template-provided stylesheets.

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

18 years agoAdd support for tempalte-provided themes.
stevetruckstuff [Tue, 3 Oct 2006 15:30:53 +0000 (15:30 +0000)]
Add support for tempalte-provided themes.

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

18 years agoClean up a few things. Also increment version number since new UI controls probably...
stevetruckstuff [Tue, 3 Oct 2006 15:12:49 +0000 (15:12 +0000)]
Clean up a few things.  Also increment version number since new UI controls probably aren't compatable with old config.php values.

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

18 years agoEnable icons by default, using hte XP theme. Also, add the demo "Blue Option" user...
stevetruckstuff [Tue, 3 Oct 2006 15:10:55 +0000 (15:10 +0000)]
Enable icons by default, using hte XP theme.  Also, add the demo "Blue Option" user theme.

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

18 years agoThese files are no longer needed after icon theme mgmt has been moved to conf.pl
stevetruckstuff [Mon, 2 Oct 2006 21:23:42 +0000 (21:23 +0000)]
These files are no longer needed after icon theme mgmt has been moved to conf.pl

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

18 years agoMinor modifications to handle moving of icon themes to conf.pl
stevetruckstuff [Mon, 2 Oct 2006 21:22:59 +0000 (21:22 +0000)]
Minor modifications to handle moving of icon themes to conf.pl

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

18 years agoMove icon theme management into conf.pl. Also clean a few little things in user...
stevetruckstuff [Mon, 2 Oct 2006 21:21:41 +0000 (21:21 +0000)]
Move icon theme management into conf.pl.  Also clean a few little things in user theme management.

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

18 years agoCorrect handling of default user themes.
stevetruckstuff [Mon, 2 Oct 2006 20:17:32 +0000 (20:17 +0000)]
Correct handling of default user themes.

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

18 years agoRemove unused function and correct handling of icon themes.
stevetruckstuff [Mon, 2 Oct 2006 20:17:03 +0000 (20:17 +0000)]
Remove unused function and correct handling of icon themes.

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

18 years agoMove management of user themes (SM_PATH/css/) to conf.pl.
stevetruckstuff [Mon, 2 Oct 2006 18:56:44 +0000 (18:56 +0000)]
Move management of user themes (SM_PATH/css/) to conf.pl.

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

18 years agoMove management of user themes (SM_PATH/css/) to conf.pl.
stevetruckstuff [Mon, 2 Oct 2006 18:49:00 +0000 (18:49 +0000)]
Move management of user themes (SM_PATH/css/) to conf.pl.

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

18 years ago$theme_css is no longer supported.
stevetruckstuff [Mon, 2 Oct 2006 16:36:30 +0000 (16:36 +0000)]
$theme_css is no longer supported.

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

18 years agoBegin some re-orginization of UI controls. Remove support for $theme_css, since...
stevetruckstuff [Mon, 2 Oct 2006 16:32:40 +0000 (16:32 +0000)]
Begin some re-orginization of UI controls.  Remove support for $theme_css, since it is no longer supported in page_header.php.

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

18 years agoAdditional comments re user-provided stylesheets
stevetruckstuff [Mon, 2 Oct 2006 16:26:37 +0000 (16:26 +0000)]
Additional comments re user-provided stylesheets

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

18 years agoBetter stylesheet ordering
pdontthink [Mon, 2 Oct 2006 12:37:46 +0000 (12:37 +0000)]
Better stylesheet ordering

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

18 years agoNew hook type
pdontthink [Mon, 2 Oct 2006 12:26:56 +0000 (12:26 +0000)]
New hook type

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

18 years agoAbstract getting the default template
pdontthink [Mon, 2 Oct 2006 12:26:26 +0000 (12:26 +0000)]
Abstract getting the default template

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

18 years agoTemplate fallback added
pdontthink [Mon, 2 Oct 2006 12:26:01 +0000 (12:26 +0000)]
Template fallback added

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

18 years agoAdded note
pdontthink [Mon, 2 Oct 2006 12:17:06 +0000 (12:17 +0000)]
Added note

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

18 years agoClear template file cache when changing template sets (skins)
pdontthink [Mon, 2 Oct 2006 12:15:14 +0000 (12:15 +0000)]
Clear template file cache when changing template sets (skins)

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

18 years agoJust adding some comments
pdontthink [Mon, 2 Oct 2006 12:04:54 +0000 (12:04 +0000)]
Just adding some comments

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

18 years agolist_files can handle dirs now, etc
pdontthink [Mon, 2 Oct 2006 11:50:49 +0000 (11:50 +0000)]
list_files can handle dirs now, etc

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

18 years agoAdded comments; all header() calls have to go thru template object
pdontthink [Mon, 2 Oct 2006 11:46:40 +0000 (11:46 +0000)]
Added comments; all header() calls have to go thru template object

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

18 years agominor correction
pdontthink [Mon, 2 Oct 2006 11:03:17 +0000 (11:03 +0000)]
minor correction

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

18 years agoCleanup and abstraction of how default template set is retrieved
pdontthink [Mon, 2 Oct 2006 11:02:27 +0000 (11:02 +0000)]
Cleanup and abstraction of how default template set is retrieved

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

18 years agoAbstract how we get default template; move template inclusion up top; clear template...
pdontthink [Mon, 2 Oct 2006 10:55:01 +0000 (10:55 +0000)]
Abstract how we get default template; move template inclusion up top; clear template cache upon login

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

18 years agoadding reminder
pdontthink [Mon, 2 Oct 2006 09:55:38 +0000 (09:55 +0000)]
adding reminder

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

18 years agoAdding 'fallback' template setting; default is for filling a void in user prefs,...
pdontthink [Mon, 2 Oct 2006 09:52:26 +0000 (09:52 +0000)]
Adding 'fallback' template setting; default is for filling a void in user prefs, whereas fallback is the last-resort template set to find missing template files when the code is trying to display a template

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

18 years agoUpdate for template inheritance; alternate stylesheets dynamically loaded from templa...
pdontthink [Mon, 2 Oct 2006 09:44:15 +0000 (09:44 +0000)]
Update for template inheritance; alternate stylesheets dynamically loaded from template cache (from <template>/css/alternates/*.css)

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

18 years agoChanges that follow per the inheritance and associated changes to Template.class.php
pdontthink [Mon, 2 Oct 2006 09:38:49 +0000 (09:38 +0000)]
Changes that follow per the inheritance and associated changes to Template.class.php

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

18 years agoMassive rewrite of Template class to implement template inheritance, along with a...
pdontthink [Mon, 2 Oct 2006 09:38:05 +0000 (09:38 +0000)]
Massive rewrite of Template class to implement template inheritance, along with a fallback template (different than concept of a default which just helps catch void in user prefs).  As suggested by Alexandros, a caching mechanism replaces the heaps of file_exists() calls in previous implementation, although this introduces more complexity, so watch for bugs!  Inheritance implies changes in stylesheet and javascript file loading, in that now all such files inherited from all ancestors are loaded in case a template falls back to one of those ancestors (or the fallback set).  Template config file caching and an easy API to get those settings also implemented.  Finally, when a template set falls back to another set with a different template engine for a given page, the engine is swapped out dynamically (although this is less than ideal and should be discouraged when authors are creating template sets).

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

18 years agoadding php pspell support. If it breaks - blame me.
tokul [Sat, 30 Sep 2006 17:48:14 +0000 (17:48 +0000)]
adding php pspell support. If it breaks - blame me.

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

18 years agoadding php pspell support
tokul [Sat, 30 Sep 2006 17:35:20 +0000 (17:35 +0000)]
adding php pspell support

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

18 years agosqBodywrap was extreme slow on large messages. The reason for that were the
stekkel [Sat, 30 Sep 2006 16:24:00 +0000 (16:24 +0000)]
sqBodywrap was extreme slow on large messages. The reason for that were the
amount of calls to sq_strpos and sq_substr. Those functions did expensive
in_array calls and a few other things that only need to be done once. By
using static vars I cached the results with as result my compose screen
opens within a second again instead of 10 seconds.

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

18 years agoDemo user provided alternate stylsheet
stevetruckstuff [Sat, 30 Sep 2006 10:39:30 +0000 (10:39 +0000)]
Demo user provided alternate stylsheet

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

18 years agoAdd support for user-provided alternate stylesheets
stevetruckstuff [Sat, 30 Sep 2006 10:38:34 +0000 (10:38 +0000)]
Add support for user-provided alternate stylesheets

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

18 years agoMove squirrelmail.css into default.css. squirrelmail.css should no longer be needed.
stevetruckstuff [Sat, 30 Sep 2006 10:36:18 +0000 (10:36 +0000)]
Move squirrelmail.css into default.css.  squirrelmail.css should no longer be needed.

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

18 years agoignore msg copy errors when messages are deleted. Most common error is related
tokul [Sat, 30 Sep 2006 09:49:08 +0000 (09:49 +0000)]
ignore msg copy errors when messages are deleted. Most common error is related
to quota issues. Updated function tries to copy message to trash and then tags
it as deleted. If we can store message in trash, message is stored. If we can't,
trash folder is bypassed.

added version information to two configuration variables

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

18 years agolist_files does not work correctly if not extension is given.
stevetruckstuff [Sat, 30 Sep 2006 09:25:09 +0000 (09:25 +0000)]
list_files does not work correctly if not extension is given.

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

18 years agoblock uw mailbox abuse in imap select command instead of applying same
tokul [Sat, 30 Sep 2006 07:38:03 +0000 (07:38 +0000)]
block uw mailbox abuse in imap select command instead of applying same
code in all scripts that get $mailbox from GET or POST.

don't check imap_server_type, because interface can be used with different
type setting.

display error message instead of silently overriding $mailbox. (#1557078)

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

18 years agodon't leave old code and DO check filters plugin when reporter informs about
tokul [Sat, 30 Sep 2006 07:09:09 +0000 (07:09 +0000)]
don't leave old code and DO check filters plugin when reporter informs about
the way to reproduce issue.

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

18 years agoAdd tempalte config var for alternate stylesheets
stevetruckstuff [Fri, 29 Sep 2006 22:14:26 +0000 (22:14 +0000)]
Add tempalte config var for alternate stylesheets

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

18 years agoAdd tempalte config for alternate stylesheets
stevetruckstuff [Fri, 29 Sep 2006 22:13:17 +0000 (22:13 +0000)]
Add tempalte config for alternate stylesheets

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

18 years agoAdditional safety check
stevetruckstuff [Fri, 29 Sep 2006 21:45:29 +0000 (21:45 +0000)]
Additional safety check

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

18 years agocorrect typo.
stevetruckstuff [Fri, 29 Sep 2006 21:16:17 +0000 (21:16 +0000)]
correct typo.

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

18 years agoCSS touchups
stevetruckstuff [Fri, 29 Sep 2006 21:09:50 +0000 (21:09 +0000)]
CSS touchups

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

18 years agoMake style.php only load font prefs.
stevetruckstuff [Fri, 29 Sep 2006 20:59:41 +0000 (20:59 +0000)]
Make style.php only load font prefs.

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

18 years agoAdd new default.css. $color themes will be supported later by alternate stylesheets...
stevetruckstuff [Fri, 29 Sep 2006 20:59:21 +0000 (20:59 +0000)]
Add new default.css.  $color themes will be supported later by alternate stylesheets.  Some of this CSS may not be perfect, but it will get cleaned up!!

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

18 years agoAdd documentation re CSS, and clean up some what.
stevetruckstuff [Fri, 29 Sep 2006 20:58:11 +0000 (20:58 +0000)]
Add documentation re CSS, and clean up some what.

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

18 years agoApply correct stylesheets for RTL languages
stevetruckstuff [Fri, 29 Sep 2006 20:22:47 +0000 (20:22 +0000)]
Apply correct stylesheets for RTL languages

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

18 years agoTemplate object is referenced in load_prefs.php if icons are enabled. Need to includ...
stevetruckstuff [Fri, 29 Sep 2006 19:56:12 +0000 (19:56 +0000)]
Template object is referenced in load_prefs.php if icons are enabled.  Need to include template class files before loaded load_prefs.php

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

18 years agoShould be a better fix so this hook now works with plugins that have been using it...
pdontthink [Fri, 29 Sep 2006 18:20:56 +0000 (18:20 +0000)]
Should be a better fix so this hook now works with plugins that have been using it the old way too

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

18 years agoRemove debugging code
pdontthink [Fri, 29 Sep 2006 17:08:49 +0000 (17:08 +0000)]
Remove debugging code

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

18 years agoMake temporary code more obvious
pdontthink [Fri, 29 Sep 2006 09:11:23 +0000 (09:11 +0000)]
Make temporary code more obvious

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

18 years ago"Fix" so old prefs do not totally kill conf.pl. Should be reverted when everyone...
pdontthink [Fri, 29 Sep 2006 09:03:34 +0000 (09:03 +0000)]
"Fix" so old prefs do not totally kill conf.pl.  Should be reverted when everyone has had a good chance to upgrade their configuration files

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

18 years agoFix reply indentation. It was an ordinary typo ;)
stekkel [Fri, 29 Sep 2006 09:02:22 +0000 (09:02 +0000)]
Fix reply indentation. It was an ordinary typo ;)

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

18 years agoprevent notice on non-html attachment viewing
kink [Fri, 29 Sep 2006 08:53:51 +0000 (08:53 +0000)]
prevent notice on non-html attachment viewing

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

18 years agoCheckboxes without labels are a pain to use... Now text is clickable as well.
avel [Thu, 28 Sep 2006 17:13:14 +0000 (17:13 +0000)]
Checkboxes without labels are a pain to use... Now text is clickable as well.

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

18 years agoMisc template changes
pdontthink [Thu, 28 Sep 2006 14:59:20 +0000 (14:59 +0000)]
Misc template changes

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

18 years agoMisc template changs
pdontthink [Thu, 28 Sep 2006 14:55:00 +0000 (14:55 +0000)]
Misc template changs

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

18 years agoMostly moved from base template dir
pdontthink [Thu, 28 Sep 2006 14:52:14 +0000 (14:52 +0000)]
Mostly moved from base template dir

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

18 years agoMoved to css dir
pdontthink [Thu, 28 Sep 2006 14:38:23 +0000 (14:38 +0000)]
Moved to css dir

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

18 years agoMoved to config.php
pdontthink [Thu, 28 Sep 2006 14:34:37 +0000 (14:34 +0000)]
Moved to config.php

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

18 years agoNew hook type that I am very excited about; should address a kind of plugin stacking...
pdontthink [Thu, 28 Sep 2006 14:30:45 +0000 (14:30 +0000)]
New hook type that I am very excited about; should address a kind of plugin stacking that we should have had long ago

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

18 years agoOops, don't want multilogin plugin patch in here
pdontthink [Thu, 28 Sep 2006 14:29:14 +0000 (14:29 +0000)]
Oops, don't want multilogin plugin patch in here

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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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