]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/fusionforge/templates/editpage.tmpl
Rename gforge theme as fusionforge
[SourceForge/phpwiki.git] / themes / fusionforge / templates / editpage.tmpl
1 <?php // -*-php-*-
2 // rcs_id('$Id$');
3 ?>
4 <?php if (isset($PREVIEW_CONTENT)) { ?>
5   <p><strong><?php echo _("Preview only!  Changes not saved.")?></strong>
6      <?php echo fmt("Please continue editing.  (You'll find your %s at the bottom of the page.)",
7           /* HTML::a(array("href" => "#editarea"), */ _("edit area") /*)  */) ?>
8   </p>
9   <?php echo $PREVIEW_CONTENT ?>
10 <?php } ?>
11
12 <?php echo $PAGE_LOCKED_MESSAGE ?>
13 <?php echo $CONCURRENT_UPDATE_MESSAGE ?>
14
15 <?php if (! $IS_CURRENT) { ?>
16   <p><strong><?php echo _("Warning: You are editing an old revision.")?>
17         <?php echo _("Saving this page will overwrite the current version.")?></strong></p>
18 <?php } ?>
19 <?php /*
20  * FIXME: Hack! 
21  * The funky URL used for the form action parameter is bogus.
22  * This is needed, otherwise the redirect to the real browser
23  * page won't work with some browsers. (NS4 and Mozilla 0.97 won't accept
24  * a redirect from a page to itself.)
25  */ ?>
26 <form method="post" id="editpage" name="editpage"
27       action="<?php echo $request->getPostURL() ?>"
28       accept-charset="<?php echo CHARSET?>">
29   <?php if (!empty($_GET['start_debug'])) echo '<input type="hidden" name="start_debug" value="1" >'; ?>
30   <?php /* To clear beyond a larger logo, such as in the Hawaiian theme */ ?>
31   <br class="clear-floats" />
32   <table width="100%">
33     <tr><td><?php echo $EDIT_TOOLBAR ?></td>
34         <td align="right"><div id="editarea-size">
35     <?php echo _("Size").':'?>
36     <label for="pref-editHeight"><b><?php echo _("H")?></b></label> <?php echo $HEIGHT_PREF?> 
37     <label for="pref-editWidth"><b><?php echo _("W")?></b></label> <?php echo $WIDTH_PREF?>
38     <noscript><?php echo Button("submit:", _("Adjust"), 'wikiaction')?></noscript>
39   </div></td></tr></table>
40   <a id="editarea"></a><?php echo $EDIT_TEXTAREA?>
41 <div class="toolbar" style="text-align: center;">
42   <label for="edit-summary"><?php echo _("Summary").':'?></label> <?php echo $SUMMARY_INPUT?>
43 </div>
44 <table summary="Toolbar: Page editing options." class="toolbar" width="100%"
45        cellpadding="0" cellspacing="0" border="0">
46 <tr valign="middle">
47   <td> 
48     <?php echo $MINOR_EDIT_CB ?> <label for="edit-minor_edit"><?php echo _("This is a minor change.")?></label><br />
49   </td>
50   <td align="center">
51     <?php echo $PREVIEW_B ?>
52     <?php if ($SAVE_B)  { ?> 
53       <?php echo $SEP?><?php echo $SAVE_B ?>
54     <?php } ?>
55     <?php echo $SEP?><?php echo $CHANGES_B ?>
56   </td>
57   <td>&nbsp; <?php echo $AUTHOR_MESSAGE?></td>
58 </tr>
59 <tr>
60   <td>
61     <?php if ($user->isAdmin()) { ?>
62     <?php echo $LOCKED_CB ?> <label for="edit-locked" title="<?php echo _("Make the page read-only?")?>"><?php echo _("Locked")?></label>
63     <?php if (ENABLE_PAGE_PUBLIC) { ?>
64     &nbsp;&nbsp;<?php echo $PUBLIC_CB ?> <label for="edit-public" title="<?php echo _("Make the page public?")?>"><?php echo _("Public")?></label>
65     <?php } ?>
66     <?php if (ENABLE_EXTERNAL_PAGES) { ?>
67     &nbsp;&nbsp;<?php echo $EXTERNAL_CB ?> <label for="edit-external" title="<?php echo _("Make the page external?")?>"><?php echo _("External")?></label>
68     <?php }} ?>
69   </td>
70 </tr>
71 </table>
72 <?php echo $HIDDEN_INPUTS?>
73 </form>
74
75 <hr noshade="noshade" />
76
77 <div class="wiki-edithelp">
78 <?php if (WIKI_NAME == "help") { ?>
79 <?plugin IncludePage page=_("Help/TextFormattingRules") section=_("Synopsis") quiet=1?>
80 <?php } else { ?>
81 <?plugin IncludePage page=_("TextFormattingRules") section=_("Synopsis") quiet=1?>
82 <?php } ?>
83 </div>