]> arthur.barton.de Git - ngircd-web.git/commitdiff
Use "<!DOCTYPE html>", and fix some validation errors
authorAlexander Barton <alex@barton.de>
Wed, 1 Jan 2020 21:49:30 +0000 (22:49 +0100)
committerAlexander Barton <alex@barton.de>
Wed, 1 Jan 2020 21:49:30 +0000 (22:49 +0100)
common/help.inc
includes/common.php
index.php.de
index.php.en

index 0acabb1375ea3e1b1923602595c3abc4c2d4eef9..e95de606c4e90aa72b74e20ba1b597ebc9a3e39d 100644 (file)
@@ -6,7 +6,7 @@ This is free software; see the source for copying conditions. There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
   -d, --debug        log extra debug messages
-  -f, --config <f>   use file <f> as configuration file
+  -f, --config &lt;f&gt;   use file &lt;f&gt; as configuration file
   -n, --nodaemon     don't fork and don't detach from controlling terminal
   -p, --passive      disable automatic connections to other servers
   -s, --sniffer      enable network sniffer and display all IRC traffic
index 236885bd58cbfe7cc9ab045d3f77de645f569c7f..b01e73231af6a052bd835cb4228c4497b2c41808 100644 (file)
@@ -1,8 +1,7 @@
 <?php
 
 function begin_page($lang = 'en', $title = null) {
-       echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" ';
-       echo '"http://www.w3.org/TR/html4/strict.dtd">' . "\n\n";
+       echo '<!DOCTYPE html>';
        echo '<html lang="' . $lang . '">' . "\n";
        echo '<head>';
        if ($title)
@@ -10,14 +9,13 @@ function begin_page($lang = 'en', $title = null) {
        else
                echo '<title>ngIRCd: Next Generation IRC Daemon</title>';
        echo '<meta http-equiv="content-type" content="text/html; charset=utf-8">';
-       echo '<meta http-equiv="content-language" content="' . $lang . '">';
        echo '<meta name="author" content="Alexander Barton">';
        echo '<meta name="author-email" content="alex@barton.de">';
        echo '<meta name="MSSmartTagsPreventParsing" content="TRUE">';
        echo '<link rel="stylesheet" href="common/styles.css" type="text/css" media="screen">';
        echo '<link rel="author" href="mailto:alex@barton.de" title="E-Mail an Alex">';
-       echo '<script type="text/javascript" src="common/mootools.js"></script>';
-       echo '<script type="text/javascript" src="common/slide.js"></script>';
+       echo '<script src="common/mootools.js"></script>';
+       echo '<script src="common/slide.js"></script>';
        echo "</head>\n<body>";
        echo '<div id="bodyBox">';
 
index f1b8ca3392816f87f24f6462075b401f035dd85f..e762217b06c5e1174b0561475d1390b75e5ff5c9 100644 (file)
@@ -51,7 +51,7 @@
        </li>
 </ul>
 <div id="preview">
-       <code><a id="v_toggle" href="#" name="v_toggle">ngircd --help</a></code><br>
+       <code><a id="v_toggle" href="#">ngircd --help</a></code><br>
        <div id="vertical_slide">
                <samp><?php include 'common/help.inc' ?></samp>
        </div>
index a4e1d74f25e5988e3f8902610a8f36df3c795269..2e734b5f5a868328899116d2e901596e1594dac9 100644 (file)
@@ -48,7 +48,7 @@
        </li>
 </ul>
 <div id="preview">
-       <code><a id="v_toggle" href="#" name="v_toggle">ngircd --help</a></code><br>
+       <code><a id="v_toggle" href="#">ngircd --help</a></code><br>
        <div id="vertical_slide">
                <samp><?php include 'common/help.inc' ?></samp>
        </div>