]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/templates/htmldump.tmpl
rcs_id no longer makes sense with Subversion global version number
[SourceForge/phpwiki.git] / themes / default / templates / htmldump.tmpl
1 <?php  // -*-php-*-
2 // rcs_id('$Id$');
3 /*
4  * This template is used only for html file dumps, and is responsible
5  * mainly for the outer level <html> stuff and the and <head>.
6  */
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 <meta http-equiv="Content-Type" content="text/html; charset=<?=$charset?>" />
13 <?php /**
14        * Additional navigation links are provided here in the html header for browsers
15        * which support them: Mozilla, iCab, Amaya (and certain versions of Opera??).
16        *
17        * See http://www.w3.org/TR/html401/struct/links.html#edef-LINK
18        *     http://www.euronet.nl/~tekelenb/WWW/LINK/index.html
19        */ ?>
20 <link rel="home" title="<?=HOME_PAGE?>" href="<?=WikiURL(HOME_PAGE)?>" />
21 <link rel="help" title="<?=_("HowToUseWiki")?>" href="<?=WikiURL(_("HowToUseWiki"))?>" />
22 <link rel="copyright" title="<?=COPYRIGHTPAGE_TITLE?>" href="<?=COPYRIGHTPAGE_URL?>" />
23 <link rel="author" title="<?=AUTHORPAGE_TITLE?>" href="<?=AUTHORPAGE_URL?>" />
24 <meta http-equiv="Content-Style-Type" content="text/css" />
25 <meta http-equiv="Content-Language" content="<?=$GLOBALS['LANG']?>" />
26 <?php $ROBOTS_CONTENT = isset($ROBOTS_META) ? $ROBOTS_META : "noindex,nofollow"; ?>
27 <meta name="robots" content="<?= $ROBOTS_CONTENT ?>" />
28 <?php if (!empty($PAGE_DESCRIPTION)) { ?>
29 <meta name="description" content="<?=$PAGE_DESCRIPTION?>" />
30 <?php } ?>
31 <?php if (!empty($PAGE_KEYWORDS)) { ?>
32 <meta name="keywords" content="<?=$PAGE_KEYWORDS?>" />
33 <?php } ?>
34 <meta name="language" content="<?=$GLOBALS['LANG']?>" />
35 <meta name="document-type" content="Public" />
36 <meta name="document-rating" content="General" />
37 <meta name="generator" content="PhpWiki" />
38 <meta name="PHPWIKI_VERSION" content="<?=PHPWIKI_VERSION?>" />
39
40 <?php if (!empty($relative_base)) { ?>
41 <base href="<?=$relative_base?>" />
42 <?php } ?>
43 <?= $WikiTheme->getCSS() ?>
44 <?php
45   // avoid redundant bookmark title for custom home page
46   if ($page->getName() == WIKI_NAME && HOME_PAGE == WIKI_NAME)
47       $pagetitle = "";
48   else
49       $pagetitle = " - ". AsString($TITLE);
50 ?>
51 <title><?=WIKI_NAME.$pagetitle?></title>
52 </head>
53 <?= Template('body') ?>
54 </html>