wiki-archive/twiki/templates/changeform.pattern.tmpl

46 lines
1.6 KiB
Cheetah

%TMPL:INCLUDE{"page"}%
%TMPL:INCLUDE{"viewtopicactionbuttons"}%
%TMPL:INCLUDE{"viewbottombar"}%
%TMPL:DEF{"titleaction"}%%MAKETEXT{"(change form)"}% %TMPL:END%
%TMPL:DEF{"pagetitle"}%<h1 class="patternTemplateTitle">%MAKETEXT{"Choose a new form for [_1]" args="[[%TOPIC%]]"}%</h1>%TMPL:END%
%TMPL:DEF{"webaction"}% *%MAKETEXT{"Action"}%* %TMPL:END%
%TMPL:DEF{"bodyclassname"}%patternNoViewPage patternChangeFormPage%TMPL:END%
%TMPL:DEF{"topicactionbuttons"}%<input class="twikiSubmit" type="submit" name="submit" value='%MAKETEXT{"Select"}%' /> %MAKETEXT{"or"}% <a href="#" onclick="history.go(-1); return false;">%MAKETEXT{"Go back"}%</a>%TMPL:END%
%TMPL:DEF{"content"}%<div class="patternTopic">
%TMPL:P{"pagetitle"}%
%MAKETEXT{"Any change you made to topic before coming to this page are preserved."}%<br />
<span class="twikiAlert">%MAKETEXT{"Existing form data will be lost! (still available in old version)"}%</span>
<form name="main" action="%SCRIPTURLPATH{"edit"}%/%WEB%/%TOPIC%" method="post">
<input type="hidden" name="t" value="%GMTIME{'$epoch'}%" />
<div class="twikiFormSteps twikiLast">
<div class="twikiFormStep twikiLast">
---+++ %MAKETEXT{"Possible form templates"}%
%FORMLIST%
</div><!-- /twikiFormStep-->
</div><!-- /twikiFormSteps-->
%TEXT%
%EDITACTION%
<input type="hidden" name="topicparent" value="%URLPARAM{"topicparent"}%" />
<input type="hidden" name="redirectto" value="%URLPARAM{"redirectto"}%" />
<input type="hidden" name="skin" value="%URLPARAM{"skin"}%" />
<input type="hidden" name="cover" value="%URLPARAM{"cover"}%" />
%TMPL:P{"topicaction"}%
</form></div><!-- /patternTopic-->%TMPL:END%