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">
4 <html xmlns="http://www.w3.org/1999/xhtml">
7 $Id: browse.html,v 1.48 2002-01-12 07:04:36 carstenklapp Exp $
10 <meta http-equiv="Content-Type" content="text/html; charset=${CHARSET}" />
11 <!-- <meta name="robots" content="index,follow" /> -->
12 <meta name="keywords" content="${SPLIT_PAGE}, ${WIKI_NAME}" />
13 <?php if (!empty($PAGE_DESCRIPTION)) { ?>
14 <meta name="description" content="${PAGE_DESCRIPTION}" />
16 <base href="${BASE_URL}" />
17 <link rel="shortcut icon" href="favicon.ico" />
19 <title>${WIKI_NAME}: ${SPLIT_PAGE}</title>
25 ${EDIT_FAIL_MESSAGES}${THANK_YOU}<div>${LOGO}</div>
26 <h1><?plugin-link BackLinks page="[pagename]" class="backlinks" linktext="${SPLIT_PAGE}" ?></h1>
27 <div class="br"><br clear="all" class="ignore" /></div>
29 <div class="wikitext">${CONTENT}</div>
30 <hr class="ignore" noshade="noshade" />
32 <hr noshade="noshade" class="toolbar" />
33 <!-- I would like not to have to use these tables, and managed to
34 get this stuff to work more or less correctly using
35 CSSs float:left; and float:right;. However float:right; seems
36 to cause MSIE4.01/NT to hang.
37 So, we use tables... -->
38 <table summary="Toolbar 1: Page actions and search for pages." class="toolbar" width="100%"
39 cellpadding="0" cellspacing="0" border="0"><tr valign="baseline">
41 <?php if ($page->get('locked') && !$user->is_admin()) { ?>
44 <?php if ($IS_CURRENT) { ?>
45 <a class="wikiaction" href="${ACTION}edit">$_("Edit")</a>
47 <a class="wikiaction" href="${ACTION}edit&version=${VERSION}"
48 >$_("Edit old revision")</a>
51 <?php if ($user->is_admin()) { ?>
52 <?php if ($page->get('locked')) { ?>
53 | <a class="wikiadmin" href="${ACTION}unlock">$_("Unlock page")</a>
55 | <a class="wikiadmin" href="${ACTION}lock">$_("Lock page")</a>
57 | <a class="wikiadmin" href="${ACTION}remove">$_("Remove page")</a>
59 | <?plugin-link PageHistory page="[pagename]" ?>
60 <?php if ($IS_CURRENT) { ?>
61 | <a class="wikiaction" href="${ACTION}diff&previous=major">$_("Diff")</a>
63 | <a class="wikiaction"
64 href="${ACTION}diff&version=${VERSION}&previous=major">$_("Diff")</a>
67 <td align="right">${SEARCH}</td>
69 <table summary="Toolbar 2: Sign in." class="toolbar" width="100%"
70 cellpadding="0" cellspacing="0" border="0"><tr valign="baseline">
72 <td align="right"></td>
76 <hr class="ignore" noshade="noshade" />
77 <small>${RELATEDPAGES}</small>
82 $ErrorManager->flushPostponedErrors();
83 $errmsgs = ob_get_contents();
86 echo Element('div', array('class' => 'errors'),
87 QElement('h4', _("PHP Warnings"))
90 <table summary="For debugging only, really." class="toolbar" width="100%"
91 cellpadding="0" cellspacing="0" border="0"><tr><td>
92 <?plugin-link _BackendInfo
93 linktext=_("DebugInfo")
94 targetpage=_("DebugInfo")
97 <?php if ($IS_CURRENT) { ?>
98 <?plugin-link ViewSource
99 linktext=_("ViewSource")
100 targetpage=_("ViewSource")
103 <?plugin-link ViewSource
104 linktext=_("ViewSource")
105 targetpage=_("ViewSource")