]> git.mjollnir.org Git - s9y.git/commitdiff
BP: Added conditional insertion of xml namespace and lang attributes to index.tpl
authoryellowled <yellowled>
Tue, 25 Mar 2008 10:02:52 +0000 (10:02 +0000)
committeryellowled <yellowled>
Tue, 25 Mar 2008 10:02:52 +0000 (10:02 +0000)
templates/bulletproof/index.tpl

index 4c70c2c5cfcbfdefc9a2ea37cfbe82539896c434..8328c10d49d5b96e3e14a470ec759d43e12ae3e5 100644 (file)
@@ -5,7 +5,7 @@
         <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
     {/if}
 
-    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang}" lang="{$lang}">
+    <html{if $is_xhtml} xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang}" lang="{$lang}"{/if}>
     <head>
         <title>{$head_title|@default:$blogTitle}{if $head_subtitle} - {$head_subtitle}{/if}</title>
         {serendipity_hookPlugin hook="frontend_header"}