Index: openacs-4/packages/faq/faq.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/faq/faq.info,v diff -u -r1.5.2.2 -r1.5.2.3 --- openacs-4/packages/faq/faq.info 9 Dec 2002 14:32:27 -0000 1.5.2.2 +++ openacs-4/packages/faq/faq.info 6 Mar 2003 12:27:11 -0000 1.5.2.3 @@ -32,6 +32,8 @@ + + Index: openacs-4/packages/faq/www/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/faq/www/index.tcl,v diff -u -r1.4 -r1.4.2.1 --- openacs-4/packages/faq/www/index.tcl 4 Sep 2002 13:28:32 -0000 1.4 +++ openacs-4/packages/faq/www/index.tcl 6 Mar 2003 12:27:37 -0000 1.4.2.1 @@ -36,7 +36,8 @@ select faq_id, faq_name from acs_objects o, faqs f where object_id = faq_id - and context_id = :package_id + and context_id = :package_id + and disabled_p = 'f' order by faq_name } Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/faq/www/admin/faq-disable.tcl'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/faq/www/admin/faq-enable.tcl'. Fisheye: No comparison available. Pass `N' to diff? Index: openacs-4/packages/faq/www/admin/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/faq/www/admin/index.adp,v diff -u -r1.3 -r1.3.2.1 --- openacs-4/packages/faq/www/admin/index.adp 6 Sep 2002 21:50:37 -0000 1.3 +++ openacs-4/packages/faq/www/admin/index.adp 6 Mar 2003 12:27:55 -0000 1.3.2.1 @@ -7,14 +7,27 @@ - Index: openacs-4/packages/faq/www/admin/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/faq/www/admin/index.tcl,v diff -u -r1.3 -r1.3.2.1 --- openacs-4/packages/faq/www/admin/index.tcl 4 Sep 2002 13:28:33 -0000 1.3 +++ openacs-4/packages/faq/www/admin/index.tcl 6 Mar 2003 12:27:55 -0000 1.3.2.1 @@ -25,12 +25,15 @@ -db_multirow faqs faq_select { - select faq_id, faq_name +db_multirow -extend { disable_url enable_url } faqs faq_select { + select faq_id, faq_name, disabled_p from acs_objects o, faqs f where object_id = faq_id and context_id = :package_id - order by faq_name + order by disabled_p, faq_name +} { + set disable_url "faq-disable?[export_vars { faq_id }]" + set enable_url "faq-enable?[export_vars { faq_id }]" } ad_return_template