]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/smaller/templates/info.tmpl
simplify Templates by syntax enhancements
[SourceForge/phpwiki.git] / themes / smaller / templates / info.tmpl
1 <?php // -*-php-*- ?>
2 <!-- $Id: info.tmpl,v 1.4 2005-02-02 18:51:49 rurban Exp $ -->
3 <?= Template("default/info") ?>
4 <?php $Sep = $WikiTheme->getButtonSeparator(); ?>
5
6 <div id="actionbuttons">
7     <?= Button("viewsource", _("View Source")) ?>
8     <?=$Sep?><?= Button("PageHistory", _("PageHistory")) ?>
9     <?=$Sep?><?= Button("AuthorHistory", _("AuthorHistory")) ?>
10     <?=$Sep?><?= Button("Diff") ?>
11     <?=$Sep?><?= Button(array('action'=>'diff','previous' => 'minor'),_("Diff previous Revision"),$page->getName()) ?>
12     <?=$Sep?><?= Button(array('action'=>'diff','previous' => 'author'),_("Diff previous Author"),$page->getName()) ?>
13 <?php if ((defined('DEBUG') && DEBUG) || $user->isAdmin()) { ?>
14     <!-- Buttons really only for debugging -->
15     <?=$Sep?><?= Button("DebugInfo", _("DebugInfo")) ?>
16 <?php
17      $PurgeCache = Button(array('nocache' => 'purge'),
18                      _("PurgeHtmlCache"), $page->getName());
19      $PurgeCache->addTooltip(_("Purge HTML cache for this page. Regenerate from WikiMarkup when next accessed."));
20 ?>
21     <?=$Sep?><?= $PurgeCache ?>
22
23     <!-- End debugging buttons -->
24 <?php } ?>
25   </div>
26
27 <?php
28 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
29 // $Log: not supported by cvs2svn $
30 // Revision 1.3  2004/06/14 11:26:53  rurban
31 // renamed global $Theme to $WikiTheme (gforge nameclash)
32 //
33 // Revision 1.2  2004/05/18 14:47:21  rurban
34 // Simplified strings for easier translation
35 //
36 // Revision 1.1  2004/03/01 09:38:01  rurban
37 // Theme with less buttons and shorter descriptions:
38 //   More behind "Info"
39 //
40 // Revision 1.15  2003/12/11 19:38:29  carstenklapp
41 // Internal change: Fix PHP Warning: Call-time pass-by-reference has been deprecated
42 //
43 // Revision 1.14  2003/11/29 20:13:38  carstenklapp
44 // Internal change: Refactored ByteFormatter code into a new function in
45 // stdlib (now used by PageList too).
46 //
47 // Revision 1.13  2003/02/21 04:24:48  dairiki
48 // Fix <td> </td> nesting. (Was generating invalid HTML.)
49 //
50 // Revision 1.12  2003/01/11 22:54:28  carstenklapp
51 // Added Page type field displayed for special pages.
52 //
53 ?>