]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Crao/templates/htmldump.tmpl
<?= --> <?php echo
[SourceForge/phpwiki.git] / themes / Crao / 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 printf("<?xml version=\"1.0\" encoding=\"%s\"?>\n", CHARSET);
8 ?>
9 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
10   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
11 <html xmlns="http://www.w3.org/1999/xhtml">
12 <head>
13 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET?>" />
14 <?php /**
15        * Additional navigation links are provided here in the html header for browsers
16        * which support them: Mozilla, iCab, Amaya (and certain versions of Opera??).
17        *
18        * See http://www.w3.org/TR/html401/struct/links.html#edef-LINK
19        *     http://www.euronet.nl/~tekelenb/WWW/LINK/index.html
20        */ ?>
21 <link rel="home" title="<?php echo HOME_PAGE?>" href="<?php echo WikiURL(HOME_PAGE)?>" />
22 <link rel="help" title="<?php echo _("HowToUseWiki")?>" href="<?php echo WikiURL(_("HowToUseWiki"))?>" />
23 <link rel="copyright" title="<?php echo COPYRIGHTPAGE_TITLE?>" href="<?php echo COPYRIGHTPAGE_URL?>" />
24 <link rel="author" title="<?php echo AUTHORPAGE_TITLE?>" href="<?php echo AUTHORPAGE_URL?>" />
25
26 <?php echo $WikiTheme->getCSS() ?>
27 <?php
28   // avoid redundant bookmark title for custom home page
29   if ($page->getName() == WIKI_NAME && HOME_PAGE == WIKI_NAME)
30       $pagetitle = "";
31   else
32       $pagetitle = " - ". AsString($TITLE);
33 ?>
34 <title><?php echo WIKI_NAME.$pagetitle?></title>
35 </head>
36 <?php echo Template('body') ?>
37 </html>