Browse Source

Valid HTML5

pull/40/head
Savetheinternet 13 years ago
parent
commit
3a3578c805
  1. 2
      inc/config.php
  2. 4
      inc/display.php
  3. 3
      templates/index.html
  4. 2
      templates/page.html
  5. 3
      templates/thread.html

2
inc/config.php

@ -202,7 +202,7 @@
// Correspond to above permission directives // Correspond to above permission directives
define('MOD_LINK_DELETE', '[D]', true); define('MOD_LINK_DELETE', '[D]', true);
define('MOD_LINK_BAN', '[B]', 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_DELETEFILE', '[F]', true);
define('MOD_LINK_DELETEBYIP', '[D+]', true); define('MOD_LINK_DELETEBYIP', '[D+]', true);
define('MOD_LINK_STICKY', '[Sticky]', true); define('MOD_LINK_STICKY', '[Sticky]', true);

4
inc/display.php

@ -138,7 +138,7 @@
($index?'':' onclick="highlightReply(' . $this->id . ');"') . ($index?'':' onclick="highlightReply(' . $this->id . ');"') .
' href="' . $this->root . $board['dir'] . DIR_RES . $this->thread . '.html' . '#' . $this->id . '">No.</a>' . ' href="' . $this->root . $board['dir'] . DIR_RES . $this->thread . '.html' . '#' . $this->id . '">No.</a>' .
// JavaScript cite // JavaScript cite
'<a class="post_no"' . ($index?'':'onclick="citeReply(' . $this->id . ');"') . 'href="' . ($index?$this->root . $board['dir'] . DIR_RES . $this->thread . '.html' . '#q' . $this->id:'javascript:void(0);') . '">'.$this->id.'</a>' . '<a class="post_no"' . ($index?'':' onclick="citeReply(' . $this->id . ');"') . ' href="' . ($index?$this->root . $board['dir'] . DIR_RES . $this->thread . '.html' . '#q' . $this->id:'javascript:void(0);') . '">'.$this->id.'</a>' .
'</p>'; '</p>';
// File info // File info
@ -290,7 +290,7 @@
($index?'':' onclick="highlightReply(' . $this->id . ');"') . ($index?'':' onclick="highlightReply(' . $this->id . ');"') .
' href="' . $this->root . $board['dir'] . DIR_RES . $this->id . '.html' . '#' . $this->id . '">No.</a>' . ' href="' . $this->root . $board['dir'] . DIR_RES . $this->id . '.html' . '#' . $this->id . '">No.</a>' .
// JavaScript cite // JavaScript cite
'<a class="post_no"' . ($index?'':'onclick="citeReply(' . $this->id . ');"') . 'href="' . ($index?$this->root . $board['dir'] . DIR_RES . $this->id . '.html' . '#q' . $this->id:'javascript:void(0);') . '">'.$this->id.'</a>' . '<a class="post_no"' . ($index?'':' onclick="citeReply(' . $this->id . ');"') . ' href="' . ($index?$this->root . $board['dir'] . DIR_RES . $this->id . '.html' . '#q' . $this->id:'javascript:void(0);') . '">'.$this->id.'</a>' .
// Sticky // Sticky
($this->sticky ? '<img class="icon" title="Sticky" src="' . IMAGE_STICKY . '" />' : '') . ($this->sticky ? '<img class="icon" title="Sticky" src="' . IMAGE_STICKY . '" />' : '') .
// Locked // Locked

3
templates/index.html

@ -3,8 +3,7 @@
<head> <head>
<link rel="stylesheet" media="screen" href="{index}style.css"/> <link rel="stylesheet" media="screen" href="{index}style.css"/>
<title>{board[url]} - {board[name]}</title> <title>{board[url]} - {board[name]}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<script type="text/javascript" src="{index}main.js"></script> <script type="text/javascript" src="{index}main.js"></script>
</head> </head>

2
templates/page.html

@ -3,7 +3,7 @@
<head> <head>
<link rel="stylesheet" media="screen" href="{index}style.css"/> <link rel="stylesheet" media="screen" href="{index}style.css"/>
<title>{title}</title> <title>{title}</title>
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
</head> </head>
<body> <body>

3
templates/thread.html

@ -3,8 +3,7 @@
<head> <head>
<link rel="stylesheet" media="screen" href="{index}style.css"/> <link rel="stylesheet" media="screen" href="{index}style.css"/>
<title>{board[url]} - {board[name]}</title> <title>{board[url]} - {board[name]}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<script type="text/javascript" src="{index}main.js"></script> <script type="text/javascript" src="{index}main.js"></script>
</head> </head>

Loading…
Cancel
Save