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