Commit graph

327 commits

Author SHA1 Message Date
stevetruckstuff
48374bec60 Minor modifications to handle moving of icon themes to conf.pl 2006-10-02 21:22:59 +00:00
stevetruckstuff
318b324085 Correct handling of default user themes. 2006-10-02 20:17:32 +00:00
stevetruckstuff
97d8bb170b Remove unused function and correct handling of icon themes. 2006-10-02 20:17:03 +00:00
stevetruckstuff
bc4e8647ef Move management of user themes (SM_PATH/css/) to conf.pl. 2006-10-02 18:49:00 +00:00
pdontthink
31f5fd5bf4 Added note 2006-10-02 12:17:06 +00:00
pdontthink
04815d3a36 Clear template file cache when changing template sets (skins) 2006-10-02 12:15:14 +00:00
pdontthink
f99ab6d906 minor correction 2006-10-02 11:03:17 +00:00
pdontthink
b873260300 Cleanup and abstraction of how default template set is retrieved 2006-10-02 11:02:27 +00:00
pdontthink
f3cb34454d Abstract how we get default template; move template inclusion up top; clear template cache upon login 2006-10-02 10:55:01 +00:00
stevetruckstuff
ab9c937a8a Add support for user-provided alternate stylesheets 2006-09-30 10:38:34 +00:00
stevetruckstuff
05dc4ac0a8 Add tempalte config var for alternate stylesheets 2006-09-29 22:14:26 +00:00
stevetruckstuff
07807c7e2c Template object is referenced in load_prefs.php if icons are enabled. Need to include template class files before loaded load_prefs.php 2006-09-29 19:56:12 +00:00
pdontthink
d7b037b498 Oops, don't want multilogin plugin patch in here 2006-09-28 14:29:14 +00:00
pdontthink
99839c20d9 Misc templating changes. Note that the global template set indicator is now called . 2006-09-28 14:21:51 +00:00
pdontthink
8ac4e87d23 Move sqm_array_merge to arrays.php and subsequently move inclusion of arrays.php to init.php for global access. 2006-09-22 09:29:04 +00:00
pdontthink
e5ee21760e 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 2006-09-19 14:46:53 +00:00
pdontthink
1edc1c288f Stylesheets provided with templates won't load unless we load up prefs for stylesheets too 2006-09-18 17:09:06 +00:00
pdontthink
776962b16b Use constants for sqgetGlobalVar() typecasting 2006-09-08 06:33:53 +00:00
tokul
87e81b3e8f hook must be moved because include/constants.php is
loaded before plugins are initialized.
2006-08-31 06:16:27 +00:00
stevetruckstuff
62cee65521 Make sure $icon_theme_path is set correctly when users aren't logged in. 2006-08-24 20:30:33 +00:00
stevetruckstuff
22330d9cc0 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. 2006-08-22 18:56:16 +00:00
stevetruckstuff
dd7175b447 Move always included vars to init.php because it is confusing when not logged in. 2006-08-18 21:27:51 +00:00
stevetruckstuff
e15c5e99da Fix incorrect template assignment. 2006-08-17 20:54:46 +00:00
tokul
9a29ffcb6b fixed phpdoc tag 2006-08-06 08:46:36 +00:00
tokul
3ab0b5eb63 loading default configuration before config.php in order to make sure
that all variables are loaded.
2006-08-02 18:05:33 +00:00
tokul
070768ad60 code could be triggered to unset variables that are used in foreach or
unset call. PHP 5.2.0 does not handle it gracefully.
2006-07-26 06:39:01 +00:00
tokul
76e18fbaaa #1527493 typo in elseif.
code later tries to use $a, but it is not always available. We have if()
and elseif(). There is no failsafe else version.
2006-07-24 19:20:24 +00:00
tokul
59ae6f3ac2 removing trailing ?> from function scripts 2006-07-15 12:01:32 +00:00
Thijs Kinkhorst
053e9af4bd move the 'fallback theme colors' to init.php. It makes sense to initialise
that array as early as possible, because we may need the colours when
setting up something goes wrong.
2006-07-11 22:12:09 +00:00
tokul
bdc2b53551 turn on session cookies, if they are turned off. 2006-07-09 18:43:40 +00:00
tokul
4840ac21a3 prevent setting INBOX as Draft, Sent or Trash folder (#1242346) 2006-07-07 19:14:06 +00:00
Fredrik Jervfors
60146dc4d9 String fix. 2006-06-15 14:31:29 +00:00
tokul
5cf76f1515 1. personal preferences don't need imap functions.
2. display email address even when user settings don't store it.
3. set default $email_address value to username + domain.
2006-06-12 17:42:16 +00:00
tokul
14b6285361 adding message copy buttons. 2006-06-04 09:18:20 +00:00
tokul
7ef0b715f3 adding option that should control translation of special folders 2006-05-29 17:12:54 +00:00
tokul
60e2c9da2a initialize template object here. logout_error() depends on it. 2006-05-22 17:43:43 +00:00
tokul
d02c98a9e0 SCRIPT_FILENAME is not set on IIS 5.1 php cgi 2006-05-21 18:45:27 +00:00
tokul
dbd9f69d03 resubmitting last Monday updates and adding php 5.1.0 timezone support 2006-05-13 19:11:08 +00:00
Thijs Kinkhorst
65f1fff9f6 One can only "prepend" something before some other thing, not "append". 2006-05-06 11:51:42 +00:00
tokul
bdb9f7e450 undefined $value 2006-05-06 06:53:26 +00:00
tokul
ab1caa233f adding hack to fix setlocale behavior on OpenBSD 3.8+ (#1427512). I don't think
that e-a-department (obsd) cares about it.
2006-04-29 17:22:00 +00:00
tokul
a4eb94c4ce session vars can unset configuration and runtime variables here. 2006-04-24 17:05:38 +00:00
stekkel
0288322e20 Thnx tomas and shame on me. 2006-04-24 15:59:13 +00:00
tokul
ca0bf2e239 if $key is set to false, sqimap_login() function will use sqauth_read_password()
to retrieve user password.
sqimap_login() calls in plugins are modified to use this code.
It allows to centralize place that is used to access password information.

Older way is preserved for backwards compatibility and different IMAP login
credentials.
2006-04-19 18:03:24 +00:00
tokul
9757ce2fc9 load hashing functions in all setups 2006-04-12 05:56:42 +00:00
tokul
6a049bc2be fixed register_globals test. if configuration set with php_value, ini_get
returns 'off' string (boolean true).
2006-04-06 18:36:19 +00:00
stekkel
2cfdffe0a4 More cookie stuff. Clean up old cookies so they do not get priority over our
own cookies with the corrected cookie path.
2006-04-06 17:18:29 +00:00
stekkel
68ecd53cc8 Handle session.auto_start case and move down squirrelmail version string 2006-04-06 12:12:33 +00:00
stekkel
a30f292c94 Remove unneeded code from 2000. It doesn't work anymore with init.php
(rg=on)
2006-04-05 19:37:40 +00:00
stekkel
f106d6cd42 the register globals check was deleting $base_uri from the global scope.
Reordening init.php solved this.

In the future we probably should use the constand SM_BASE_URI which doesn't
suffer from weird global behaviour
2006-04-05 18:49:44 +00:00