Documentation
This function renders an editor for a normal
WikiTopic to be
displayed at the topic of the text tab.
Parameters
- BASETOPIC
- FORM: name of the form definition, defaults to Applications.WikiTopic
- FIELDS: fields to be edited, defaults to TopicTitle, Summary
Implementation
%STARTINCLUDE%<!-- -->
<literal>
%RENDERFOREDIT{
topic="%BASEWEB%.%BASETOPIC%"
form="%IF{"defined FORM" then="%FORM%" else="Applications.WikiTopic"}%"
field="%IF{"defined FIELDS" then="%FIELDS%" else="TopicTitle,Summary"}%"
header="<div class='natEditTopicInfo'><table class='foswikiLayoutTable jqTooltip'>"
format="<tr title='$description'><th valign='top'>$title:</th><td valign='top'>$edit</td></tr>"
footer="</table></div>"
TopicTitle_title="%MAKETEXT{"Title"}%"
Summary_title="%MAKETEXT{"Summary"}%"
}%<!-- -->
</literal>
<!-- -->%STOPINCLUDE%
Test
Calls to 'RenderWikiTopicEditor'
Copyright
© 2006-2015 Michael Daum
http://michaeldaumconsulting.com
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.