-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy patheditsection.tmpl
74 lines (69 loc) · 3.17 KB
/
editsection.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
%TMPL:INCLUDE{"foswiki"}%
%TMPL:DEF{"focus"}%
try { document.main.text.focus(); } catch (er) {}
%TMPL:END%
%TMPL:DEF{"templatescript"}%
<script type="text/javascript" src="%PUBURLPATH%/%SYSTEMWEB%/JavascriptFiles/foswiki_edit.js"></script>
%TMPL:END%
%TMPL:DEF{"bodystart"}%
<body bgcolor="#ffffff" onload="initForm()">
#PageTop
%TMPL:END%
%TMPL:DEF{"footernote"}%
<div class="TWikiFooterNote">
</td><td valign="top">
<input type="checkbox" name="dontnotify" %DONTNOTIFYCHECKBOX% /> Minor changes, don't notify <br />
<input type="checkbox" name="forcenewrevision" %FORCENEWREVISIONCHECKBOX% /> Force new revision
<font size="-1">(<a href="#%MAKETEXT{"Opens page in new window"}%" target="DontNotify" onclick="return launchWindow('%SYSTEMWEB%','DontNotify')" href="%SCRIPTURLPATH{"view"}%/%SYSTEMWEB%/DontNotify" rel='nofollow'>help</a>)</font>
<font color="#333333" size="-1">
%INCLUDE{"%SYSTEMWEB%.WikiSyntaxSummary"}%
</font>
</div>%TMPL:END%
%TMPL:DEF{"content"}%
%PRETEXT%
%TMPL:P{"simpleheader"}%
<form name="main" action="%SCRIPTURLPATH{"savesection"}%/%WEB%/%TOPIC%" method="post">
<div id="SECEDITBOX" class="twikiEditTextarea">
<textarea id='topic' name='text' wrap='virtual' rows='%SECTIONEDITBOXHEIGHT%' cols='%SECTIONEDITBOXWIDTH%' style='%SECTIONEDITBOXSTYLE%' onkeydown='handleKeyDown(event)'>
%TEXT%</textarea><br />
</div>%TEXTDETAIL%
<input type="hidden" name="originalrev" value="%ORIGINALREV%" />
<input type="hidden" name="skin" value="%URLPARAM{"skin"}%" />
<input type="hidden" name="formtemplate" value="%FORMTEMPLATE%" />
<input type="hidden" name="templatetopic" value="%TEMPLATETOPIC%" />
<input type="hidden" name="topicparent" value="%TOPICPARENT%" />
<input type="hidden" name="newtopic" value="%NEWTOPIC%" />
<input type="hidden" name="cmd" value="%CMD%" />
<input type="hidden" name="edit" value="%EDIT%" />
<input type="hidden" name="editparams" value="%EDITPARAMS%" />
<input type="hidden" name="redirectto" value="%ORIGURL%" />
<input type="hidden" name="pretxt" value="%PRETEXTFIELD%">
<input type="hidden" name="postxt" value="%POSTEXTFIELD%">
See below for help in editing this page.
<table border="0" cellpadding="2" cellspacing="0">
<tr>
<td><b>-- <nop>%WIKIUSERNAME% - %DATE%</b></td>
<td> <code><==</code> Your signature for easy copy and paste (triple click to select)</td>
</tr>
</table>
%FORMFIELDS%
%TMPL:P{"topicinfo"}%</form>
%POSTEXT%
%TMPL:END%
%TMPL:DEF{"topicaction"}%
<input type="submit" class="twikiSubmit" name="action_cancel" value="Cancel" id="cancel" />%TMPL:P{"sep"}%
<input type="submit" class="twikiSubmit" name="action_checkpoint" value="Save and Continue" id="checkpoint" />
<input type="submit" class="twikiSubmit" name="action_quietsave" value="QuietSave" id="quietsave" />
<input type="submit" class="twikiSubmit" name="action_save" value="Save" id="save" />%TMPL:P{"sep"}%
<input type="submit" class="twikiSubmit" name="action_preview" value="Preview" id="preview" />%TMPL:END%
%TMPL:DEF{"titleaction"}%(edit) %TMPL:END%
%TMPL:DEF{"titlehelp"}% %TMPL:END%
%TMPL:DEF{"webaction"}%Change topic%TMPL:END%
%TMPL:P{"htmldoctype"}%
%TMPL:P{"head"}%
%TMPL:P{"bodystart"}%
%TMPL:P{"main"}%
%TMPL:P{"bodyend"}%