%TMPL:INCLUDE{"twiki"}%



%TMPL:DEF{"script"}%
<script type="text/javascript">
<!--HIDE
function initPage() { }
function launchWindow( theWeb, theTopic ) {
	var win = open("%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/" + theWeb + "/" + theTopic + "?skin=plain", theTopic, "titlebar=0,width=500,height=480,resizable,scrollbars");
  if( win ) {
    win.focus();
  }
  return false;
}
//STOP HIDING-->
</script>%TMPL:END%



%TMPL:DEF{"templatecustomstyle"}%
<style type="text/css" media="all">
.twikiPreviewPage .twikiMain {
	background-image:url(%PREVIEWBGIMAGE%);
}
</style>%TMPL:END%



%TMPL:DEF{"simpleheader"}%
---+ <nop>%TOPIC% (preview)
%BR%%TMPL:END%



%TMPL:DEF{"bodystart"}%
<body class="twikiNoViewPage twikiPreviewPage" onload="initPage()"><a name="PageTop"></a>%TMPL:END%



%TMPL:DEF{"titleaction"}%(preview) %TMPL:END%



%TMPL:DEF{"topicaction"}%<table class="twikiTopicAction">
<tr class="twikiTopicActionHelp twikiGrayText">
<td colspan="3" class="twikiTopicActionHelp twikiGrayText"></td>
</tr>
<tr class="twikiTopicActionSecondary">
<td class="twikiCancelCol"></td>
<td class="twikiSubmitCol"><div class="twikiSubmitOptions"><input type="checkbox" class="twikiCheckbox" name="unlock" id="releaselock" %RELEASEEDITLOCKCHECKBOX% /><label for="releaselock">Release edit lock</label>&nbsp;&nbsp;<a target="UnlockTopic" onclick="return launchWindow('%TWIKIWEB%','UnlockTopic')" href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%TWIKIWEB%/UnlockTopic">help</a><br />
   <input type="checkbox" class="twikiCheckbox" id="dontnotify" name="dontnotify" %DONTNOTIFYCHECKBOX% /><label for="dontnotify">Minor changes, don't notify</label>&nbsp;&nbsp;<a target="DontNotify" onclick="return launchWindow('%TWIKIWEB%','DontNotify')" href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%TWIKIWEB%/DontNotify">help</a></div></td>
<td class="twikiAddCol"></td>
</tr>
<tr class="twikiTopicAction">
<td class="twikiCancelCol"><a href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%?unlock=on">Discard</a></td>
<td class="twikiSubmitCol"><input type="submit" class="twikiSubmit" value="Save Changes" />%FORMFIELDS%</td>
<td class="twikiAddCol"></td>
</tr>
</table>%TMPL:END%



%TMPL:DEF{"content"}%
%TMPL:P{"simpleheader"}%
<div class="twikiHelp">
<span class="twikiAlert"><b>Do not forget</b></span> to save your changes.
<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> and discard any changes: Press the [Discard] button.</li>
</ul>
</div>
<div class="twikiPreviewArea">
<div class="twikiTopic">
%TEXT%
</div>
%META{"form"}%
%META{"attachments"}%
</div>
<form name="main" action="%SCRIPTURLPATH%/save%SCRIPTSUFFIX%/%WEB%/%TOPIC%" method="post">
<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{"topicaction"}%
</form>%TMPL:END%



%TMPL:P{"htmldoctype"}%
%TMPL:P{"head"}%
%TMPL:P{"bodystart"}%
%TMPL:P{"main"}%
%TMPL:P{"bodyend"}%