1 <?php echo "<?xml version='1.0' encoding='${CHARSET}'?>\n"; ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
7 $Id: editpage.html,v 1.43 2002-01-10 23:16:01 rurban Exp $
10 <base href="${BASE_URL}" />
11 <meta http-equiv="Content-Type" content="text/html; charset=${CHARSET}" />
12 <meta name="robots" content="noindex,nofollow" />
14 <title>${WIKI_NAME} - <?php printf(_("Edit: %s"),"${SPLIT_PAGE}"); ?></title>
18 <!--This hack allows the h1 to be localised. FIXME: move out of html template into php-->
19 <h1><?php printf(_("Edit: %s"),"<a class=\"backlinks\" href=\"${BROWSE}"._("BackLinks")."?page=${PAGE}\">${PAGE}</a>"); ?></h1>
20 <!--=this line=<?php $bl='<plugin-link BackLinks page="[pagename]" class="backlinks" linktext="${SPLIT_PAGE}" ?>';printf(_("Edit: %s"),"$bl"); ?>=does not work=-->
22 <?php if (!empty($PREVIEW_CONTENT)) { ?>
23 <div class="wikitext">${PREVIEW_CONTENT}</div>
27 * The ${BROWSE}EditPage URL used for the form action parameter is bogus.
28 * This is needed, otherwise the redirect to the real browser
29 * page won't work with some browsers (NS4). (NS4 won't accept
30 * a redirect from a page to itself.)
31 * I would rather prefer ${ACTION}edit --ReiniUrban
34 <form method="post" action="${BROWSE}EditPage" accept-charset="${CHARSET}">
35 <textarea class="wikiedit"
37 rows="${EDIT_AREA_HEIGHT}"
38 cols="${EDIT_AREA_WIDTH}">$FORMVARS[content]</textarea>
40 <div class="toolbar" style="text-align: center;">
41 $_("Summary:")<input type="text" class="wikitext"
42 name="summary" value="$FORMVARS[summary]" size="50" />
44 <table summary="Toolbar: Page editing options." class="toolbar" width="100%"
45 cellpadding="0" cellspacing="0" border="0"><tr valign="baseline">
47 <input type="checkbox" name="minor_edit" value="checked" $FORMVARS[minor_edit] />
48 $_("This is a minor change.")
51 <input type="submit" class="button" name="preview" value=_("Preview") />
52 | <input type="submit" class="button" value=_("Save") />
55 <?php if ($user->is_authenticated()) { ?>
56 <?php printf(_("You are signed in as %s."), LinkWikiWord($USERID)); ?>
58 <?php printf(_("Author will be logged as %s."),"<em>${USERID}</em>"); ?>
59 | <a class="wikiaction" href="${ACTION}login">$_("SignIn")<small>*</small></a>
60 <br /><small>*backup and reload after signing in</small>
64 <div style="clear: both; padding: 2ex 0ex 0ex;">${EDIT_TIPS}</div>
65 <hr noshade="noshade" />
66 <div class="wiki-edithelp">
67 <?plugin IncludePage page=_("TextFormattingRules") section=_("Synopsis") quiet=1?>
70 <input type="hidden" name="action" value="save" />
71 <input type="hidden" name="pagename" value="$FORMVARS[pagename]" />
72 <input type="hidden" name="editversion" value="$FORMVARS[editversion]" />
73 <input type="hidden" name="version" value="$FORMVARS[version]" />