Commit Graph

182 Commits

Author SHA1 Message Date
Ralf Becker
263caae5e8 missing param 2005-11-08 10:10:36 +00:00
Ralf Becker
a0beab57d4 fixed bug reported by Lutz on the german list (missing AND before filter in return_array) 2005-11-08 05:07:37 +00:00
Ralf Becker
ae9ae56e30 fix for the segfaults happening since the last commits in several apps: function was calling itself ;-) 2005-11-07 09:30:33 +00:00
Ralf Becker
c4db9872c2 it was definitly to late last night ;-) 2005-11-06 09:09:05 +00:00
Ralf Becker
9de4dcd476 typo 2005-11-06 07:38:27 +00:00
Ralf Becker
7635fb25c9 phpgw_categories --> egw_categories plus reworked categories class 2005-11-05 22:58:51 +00:00
Ralf Becker
c591c2c221 fixed / added mssql support for egw and fixed some other Windows probs on the way ;-)
- knowledgebase is not working: select distinct is not possible with text-columns
- fudforum is not working: is does not use ADOdb and has no own db-layer for mssql
- other apps seem to work, everthing needs through testing - incl. our "old" db's
2004-07-25 01:41:37 +00:00
Ralf Becker
da83e39c89 fixed creation of sub-cats, to automaticaly set the main-cat (as it already set the level) from the parent 2004-05-24 09:29:30 +00:00
reinerj
48f840d7de move from old projct to new one 2004-05-05 12:06:13 +00:00
Lars Kneschke
56ae9c191a fix for
Warning: preg_match() expects at least 2 parameters, 1 given in
/var/www/www.phpgw.de/htdocs/egroupware/phpgwapi/inc/class.categories.inc.php on line 164
2004-04-05 06:04:07 +00:00
Ralf Becker
f68cd32ede as talked with lars and Stephan Hilchenbach from the german list ;-) 2004-04-04 22:21:26 +00:00
alpeb
1dd27ea7c0 fix id2name not returning cat_name. This avoided category names to be shown in phpbrain 2004-01-16 17:57:19 +00:00
Miles Lott
5dbef396f9 Appears to fix problems with bad data sent to a couple of functions, causing bad SQL generation 2004-01-02 22:49:10 +00:00
Ralf Becker
5f91c1c62c fixed bug in id2name 2003-12-23 22:24:55 +00:00
Miles Lott
5794ca4cc1 intval() -> (int) 2003-12-13 15:03:23 +00:00
Ralf Becker
8ea71d2f7d fixed bug with not saved description in preferences::add 2003-08-30 10:25:14 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
ceb
459fceb00f update 2003-07-26 23:37:55 +00:00
ceb
74040b0444 update 2003-07-25 01:11:45 +00:00
ceb
b1aa23e5d0 fix 2003-06-24 22:33:40 +00:00
ceb
782fdf7c2d fix bug #3861 2003-06-24 13:32:25 +00:00
ceb
99cb204413 update 2003-06-21 00:59:30 +00:00
ceb
298c0d03ae fix 2003-06-17 13:23:42 +00:00
ceb
6494d641da update 2003-05-21 23:02:25 +00:00
ceb
3f24159bfd update tpl 2003-05-03 14:17:15 +00:00
ceb
7546857b3e update cats 2003-05-01 23:24:09 +00:00
ceb
0d021d3426 it was impossible to login/logout after change of framework call 2003-04-21 00:49:42 +00:00
ceb
bf02473ccd update cats 2003-04-20 14:15:01 +00:00
Ralf Becker
b83af98a7f skwashd's patch to:
- name2id return system-global cats too
- return_array use strlen now to differ between not set and 0 parent_cat_id
2003-03-22 09:37:40 +00:00
Ralf Becker
ff708d4917 skwashd's patch to be able to retrive entries with parent_id == 0 2003-03-16 22:16:33 +00:00
ceb
fe749bb211 update xslt 2002-10-20 22:01:46 +00:00
ceb
3c48c1c3aa fix for subs not showing 2002-10-15 21:40:58 +00:00
ceb
df62f9d644 fix for bug 1308 2002-10-15 00:12:39 +00:00
ceb
23edad505e update 2002-10-13 22:04:55 +00:00
ceb
49ef265853 update 2002-10-12 22:33:24 +00:00
ceb
5cc3837622 update edit_cats to move the subtree with the cat if the parent changes 2002-10-12 22:03:35 +00:00
ceb
be05bc6e25 update edit_cats to move the subtree with the cat if the parent changes 2002-10-12 21:18:23 +00:00
ceb
22ff2988c7 update edit_cats to move the subtree with the cat if the parent changes 2002-10-12 18:01:39 +00:00
ceb
aac6b5e5f4 update edit_cats to move the subtree with the cat if the parent changes 2002-10-12 17:23:56 +00:00
ceb
212c43738a update edit cats 2002-10-12 00:50:37 +00:00
ceb
0ae563ca08 fix for bug 1286 2002-10-04 20:59:00 +00:00
ceb
9fea7d76e0 added xsl function 2002-09-26 03:58:21 +00:00
ceb
e9251d17e1 added function for cat_select_box using xsl tpl 2002-09-25 04:02:03 +00:00
ceb
e4044935f0 update cats 2002-09-08 20:40:12 +00:00
ceb
aacd03d33f update cats 2002-09-04 01:58:34 +00:00
ceb
7d38b22ddb update cats 2002-09-04 00:30:50 +00:00
ceb
b6ca89c43e updated function delete, id2name, return_sorted_array to move subcats down if delete their parent 2002-09-03 02:21:36 +00:00
ceb
e189e7d4c5 update add function to return the id 2002-09-02 22:03:00 +00:00
ceb
325b6d81dd update global_cats selection 2002-07-03 00:55:47 +00:00
skeeter
297a820544 GNU Patch #373. 2002-06-29 12:24:11 +00:00
skeeter
63b54968a3 A few changes to bring in line with what the phpGW.org site is running. 2002-04-27 22:14:33 +00:00
skeeter
78950a92bf Fix for mssql or ODBC support. 2002-04-14 03:27:50 +00:00
skeeter
1ffc7e1ecc GNU Patch #210. 2002-04-04 20:52:04 +00:00
skeeter
b221f83ec2 Added the db_addslashes() call to name2id(). 2002-03-26 19:25:49 +00:00
ceb
1f178214ba update img path 2002-03-16 03:30:03 +00:00
ceb
0c22fc3f0b update cats 2002-03-13 16:30:51 +00:00
ceb
f612468342 update cats 2002-03-13 04:16:46 +00:00
ceb
43c6887ae8 update cats 2002-01-15 02:52:51 +00:00
ceb
9783df1431 added limit_query call to the return_sorted_array function; but still doesnt work correctly 2002-01-13 00:39:26 +00:00
ceb
334e5f0b96 added new function to sort cats list 2002-01-12 04:08:35 +00:00
Miles Lott
7c92b70b90 Move constructor to the top of the class; Use one db object instead of two;
Do the query in return_array() only once; Make formated_list() a wrapper to
formatted_list();
2002-01-03 17:16:56 +00:00
bettina
f857c1eeff fixed wrong select of the global cats 2002-01-03 03:42:13 +00:00
bettina
3544a46dc3 update 2002-01-01 23:25:54 +00:00
bettina
8095e83fc5 update 2002-01-01 20:58:22 +00:00
skeeter
5739976dfd Should be backwards compatible! Will now allow the formated_list() method to be called by ExecMethod(). This is now done by setting the format variable equal to an associated array. 2001-12-29 19:31:52 +00:00
Miles Lott
f0f01eefd5 i sure do like formatting code 2001-12-11 01:20:45 +00:00
skeeter
ea096e29ce Small fix for a blank cat_id being passed to id2name(). 2001-12-05 01:32:32 +00:00
Miles Lott
5d4eb42476 allow only subs of current main cat to be returned if $public=True 2001-11-18 06:11:05 +00:00
Miles Lott
a77fd203f3 GLOBALS 2001-10-02 03:52:56 +00:00
skeeter
a5f1abdf00 Fluffed up the name2id() function in categories and a couple of small code cleanups. 2001-09-17 02:24:41 +00:00
Miles Lott
57fb69f726 array element fix 2001-09-17 02:17:26 +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
bettina
8dac4d5616 update delete cats 2001-07-20 01:05:47 +00:00
bettina
c6f9a06500 update add() plus edit() 2001-07-18 23:50:38 +00:00
bettina
e479e77987 update function id2name 2001-07-03 14:23:16 +00:00
bettina
446d1e927f update function return_lingle to also return the app_name plus function id2name to only return -- if =='name' 2001-07-03 12:52:13 +00:00
bettina
444ef87edc update function return_lingle to also return the app_name plus function id2name to only return -- if =='name' 2001-07-03 12:38:09 +00:00
bettina
1265474bfb update function return_lingle to also return the app_name plus function id2name to only return -- if =='name' 2001-07-03 12:13:13 +00:00
jengo
ce2c7d262c Moved to use the new limit_query() function 2001-07-02 20:08:57 +00:00
bettina
e93eb90d38 update function id2name to return also main,app,owner 2001-07-02 02:25:26 +00:00
bettina
6121405967 update formated_list to prevent error msg if array empty 2001-06-07 07:44:26 +00:00
bettina
f64f65b91a update acl in return_array 2001-06-07 06:25:48 +00:00
bettina
941f91ab7b update 2001-06-06 03:17:45 +00:00
bettina
b7f318560d update function edit 2001-05-24 00:51:35 +00:00
Miles Lott
63b55fb831 patch from <RalfBecker@outdoor-training.de> to allow multiple cat selection 2001-05-23 20:19:23 +00:00
skeeter
4fbe90f188 Small change for return_sinle() to work using either global or app cats. 2001-05-20 21:12:44 +00:00
bettina
b1fadc4908 formatting 2001-05-15 00:00:49 +00:00
bettina
3883ba049a modified exists() to check apps_sub_cats to a global parent_cat 2001-05-11 00:45:14 +00:00
bettina
f4a2518c32 added images for categories_format 2001-05-01 23:17:13 +00:00
bettina
0f2df213fd added new format to formated_list() 2001-05-01 02:15:13 +00:00
bettina
7d5d888c60 fixed 2001-04-30 00:27:54 +00:00
bettina
14473b076c fixed 2001-04-29 23:54:10 +00:00
bettina
8dd7dad2ed added function to check the valid main cat 2001-04-29 00:51:53 +00:00
skeeter
eac8c1a938 cleanups - formatting 2001-04-28 21:49:48 +00:00
jengo
a5b2acc3bb Fixed category sorting that wasn't showing the sub categorys under the mains in /preferences/categories.php 2001-04-28 14:01:34 +00:00
bettina
deb7bbcee0 update function add/edit/return_single 2001-04-28 12:52:20 +00:00
bettina
3593fadc84 update function add/edit 2001-04-27 22:50:02 +00:00
bettina
4e707d01bc update sort categories 2001-04-27 16:38:33 +00:00
bettina
7144eef917 update sort categories 2001-04-27 16:06:17 +00:00
jengo
665e72f75a Added name2id() and id2name() functions 2001-04-25 18:12:10 +00:00