]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/smaller/templates/info.tmpl
IE size fixes, template perm checks
[SourceForge/phpwiki.git] / themes / smaller / templates / info.tmpl
1 <?php // -*-php-*- ?>
2 <?= Template("default/info") ?>
3
4 <div id="actionbuttons">
5     <?= Button("viewsource", _("View Source")) ?>
6     <?=$SEP?><?= Button("PageHistory", _("PageHistory")) ?>
7     <?=$SEP?><?= Button("AuthorHistory", _("AuthorHistory")) ?>
8     <?=$SEP?><?= Button("Diff") ?>
9     <?=$SEP?><?= Button(array('action'=>'diff','previous' => 'minor'),_("Diff previous Revision"),$page->getName()) ?>
10     <?=$SEP?><?= Button(array('action'=>'diff','previous' => 'author'),_("Diff previous Author"),$page->getName()) ?>
11   <?php if ((defined('DEBUG') && DEBUG) || $user->isAdmin()) { ?>
12     <!-- Buttons really only for debugging -->
13     <?=$SEP?><?= Button("DebugInfo", _("DebugInfo")) ?>
14 <?php
15     $PurgeCache = Button(array('nocache' => 'purge'),
16                      _("PurgeHtmlCache"), $page->getName());
17     $PurgeCache->addTooltip(_("Purge HTML cache for this page. Regenerate from WikiMarkup when next accessed."));
18 ?>
19     <?=$SEP?><?= $PurgeCache ?>
20     <!-- End debugging buttons -->
21   <?php } ?>
22 </div>