Home « Server software «
Documentation: sections/layout_sections_as_yabb.php
Class Layout_sections_as_yabb extends Layout_interface - Layout sections as boards in a yabb forum
This script layouts sections as boards in a discussion forum.The title of each section is also a link to the section itself. A title attribute of the link displays the reference to use to link to the page.
Moderators are listed below each board, if any. Moderators of a board are the members who have been explicitly assigned as editors of the related section.
The script also lists children boards, if any. This helps to provide a comprehensive view to forum surfers.
The initial development of YACS forum has been heavily inspired by YABB.
This script is a reference file of this system.
Voir aussi:
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques bernard.paques@bigfoot.com
Testeurs:
- Anatoly
layout() - List sections as topics in a forum
function &layout(&$result, $capability='?')
- &$result - resource the SQL result
- $capability='?' - string '?' or 'A', to support editors and to impersonate associates, where applicable
- returns string the rendered text