]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/smaller/templates/info.tmpl
aesthetics
[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     <?=$SEP?><?= Button("PageDump", _("PageDump")) ?>
12   <?php if ((defined('DEBUG') && DEBUG) || $user->isAdmin()) { ?>
13     <!-- Buttons really only for debugging -->
14     <?=$SEP?><?= Button("DebugInfo", _("DebugInfo")) ?>
15 <?php
16     $PurgeCache = Button(array('nocache' => 'purge'),
17                      _("PurgeHtmlCache"), $page->getName());
18     $PurgeCache->addTooltip(_("Purge HTML cache for this page. Regenerate from WikiMarkup when next accessed."));
19 ?>
20     <?=$SEP?><?= $PurgeCache ?>
21     <!-- End debugging buttons -->
22   <?php } ?>
23 </div>