chiark / gitweb /
*.fhtml: Use double quotes for HTML attributes.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 8 Mar 2013 07:23:16 +0000 (07:23 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 8 Mar 2013 07:23:16 +0000 (07:23 +0000)
Makes them highlight better in Emacs.

cookies.fhtml
list.fhtml
login.fhtml
wrapper.fhtml

index 66863cd9834741d95930453efbc25f508867b06d..f8862b33d9e68adef882d5b0d77160516d5cd800 100644 (file)
@@ -74,7 +74,7 @@ that if UTC had existed back then in its current form).
 <dd>This is just a random string.  When you change a password, the server
 checks that the request includes a copy of this nonce, as a protection
 against
 <dd>This is just a random string.  When you change a password, the server
 checks that the request includes a copy of this nonce, as a protection
 against
-<a href='http://en.wikipedia.org/wiki/Cross-site_request_forgery'><em>cross-site
+<a href="http://en.wikipedia.org/wiki/Cross-site_request_forgery"><em>cross-site
 request forgery</em></a> attacks.
 
 <dt>Tag
 request forgery</em></a> attacks.
 
 <dt>Tag
@@ -89,7 +89,7 @@ haven&rsquo;t been modfied by an attacker.
 behavioural advertising scheme?</h2>
 
 <p>That&rsquo;s tricky.  I could tell you that this program is
 behavioural advertising scheme?</h2>
 
 <p>That&rsquo;s tricky.  I could tell you that this program is
-<a href='http://www.gnu.org/philosophy/free-sw.html'>free software</a>, and
+<a href="http://www.gnu.org/philosophy/free-sw.html">free software</a>, and
 that you can
 <a href="~={script}H/~={package}H-~={version}H.tar.gz">">download its
 source code</a> and check for yourself.
 that you can
 <a href="~={script}H/~={package}H-~={version}H.tar.gz">">download its
 source code</a> and check for yourself.
index b30f7085b9243c9048a452a35c4cfebc2bf3ecd5..a1b3f2c286d2769b68c771986e634ba70d9dbe2d 100644 (file)
@@ -26,7 +26,7 @@
 
 <h1>Chopwood: accounts list</h1>
 
 
 <h1>Chopwood: accounts list</h1>
 
-<form method=POST action='~={script}H'>
+<form method=POST action="~={script}H">
 
 <div class=expand-outer>
 <div class=expand-inner>
 
 <div class=expand-outer>
 <div class=expand-inner>
@@ -39,7 +39,7 @@
       ~={@.service}H: ~={@.friendly}:H~={@.alias}@[ (~H)~]~*~}
     </select>
 </table>
       ~={@.service}H: ~={@.friendly}:H~={@.alias}@[ (~H)~]~*~}
     </select>
 </table>
-<script type'text/javascript'><!--
+<script type="text/javascript"><!--
         function check_accounts() {
           if (elt('acct-list').selectedIndex == -1)
             return 'No accounts selected.';
         function check_accounts() {
           if (elt('acct-list').selectedIndex == -1)
             return 'No accounts selected.';
@@ -72,7 +72,7 @@
 <tr>
   <td colspan=3 class=whinge id=set-whinge align=center>OK
 </table>
 <tr>
   <td colspan=3 class=whinge id=set-whinge align=center>OK
 </table>
-<script type'text/javascript'><!--
+<script type="text/javascript"><!--
         function check_partial_passwd() {
           if (elt('set-first').value != '' ||
               elt('set-second').value != '')
         function check_partial_passwd() {
           if (elt('set-first').value != '' ||
               elt('set-second').value != '')
@@ -98,7 +98,7 @@
 <button type=submit id=reset-submit accesskey=g
         name=%act value=reset><u>G</u>enerate</button>
 <span class=whinge id=reset-whinge>OK</span>
 <button type=submit id=reset-submit accesskey=g
         name=%act value=reset><u>G</u>enerate</button>
 <span class=whinge id=reset-whinge>OK</span>
-<script type='text/javascript'><!--
+<script type="text/javascript"><!--
         FORMS.reset = {
           check: function () {
             return check_accounts() || check_partial_passwd();
         FORMS.reset = {
           check: function () {
             return check_accounts() || check_partial_passwd();
 <button type=submit id=clear-submit accesskey=c
         name=%act value=clear><u>C</u>lear</button>
 <span class=whinge id=clear-whinge>OK</span>
 <button type=submit id=clear-submit accesskey=c
         name=%act value=clear><u>C</u>lear</button>
 <span class=whinge id=clear-whinge>OK</span>
-<script type='text/javascript'><!--
+<script type="text/javascript"><!--
         FORMS.clear = {
           check: function () {
             return check_accounts() || check_partial_passwd();
         FORMS.clear = {
           check: function () {
             return check_accounts() || check_partial_passwd();
 </div>
 </div>
 
 </div>
 </div>
 
-<input type=hidden name=%nonce value='~={nonce}H'>
+<input type=hidden name=%nonce value="~={nonce}H">
 </form>
 
 ~1[<!------- That's all, folks ------------------------------------------>~]~
 </form>
 
 ~1[<!------- That's all, folks ------------------------------------------>~]~
index 44d3d1e70938c3d8414055ea1467a8c832b09165..b88594b2243d553291f3fb80c490bcd1c99ce83a 100644 (file)
@@ -26,9 +26,9 @@
 
 <h1>Chopwood: login</h1>
 
 
 <h1>Chopwood: login</h1>
 
-~={why}@[<p class='whinge wrong'>~:H~2%~]~
+~={why}@[<p class="whinge wrong">~:H~2%~]~
 
 
-<form method=POST action='~={script}H/auth'>
+<form method=POST action="~={script}H/auth">
 <table>
 <tr>
   <td class=label><label for=login-u accesskey=l><u>L</u>ogin:</label>
 <table>
 <tr>
   <td class=label><label for=login-u accesskey=l><u>L</u>ogin:</label>
@@ -42,6 +42,6 @@
 
 <p>Logging in will set a short-lived cookie in your browser.  If this
 worries you, you might like to read about
 
 <p>Logging in will set a short-lived cookie in your browser.  If this
 worries you, you might like to read about
-<a href='~={static}H/cookies.html'>why and how Chopwood uses cookies<a>.
+<a href="~={static}H/cookies.html">why and how Chopwood uses cookies<a>.
 
 ~1[<!------- That's all, folks ------------------------------------------>~]~
 
 ~1[<!------- That's all, folks ------------------------------------------>~]~
index 425e05f8770aba5211c84e58232df714545e87fa..e7265d1600ba46750a06c50f75188cba23a521f1 100644 (file)
   -- <http://www.gnu.org/licenses/>.
   -->~]~
 
   -- <http://www.gnu.org/licenses/>.
   -->~]~
 
-<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01//EN'
-          'http://www.w3c.org/TR/html4/strict.dtd'>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+          "http://www.w3c.org/TR/html4/strict.dtd">
 <html>
 <head>
   <title>~={title}H</title>
 <html>
 <head>
   <title>~={title}H</title>
-  <link rel=stylesheet type='text/css' media=screen
-       href='~={static}H/chpwd.css'>
-  <script type='text/javascript' src='~={static}H/chpwd.js'></script>
+  <link rel=stylesheet type="text/css" media=screen
+       href="~={static}H/chpwd.css">
+  <script type="text/javascript" src="~={static}H/chpwd.js"></script>
 </head>
 
 <body>
 </head>
 
 <body>