]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/templates/top.tmpl
Added meta tag for PHPWIKI_VERSION. Moved RCS_IDS to bottom of page (I hope there...
[SourceForge/phpwiki.git] / themes / default / templates / top.tmpl
1 <?php  // -*-html-*-
2 /* $Id: top.tmpl,v 1.6 2002-02-04 02:19:36 carstenklapp 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 <!-- $Id: top.tmpl,v 1.6 2002-02-04 02:19:36 carstenklapp Exp $ -->
13 <meta http-equiv="Content-Type" content="text/html; charset=<?=CHARSET?>" />
14 <?php if ($ROBOTS_META) { ?>
15   <meta name="robots" content="<?= $ROBOTS_META ?>" />
16 <?php } else { ?>
17   <meta name="robots" content="noindex,nofollow" />
18 <?php } ?>
19 <meta name="keywords" content="<?=split_pagename($page->getName())?>, <?=WIKI_NAME?>" />
20 <?php if (!empty($PAGE_DESCRIPTION)) { ?>
21   <meta name="description" content="<?=$PAGE_DESCRIPTION?>" />
22 <?php } ?>
23 <meta name="PHPWIKI_VERSION" content="<?=PHPWIKI_VERSION?>" />
24 <base href="<?=BASE_URL?>" />
25 <link rel="shortcut icon" href="<?=$Theme->getImageURL('favicon.ico')?>" />
26 <?= $Theme->getCSS() ?>
27 <title><?=WIKI_NAME?> - <?=AsString($TITLE)?></title>
28 </head>
29 <?= Template('body') ?>
30 <!-- phpwiki source:
31 <?=$RCS_IDS?>
32 -->
33 </html>