Renders a drop-down menu for creating new topics.
Documentation
Renders a drop-down menu for creating new topics.
Parameters
Css
Implementation
%STARTINCLUDE% %INCLUDE{"%WEB%.%IF{"'%BASEWEB%' allows 'change'" then="%TOPIC%" else="Nada"}%" section="form" warn="off"}%
%STOPINCLUDE%
%STARTSECTION{"form"}%<form action="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%BASEWEB%/CreateNewTopic">
*Post New:* <select name="type" onchange="this.form.submit()">
~~~ <option value="%URLPARAM{"type" default=""}%">%URLPARAM{"type" default="Select..."}%</option><option >Blank Topic</option>
~~~
%~~ DBQUERY{ "Classification= 'TopicType'"
~~~ web="%BASEWEB%"
~~~ format= "<option value=\"$topic\" >
*~~ $percntSPACEOUT{$topic}$percnt</option>"
~~~ separator=" "
~~~ }%</select>
~~~ <input type="hidden" name="step" value="two">
~~~ </form>
%ENDSECTION{"form"}%
Test
Calls to 'RenderCreateNewTopicDropDown'
Copyright
(C) 2006
LynnwoodBrown@Skyloom.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.