]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/blog/templates/sidebar.tmpl
Remove rcs_id
[SourceForge/phpwiki.git] / themes / blog / templates / sidebar.tmpl
1 <?php // -*-php-*-
2 // $Id$
3 $id = isBrowserIE() ? 'sidebar' : 'moz-sidebar';
4 ?>
5 <div id="<?php echo $id?>">
6 <?php
7   /* Today's Blogs page for the current or admin user, if the subpage is defined. */
8   $UserCalPageTitle = $user->getId() . SUBPAGE_SEPARATOR . _("Blog");
9   $dbi = $request->getDbh();
10   // display flat calender dhtml under the clock
11   if (!$dbi->isWikiPage($UserCalPageTitle) and BLOG_DEFAULT_EMPTY_PREFIX) {
12       $UserCalPageTitle = _("Blog");
13   }
14 ?>
15 <div class="box">
16 <div class="box-title"><?php echo WikiLink($UserCalPageTitle,'known',_("Calendar")) ?></div>
17 <div class="box-data">
18     <?php echo Template('calendar') ?>
19 </div></div>
20 <?php
21 include_once("lib/WikiPlugin.php"); 
22 $box = new PluginSidebarBox("BlogArchives"); 
23 printXml($box->format());
24
25 $box = new RelatedLinksBox();
26 $body = $box->body;
27 if ($body->asString() != "")
28     printXml($box->format());
29
30 $box = new PluginSidebarBox("RecentChanges"); 
31 printXml($box->format());
32
33 $box = new PluginSidebarBox("WhoIsOnline"); 
34 printXml($box->format());
35 /*
36 $box = new PluginSidebarBox("RssFeed",
37                             array('url' => 'http://phpwiki.sourceforge.net/phpwiki/RecentChanges?format=rss',
38                                   'title' => _("PhpWiki News"))); 
39 printXml($box->format());
40 */
41 ?>
42 <?php if (0 and defined('USE_EXTERNAL_HTML2PDF') and USE_EXTERNAL_HTML2PDF) { ?> 
43 &middot; <?php echo Button(array('action'=>'pdf'), "Pdf") ?>
44 <?php } ?>
45
46 <!-- The top navigation/search bar -->
47 <div class="toolbar"><?php echo Template('navbar') ?></div>
48
49 </div>