You are here:
STALklubben
>
TWiki Web
>
NatSkinWebCreateNewTopicTemplate
(2005-11-08,
ProjectContributor
)
(raw view)
E
dit
A
ttach
%TMPL:INCLUDE{"view"}% %TMPL:DEF{"content"}% %TMPL:P{"formstartstep"}% ---++ %MAKETEXT{"Create New Topic in the [_1] Web" args="<nop>%BASEWEB%"}% %TMPL:P{"topictitlestep"}% %TMPL:P{"DIStopicnamestep"}% %TMPL:P{"topictemplatestep"}% %TMPL:P{"formbuttons"}% %TMPL:P{"formendstep"}% %TMPL:END% %TMPL:DEF{"viewjavascript"}%<!-- viewjavascript --> %JQSCRIPT{"jquery.validate"}% <!-- //viewjavascript -->%TMPL:END% %{ do not show the following elements }% %TMPL:DEF{"topicactions"}%%TMPL:END% %TMPL:DEF{"formstartstep"}%<!-- formstartstep --> <div class='twikiFormSteps'>%TMPL:P{"formstart"}% <!-- //formstartstep -->%TMPL:END% %TMPL:DEF{"formendstep"}%<!-- formendstep --> %TMPL:P{"formend"}% </div> <!-- //formendstep -->%TMPL:END% %TMPL:DEF{"topictitlestep"}%<!-- topictitlestep --> <div class='twikiFormStep'> ---+++ %MAKETEXT{"Title:"}% %TMPL:P{"topictitle"}% </div> <!-- //topictitlestep -->%TMPL:END% %TMPL:DEF{"topicnamestep"}%<!-- topicnamestep --> <div class='twikiFormStep'> ---+++ %MAKETEXT{"Name:"}% %TMPL:P{"topicname"}%%TMPL:P{"nonwikiword"}% </div> <!-- //topicnamestep -->%TMPL:END% %TMPL:DEF{"topictemplatestep"}%<!-- topictemplatestep --> <div class='twikiFormStep'> ---+++ %MAKETEXT{"Template:"}% %TMPL:P{"topictemplate"}% </div> <!-- //topictemplate -->%TMPL:END% %TMPL:DEF{"formbuttons"}%<!-- formbuttons --> <div class='twikiFormStep twikiFormButtons twikiFormLast'> %TMPL:P{"submit"}%%TMPL:P{"cancel"}%%CLEAR% </div> <!-- //formbuttons -->%TMPL:END% %TMPL:DEF{"formstart"}%<!-- formstart --> <form name="newTopicForm" id="newTopicForm" action="%SCRIPTURLPATH{edit}%/%BASEWEB%/"> <input type="hidden" name="t" value="%GMTIME{"$epoch"}%" /> <input type="hidden" name="onlynewtopic" value="on" /> <input type="hidden" name="topicparent" value="%URLPARAM{"topicparent"}%" /> <input type="hidden" name="topic" id="topic" value="%URLPARAM{"newtopic"}%"/> <!-- //formstart -->%TMPL:END% %TMPL:DEF{"topictitle"}%<!-- topictitle --> <input type="text" class="twikiInputField required" name="TopicTitle" id="topictitle" size="40" value="%URLPARAM{"newtopictitle"}%" /> <div class="twikiFormDescription"> %MAKETEXT{"Free form title text."}% </div> <!--//topictitle -->%TMPL:END% %TMPL:DEF{"topicname"}%<!-- topicname --> <input type="text" class="twikiInputField" name="topic" id="topic" size="40" value="%URLPARAM{"newtopic"}%" /> <div class="twikiFormDescription"> <nop>WikiWord the new page is associated with. </div> <!--//topicname -->%TMPL:END% %TMPL:DEF{"topictemplate"}%<!-- topictemplate --> <select name="templatetopic" class="twikiSelect"> %IF{"'%URLPARAM{"templatetopic"}%'" 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> <div class="twikiFormDescription"> %MAKETEXT{"Initialize the new topic using a template."}% </div> <!-- //topictemplate -->%TMPL:END% %TMPL:DEF{"submit"}%<!-- submit --> %BUTTON{type="submit" icon="tick" value="%MAKETEXT{"OK"}%"}% <!-- //submit -->%TMPL:END% %TMPL:DEF{"cancel"}%<!-- cancel --> %BUTTON{"%MAKETEXT{"Cancel"}%" icon="cross" target="%URLPARAM{"origurl" default="%BASEWEB%.%BASETOPIC%"}%"}% <!-- //cancel -->%TMPL:END% %TMPL:DEF{"formend"}%</form>%TMPL:END% %TMPL:DEF{"javascript"}%<!-- javascript --> %TMPL:P{"defaultjavascript"}% <script type="text/javascript" src="%PUBURLPATH%/%TWIKIWEB%/JQueryPlugin/jquery.wikiword.js"></script> <script type="text/javascript" src="%PUBURLPATH%/%TWIKIWEB%/JQueryPlugin/jquery.validate.js"></script> <script type="text/javascript"> $(function() { $("#topic").wikiword("#topictitle"); $("#newTopicForm").validate(); }); </script> <!-- javascript -->%TMPL:END%
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2005-11-08 - 06:37:39 -
ProjectContributor
TWiki
Internetbokning
Log In
(ej för bokning) or
Register
Toolbox
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
Webs
Main
STALklubben
Sandbox
System
TWiki
Deutsch
English
Svenska
Copyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding STALklubben?
Send feedback