From 3a3578c80507d80d571297b6bbf2502d5da73fd9 Mon Sep 17 00:00:00 2001
From: Savetheinternet
Date: Mon, 3 Jan 2011 16:29:34 +1100
Subject: [PATCH] Valid HTML5
---
inc/config.php | 2 +-
inc/display.php | 4 ++--
templates/index.html | 3 +--
templates/page.html | 2 +-
templates/thread.html | 3 +--
5 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/inc/config.php b/inc/config.php
index d40f7654..521d3eb3 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -202,7 +202,7 @@
// Correspond to above permission directives
define('MOD_LINK_DELETE', '[D]', true);
define('MOD_LINK_BAN', '[B]', true);
- define('MOD_LINK_BANDELETE', '[B&D]', true);
+ define('MOD_LINK_BANDELETE', '[B&D]', true);
define('MOD_LINK_DELETEFILE', '[F]', true);
define('MOD_LINK_DELETEBYIP', '[D+]', true);
define('MOD_LINK_STICKY', '[Sticky]', true);
diff --git a/inc/display.php b/inc/display.php
index 58f26960..edcbf21b 100644
--- a/inc/display.php
+++ b/inc/display.php
@@ -138,7 +138,7 @@
($index?'':' onclick="highlightReply(' . $this->id . ');"') .
' href="' . $this->root . $board['dir'] . DIR_RES . $this->thread . '.html' . '#' . $this->id . '">No.' .
// JavaScript cite
- 'id . ');"') . 'href="' . ($index?$this->root . $board['dir'] . DIR_RES . $this->thread . '.html' . '#q' . $this->id:'javascript:void(0);') . '">'.$this->id.'' .
+ ''.$this->id.'' .
'
';
// File info
@@ -290,7 +290,7 @@
($index?'':' onclick="highlightReply(' . $this->id . ');"') .
' href="' . $this->root . $board['dir'] . DIR_RES . $this->id . '.html' . '#' . $this->id . '">No.' .
// JavaScript cite
- 'id . ');"') . 'href="' . ($index?$this->root . $board['dir'] . DIR_RES . $this->id . '.html' . '#q' . $this->id:'javascript:void(0);') . '">'.$this->id.'' .
+ ''.$this->id.'' .
// Sticky
($this->sticky ? '' : '') .
// Locked
diff --git a/templates/index.html b/templates/index.html
index 99c60d4f..d0702ba9 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -3,8 +3,7 @@
{board[url]} - {board[name]}
-
-
+
diff --git a/templates/page.html b/templates/page.html
index d8b78898..f8525e01 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -3,7 +3,7 @@
{title}
-
+
diff --git a/templates/thread.html b/templates/thread.html
index 58b5028c..2fd03418 100644
--- a/templates/thread.html
+++ b/templates/thread.html
@@ -3,8 +3,7 @@
{board[url]} - {board[name]}
-
-
+