2 rcs_id('$Id: sidebar.tmpl,v 1.1 2004-12-14 21:30:37 rurban Exp $');
6 /* Today's Blogs page for the current or admin user, if the subpage is defined. */
7 $UserCalPageTitle = $user->getId() . SUBPAGE_SEPARATOR . _("Blogs");
8 $dbi = $request->getDbh();
9 // display flat calender dhtml under the clock
10 if (!$dbi->isWikiPage($UserCalPageTitle)) {
11 if (BLOG_EMPTY_DEFAULT_PREFIX)
12 $UserCalPageTitle = _("Blogs");
14 $UserCalPageTitle = ADMIN_USER . SUBPAGE_SEPARATOR . _("Blogs");
18 <div class="box-title"><?= WikiLink($UserCalPageTitle,'known',_("Calendar")) ?></div>
19 <div class="box-data">
20 <?= Template('calendar') ?>
23 include_once("lib/WikiPlugin.php");
24 $box = new PluginSidebarBox("BlogArchives");
25 printXml($box->format());
27 $box = new RelatedLinksBox();
29 if ($body->asString() != "")
30 printXml($box->format());
32 $box = new PluginSidebarBox("RecentChanges",array('limit'=>10));
33 printXml($box->format());
35 $box = new PluginSidebarBox("WhoIsOnline");
36 printXml($box->format());
38 $box = new PluginSidebarBox("RssFeed",
39 array('url' => 'http://phpwiki.sourceforge.net/phpwiki/RecentChanges?format=rss',
40 'title' => _("PhpWiki News")));
41 printXml($box->format());
45 <?php if (defined('USE_EXTERNAL_HTML2PDF') and USE_EXTERNAL_HTML2PDF) { ?>
46 · <?= Button(array('action'=>'pdf'), "Pdf") ?>
49 <!-- The top navigation/search bar -->
50 <div class="toolbar"><?= Template('navbar') ?></div>