[%# For adding, organizing, and maintaining FAQs. # # Authors: # import r26.1 livejournal -- original page # Jen Griffin -- TT conversion # # Copyright (c) 2008-2020 by Dreamwidth Studios, LLC. # # This program is free software; you may redistribute it and/or modify it under # the same terms as Perl itself. For a copy of the license, please reference # 'perldoc perlartistic' or 'perldoc perlgpl'. %] [%- sections.title = '.title' | ml -%] [%- CALL dw.active_resource_group( "foundation" ) -%] [%- IF can_add_any || can_manage -%]

[%- IF can_add_any -%] [% '.link.add' | ml %]
[%- END -%] [%- IF can_manage -%] [% '.link.manage' | ml %] [%- END -%]

[%- END -%] [%- FOREACH c IN catlist -%]

1, args => { 'faqcat' => c } ) %]'> [% faqcat.$c.faqcatname | html %]

[%- UNLESS faq.defined(c) AND faq.$c.size -%] [%- IF faqcat.$c.faqcatname == '' -%]

[% '.txt.emptynocat' | ml %]

[%- ELSE -%]

[% '.txt.emptycat' | ml %]

[%- END -%] [%- ELSE -%] [%- END -%] [%- END -%]