%{
===================================================
   Create new topic template
   This template uses parts from System.WebCreateNewTopicComponents.
===================================================
}%%TMPL:INCLUDE{"view"}%%{
---------------------------------------------------
   content
---------------------------------------------------
}%%TMPL:DEF{"content"}%<div class="foswikiTopicText">
---+ %MAKETEXT{"Create New Topic in [_1] Web" args="<nop>%BASEWEB%"}%
%TMPL:P{"createform"}%
</div>%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%%{
---------------------------------------------------
   script:topictemplate
---------------------------------------------------
}%%TMPL:DEF{"script:topictemplate"}%%INCLUDE{
    "%SYSTEMWEB%.WebCreateNewTopicComponents"
    section="js"
}%%TMPL:END%%{
---------------------------------------------------
   createform
---------------------------------------------------
}%%TMPL:DEF{"createform"}%%TMPL:P{"formstartstep"}%
%TMPL:P{"topicnamestep"}%
%TMPL:P{"topicparentstep"}%
%TMPL:P{"topictemplatestep"}%
%TMPL:P{"submitstep"}%
%TMPL:P{"formendstep"}%%TMPL:END%%{
---------------------------------------------------
   formstartstep
---------------------------------------------------
}%%TMPL:DEF{"formstartstep"}%%TMPL:P{"formstart"}%<div class="foswikiFormSteps">%TMPL:END%%{
---------------------------------------------------
   formendstep
---------------------------------------------------
}%%TMPL:DEF{"formendstep"}%</div>%TMPL:P{"formend"}%%TMPL:END%%{
---------------------------------------------------
   topicnamestep
---------------------------------------------------
}%%TMPL:DEF{"topicnamestep"}%<div class="foswikiFormStep">
---+++ %MAKETEXT{"Topic name:"}%
%TMPL:P{"topicname"}%
%TMPL:P{"nonwikiword"}%
</div>%TMPL:END%%{
---------------------------------------------------
   topicparentstep
---------------------------------------------------
}%%TMPL:DEF{"topicparentstep"}%<div class="foswikiFormStep">
---+++ %MAKETEXT{"Topic parent:"}%
%TMPL:P{"topicparent"}%
</div>%TMPL:END%%{
---------------------------------------------------
   topictemplatestep
---------------------------------------------------
}%%TMPL:DEF{"topictemplatestep"}%<div class="foswikiFormStep">
---+++ %MAKETEXT{"Use template:"}%
%TMPL:P{"topictemplate"}%
</div>%TMPL:END%%{
---------------------------------------------------
   submitstep
---------------------------------------------------
}%%TMPL:DEF{"submitstep"}%<div class="foswikiFormStep">
%TMPL:P{"submit"}%
</div>%TMPL:END%%{
---------------------------------------------------
   formstart
---------------------------------------------------
}%%TMPL:DEF{"formstart"}%#NewTopic
%INCLUDE{
    "%SYSTEMWEB%.WebCreateNewTopicComponents"
    section="formstart"
}%%TMPL:END%%{
---------------------------------------------------
   topicname
---------------------------------------------------
}%%TMPL:DEF{"topicname"}%<p>%INCLUDE{
    "%SYSTEMWEB%.WebCreateNewTopicComponents"
    section="topicname"
}% %INCLUDE{
    "%SYSTEMWEB%.WebCreateNewTopicComponents"
    section="topicnamefeedback"
}%</p>%TMPL:END%%{
---------------------------------------------------
   topicparent
---------------------------------------------------
}%%TMPL:DEF{"topicparent"}%<p>%INCLUDE{
    "%SYSTEMWEB%.WebCreateNewTopicComponents"
    section="topicparent"
}%</p>%TMPL:END%%{
---------------------------------------------------
   topictemplate
---------------------------------------------------
}%%TMPL:DEF{"topictemplate"}%<p>%INCLUDE{
    "%SYSTEMWEB%.WebCreateNewTopicComponents"
    section="templatetopic"
}%</p>%TMPL:END%%{
---------------------------------------------------
   errorfeedback
---------------------------------------------------
}%%TMPL:DEF{"errorfeedback"}%<p>%INCLUDE{
    "%SYSTEMWEB%.WebCreateNewTopicComponents"
    section="errorfeedback"
}%</p>%TMPL:END%%{
---------------------------------------------------
   submit
---------------------------------------------------
}%%TMPL:DEF{"submit"}%%TMPL:P{"errorfeedback"}%
<p>%INCLUDE{
    "%SYSTEMWEB%.WebCreateNewTopicComponents"
    section="submit"
}%</p>%TMPL:END%%{
---------------------------------------------------
   formend
---------------------------------------------------
}%%TMPL:DEF{"formend"}%%INCLUDE{
    "%SYSTEMWEB%.WebCreateNewTopicComponents"
    section="formend"
}%%TMPL:END%%{
===================================================
}%

This topic: System > WebCreateNewTopicTemplate
Topic revision: 01 Nov 2012, ProjectContributor
 
This site is powered by FoswikiCopyright &© by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding BACCHUS Wiki? Send feedback