Commit Graph

159 Commits

Author SHA1 Message Date
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
jengo
371b4bd374 Added the ability to return a list from a certian parent, and from an app AND main or subs 2001-04-25 17:00:31 +00:00
jengo
49403cd7d5 Fixed total() not working 2001-04-25 13:12:11 +00:00
bettina
cda8181ed7 update return_single() 2001-04-24 03:26:04 +00:00
bettina
d5343aee16 update function exists 2001-04-21 23:22:27 +00:00
bettina
01be8c3c6f added possibility to delete also all subcats if deleting the maincat 2001-04-09 14:45:27 +00:00
bettina
035693bef3 update return_array 2001-03-30 21:12:56 +00:00
bettina
acb00bf31c added cat_access 2001-03-27 07:19:28 +00:00
bettina
0953acb424 added access_field 2001-03-27 03:40:18 +00:00
bettina
8f21b5275a added access_field 2001-03-27 03:10:30 +00:00
bettina
82b727df35 added global cats 2001-03-25 07:21:37 +00:00
bettina
b464dd7249 added global cats 2001-03-25 06:22:25 +00:00
bettina
5c4dbe12cc added global cats 2001-03-25 05:58:28 +00:00
themaniac
d5fcd31dea very draft inline docs added 2001-03-22 06:10:22 +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
82936fd3c8 Added function to return the total categories depending on filter. Also, applied some source formating 2001-03-12 12:16:14 +00:00
bettina
3f06a8752b update categories class to count items 2001-03-05 00:44:50 +00:00
bettina
e387e95008 fixes 2001-03-01 01:29:31 +00:00
bettina
aacca9b4da included total_matchs to read categories 2001-02-27 01:41:59 +00:00
bettina
548d841d1e updated return_array() to work with queries plus added function to read one cat 2001-02-21 01:56:10 +00:00
bettina
6fa74c988f updated return_array() to work with queries plus added function to read one cat 2001-02-21 01:23:23 +00:00
bettina
e385245ecf removed cat_owner from sql_statements 2001-02-19 11:26:08 +00:00
skeeter
53f4716584 replaced quotes with single ticks where applicable 2001-02-11 20:03:35 +00:00
jengo
5a4e1a11a1 Fixed some variables being treated has strings becuase of things like "$somevar" 2001-02-04 08:27:35 +00:00