]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Sidebar/templates/html.tmpl
fix Talk: names
[SourceForge/phpwiki.git] / themes / Sidebar / templates / html.tmpl
1 <?php  // -*-html-*-
2 rcs_id('$Id: html.tmpl,v 1.1 2004-12-19 18:27:12 rurban Exp $');
3 /*
4  * This template is responsible mainly for the outer level <html> stuff.
5  *
6  * NS/MO/IE/Op Browsers before 4.0 don't like that.
7  * The SUN JRE hyperapplet.jar also dislikes the xml tag
8  */
9 if (browserVersion() >= 4.0)
10     echo "<","?xml version=\"1.0\" encoding=\"", $charset, "\"?",">\n";
11 ?>
12 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
13   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
14 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?=$GLOBALS['LANG']?>" lang="<?=$GLOBALS['LANG']?>">
15 <?= Template('head') ?>
16 <?= Template('body') ?>
17 <?php
18 if (defined('DEBUG') and DEBUG) {
19     echo "<!-- phpwiki source: \n";
20     echo $RCS_IDS;
21     echo "-->\n";
22     //printf("<!-- phpwiki source: \n%s-->\n", $RCS_IDS);
23 }
24 ?>
25 </html>