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">
4 <html xmlns="http://www.w3.org/1999/xhtml">
9 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10 <!-- <meta name="robots" content="index,follow" /> -->
11 <base href="${BASE_URL}" />
12 <title>${SPLIT_PAGE}</title>
15 <link rel="stylesheet" title="phpwiki" href="${CSS_URL}" type="text/css" />
19 <div><a class="wikilink"
20 href="${BROWSE}HomePage"
22 border="0" alt="[phpwiki]"
23 align="right" width="50" height="50" /></a></div>
24 <?plugin-link BackLinks description="Get BackLinks for [pagename]"
25 page="[pagename]" class="backlinks"
26 linktext="${SPLIT_PAGE}" ?>
28 <div class="br"><br clear="all" class="ignore" /></div>
29 <?php if (! $IS_CURRENT) { ?>
30 <p><strong>Note</strong>: You are viewing an old revision of this page.
31 Click <a href="${BROWSE}${PAGEURL}">here</a> to view the current version.</p>
32 <hr class="ignore" noshade="noshade" />
34 <div class="wikitext">${CONTENT}</div>
35 <hr class="ignore" noshade="noshade" />
36 <form action="<?php echo WikiURL('TitleSearch'); ?>" method="get">
37 <!-- I would like not to have to use these tables, and managed to
38 get this stuff to work more or less correctly using
39 CSS's float:left; and float:right;. However float:right; seems
40 to cause MSIE4.01/NT to hang.
41 So, we use tables... -->
42 <table class="toolbar" width="100%"
43 cellpadding="0" cellspacing="0" border="0"><tr valign="baseline">
45 <?php if ($IS_CURRENT) { ?>
46 Last edited on ${LASTMODIFIED}
48 Version ${VERSION}, saved on ${LASTMODIFIED}
52 <?php echo LinkExistingWikiWord('FindPage') ?>
53 | <span><input type="hidden" name="auto_redirect" value="1" />
54 <input type="text" name="s" size="12"
56 onmouseover="window.status='Quick Search'; return true;"
57 onmouseout="window.status=''; return true;" /></span>
58 | <?plugin-link LikePages page="[pagename]" description="List LikePages for [pagename]"?>
61 <table class="toolbar" width="100%"
62 cellpadding="0" cellspacing="0" border="0"><tr valign="baseline">
64 <?php if ($page->get('locked') && !$user->is_admin()) { ?>
67 <?php if ($IS_CURRENT) { ?>
68 <a class="wikiaction" href="${ACTION}edit">Edit</a>
70 <a class="wikiaction" href="${ACTION}edit&version=${VERSION}"
71 >Edit old revision</a>
74 <?php if ($user->is_admin()) { ?>
75 <?php if ($page->get('locked')) { ?>
76 | <a class="wikiadmin" href="${ACTION}unlock">Unlock page</a>
78 | <a class="wikiadmin" href="${ACTION}lock">Lock page</a>
80 | <a class="wikiadmin" href="${ACTION}remove">Remove page</a>
82 | <a class="wikiaction" href="${ACTION}info">History</a>
83 <?php if ($IS_CURRENT) { ?>
84 | <a class="wikiaction" href="${ACTION}diff&previous=major">Diff</a>
86 | <a class="wikiaction"
87 href="${ACTION}diff&version=${VERSION}&previous=major">Diff</a>
91 <?php if ($user->is_authenticated()) { ?>
92 You are signed in as <?php echo LinkWikiWord($USERID); ?>
93 | <a class="wikiaction" href="${ACTION}logout">SignOut</a>
95 <a class="wikiaction" href="${ACTION}login">SignIn</a>
101 <hr class="ignore" noshade="noshade" />
102 <small>${RELATEDPAGES}</small>
106 global $ErrorManager;
107 $ErrorManager->flushPostponedErrors();
108 $errmsgs = ob_get_contents();
111 echo "<div class='errors'><h4>PHP Warnings</h4>$errmsgs</div>";
113 <div class="toolbar">
114 <!-- For debugging only, really: -->
115 <?plugin-link _BackendInfo
119 description="Get debugging information for [pagename]."?>