]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/templates/top.tmpl
More infiltration of new object-based HTML generation.
[SourceForge/phpwiki.git] / themes / default / templates / top.tmpl
1 <?php  // -*-html-*-
2 /* $Id: top.tmpl,v 1.4 2002-01-21 06:55:47 dairiki Exp $
3  *
4  * This template is responsible mainly for the outer level <html> stuff and the and <head>.
5  */
6   printf("<?xml version=\"1.0\" encoding=\"%s\"?>\n", CHARSET);
7 ?>
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">
11 <head>
12 <!-- phpwiki source:
13 $Id: top.tmpl,v 1.4 2002-01-21 06:55:47 dairiki Exp $
14 <?=$RCS_IDS?>
15 -->
16 <meta http-equiv="Content-Type" content="text/html; charset=<?=CHARSET?>" />
17 <?php if ($ROBOTS_META) { ?>
18   <meta name="robots" content="<?= $ROBOTS_META ?>" />
19 <?php } else { ?>
20   <meta name="robots" content="noindex,nofollow" />
21 <?php } ?>
22 <meta name="keywords" content="<?=$SPLIT_PAGE?>, <?=$WIKI_NAME?>" />
23 <?php if (!empty($PAGE_DESCRIPTION)) { ?>
24   <meta name="description" content="<?=$PAGE_DESCRIPTION?>" />
25 <?php } ?>
26 <base href="<?=BASE_URL?>" />
27 <link rel="shortcut icon" href="<?=$Theme->getImageURL('favicon.ico')?>" />
28 <?= $Theme->getCSS() ?>
29 <title><?=$WIKI_NAME?> - <?=$TITLE?></title>
30 </head>
31 <?php $body = new WikiTemplate('body') ?>
32 <?= /* not the greatest syntax, but this sucks in 'body.tmpl' */
33     new WikiTemplate('body') ?>
34
35 </html>