2 $id = isBrowserIE() ? 'sidebar' : 'moz-sidebar';
4 <div id="<?php echo $id?>">
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");
15 <div class="box-title"><?php echo WikiLink($UserCalPageTitle,'known',_("Calendar")) ?></div>
16 <div class="box-data">
17 <?php echo Template('calendar') ?>
20 include_once("lib/WikiPlugin.php");
21 $box = new PluginSidebarBox("BlogArchives");
22 printXml($box->format());
24 $box = new RelatedLinksBox();
26 if ($body->asString() != "")
27 printXml($box->format());
29 $box = new PluginSidebarBox("RecentChanges");
30 printXml($box->format());
32 $box = new PluginSidebarBox("WhoIsOnline");
33 printXml($box->format());
35 $box = new PluginSidebarBox("RssFeed",
36 array('url' => 'http://phpwiki.sourceforge.net/phpwiki/RecentChanges?format=rss',
37 'title' => _("PhpWiki News")));
38 printXml($box->format());
41 <?php if (0 and defined('USE_EXTERNAL_HTML2PDF') and USE_EXTERNAL_HTML2PDF) { ?>
42 · <?php echo Button(array('action'=>'pdf'), "Pdf") ?>
45 <!-- The top navigation/search bar -->
46 <div class="toolbar"><?php echo Template('navbar') ?></div>