Render the header of a discussion
Documentation
This function renders the head of a discussion, including its summary and how it is classified.
It is called in a discussion view template and operates on the basetopic.
Parameters
NONE
Implementation
%STARTINCLUDE%
~~~
%~~ DBQUERY{topic="%BASEWEB%.%BASETOPIC%"
~~~ format="<div class=\"blogInfo\">
~~~ By %MAINWEB%.$expand(Name or info.author) at $formatTime(Timestamp)
*~~ $percntFORMATLIST{\"$formfield(Category)\"
~~~ header=\", filed in \"
~~~ format=\"$dollarpercntDBQUERY{topic=\\"$web.$1\\"
~~~ format=\\"[[$web.$1][$dollarexpand(Title or topic)]]\\"
~~~ }$dollarpercnt\"
~~~ sort=\"on\"
~~~ }$percnt
*~~ $percntFORMATLIST{\"$formfield(Tag)\"
~~~ header=\", tagged \"
~~~ format=\"
~~~ <a href=\\"%SCRIPTURLPATH{"view"}%/%BASEWEB%/WebTagCloud?
*~~ search=$1\\"
~~~ >$1</a>
~~~ \"
~~~ sort=\"on\"
~~~ }$percnt
~~~ </div>
~~~ "
~~~ }%
%STOPINCLUDE%
Calls to 'RenderDiscussionInfo'
Copyright
© 2007 Michael Daum
http://wikiring.de
This file is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version. For
more details read the
LICENSE.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.