Index: openacs-4/packages/faq-portlet/www/faq-portlet.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/faq-portlet/www/faq-portlet.adp,v diff -u -r1.20 -r1.20.2.1 --- openacs-4/packages/faq-portlet/www/faq-portlet.adp 15 Dec 2006 22:45:32 -0000 1.20 +++ openacs-4/packages/faq-portlet/www/faq-portlet.adp 16 Feb 2007 18:13:33 -0000 1.20.2.1 @@ -19,80 +19,23 @@ %> - - - -<% - set new_package_id "" - set old_package_id "" -%> - - - - - - - - - -
    - - - - -<% set new_package_id $faqs(package_id) %> - - -
- - - -
  • - @faqs.faq_name@ -
  • -
    - - - + + @faq_name@ + - - - - - - - - -<% set old_package_id $new_package_id %> - - - - - - - -
    #faq-portlet.name##dotlrn.clubs_pretty_name#
    @faqs.faq_name@@faqs.parent_name@
    -
    - - - - -
    - - - @faq_name@ - - - - #faq-portlet.no_faqs# - - - + + #faq-portlet.no_faqs# + + + +
    -   + + #new-portal.when_portlet_shaded# + \ No newline at end of file Index: openacs-4/packages/faq-portlet/www/faq-portlet.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/faq-portlet/www/faq-portlet.tcl,v diff -u -r1.15 -r1.15.16.1 --- openacs-4/packages/faq-portlet/www/faq-portlet.tcl 9 Aug 2002 18:39:31 -0000 1.15 +++ openacs-4/packages/faq-portlet/www/faq-portlet.tcl 16 Feb 2007 18:13:33 -0000 1.15.16.1 @@ -30,6 +30,19 @@ set list_of_package_ids $config(package_id) set one_instance_p [ad_decode [llength $list_of_package_ids] 1 1 0] +template::list::create -name faqs -multirow faqs -key faq_id -pass_properties { +} -elements { + item { + label "" + display_template { + @faqs.parent_name@
    + + » @faqs.faq_name@
    +
    + } + } +} + db_multirow faqs select_faqs {} if {${faqs:rowcount} == 1} {