2 /* $Id: top.tmpl,v 1.4 2002-01-21 06:55:47 dairiki Exp $
4 * This template is responsible mainly for the outer level <html> stuff and the and <head>.
6 printf("<?xml version=\"1.0\" encoding=\"%s\"?>\n", CHARSET);
8 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
9 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
10 <html xmlns="http://www.w3.org/1999/xhtml">
13 $Id: top.tmpl,v 1.4 2002-01-21 06:55:47 dairiki Exp $
16 <meta http-equiv="Content-Type" content="text/html; charset=<?=CHARSET?>" />
17 <?php if ($ROBOTS_META) { ?>
18 <meta name="robots" content="<?= $ROBOTS_META ?>" />
20 <meta name="robots" content="noindex,nofollow" />
22 <meta name="keywords" content="<?=$SPLIT_PAGE?>, <?=$WIKI_NAME?>" />
23 <?php if (!empty($PAGE_DESCRIPTION)) { ?>
24 <meta name="description" content="<?=$PAGE_DESCRIPTION?>" />
26 <base href="<?=BASE_URL?>" />
27 <link rel="shortcut icon" href="<?=$Theme->getImageURL('favicon.ico')?>" />
28 <?= $Theme->getCSS() ?>
29 <title><?=$WIKI_NAME?> - <?=$TITLE?></title>
31 <?php $body = new WikiTemplate('body') ?>
32 <?= /* not the greatest syntax, but this sucks in 'body.tmpl' */
33 new WikiTemplate('body') ?>