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