avel [Wed, 11 Oct 2006 10:49:36 +0000 (10:49 +0000)]
The search expression for the LDAP Addressbook backend has been made configurable via search_expression variable / configuration option. Also a few clarifications and more userfriendly text in comments about the filter and search_expression options. The search_expression is a printf-style string, and some more checks/sanitization have been implemented because of it.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11899
7612ce4b-ef26-0410-bec9-
ea0150e637f0
avel [Tue, 10 Oct 2006 12:48:44 +0000 (12:48 +0000)]
NAMESPACE support in IMAP backend. Also a whitespace fix.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11898
7612ce4b-ef26-0410-bec9-
ea0150e637f0
avel [Tue, 10 Oct 2006 11:14:44 +0000 (11:14 +0000)]
Make authz available globally, if it exists.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11895
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Mon, 9 Oct 2006 22:11:56 +0000 (22:11 +0000)]
stops double encoding of &. & became &
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11894
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Mon, 9 Oct 2006 20:56:38 +0000 (20:56 +0000)]
Use paths for user/template themes rather than u_ and t_ prefixes.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11893
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Mon, 9 Oct 2006 20:03:41 +0000 (20:03 +0000)]
The error handler catched a delayed error => check if dnt is set.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11892
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Mon, 9 Oct 2006 19:50:13 +0000 (19:50 +0000)]
<span> tags end with </span>, not </style> stupid!
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11891
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Mon, 9 Oct 2006 19:46:18 +0000 (19:46 +0000)]
bug fixes from previous commit
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11890
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Mon, 9 Oct 2006 19:38:03 +0000 (19:38 +0000)]
More CSS clean ups
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11889
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Mon, 9 Oct 2006 19:36:36 +0000 (19:36 +0000)]
util_global.php is also included by footer.tpl => include_once.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11888
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Mon, 9 Oct 2006 19:27:17 +0000 (19:27 +0000)]
util_global.php was included twice (second time by footer.tpl)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11887
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Mon, 9 Oct 2006 19:23:48 +0000 (19:23 +0000)]
errorhandler class was included twice
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11886
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Mon, 9 Oct 2006 19:03:27 +0000 (19:03 +0000)]
Use $icon_theme_path rather than $settings['iconThemePath'].
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11885
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Mon, 9 Oct 2006 18:06:07 +0000 (18:06 +0000)]
Fix broken left_main.tpl template.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11884
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Mon, 9 Oct 2006 18:04:42 +0000 (18:04 +0000)]
Add support for fallback icon themes. Similar to fallback template set.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11883
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Mon, 9 Oct 2006 16:56:50 +0000 (16:56 +0000)]
Prepend SM_PATH to $icon_theme_path since it is no longer returned by the template as part of the path.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11882
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Mon, 9 Oct 2006 16:23:06 +0000 (16:23 +0000)]
Make sure icon variables are setup on the login page.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11881
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Mon, 9 Oct 2006 16:21:49 +0000 (16:21 +0000)]
Removing check that is no longer needed.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11880
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Mon, 9 Oct 2006 16:11:08 +0000 (16:11 +0000)]
resigning
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11879
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Mon, 9 Oct 2006 14:17:43 +0000 (14:17 +0000)]
CSS corrections
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11877
7612ce4b-ef26-0410-bec9-
ea0150e637f0
avel [Mon, 9 Oct 2006 14:00:34 +0000 (14:00 +0000)]
Support for $Forwarded IMAP keyword, when it is supported or when arbitrary keywords are allowed. RFC 4550 paragraph 2.8
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11876
7612ce4b-ef26-0410-bec9-
ea0150e637f0
avel [Mon, 9 Oct 2006 13:38:43 +0000 (13:38 +0000)]
support for authz
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11875
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Mon, 9 Oct 2006 11:52:17 +0000 (11:52 +0000)]
Strict type check prevents old config files from breaking everything (per new changes to templateset_default and _fallback)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11874
7612ce4b-ef26-0410-bec9-
ea0150e637f0
avel [Mon, 9 Oct 2006 11:38:32 +0000 (11:38 +0000)]
Support for authz authorization identity in the IMAP backend.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11873
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Mon, 9 Oct 2006 11:35:21 +0000 (11:35 +0000)]
templateset_default and templateset_fallback are IDs now, not unpredictable index numbers
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11872
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Mon, 9 Oct 2006 07:07:52 +0000 (07:07 +0000)]
Need to instantiate template object earlier so user prefs css theme selection can be verified
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11871
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Mon, 9 Oct 2006 02:45:45 +0000 (02:45 +0000)]
Reverting last commit. Hooks don't belong in templates.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11870
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Mon, 9 Oct 2006 02:45:11 +0000 (02:45 +0000)]
compose_button_row hook updated to new plugin/templating scheme. Please learn from this and fix plugins instead of reverting other code
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11869
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Sun, 8 Oct 2006 16:39:33 +0000 (16:39 +0000)]
Missed a spot. Please use less accusatory language when telling ppl they broke plugins or other things, cuz you make goofs too! ;-)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11868
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sun, 8 Oct 2006 16:38:54 +0000 (16:38 +0000)]
reverting code to do_hook.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11867
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sun, 8 Oct 2006 16:14:50 +0000 (16:14 +0000)]
make sure that array key value is set and not empty
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11866
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sun, 8 Oct 2006 15:49:17 +0000 (15:49 +0000)]
don't waste space on compose window. Some people don't have 21 in. monitor
and can't afford all that whitespace and extra rows in compose.
P.S. If you change api and break compose_button_row hook, make sure that core
plugins are updated to new API.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11865
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 7 Oct 2006 15:50:03 +0000 (15:50 +0000)]
info about new squirrelspell features
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11864
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 7 Oct 2006 15:46:02 +0000 (15:46 +0000)]
semicolon is not part of variable name
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11863
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 7 Oct 2006 15:44:36 +0000 (15:44 +0000)]
fixed phpdoc formating
are you sure that script can't be abused to read other files on server
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11862
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 7 Oct 2006 15:40:20 +0000 (15:40 +0000)]
added phpdoc header to mail_fetchs constants file
removed obsolate proprietary POP3 class
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11861
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 7 Oct 2006 15:36:49 +0000 (15:36 +0000)]
removed ispell output. confuses phpdoc
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11860
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 7 Oct 2006 15:32:40 +0000 (15:32 +0000)]
fixed phpdoc formating. require() call loaded before first phpdoc block.
improved template cache. Don't store SM_PATH information in cache. SM_PATH
is ../ in main scripts, but it is ../../ in plugins. Plugin option pages
break if cache stores SM_PATH.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11859
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 7 Oct 2006 11:47:32 +0000 (11:47 +0000)]
info about
1568355 bugfix
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11856
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 7 Oct 2006 11:42:11 +0000 (11:42 +0000)]
Checked if config.php is readable (#
1568355)
Removed formating variables. They are not set when config is loaded.
Merged two 'since 1.5.2' sections
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11855
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 7 Oct 2006 11:21:17 +0000 (11:21 +0000)]
clean globals, turn on display of errors and load all configuration files
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11854
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Fri, 6 Oct 2006 22:02:52 +0000 (22:02 +0000)]
1) Make translateText use styles instead of $color
2) Templatization of formatAttachments()
3) Comment in magicHTML()
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11852
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Fri, 6 Oct 2006 21:58:17 +0000 (21:58 +0000)]
Templatization for reading a message.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11851
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Fri, 6 Oct 2006 21:57:26 +0000 (21:57 +0000)]
Templates for reading a message
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11850
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Fri, 6 Oct 2006 21:56:45 +0000 (21:56 +0000)]
Utility file for reading messages.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11849
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Fri, 6 Oct 2006 21:53:04 +0000 (21:53 +0000)]
New function to return only the email address. For use with templates.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11848
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Fri, 6 Oct 2006 20:16:11 +0000 (20:16 +0000)]
More CSS corrections
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11847
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Fri, 6 Oct 2006 20:05:44 +0000 (20:05 +0000)]
1) More CSS corrections/cleanup
2) Add appropriate __COLOR#__ tag to each color. Will make converting $color themes easier in the future.
3) Add some new CSS for the read_body templates
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11846
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Fri, 6 Oct 2006 19:59:55 +0000 (19:59 +0000)]
Add a few more vars to image handler for later user with templates.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11845
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 5 Oct 2006 22:00:07 +0000 (22:00 +0000)]
create separate vars for download link and unsafe image toggle for later use with templates.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11838
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 5 Oct 2006 21:59:04 +0000 (21:59 +0000)]
Add javascript_on to the list of variables that are always available to templates.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11837
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 5 Oct 2006 15:29:50 +0000 (15:29 +0000)]
Comments
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11836
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 5 Oct 2006 15:24:20 +0000 (15:24 +0000)]
Make sure generated links use & instead of & between GET vars.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11835
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 5 Oct 2006 15:23:36 +0000 (15:23 +0000)]
Fix page title not being shown correctly.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11834
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Wed, 4 Oct 2006 19:40:19 +0000 (19:40 +0000)]
Fixed unintended literal fetching (#
1562271).
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11833
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Wed, 4 Oct 2006 19:25:25 +0000 (19:25 +0000)]
Fix for bug #
1562271
* OK [PARSE] Unexpected characters at end of address: {SET:debug=51}
Triggered literal fetching from the imap stream whil {SET:debug=51} is not
an integer and not meant as literal.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11831
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Wed, 4 Oct 2006 19:12:09 +0000 (19:12 +0000)]
Add / before default.css in user themes in case it is not in the path for some reason.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11830
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Wed, 4 Oct 2006 19:10:20 +0000 (19:10 +0000)]
Minor CSS corrections
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11829
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Wed, 4 Oct 2006 18:58:55 +0000 (18:58 +0000)]
Make sure conf.pl doesn't barf on $theme values from old configs.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11828
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Wed, 4 Oct 2006 18:28:54 +0000 (18:28 +0000)]
Missing auth.php for redirect.php section was breaking fancy auth methods like digest-md5
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11827
7612ce4b-ef26-0410-bec9-
ea0150e637f0
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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