Commit Graph

168 Commits

Author SHA1 Message Date
skeeter
30d0030b13 Changed the menuaction to GLOBALS['HTTP_GET_VARS']['menuaction'] 2001-12-29 18:02:51 +00:00
seek3r
9262d4d93c I had left in some debugging crap 2001-12-29 10:56:57 +00:00
seek3r
a245e7d06c fixed loading of template files. They didnt seem to work at all 2001-12-29 08:53:28 +00:00
seek3r
7e57e1197a updated inline docs 2001-12-23 10:15:40 +00:00
seek3r
6c2caba4ba updated inline docs 2001-12-22 22:55:15 +00:00
Miles Lott
561da9b50f format 2001-12-19 20:03:01 +00:00
seek3r
8d708065f9 added sanitize and registervar function. 2001-12-19 19:53:58 +00:00
skeeter
03a0fdd1a6 Does a small check to see if the requested class exists, before attempting to load and instantiate. 2001-10-21 10:53:33 +00:00
loic
fe9cae6737 Fix xmlrpc critical bugs 2001-10-10 15:10:56 +00:00
skeeter
de4d49b2fa A couple fo small cleanups and arranging of a few of the classes. 2001-09-06 19:23:56 +00:00
Miles Lott
37213f0c30 More adjustments to ensure login works with register_globals Off, also tested
on php3 and php4 with register_globals On.
2001-09-06 08:27:22 +00:00
Miles Lott
43c93130e8 Don't set included_classes to true until after the file is actually included 2001-09-04 04:52:47 +00:00
Miles Lott
079809436f Trying to silence intermittent php3 error 2001-08-26 18:50:57 +00:00
Miles Lott
47f3ea01eb Tentatively move ACL defines outside of currentapp logic (so they work for xml/soap) 2001-08-23 04:32:15 +00:00
Miles Lott
dddf896338 Semi-major adjustement with the goal of removing the register_globals requirement;
Silence possible error if line# is not sent to errorlog class (often); This was
tested with the setting on again and seems to work
2001-08-21 18:34:56 +00:00
seek3r
c9ea092eae added php3 support file 2001-08-16 06:32:22 +00:00
Miles Lott
5d34135559 php3-compatibility fix to execmethod's partscount 2001-08-15 17:31:36 +00:00
skeeter
6da089837d Various optimizations to the API. This also does a little internal caching of some of the account data, but, only for a single page session. 2001-08-15 02:14:18 +00:00
skeeter
f942605e30 Defined the ->log in CreateObject() as a global, and moved the Actual CreateObject() for the log class to the very beginning of the class CreateObject list. 2001-08-11 14:49:12 +00:00
Miles Lott
7d29a24c1e Re-add condition for $p1 == 1 in createobject, fix tabs 2001-08-08 14:03:20 +00:00
skeeter
8694494bff Changed the way the and check for '_UNDEF_' in ExecMethod(). This was discussed with Seek3r and Milosch. 2001-08-08 11:13:32 +00:00
seek3r
961757eec8 updated to use ExecMethod and log 2001-08-08 08:27:12 +00:00
seek3r
eee5228676 fixed my formatting nightmare 2001-08-08 00:13:00 +00:00
seek3r
c85008c270 renamed ExecObject() to ExecMethod() 2001-08-07 16:02:55 +00:00
jerrywestrick
19840a15bf changed calling format of errorlog routines 2001-08-06 17:49:01 +00:00
jerrywestrick
60dcef3164 Change class "log" to "errorlog" because of php3 nameing conflic class "log" to "errorlog" because of php3 nameing conflictt 2001-08-06 16:20:45 +00:00
seek3r
9c33f26ab4 added support for strange _UNDEF_ and True 2001-08-06 07:32:24 +00:00
seek3r
cd9cf4ef29 fixed multi-dimensional support in ExecObject() 2001-08-06 07:29:09 +00:00
Miles Lott
d2e7cf6a5b undo local change we are not yet ready for 2001-08-06 00:31:44 +00:00
Miles Lott
4b512874d8 Add some @ to print_debug() calls to silence php3 2001-08-06 00:28:15 +00:00
Miles Lott
f4359e5514 Add workaround in createobject for VERY weird case where $p1 == '_UNDEF_' evaluates as True
if $p1 = True or 1 ;)
2001-08-05 22:40:32 +00:00
seek3r
17347d9bcb removed an echo I left in ExecObject() 2001-08-05 16:51:53 +00:00
seek3r
5bbe1f8056 fixing supid parsing errors I left in my last commit 2001-08-05 16:39:14 +00:00
seek3r
6d5c881877 added support for multi-dimensional objects 2001-08-05 16:33:44 +00:00
jengo
2eb317a488 Added eventloging 2001-08-05 10:13:37 +00:00
jengo
b1eb420217 Finished merging patch for eventlog 2001-08-05 06:59:20 +00:00
Miles Lott
5110bf226a Fix setting of $phpgw_info flag in createobject, formatting 2001-08-04 13:18:49 +00:00
seek3r
632ebd0950 added new version of ExecObject and GLOBALS ized everything 2001-08-04 12:11:07 +00:00
skeeter
9e51952c23 Renamed the ExecObj() to ExecObject() and redid the exploding of the app.class.function to use a list() in both ExecObject() and CreateObject(). 2001-08-03 21:43:21 +00:00
Miles Lott
52745a7577 fix minor syntax problem 2001-08-03 21:12:28 +00:00
seek3r
9383ac2d97 added inital version of ExecObj 2001-08-03 21:10:02 +00:00
Miles Lott
8f4f5e105c Rollback php3-incompatible code in createobject 2001-08-02 14:56:23 +00:00
Miles Lott
c19c3f3966 Add obj creation test with error_report adjust for createobject, make lang handle
array as first value
2001-08-02 14:33:35 +00:00
skeeter
176aee8b50 Moved a ->db->query() call inside a condition branch. Cuts down on an unneeded db hit. 2001-07-28 02:18:17 +00:00
Miles Lott
f265ea2717 Make _debug_array() work for php3 or 4 2001-07-23 00:02:33 +00:00
skeeter
300c84ea9a This now takes the app header/footer as methods of the application ui. For this to work, each ui that plans on implementing this, will need to create public_functions header() and footer(). 2001-07-21 23:29:07 +00:00
Miles Lott
17b5416f42 Allow Template class to be disabled 2001-07-16 06:24:17 +00:00
Miles Lott
e02021ad21 With assistance from mdean, jengo, and ralfbecker, the multiple params feature
for CreateObject now seems to work.  Need to verify on php3...
2001-07-15 23:27:36 +00:00
Miles Lott
7e4189916e Rollback changes pending further tests 2001-07-15 13:49:37 +00:00
Miles Lott
9571b47278 CreateObject can now pass multiple params to the class 2001-07-15 10:16:12 +00:00
skeeter
b236c39ce1 Cleanup of an extra warning message. 2001-07-10 03:51:14 +00:00
seek3r
2d97b29cfa patched up php3 compatibility (again) 2001-07-06 06:46:10 +00:00
jengo
50837a1db7 Added a debug array function 2001-07-01 17:57:59 +00:00
jengo
7e538b6df2 Removed legecy variables that should have been removed before 2001-06-26 21:40:45 +00:00
skeeter
b9671eacfa Fix for bug #435326. 2001-06-25 02:45:36 +00:00
skeeter
a704591312 Fix for bug #435743. 2001-06-24 02:18:47 +00:00
skeeter
2dd2c42356 Missed doing a ->next_record() call when loading configs cache option. 2001-06-23 11:01:59 +00:00
jengo
f35780f925 dded a way for apps to allow certain pages only to admins while keeping there currentapp set to the real appname.
$phpgw_info['flags']['admin_only'] = True;
is the format
2001-06-23 05:28:03 +00:00
skeeter
36ee6b1dc2 fix for bug #435349. 2001-06-23 02:00:12 +00:00
skeeter
f069e2fb06 Caching has been reworked and added back in. 2001-06-22 00:49:32 +00:00
skeeter
7e3a1199e6 Cleanups for warning messages. 2001-06-17 16:55:04 +00:00
Miles Lott
9d8b90e35d Formatting, including a lot of " removed, and it still works! 2001-06-13 06:27:06 +00:00
seek3r
4b1390eb0f had to make several changes and cleanups for php3 compatibility 2001-05-31 10:11:18 +00:00
seek3r
1ff5b9ab09 had to make several changes and cleanups for php3 compatibility 2001-05-31 08:50:44 +00:00
seek3r
3510d65861 changes to the way the header version is managed 2001-05-30 08:26:24 +00:00
Miles Lott
eb0aa37eaa Use config_app='phpgwapi' for filling 'server' array, to avoid conflicts 2001-05-21 17:30:55 +00:00
skeeter
d83f331f74 New class - will handle all date/time conversions from realworld to phpGW handling. 2001-05-20 01:20:20 +00:00
zone
709910f688 changed 2001-05-15 00:35:29 +00:00
skeeter
dc7578a39a Various cleanups. Trying to remove some warnings when generating php errors to a file. 2001-05-14 03:54:40 +00:00
skeeter
da47c29c24 fixes a few warnings. 2001-05-13 04:08:01 +00:00
skeeter
44feb8e016 Moved get_account_id() closer to the top of the file. Should now be more compatible with php3. 2001-05-08 20:50:11 +00:00
skeeter
5af7116030 New manual layouts 2001-05-06 16:37:40 +00:00
jengo
b5551be082 Made enable_x_class more dynamic, it now reads through a loop 2001-05-02 05:31:23 +00:00
jengo
955bf76715 Added an option to force a certian theme on users 2001-04-27 10:02:33 +00:00
skeeter
f71b6a8f54 Fix for bug #417328 2001-04-21 17:45:48 +00:00
Miles Lott
0d001b95b8 Add enable_browser_class object creation 2001-04-07 14:29:41 +00:00
skeeter
42a593ad9b Revert the code back to the way it was. 2001-04-03 03:26:59 +00:00
skeeter
afea2d7d56 Possible fix for error on line 53 of ->preferences when logging in. 2001-04-03 03:08:50 +00:00
skeeter
9dfd13af5e Juggling get_account_id() again. 2001-03-21 05:42:40 +00:00
skeeter
a441160b19 Juggling get_account_id() again. 2001-03-21 05:40:54 +00:00
skeeter
c40f06de24 Juggling the location of get_account_id(). 2001-03-21 05:01:28 +00:00
skeeter
e2a2e74619 Fixed a problem with the categories class not being instantiated correctly. 2001-03-21 03:30:29 +00:00
skeeter
b9da94fd2e New function get_account_id(). This will take either an account_id # as either an integer or a string and return a true intval(account_id) or take a string of a users lid and return the account_id as an integer 2001-03-19 20:25:04 +00:00
jengo
40fb427d31 Added PHPGW_ACL_PRIVATE constant 2001-03-18 04:55:36 +00:00
themaniac
d2b0d33199 start of inline documentation 2001-03-13 23:28:27 +00:00
jengo
a26155472a Possiable fix for link() not working durring login 2001-03-09 01:05:48 +00:00
jengo
0cd0e810ad Fixed a php warning being spit out with new users 2001-03-01 18:17:33 +00:00
Miles Lott
6b154b447e Move global_denied_users list into accounts class, sql is an empty array 2001-03-01 16:20:48 +00:00
jengo
c3e29775ab Added the session_flags column to phpgw_sessions 2001-02-28 15:56:47 +00:00
jengo
03223c14eb Fixed PHP 3 warning 2001-02-26 21:03:53 +00:00
seek3r
d80f6a4e79 working toward app install/upgrdae within setup prog 2001-02-13 10:53:18 +00:00
jengo
57e2b9408c Fixed template not loading up for apps 2001-02-10 14:09:35 +00:00
jengo
93877426a3 Added some better error report for people who have created there header.inc.php file and not setup there database 2001-02-10 03:15:48 +00:00
seek3r
6fb62107fe cleaner dir seperator 2001-02-09 03:56:24 +00:00
seek3r
b88aeb3515 make this a tiny bit cleaner 2001-02-09 03:21:57 +00:00
skeeter
ea94c3fa4d fixes authing against ldap 2001-02-09 03:11:59 +00:00
jengo
015a627b1e Renamed the config table to phpgw_config 2001-02-08 19:34:14 +00:00
jengo
2d3924eed6 Added footer call to "Access not permitted" screen 2001-02-08 06:10:36 +00:00
jengo
2ebd03ec7d Started moving the cache for the phpgw_info array over to appsessions() .... some things aren't working correclty yet. mainly preferences 2001-02-08 04:42:44 +00:00
seek3r
a0628a66bb seek3r is a dope fix 2001-02-08 01:06:45 +00:00