File: actionbar.tmpl

package info (click to toggle)
phpwiki 1.3.14-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 15,716 kB
  • ctags: 23,548
  • sloc: php: 88,295; sql: 1,476; sh: 1,378; perl: 765; makefile: 602; awk: 28
file content (31 lines) | stat: -rwxr-xr-x 913 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php // -*-php-*-
  rcs_id('$Id: actionbar.tmpl,v 1.8 2007/01/07 20:19:56 rurban Exp $');
?>
<table summary="Toolbar: Mani Navigation"
       width="100%" cellpadding="0" cellspacing="0" border="0">
<tr valign="baseline">
  <td>
  <div class="actionbuttons">
    <?= WikiLink(HOME_PAGE, "known",_("Home")) ?>
    <?=$SEP?><?= WikiLink(_("About")) ?>
    <?=$SEP?><?= WikiLink(_("BlogArchives"),'',_("Archives")) ?>
    <?=$SEP?><?= WikiLink(_("PhotoAlbum")) ?>
    <?=$SEP?><?= WikiLink(_("HowTo")) ?>
    <?=$SEP?><?= WikiLink(_("RecentChanges")) ?>
    <?=$SEP?><?= Button("PageInfo", _("Info")) ?>
<?php 
if ($user->isAuthenticated()) {
    if (mayAccessPage('edit', $page->getName()))
        $EditB = Button("edit");
    else
        $EditB = Button("viewsource", _("View Source")); 
?>
    <?= $SEP?><?= $EditB ?>
    <?php } ?>
  </div>
  </td>
  <td>
    <?= Template("search") ?>
  </td>
</tr>
</table>