Index: openacs-4/packages/faq/www/admin/one-faq.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/faq/www/admin/one-faq.adp,v diff -u -N -r1.4 -r1.5 --- openacs-4/packages/faq/www/admin/one-faq.adp 6 Sep 2002 21:50:37 -0000 1.4 +++ openacs-4/packages/faq/www/admin/one-faq.adp 17 Sep 2002 21:41:48 -0000 1.5 @@ -2,6 +2,8 @@ @context@ @faq_name@ Admin +Title: @faq_name@ (edit) +

There are no questions available.

@@ -29,9 +31,7 @@ - - Create New Q&A - -

-Back to FAQs - +

Index: openacs-4/packages/faq/www/admin/q_and_a-edit-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/faq/www/admin/q_and_a-edit-2.tcl,v diff -u -N -r1.1 -r1.2 --- openacs-4/packages/faq/www/admin/q_and_a-edit-2.tcl 20 Apr 2001 20:51:10 -0000 1.1 +++ openacs-4/packages/faq/www/admin/q_and_a-edit-2.tcl 17 Sep 2002 21:41:48 -0000 1.2 @@ -21,5 +21,9 @@ answer = :answer where entry_id = :entry_id" -ad_returnredirect "." +set faq_id [db_string select_faq_id "select faq_id from + faq_q_and_as + where entry_id = :entry_id"] +ad_returnredirect "one-faq?faq_id=$faq_id" + Index: openacs-4/packages/faq/www/admin/q_and_a-edit.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/faq/www/admin/q_and_a-edit.adp,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/faq/www/admin/q_and_a-edit.adp 6 Sep 2002 21:50:37 -0000 1.3 +++ openacs-4/packages/faq/www/admin/q_and_a-edit.adp 17 Sep 2002 21:41:48 -0000 1.4 @@ -2,7 +2,7 @@ @context@ One Question -
+