%TMPL:INCLUDE{"twiki"}%

%{ this body redefinition needs to be, its the only place a background image is allowed (TODO: push up with parameter?) }%
%TMPL:DEF{"bodystart"}% <body bgcolor="#ffffff" background="%PREVIEWBGIMAGE%">
#PageTop
%TMPL:END%

%TMPL:DEF{"titleaction"}%(preview) %TMPL:END%
%TMPL:DEF{"headerhelp"}% <font size="-2">
  <ul>
  <li> To <b>save</b> changes: Press the [Save Changes] button.</li>
  <li> To make <b>more changes</b>: Go back in your browser.</li>
  <li> To <b>cancel</b>: Go back twice.</li>
  </ul>
  </font> %TMPL:END%
%TMPL:DEF{"webaction"}%
  <b><font color="#FF0000">Note:</font></b>
  This is a preview. <b><font color="#FF0000">Do not forget</font></b> to save your changes. %TMPL:END%

%TMPL:DEF{"topicaction"}% <input type="submit" class="twikiSubmit" value=" Save Changes " /> %FORMFIELDS% %TMPL:END%

%TMPL:DEF{"content"}%
<br />
%TEXT%
%META{"form"}%
%META{"attachments"}%
<form name="main" action="%SCRIPTURLPATH{"save"}%/%WEB%/%TOPIC%" method="post">
<input type="hidden" name="originalrev" value="%URLPARAM{"originalrev"}%" />
<input type="hidden" name="redirectto" value="%REDIRECTTO" />
<input type="hidden" name="text" value="%HIDDENTEXT%"/>
<input type="hidden" name="cmd" value="%CMD%" />
<input type="hidden" name="formtemplate" value="%FORMTEMPLATE%" />
<input type="hidden" name="topicparent" value="%TOPICPARENT%" />
%TMPL:P{"topicinfo"}%</form>%TMPL:END%
