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">
7 $Id: browse.html,v 1.27 2001-12-14 20:28:02 dairiki Exp $
10 <meta name="keywords" content="${SPLIT_PAGE}, ${WIKI_NAME}" />
11 <?php if (!empty($PAGE_DESCRIPTION)) { ?>
12 <meta name="description" content="${PAGE_DESCRIPTION}" />
14 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
15 <!-- <meta name="robots" content="index,follow" /> -->
16 <base href="${BASE_URL}" />
17 <title>${SPLIT_PAGE}</title>
20 <link rel="stylesheet" title="phpwiki" href="${CSS_URL}" type="text/css" />
23 <div><a class="wikilink"
24 href="${BROWSE}HomePage"
26 border="0" alt="${WIKI_NAME}"
27 align="right" width="50" height="50" /></a></div>
29 <?plugin-link BackLinks description=_("Get BackLinks for [pagename]")
30 page="[pagename]" class="backlinks"
31 linktext="${SPLIT_PAGE}" ?>
33 <div class="br"><br clear="all" class="ignore" /></div>
34 <?php if (! $IS_CURRENT) { ?>
35 <p><strong>$_("Note:")</strong> $_("You are viewing an old revision of this page.")
36 $_("Click") <a href="${BROWSE}${PAGEURL}">$_("here")</a> $_("to view the current version.")</p>
37 <hr class="ignore" noshade="noshade" />
39 <div class="wikitext">${CONTENT}</div>
40 <hr class="ignore" noshade="noshade" />
41 <form action='<?php echo WikiURL(_("TitleSearch")); ?>' method="get">
42 <!-- I would like not to have to use these tables, and managed to
43 get this stuff to work more or less correctly using
44 CSSs float:left; and float:right;. However float:right; seems
45 to cause MSIE4.01/NT to hang.
46 So, we use tables... -->
47 <table summary="Toolbar 1: Page date and page search options." class="toolbar" width="100%"
48 cellpadding="0" cellspacing="0" border="0"><tr valign="baseline">
50 <?php if ($IS_CURRENT) { ?>
51 $_("Last edited on") ${LASTMODIFIED}
53 $_("Version") ${VERSION} $_(", saved on") ${LASTMODIFIED}
57 <?php echo LinkExistingWikiWord(_("RecentChanges")) ?>
58 | <?php echo LinkExistingWikiWord(_("FindPage")) ?>
59 | <span><input type="hidden" name="auto_redirect" value="1" />
60 <input type="text" name="s" size="12"
61 title=_("Quick Search")
62 onmouseover="window.status='$_("Quick Search")'; return true;"
63 onmouseout="window.status=''; return true;" /></span>
64 | <?plugin-link LikePages page="[pagename]" description=_("List LikePages for [pagename]")?>
67 <table summary="Toolbar 2: Page actions and sign in." class="toolbar" width="100%"
68 cellpadding="0" cellspacing="0" border="0"><tr valign="baseline">
70 <?php if ($page->get('locked') && !$user->is_admin()) { ?>
73 <?php if ($IS_CURRENT) { ?>
74 <a class="wikiaction" href="${ACTION}edit">$_("Edit")</a>
76 <a class="wikiaction" href="${ACTION}edit&version=${VERSION}"
77 >$_("Edit old revision")</a>
80 <?php if ($user->is_admin()) { ?>
81 <?php if ($page->get('locked')) { ?>
82 | <a class="wikiadmin" href="${ACTION}unlock">$_("Unlock page")</a>
84 | <a class="wikiadmin" href="${ACTION}lock">$_("Lock page")</a>
86 | <a class="wikiadmin" href="${ACTION}remove">$_("Remove page")</a>
88 | <?plugin-link PageHistory page="[pagename]" description=_("List PageHistory for [pagename]")?>
89 <?php if ($IS_CURRENT) { ?>
90 | <a class="wikiaction" href="${ACTION}diff&previous=major">$_("Diff")</a>
92 | <a class="wikiaction"
93 href="${ACTION}diff&version=${VERSION}&previous=major">$_("Diff")</a>
97 <?php if ($user->is_authenticated()) { ?>
98 $_("You are signed in as") <?php echo LinkWikiWord($USERID); ?>
99 | <a class="wikiaction" href="${ACTION}logout">$_("SignOut")</a>
101 <a class="wikiaction" href="${ACTION}login">$_("SignIn")</a>
107 <hr class="ignore" noshade="noshade" />
108 <small>${RELATEDPAGES}</small>
112 global $ErrorManager;
113 $ErrorManager->flushPostponedErrors();
114 $errmsgs = ob_get_contents();
117 echo Element('div', array('class' => 'errors'),
118 QElement('h4', _("PHP Warnings"))
121 <div class="toolbar">
122 <!-- For debugging only, really: -->
123 <?plugin-link _BackendInfo
124 linktext=_("DebugInfo")
125 targetpage=_("DebugInfo")
127 description=_("Get debugging information for [pagename].")?>