2 <!-- $Id: editpage.tmpl,v 1.14 2002-02-07 03:47:27 carstenklapp Exp $ -->
5 $WidthI = HTML::input(array('type' => 'text',
8 'name' => 'pref[editWidth]',
9 'value' => $request->getPref('editWidth'),
10 'onchange' => 'this.form.submit();'));
12 $HeightI = HTML::input(array('type' => 'text',
15 'name' => 'pref[editHeight]',
16 'value' => $request->getPref('editHeight'),
17 'onchange' => 'this.form.submit();'));
19 $s = $Theme->getButtonSeparator();
24 * The funky URL used for the form action parameter is bogus.
25 * This is needed, otherwise the redirect to the real browser
26 * page won't work with some browsers. (NS4 and Mozilla 0.97 won't accept
27 * a redirect from a page to itself.)
29 * <textarea wrap="virtual"> is not valid xhtml but Netscape 4 requires it
34 <form method="post" name="editpage"
35 action="<?=WikiURL($page,array('action'=>'edit'))?>"
36 accept-charset="<?=CHARSET?>">
37 <table summary="Toolbar: Save, Preview, and edit warnings." class="toolbar" width="100%"
38 cellpadding="0" cellspacing="0" border="0">
41 <?= $PAGE_LOCKED_MESSAGE ?>
42 <?= $CONCURRENT_UPDATE_MESSAGE ?>
43 <?php if (!$IS_CURRENT) { ?>
44 <p><strong><?=_("Warning: You are editing an old revision.")?>
45 <?=_("Saving this page will overwrite the current version.")?></strong></p>
50 <?php if ($SAVE_B) { ?>
51 <?=$s?> <?= $SAVE_B ?>
56 <a name="editarea" id="editarea"><?=$EDIT_TEXTAREA?></a>
58 <?=_("Summary:")?> <?= $SUMMARY_INPUT ?>
60 <?= fmt("Author will be logged as %s.", HTML::em($user->getId())) ?>
63 <?= fmt("I'm just doing minor edits. Please divert the usual logging to %s instead.",
64 WikiLink(_("RecentEdits"))) ?>
67 <?=_("Edit Area Size:")?> <b><?=_("H")?></b>
71 <?=Button("submit:", _("Adjust"))?>
73 <?=$NEW_MARKUP_CB?> <?=_("Use new markup")?>
76 <?php if (isset($PREVIEW_CONTENT)) { ?>
78 <p><strong><?=_("Preview only! Changes not saved.")?></strong></p>
79 <div class="wikitext"><?= $PREVIEW_CONTENT ?></div>
82 <!-- FIXME: do we need this at all? If so, it could probably be moved to TextFormattingRules -->
83 <p><?= fmt("See %s tips for editing.", WikiLink(_("GoodStyle"), "button")) ?></p>
84 <div class="wiki-edithelp">
85 <?plugin IncludePage page=_("TextFormattingRules") section=_("Synopsis") quiet=1?>