TWiki
>
TWiki Web
>
WebCreateNewTopicTemplate
(revision 2) (raw view)
Edit
Attach
%TMPL:INCLUDE{"view"}% %TMPL:DEF{"content"}% ---+ %MAKETEXT{"Create New Topic in [_1] Web" args="<nop>%BASEWEB%"}% %TMPL:P{"formstartstep"}% %TMPL:P{"topicnamestep"}% %TMPL:P{"topicparentstep"}% %TMPL:P{"topictemplatestep"}% %TMPL:P{"submitstep"}% %TMPL:P{"formendstep"}% %TMPL:END% %{ do not show the following elements }% %TMPL:DEF{"topicaction"}%%TMPL:END% %TMPL:DEF{"topicinfo"}%%TMPL:END% %TMPL:DEF{"toolbar"}%%TMPL:END% %TMPL:DEF{"topicpathinfo"}%%TMPL:END% %TMPL:DEF{"breadcrumb"}%%TMPL:END% %TMPL:DEF{"top:toolbarbuttons"}%%TMPL:END% %TMPL:DEF{"formstartstep"}%%TMPL:P{"formstart"}%%TMPL:END% %TMPL:DEF{"formendstep"}%%TMPL:P{"formend"}%%TMPL:END% %TMPL:DEF{"topicnamestep"}%---+++ %MAKETEXT{"Topic name:"}% <p> %TMPL:P{"topicname"}%%TMPL:P{"nonwikiword"}% </p>%TMPL:END% %TMPL:DEF{"topicparentstep"}%---+++ %MAKETEXT{"Topic parent:"}% <p> %TMPL:P{"topicparent"}% </p>%TMPL:END% %TMPL:DEF{"topictemplatestep"}%---+++ %MAKETEXT{"Use template:"}% <p> %TMPL:P{"topictemplate"}% </p>%TMPL:END% %TMPL:DEF{"submitstep"}%<p> %TMPL:P{"submit"}% </p>%TMPL:END% %TMPL:DEF{"formstart"}%<form name="newtopicform" id="newtopicform" action="%SCRIPTURLPATH{edit}%/%BASEWEB%/"> <input type="hidden" name="onlynewtopic" value="on" />%TMPL:END% %TMPL:DEF{"topicname"}%<input type="text" class="twikiInputField" name="topic" id="topic" size="40" %IF{"'%PREFILLTOPIC%'='1'" then="value=\"%BASETOPIC%\""}% %IF{"'%URLPARAM{"newtopic" encode="quote"}%'" then="value=\"%URLPARAM{"newtopic" encode="entity"}%\""}% />%TMPL:END% %TMPL:DEF{"topicparent"}%%IF{"defined pickparent" then="<select name='topicparent' size='10' class='twikiSelect'>$percntTOPICLIST{$quot<option $marker value='$name'>$name</option>$quot marker=$quotselected$quot separator=$quot$quot selection=$quot$percntURLPARAM{ $quottopicparent$quot default=$quot%MAKETEXT{"(no parent, orphaned topic)"}%$quot }$percnt$quot}$percnt<option value=$quot$quot>$percntMAKETEXT{$quot(no parent, orphaned topic)$quot}$percnt</option></select>" else="<input type='text' size='40' name='topicparent' class='twikiInputField' value='%URLPARAM{topicparent}%' /> <a id='pickparent' href='$percntSCRIPTURLPATH{view}$percnt/$percntBASEWEB$percnt/$percntBASETOPIC$percnt?$percntQUERYSTRING$percnt;pickparent=1'>%MAKETEXT{"Pick from a list"}%</a>"}%%TMPL:END% %TMPL:DEF{"topictemplate"}%<select name="templatetopic" class="twikiSelect">%IF{"'%URLPARAM{"templatetopic" encode="quote"}%'" then='<option selected="selected">%URLPARAM{"templatetopic"}%</option>'}%<option value="">%MAKETEXT{"Default template"}%</option>%SEARCH{".*Template$" scope="topic" excludetopic="WebTopicEditTemplate,WebCreateNewTopicTemplate,*ViewTemplate" type="regex" nonoise="on" format="<option>$topic</option>"}%</select> <a id="viewtemplates" href="%SCRIPTURL{view}%/%SYSTEMWEB%/WebTemplateTopics?web=%BASEWEB%">%MAKETEXT{"View templates"}%</a> %TMPL:END% %TMPL:DEF{"submit"}%<input id="submit" type="submit" class="twikiSubmit" value='%MAKETEXT{"Create this topic"}%' />%TMPL:END% %TMPL:DEF{"formend"}%</form>%TMPL:END%
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r6
|
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r2 - 2008-12-02
-
TWikiContributor
TWiki
Log In
or
Register
TWiki Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
User Reference
ATasteOfTWiki
TextFormattingRules
TWikiVariables
FormattedSearch
QuerySearch
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
AdminToolsCategory
InterWikis
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Webs
LAPPD
Sandbox
TWiki
Copyright © 1999-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback
Note:
Please contribute updates to this topic on TWiki.org at
TWiki:TWiki.WebCreateNewTopicTemplate
.