Skip to content

Instantly share code, notes, and snippets.

@dimkalinux
Created November 21, 2011 18:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dimkalinux/1383386 to your computer and use it in GitHub Desktop.
Save dimkalinux/1383386 to your computer and use it in GitHub Desktop.
PunBB template changes between 1.3.6 and 1.4
diff --git a/include/template/admin.tpl b/include/template/admin.tpl
index 3536d56..bb42452 100644
--- a/include/template/admin.tpl
+++ b/include/template/admin.tpl
@@ -1,12 +1,14 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml" <!-- forum_local -->>
+<!DOCTYPE html>
+<!--[if lt IE 7 ]> <html class="oldie ie6" <!-- forum_local -->> <![endif]-->
+<!--[if IE 7 ]> <html class="oldie ie7" <!-- forum_local -->> <![endif]-->
+<!--[if IE 8 ]> <html class="oldie ie8" <!-- forum_local -->> <![endif]-->
+<!--[if gt IE 8]><!--> <html <!-- forum_local -->> <!--<![endif]-->
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta charset="utf-8"/>
<!-- forum_head -->
</head>
<body>
-
+<!-- forum_messages -->
<div id="brd-wrap" class="brd">
<div <!-- forum_page -->>
@@ -41,14 +43,12 @@
<div class="hr"><hr /></div>
-<div id="brd-about" class="gen-content">
+<div id="brd-about">
<!-- forum_about -->
</div>
-
<!-- forum_debug -->
-
</div>
</div>
-
+<!-- forum_javascript -->
</body>
</html>
diff --git a/include/template/help.tpl b/include/template/help.tpl
index d7458ee..4fd3693 100644
--- a/include/template/help.tpl
+++ b/include/template/help.tpl
@@ -1,20 +1,20 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml" <!-- forum_local -->>
+<!DOCTYPE html>
+<!--[if lt IE 7 ]> <html class="oldie ie6" <!-- forum_local -->> <![endif]-->
+<!--[if IE 7 ]> <html class="oldie ie7" <!-- forum_local -->> <![endif]-->
+<!--[if IE 8 ]> <html class="oldie ie8" <!-- forum_local -->> <![endif]-->
+<!--[if gt IE 8]><!--> <html <!-- forum_local -->> <!--<![endif]-->
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<head>
+<meta charset="utf-8"/>
<!-- forum_head -->
</head>
<body>
-
+<!-- forum_messages -->
<div <!-- forum_page --> class="brd-page">
<div id="brd-wrap" class="brd">
-
-
<!-- forum_main -->
-
</div>
</div>
-
+<!-- forum_javascript -->
</body>
</html>
diff --git a/include/template/main.tpl b/include/template/main.tpl
index 3c74572..da7fa12 100644
--- a/include/template/main.tpl
+++ b/include/template/main.tpl
@@ -1,58 +1,49 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml" <!-- forum_local -->>
+<!DOCTYPE html>
+<!--[if lt IE 7 ]> <html class="oldie ie6" <!-- forum_local -->> <![endif]-->
+<!--[if IE 7 ]> <html class="oldie ie7" <!-- forum_local -->> <![endif]-->
+<!--[if IE 8 ]> <html class="oldie ie8" <!-- forum_local -->> <![endif]-->
+<!--[if gt IE 8]><!--> <html <!-- forum_local -->> <!--<![endif]-->
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta charset="utf-8"/>
<!-- forum_head -->
</head>
<body>
-
-<div id="brd-wrap" class="brd">
-<div <!-- forum_page -->>
-
-<div id="brd-head" class="gen-content">
- <!-- forum_skip -->
- <!-- forum_title -->
- <!-- forum_desc -->
-</div>
-
-<div id="brd-navlinks" class="gen-content">
- <!-- forum_navlinks -->
- <!-- forum_admod -->
-</div>
-
-<div id="brd-visit" class="gen-content">
- <!-- forum_welcome -->
- <!-- forum_visit -->
-</div>
-
-<!-- forum_announcement -->
-
-<div class="hr"><hr /></div>
-
-<div id="brd-main">
- <!-- forum_main_title -->
- <!-- forum_crumbs_top -->
- <!-- forum_main_menu -->
- <!-- forum_main_pagepost_top -->
- <!-- forum_main -->
- <!-- forum_main_pagepost_end -->
- <!-- forum_crumbs_end -->
-</div>
-<!-- forum_qpost -->
-
-<!-- forum_info -->
-
-<div class="hr"><hr /></div>
-
-<div id="brd-about" class="gen-content">
- <!-- forum_about -->
-</div>
-
-<!-- forum_debug -->
-
-</div>
-</div>
-
+ <!-- forum_messages -->
+ <div id="brd-wrap" class="brd">
+ <div <!-- forum_page -->>
+ <div id="brd-head" class="gen-content">
+ <!-- forum_skip -->
+ <!-- forum_title -->
+ <!-- forum_desc -->
+ </div>
+ <div id="brd-navlinks" class="gen-content">
+ <!-- forum_navlinks -->
+ <!-- forum_admod -->
+ </div>
+ <div id="brd-visit" class="gen-content">
+ <!-- forum_welcome -->
+ <!-- forum_visit -->
+ </div>
+ <!-- forum_announcement -->
+ <div class="hr"><hr /></div>
+ <div id="brd-main">
+ <!-- forum_main_title -->
+ <!-- forum_crumbs_top -->
+ <!-- forum_main_menu -->
+ <!-- forum_main_pagepost_top -->
+ <!-- forum_main -->
+ <!-- forum_main_pagepost_end -->
+ <!-- forum_crumbs_end -->
+ </div>
+ <!-- forum_qpost -->
+ <!-- forum_info -->
+ <div class="hr"><hr /></div>
+ <div id="brd-about">
+ <!-- forum_about -->
+ </div>
+ <!-- forum_debug -->
+ </div>
+ </div>
+ <!-- forum_javascript -->
</body>
</html>
diff --git a/include/template/maintenance.tpl b/include/template/maintenance.tpl
index f6c453a..e6d6400 100644
--- a/include/template/maintenance.tpl
+++ b/include/template/maintenance.tpl
@@ -1,19 +1,18 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml" <!-- forum_local -->>
+<!DOCTYPE html>
+<!--[if lt IE 7 ]> <html class="oldie ie6" <!-- forum_local -->> <![endif]-->
+<!--[if IE 7 ]> <html class="oldie ie7" <!-- forum_local -->> <![endif]-->
+<!--[if IE 8 ]> <html class="oldie ie8" <!-- forum_local -->> <![endif]-->
+<!--[if gt IE 8]><!--> <html <!-- forum_local -->> <!--<![endif]-->
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta charset="utf-8"/>
<!-- forum_head -->
</head>
<body>
-
<div id="brd-wrap" class="brd-page">
<div id="brd-maint" class="brd">
-
<!-- forum_maint_main -->
-
</div>
</div>
-
+<!-- forum_javascript -->
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/include/template/redirect.tpl b/include/template/redirect.tpl
index 7c0dd88..6f3aa2e 100644
--- a/include/template/redirect.tpl
+++ b/include/template/redirect.tpl
@@ -1,21 +1,20 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml" <!-- forum_local -->>
+<!DOCTYPE html>
+<!--[if lt IE 7 ]> <html class="oldie ie6" <!-- forum_local -->> <![endif]-->
+<!--[if IE 7 ]> <html class="oldie ie7" <!-- forum_local -->> <![endif]-->
+<!--[if IE 8 ]> <html class="oldie ie8" <!-- forum_local -->> <![endif]-->
+<!--[if gt IE 8]><!--> <html <!-- forum_local -->> <!--<![endif]-->
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta charset="utf-8"/>
<!-- forum_head -->
</head>
<body>
-
+<!-- forum_messages -->
<div id="brd-wrap" class="brd-page">
<div id="brd-redirect" class="brd">
-
<!-- forum_redir_main -->
-
<!-- forum_debug -->
-
</div>
</div>
-
+<!-- forum_javascript -->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment