Commit graph

31 commits

Author SHA1 Message Date
Erin Schnabel
68cbad0c64 remove_pref function was missing global prefs_cache declare. 2003-03-28 05:22:51 +00:00
jangliss
f0683457c6 PHP 4.3.x prefs fix for db based prefs. 2003-03-26 16:04:20 +00:00
Thijs Kinkhorst
75de52f258 Getting ready for 1.4.0 RC1 2002-12-31 12:49:43 +00:00
Erin Schnabel
8d444c3e17 Carried over modification made to file_prefs to distinguish
between a 0 value, and an unset value using ===.

Certain prefs were unsaveable after the XSS changes, which
cast zero values to ints (instead of strings), causing
them to pass the $set_to == '' check, and thus be treated
as an unset value, rather than a value of 0.
2002-12-17 20:36:23 +00:00
Thijs Kinkhorst
b1401713e8 Store highlighting rules differently to make them more reliable 2002-10-29 22:15:21 +00:00
simond
566cd026ec Remove isWarning as it's been dropped from PEAR with cvs versions 2002-10-15 08:25:29 +00:00
Thijs Kinkhorst
067363daea Update function directory to rg=0. 2002-09-21 15:59:32 +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
Thijs Kinkhorst
2b1643b8e4 Overlooked that default theme was also hardcoded in db_prefs, not anymore. 2002-08-09 13:13:37 +00:00
simond
64d94e24dd Remove obsolete text 2002-07-01 13:18:24 +00:00
simond
5e4d22c18d Sig code doesn't really need to know about the internal database bits, it
should just use getPref and setPref.
2002-04-12 07:31:44 +00:00
simond
0bb875e85b backout PHP<4.0.2 change as it's not supported 2002-03-13 15:37:49 +00:00
simond
127f77e7b1 Fix problems with <PHP4.0.2 including every listed require file 2002-03-12 10:45:53 +00:00
simond
dc26a6eba2 PostgreSQL should now work as a db prefs backend (and fix alterable field names) 2002-03-03 14:18:57 +00:00
simond
e8a23e0ab1 Add support for renaming db prefs fieldnames (this doesn't add postgres support, but that's on it's way next 2002-03-01 09:01:35 +00:00
simond
2eab6ef55a Should really use a persistant DB connection 2002-02-17 13:48:52 +00:00
simond
765a189c88 fix to support multiple sigs 2002-02-14 09:33:05 +00:00
simond
4deb99f715 I should really have checked if the database is opened before using it... 2002-02-07 13:51:28 +00:00
simond
1cc3050f4c Allow easy selection of database backed prefs 2002-02-04 12:53:26 +00:00
teepe
b386eff228 yet another db_prefs patch 2002-01-26 10:24:38 +00:00
teepe
1aaa02ada6 fix in db_prefs 2002-01-25 16:46:36 +00:00
teepe
372a6cf179 Thanks to Simon Dick for making the db_prefs work again\! 2002-01-20 10:43:03 +00:00
teepe
f7de050722 fixed db_prefs (#499609) 2002-01-18 22:00:45 +00:00
thomppj
1e2a9cc5d0 Getting ready for 1.2.0 release. 2001-12-23 07:42:40 +00:00
thomppj
5d15361f1f Code cleanup brigage... 2001-12-02 09:33:02 +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
philippe_mingo
8766c0d344 Fixed options_display to use functions/options.
Fixed load prefs to use default parm.
2001-10-28 00:37:47 +00:00
Tyler Akins
0d0de5d238 * Got bored and copied all the validate.php and define() stuff to 1.1
* Cleaned up some code
* Fixed some typos
* Added a few files (documentation, translations)
* EAGERLY awaiting 1.1 to come out
* Made all global stuff "global $varname" so the new define() method we use
  will work properly (methinks)
2001-04-19 17:58:10 +00:00
pallo
fb3b8eab4d Optional replacement for prefs.php to store user preferences and
signature in a database instead of in files.
2001-03-09 14:30:55 +00:00