3 $pagename = $page->getName();
4 $isActionPage = isActionPage($pagename);
5 if (ENABLE_PAGE_PUBLIC)
6 $public = $page->get('public');
9 if (ENABLE_RATEIT && !empty($user) && $user->isAuthenticated()
10 && $page->exists() && !$isActionPage && !$WikiTheme->DUMP_MODE)
16 <a id="contentTop"></a>
17 <?php if ($page->_pagename != "HomePage") { ?>
18 <h1 class="firstHeading<?= $rating ? '-rating' : '' ?><?= $public ? '-public' : '' ?>"><?= $HEADER ?></h1>
20 <?php if ($rating && $request->getArg('action') == 'browse') { ?>
21 <?= Template('ratings') ?>
22 <?php } elseif ($rating && $WikiTheme->DUMP_MODE) { ?>
23 <div id="rateit-widget-top">
25 $loader = new WikiPluginLoader();
26 printXML($loader->expandPI("<"."?plugin RateIt show=text ?".">", $request, $dbi->_markup));