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