From e855add5d3f8bbf7f940da169a77072ce06be06a Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 9 Oct 2011 13:20:08 -0400 Subject: Begin transitioning to HTML5 (this commit breaks the "build") --- src/views/Template.class.php | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/src/views/Template.class.php b/src/views/Template.class.php index bf57e93..f6e1d7f 100644 --- a/src/views/Template.class.php +++ b/src/views/Template.class.php @@ -124,21 +124,38 @@ class Template { $logged_in = ($username!==false); - $str = ''."\n"; - $str.= ''."\n"; - - $xmlns = "http://www.w3.org/1999/xhtml"; - $str.= $this->openTag('html', array('xmlns'=>$xmlns, - 'lang'=>"en-us", - 'dir'=>"ltr")); + $str.= +' + + + + + + +'; $this->indent = 0; // don't indent for the tag $str.= $this->openTag('head'); + $str.= $this->tag('meta', array('name'=>'viewport', + 'content'=>'width=device-width')); $str.= $this->tag('title', array(), htmlspecialchars($title)); + $str.= $this->tag('link', array('rel'=>'stylesheet', + 'type'=>'text/css', + 'media'=>'all', + 'href'=>'/wp/wp-content/themes/kilabytes/style.css')); $str.= $this->css('style.css', 'all'); $str.= $this->css('screen.css', 'screen'); $str.= $this->css('print.css', 'print'); + $str + $str.= $this->closeTag('head'); $body_class = 'logged'.($logged_in?'in':'out'); -- cgit v1.2.3