]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Sidebar/templates/body.tmpl
Added flat jscalendar to SideBar theme.
[SourceForge/phpwiki.git] / themes / Sidebar / templates / body.tmpl
1 <?php // -*-html-*-
2 rcs_id('$Id: body.tmpl,v 1.1 2004-03-26 03:13:23 rurban Exp $');
3 ?>
4 <body<?= $Theme->getMoreAttr('body') ?>>
5
6 <div id="header"><?php // for top-and-bottom toolbars style sheet ?>
7   <?= Template('top') ?>
8 </div>
9 <?php
10   /* Today's calendar page for the user, if the Calender subpage is defined. */
11   $UserCalPageTitle = $user->getId() . SUBPAGE_SEPARATOR . _("Calendar");
12   $dbi = $request->getDbh();
13   // display flat calender dhtml under the clock
14   if ($dbi->isWikiPage($UserCalPageTitle)) { ?>
15     <?= Template('calendar') ?>
16 <?php } else { ?>
17 <div id="clock">
18 <? include($Theme->_findFile("clock.php")); ?>
19 </div>
20 <?php } ?>
21 <?= $CONTENT ?>
22 <?= Template('bottom') ?>
23 </body>