]> git.mjollnir.org Git - s9y.git/commitdiff
Use xhtmlns attribute to <html>
authorgarvinhicking <garvinhicking>
Thu, 14 Feb 2008 09:15:18 +0000 (09:15 +0000)
committergarvinhicking <garvinhicking>
Thu, 14 Feb 2008 09:15:18 +0000 (09:15 +0000)
templates/bulletproof/commentpopup.tpl
templates/carl_contest/index.tpl [changed mode: 0644->0755]
templates/competition/index.tpl
templates/contest/index.tpl
templates/default-php/commentpopup.tpl [new file with mode: 0644]
templates/default/commentpopup.tpl
templates/default/index.tpl
templates/kubrick/index.tpl
templates/moz-modern/index.tpl
templates/wp/index.tpl

index 97c69c7fba82a4434dbcfd7a6b66e9f9c22955ce..0bb8c6319ad77923bd52908fa60394f42a0b8ca6 100644 (file)
@@ -6,7 +6,7 @@
  "http://www.w3.org/TR/html4/loose.dtd">\r
 {/if}\r
 \r
-<html>\r
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang}" lang="{$lang}">\r
 <head>\r
    <title>{$head_title|@default:$blogTitle} {if $head_subtitle} - {$head_subtitle}{/if}</title>\r
    <meta http-equiv="Content-Type" content="text/html; charset={$head_charset}" />\r
old mode 100644 (file)
new mode 100755 (executable)
index 028d678..1e6411f
@@ -7,7 +7,7 @@
            "http://www.w3.org/TR/html4/loose.dtd">
 {/if}
 
-<html>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang}" lang="{$lang}">
 <head>
     <title>{$head_title|@default:$blogTitle} {if $head_subtitle} - {$head_subtitle}{/if}</title>
     <meta http-equiv="Content-Type" content="text/html; charset={$head_charset}" />
index ce9747dab48b06eaaa61b10e135bdbbf4bc3a845..85d750968962f4a6f7e967291e93de41091f751b 100644 (file)
@@ -7,7 +7,7 @@
            "http://www.w3.org/TR/html4/loose.dtd">
 {/if}
 
-<html>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang}" lang="{$lang}">
 <head>
     <title>{$head_title|@default:$blogTitle} {if $head_subtitle} - {$head_subtitle}{/if}</title>
     <meta http-equiv="Content-Type" content="text/html; charset={$head_charset}" />
index 2f19eb1f2c389094efbd26e6d3c4288c77e2b395..61d9e3a6994b06eb014c49f4963ea2342c7c2be3 100644 (file)
@@ -7,7 +7,7 @@
            "http://www.w3.org/TR/html4/loose.dtd">
 {/if}
 
-<html>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang}" lang="{$lang}">
 <head>
     <title>{$head_title|@default:$blogTitle} {if $head_subtitle} - {$head_subtitle}{/if}</title>
     <meta http-equiv="Content-Type" content="text/html; charset={$head_charset}" />
diff --git a/templates/default-php/commentpopup.tpl b/templates/default-php/commentpopup.tpl
new file mode 100644 (file)
index 0000000..0311ef1
--- /dev/null
@@ -0,0 +1,61 @@
+{if $is_xhtml}
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<?php else: ?>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+           "http://www.w3.org/TR/html4/loose.dtd">
+<?php endif; ?>
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang}" lang="{$lang}">
+<head>
+    <title>{$head_title|@default:$blogTitle} {if $head_subtitle} - <?= $GLOBALS['tpl']['head_subtitle'] ?><?php endif; ?></title>
+    <meta http-equiv="Content-Type" content="text/html; charset=<?= $GLOBALS['tpl']['head_charset'] ?>" />
+    <meta name="Powered-By" content="Serendipity v.<?= $GLOBALS['tpl']['head_version'] ?>" />
+    <link rel="stylesheet" type="text/css" href="<?= $GLOBALS['tpl']['serendipityHTTPPath'] ?>serendipity.css.php" />
+    <link rel="alternate"  type="application/rss+xml" title="<?= $GLOBALS['tpl']['blogTitle'] ?> RSS feed" href="<?= $GLOBALS['tpl']['serendipityBaseURL'] ?><?= $GLOBALS['tpl']['serendipityRewritePrefix'] ?>feeds/index.rss2" />
+    <link rel="alternate"  type="application/x.atom+xml"  title="<?= $GLOBALS['tpl']['blogTitle'] ?> Atom feed"  href="<?= $GLOBALS['tpl']['serendipityBaseURL'] ?><?= $GLOBALS['tpl']['serendipityRewritePrefix'] ?>feeds/atom.xml" />
+</head>
+
+<body class="s9y_wrap" id="serendipity_comment_page">
+
+{if $is_comment_added}
+
+    <div class="popup_comments_message popup_comments_message_added"><?= COMMENT_ADDED ?><?= $GLOBALS['tpl']['comment_string']['0'] ?><a href="<?= $GLOBALS['tpl']['comment_url'] ?>"><?= $GLOBALS['tpl']['comment_string']['1'] ?></a><?= $GLOBALS['tpl']['comment_string']['2'] ?><a href="#" onclick="self.close()"><?= $GLOBALS['tpl']['comment_string']['3'] ?></a><?= $GLOBALS['tpl']['comment_string']['4'] ?></div>
+
+{elseif $is_comment_notadded}
+
+    <div class="popup_comments_message popup_comments_message_notadded"><?= COMMENT_NOT_ADDED ?><?= $GLOBALS['tpl']['comment_string']['0'] ?><a href="<?= $GLOBALS['tpl']['comment_url'] ?>"><?= $GLOBALS['tpl']['comment_string']['1'] ?></a><?= $GLOBALS['tpl']['comment_string']['2'] ?><a href="#" onclick="self.close()"><?= $GLOBALS['tpl']['comment_string']['3'] ?></a><?= $GLOBALS['tpl']['comment_string']['4'] ?></div>
+
+{elseif $is_comment_empty}
+
+    <div class="popup_comments_message popup_comments_message_empty"><?= $GLOBALS['tpl']['comment_string']['0'] ?><a href="#" onclick="history.go(-1)"><?= $GLOBALS['tpl']['comment_string']['1'] ?></a></div>
+
+{elseif $is_showtrackbacks}
+
+    <div class="serendipity_commentsTitle"><?= TRACKBACKS ?></div>
+    <dl>
+        <dt><strong><?= TRACKBACK_SPECIFIC ?>:</strong></dt>
+        <dd><a rel="nofollow" href="<?= $GLOBALS['tpl']['comment_url'] ?>"><?= $GLOBALS['tpl']['comment_url'] ?></a></dd>
+
+        <dt><strong><?= DIRECT_LINK ?>:</strong></dt>
+        <dd><a href="<?= $GLOBALS['tpl']['comment_entryurl'] ?>"><?= $GLOBALS['tpl']['comment_entryurl'] ?></a></dd>
+    </dl>
+
+    {serendipity_printTrackbacks entry=$entry_id}
+
+{elseif $is_showcomments}
+
+    <div class="serendipity_commentsTitle"><?= COMMENTS ?></div>
+
+    {serendipity_printComments entry=$entry_id}
+    {if $is_comment_allowed}
+        <div class="serendipity_commentsTitle"><?= ADD_COMMENT ?></div>
+        <?= $GLOBALS['tpl']['COMMENTFORM'] ?>
+    <?php else: ?>
+        <div class="serendipity_center serendipity_msg_important"><?= COMMENTS_CLOSED ?></div>
+    <?php endif; ?>
+
+<?php endif; ?>
+
+</body>
+</html>
index c1cdcb93b5f312ff67ab7968fbe29834871c1bc7..97860d630f2230a2458b7460275b030098778d4e 100644 (file)
@@ -6,7 +6,7 @@
            "http://www.w3.org/TR/html4/loose.dtd">
 {/if}
 
-<html>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang}" lang="{$lang}">
 <head>
     <title>{$head_title|@default:$blogTitle} {if $head_subtitle} - {$head_subtitle}{/if}</title>
     <meta http-equiv="Content-Type" content="text/html; charset={$head_charset}" />
index 39a9b685fe3c8dab1f9be96e410a57dcfbd66134..e190bdb5cd17573c8b1911d08bb46b4a543938b9 100644 (file)
@@ -7,7 +7,7 @@
            "http://www.w3.org/TR/html4/loose.dtd">
 {/if}
 
-<html>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang}" lang="{$lang}">
 <head>
     <title>{$head_title|@default:$blogTitle} {if $head_subtitle} - {$head_subtitle}{/if}</title>
     <meta http-equiv="Content-Type" content="text/html; charset={$head_charset}" />
index 8bd1e51dc1571e52e6027cc6137e7b4c5a0927b1..deb292b693e29129d6c548e560ad35f9cf6fbe6f 100644 (file)
@@ -7,7 +7,7 @@
            "http://www.w3.org/TR/html4/loose.dtd">
 {/if}
 
-<html>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang}" lang="{$lang}">
 <head>
     <title>{$head_title|@default:$blogTitle} {if $head_subtitle} - {$head_subtitle}{/if}</title>
     <meta http-equiv="Content-Type" content="text/html; charset={$head_charset}" />
index 444febdfe5dc05f3e78d9a5c37fd0b771cab314d..c6611345eb08f590706f857a634881ab1fbde7b1 100644 (file)
@@ -7,7 +7,7 @@
            "http://www.w3.org/TR/html4/loose.dtd">
 {/if}
 
-<html>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang}" lang="{$lang}">
 <head>
     <title>{$head_title|@default:$blogTitle} {if $head_subtitle} - {$head_subtitle}{/if}</title>
     <meta http-equiv="Content-Type" content="text/html; charset={$head_charset}" />
index 30a0d14e192d03615aec7b384ae0592a079e38e1..84bac3e0bd8224ef33b46c264585d18b8d928d4a 100644 (file)
@@ -2,7 +2,7 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
 
-<head>
+<head xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang}" lang="{$lang}">
        <title>{$head_title|@default:$blogTitle} {if $head_subtitle} - {$head_subtitle}{/if}</title>
        
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />