1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
8 <base href="${BASE_URL}">
9 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
10 <meta name="robots" content="noindex,nofollow">
11 <link rel="stylesheet" title="phpwiki" href="${CSS_URL}" type="text/css">
13 <title>Edit: ${SPLIT_PAGE}</title>
18 <div><a class="wikilink"
19 href="${BROWSE}HomePage"
20 ><img src="${LOGO}" border=0 align="right"
21 alt="[phpwiki]" width=50 height=50></a></div>
22 Edit <a href="${BROWSE}${PAGEURL}"
23 class="wikilink"><span class="wikiword">${PAGE}</span></a>
26 <?php if (!empty($PREVIEW_CONTENT)) { ?>
27 <p><b>Preview only! Changes not saved.</b></p>
28 <div class="wikitext">${PREVIEW_CONTENT}</div>
29 <hr class="ignore" noshade>
32 <?php if (!$IS_CURRENT) { ?>
33 <p><b>Warning: You are editing an old revision.
34 Saving this page will overwrite the current version.</b></p>
35 <hr class="ignore" noshade>
40 * The URL used for the form action parameter is bogus.
41 * This is needed, otherwise the redirect to the real browser
42 * page won't work with some browsers (NS4). (NS4 won't accept
43 * a redirect from a page to itself.)
46 <form method="POST" action="${BROWSE}EditPage">
47 <textarea class="wikiedit"
49 rows="${EDIT_AREA_HEIGHT}"
50 cols="${EDIT_AREA_WIDTH}"
51 wrap="virtual">$FORMVARS[content]</textarea>
53 <div class="toolbar" style="text-align: center;">
54 Summary:<input type="text" class="wikitext"
55 name="summary" value="$FORMVARS[summary]" size=50>
57 <table class="toolbar" width="100%"
58 cellpadding=0 cellspacing=0 border=0><tr valign="baseline">
60 <input type="checkbox" name="minor_edit" value="checked" $FORMVARS[minor_edit]>
61 This is a minor change.
64 <input type="submit" class="button" name="preview" value="Preview">
65 | <input type="submit" class="button" value="Save">
68 <?php if ($user->is_authenticated()) { ?>
69 You are signed in as <?php echo LinkWikiWord($USERID); ?>
71 Author will be logged as <i>${USERID}</i>.
75 <p style="clear: both; padding: 2ex 0ex 0ex;">
76 You can change the size of the editing area.
77 See <?php echo LinkExistingWikiWord('UserPreferences'); ?>.
78 Also see <?php echo LinkExistingWikiWord('GoodStyle') ?> tips for editing.
89 ''; term : definition'' for definition lists
90 <br><b>References:</b>
91 JoinCapitalizedWords or use square brackets for a [page link]
92 or URL [http://cool.wiki.int/].
95 <br><b>Preventing linking:</b>
96 Avoid linking with "!": !DoNotHyperlink,
97 name links like [[text | URL] (double up on the "[")
99 "!", "!!", "!!!" make headings,
100 "%%%" makes a linebreak,
101 "- - - -" makes a horizontal rule
103 more on <?php echo LinkExistingWikiWord('TextFormattingRules') ?>
106 <input type="hidden" name="action" value="save">
107 <input type="hidden" name="pagename" value="$FORMVARS[pagename]">
108 <input type="hidden" name="editversion" value="$FORMVARS[editversion]">
109 <input type="hidden" name="version" value="$FORMVARS[version]">