2 rcs_id('$Id: sidebar.tmpl,v 1.2 2005-02-02 19:14:14 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");
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());
44 <?php if (0 and defined('USE_EXTERNAL_HTML2PDF') and USE_EXTERNAL_HTML2PDF) { ?>
45 · <?= Button(array('action'=>'pdf'), "Pdf") ?>
48 <!-- The top navigation/search bar -->
49 <div class="toolbar"><?= Template('navbar') ?></div>