Commit graph

73 commits

Author SHA1 Message Date
Fredrik Jervfors
418d8edc07 Removing phpDocumentator tag which shouldn't be used here 2004-07-05 11:50:32 +00:00
Fredrik Jervfors
8133319f74 Adding phpDocumentator block 2004-07-05 07:32:21 +00:00
Fredrik Jervfors
9d4db8b166 Phpdocumentor update - sed is your friend for these kinds of things ;) 2004-05-21 23:56:53 +00:00
Erin Schnabel
f3a24d0463 updates to make javascript actually behave correctly for real.
Autodetection is fixed, load of JS dependent items (like address book and
search) will be set to false if javascript_on session var is false/0.

javascript_on will ONLY be true if:
  javascript_setting = 1 (ALWAYS)
  javascript_setting = 2 (Autodetect, and test works)

If you change your javascript settings, javascript_on will change
immediately.

We might actually want to DISABLE Always, and have it be either Never, or autodetect.
Since Always might not always work.. :-P
2004-03-28 22:47:11 +00:00
Erin Schnabel
c072809def finish "buttonizing" read_body header.
Correct some mistakes (compose_in_new, resume draft, edit as new)
Centralize javascript detection in prefs.php - checkForJavascript
Move javascript_on from prefs to session - have just javascript_setting in prefs.
2004-03-28 20:45:20 +00:00
Thijs Kinkhorst
644750922c We don't support PHP 4.0.x anymore; update the docs to reflect that and
remove 4.0.x legacy code.
2004-03-11 19:34:43 +00:00
Thijs Kinkhorst
cde0377d36 We're living in 2004 now... perl is your friend for these kinds of things :) 2004-02-24 15:51:22 +00:00
Alexandros Vellis
882ec3b7b0 If admin has set in config_local.php, then use that. (For LDAP Preferences plugin) 2004-01-02 16:58:04 +00:00
Thijs Kinkhorst
2751145774 Add phpdoc doc blocks to some files. 2003-10-29 09:35:51 +00:00
tassium
9098cb73e4 Preparation to begin using phpdocumentor.
Added basic @package/@subpackage tags
The decode/ files were documented slightly more thoroughly, although they're almost self-explanatory anyway.

The individual functions in the functions/ files need to be documented though, and now that this commit is in, anyone willing to write docblocks for functions should get cracking ;)
2003-10-28 21:27:47 +00:00
Thijs Kinkhorst
e49b29a2d1 MS Exch can be set up that users have to use DOMAIN/username/mailbox
to log in. We need to strip these chars before creating the prefs
file, because of course a slash in the name gives problems.

It may be possible to strip out other 'illegal' chars here aswell.
Closes (#745814).
2003-06-08 16:15:02 +00:00
Thijs Kinkhorst
e4adb83265 Version check fixes.
1) the required version is minimum 4.0.4 so the 4.0.2 check is always passed.
2) make the check in prefs.php also work when new php versions are released %-)
2003-01-23 20:50:22 +00:00
Erin Schnabel
9974a58f86 swap in the sqgetGlobalVar function 2003-01-04 04:15:37 +00:00
Thijs Kinkhorst
75de52f258 Getting ready for 1.4.0 RC1 2002-12-31 12:49:43 +00:00
jmunro
16542833cd Since changing to rg=0 we make extensive use of $_SESSION and $HTTP_SESSION_VARS. Because of this session_register, session_unregister, and session_is_registered should NOT be used (see the PHP manual at php.net). They are buggy over different PHP versions anyway. Now when changing a session var using the custom 'sq' version of these functions (all located in global.php) the superglobal array is accessed directly. This fixes the problem with corrupted objects in the session. Tested with 4.1.2 rg=0 and 1. 2002-10-06 23:43:02 +00:00
Thijs Kinkhorst
f061369901 More rg=0 2002-09-21 20:26:52 +00:00
indiri69
3631db4aff Remove SM_PATH from prefs file path 2002-09-12 18:15:40 +00:00
indiri69
56f1d28aec More SM_PATH changes 2002-09-10 22:35:30 +00:00
thomppj
9001d31cf8 Converted all files in functions/ to use SM_PATH. This will break all
plugins. Each callable script needs a:

  define('SM_PATH', '../../');

Or something like that put at the top.
2002-09-06 00:31:43 +00:00
simond
4ed73836fc Fix prefs so they work under 4.2 as well as 4.1.x. This really needs to
be fixed properly sometime though!
2002-04-26 18:35:00 +00:00
simond
1cc3050f4c Allow easy selection of database backed prefs 2002-02-04 12:53:26 +00:00
philippe_mingo
66363acf88 The 2000000 bugfix
------------------

This is mostly a warning removal "a la Tyler".

I've also installed 4.1.1 on my portable and it looks it works
fine with some bugfixs. Please 4.1.1 report feedback.
2002-02-02 02:17:05 +00:00
Thijs Kinkhorst
0366ddd553 Saves users prefferences with permission 0600 in stead of 0644. 2002-01-28 21:54:10 +00:00
philippe_mingo
3cd214d825 Code cleaning and setting of session save path. 2002-01-18 09:14:21 +00:00
philippe_mingo
3fabd0920e The prefs caching in PHP 4.1 still doesn't work. While we don't
find a correct fix for this we exclude 4.1 from caching prefs.
2002-01-04 08:41:24 +00:00
Tyler Akins
8031003eae Added $color[15] for the "unselectable folders" color.
Made left_main.php use $color[15] and fall back on $color[6] if not specified.
Added a $color[15] for all themes.  If you don't like the new color, just
change it.  :-)
Fixed a bug in prefs.php.
Updated themes.txt documentation.
2001-12-28 20:16:19 +00:00
philippe_mingo
d532e5b82b Probably the problem with php 4.1 is a register/unregister order. This
new prefs version changes that order to a more logical one and the prefs
get cached again. Should be noted for other modules. I maintain the
workaround because it is a logical check to be done.
2001-12-26 13:43:48 +00:00
philippe_mingo
14d50be61a This is a temporary workaround to fix the php 4.1 problem in saving
prefs. The real problem is that the prefs array doesn't makes its way
into the registration process in php 4.1, don't know yet why.
2001-12-26 13:35:47 +00:00
thomppj
09e7797da5 Various fixes.
----------------------------------------------------------------------
2001-12-23 21:01:40 +00:00
thomppj
ab36a2f7c3 Fixed a couple of small bugs. 2001-12-23 17:26:30 +00:00
philippe_mingo
0e6acbe3a0 Stanislav Yordanov <stanprog@yahoo.com>
Bulgarian
2001-12-23 10:26:54 +00:00
thomppj
1e2a9cc5d0 Getting ready for 1.2.0 release. 2001-12-23 07:42:40 +00:00
thomppj
f0b65aa567 Lots of little changes... 2001-12-21 18:18:48 +00:00
Tyler Akins
17ea626186 Fixed warnings 2001-12-19 13:50:49 +00:00
thomppj
d5288195fc Added option to do data and attachment directory hashing, up to four levels. Will automatically search for missing file at other levels, move them to the right place, create hash directories, etc.
Should work for both data directory and attachment. Also modified Squirrelspell plugin to use this as well.
2001-12-13 07:00:56 +00:00
thomppj
0205543e98 Reworked paginator code, everyone try it out. 2001-12-07 07:44:21 +00:00
thomppj
5d15361f1f Code cleanup brigage... 2001-12-02 09:33:02 +00:00
philippe_mingo
bc6ece97aa Some fixup. 2001-11-30 18:39:15 +00:00
philippe_mingo
9d1cdf9457 Added a counter pref and a fix for the imapid 2001-11-28 19:48:30 +00:00
philippe_mingo
da2f3297dd ** -> * 2001-11-26 19:33:28 +00:00
philippe_mingo
d61b98077f Added (c) stuff and some formatting. 2001-11-21 18:38:12 +00:00
philippe_mingo
c3aed0d769 Some fixup:
- Operation foo_once step 2 (and final)
- Create folders bugfix
- None folder bugfix
- Fixed some tabs, structs etc.
- Added some (c) stuff
- Removed some debug stuff

This changes should result in a faster SM.
2001-11-20 20:08:28 +00:00
thomppj
be1282b869 Cleaned up options main for IE and Netscape compatibility. Did major work on the great options rewrite. Cool stuff here, I think... :) 2001-11-18 10:42:32 +00:00
philippe_mingo
910b7f08d9 Multiple changes.
* Added sqclock to core with its options in folder options
* Change options_folder to use new functions
* removed some straight php in order to let xgetpo to work
2001-10-29 13:04:38 +00:00
philippe_mingo
c5eea2115b * Header rearranged
* Toggle all fixed for Konq
* Page selector now allows more customization
* Added default paramenter to get pref
2001-10-27 15:34:19 +00:00
Tyler Akins
d173f102fd Prefs saved as a value of 0 were treated like empty strings. This caused
the alternating row colors setting to be messed up.
Bug reported on May 12, 2001, by Marc Lucks.
2001-06-25 16:20:57 +00:00
Tyler Akins
4b3f400ffc * Removed a warning 2001-05-10 19:24:08 +00:00
Tyler Akins
31e1b270df * Further optimization 2001-05-10 19:13:15 +00:00
Tyler Akins
91b09a84d3 * Just cleaned some strings 2001-05-01 21:07:11 +00:00
Luke Ehresman
8bb3fe345d made preferences REALLY be cached (in session) 2001-04-21 13:47:33 +00:00