2 rcs_id('$Id: html.tmpl,v 1.6 2004-06-23 10:33:11 rurban Exp $');
4 * This template is responsible mainly for the outer level <html> stuff.
6 * NS/MO/IE/Op Browsers before 4.0 don't like that.
8 if (strstr($request->get('HTTP_ACCEPT'),'application/xhtml+xml') or
9 (strstr($request->get('HTTP_ACCEPT'),'text/xml')))
11 if (browserVersion() >= 4.0)
12 printf("<?xml version=\"1.0\" encoding=\"%s\"?>\n", CHARSET);
14 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
15 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
16 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?=$GLOBALS['LANG']?>" lang="<?=$GLOBALS['LANG']?>">
17 <?= Template('head') ?>
18 <?= Template('body') ?>
20 if (defined('DEBUG') and DEBUG) {
21 printf("<!-- phpwiki source: \n%s-->\n", $RCS_IDS);