Index: openacs-4/contrib/packages/classified-ads/www/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/classified-ads/www/index.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/contrib/packages/classified-ads/www/index.adp 7 Nov 2003 20:02:27 -0000 1.1 @@ -0,0 +1,135 @@ + +@title@ +@context@ + + + +

+ Create a new top-level category +

+ + + + + + + + +
+ + Categories + +
+ + + + + + + + + + + + + + + + + + +
NameSubcategoriesAction
+  @categories.heading@ + + @categories.children_count@ + + edit + +  | delete + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Ads Under This Category (place new) + +
TitlePublished onAction
+  @assigned_ads.title@ + +  @assigned_ads.pretty_publish_date@ + + Remove +
+ No ads assigned to this category. +
+ Ads Not Assigned to Any Category + +
TitlePublished onAction
+  @unassigned_ads.title@ + +  @unassigned_ads.pretty_publish_date@ + + Assign +
+ No unassigned ads. +
+
Index: openacs-4/contrib/packages/classified-ads/www/index.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/classified-ads/www/index.xql,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/contrib/packages/classified-ads/www/index.xql 7 Nov 2003 20:02:27 -0000 1.1 @@ -0,0 +1,20 @@ + + + + + + + + select *, + (select count(*) + from cr_keywords + where parent_id = ck.keyword_id) as children_count + from cr_keywords ck + where parent_id = :keyword_id + order by heading + + + + + + Index: openacs-4/contrib/packages/classified-ads/www/doc/bugs.txt =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/classified-ads/www/doc/bugs.txt,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/contrib/packages/classified-ads/www/doc/bugs.txt 7 Nov 2003 20:02:27 -0000 1.1 @@ -0,0 +1,3 @@ +- Fields query don't show keyword-specific fields. +- Category page should have a link to add new field. +- ad-new not working.