Commits

Luke Plant committed c24d4c8

Switched to HTML4 and fixed some errors

Comments (0)

Files changed (3)

src/templates/login.st

       <td>$passwordWidget$</td>
     </tr>
   </table>
-  <input type="submit" name="login" value="Login" />
+  <div>
+    <input type="submit" name="login" value="Login" />
+  </div>
 </form>
 
 $pageend()$

src/templates/pagestart.st

-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html lang="en">
   <head>
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     $if(atomfeedurl)$
-    <link rel="alternate" type="application/atom+xml"
-    title="$if(atomfeedtitle)$$atomfeedtitle$$else$Atom feed$endif$"
-    href="$atomfeedurl$" />
+    <link rel="alternate" type="application/atom+xml" title="$if(atomfeedtitle)$$atomfeedtitle$$else$Atom feed$endif$" href="$atomfeedurl$">
     $endif$
-    <link rel="StyleSheet" href="/newblog.css" type="text/css" />
-    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
-    <!--[if lte IE 6]><link rel="stylesheet" href="/newblog_IE6.css" type="text/css" /><![endif]-->
+    <link rel="StyleSheet" href="/newblog.css" type="text/css">
+    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
+    <!--[if lte IE 6]><link rel="stylesheet" href="/newblog_IE6.css" type="text/css"><![endif]-->
     <title>
       $if(pagetitle)$
         $pagetitle$ « All Unkept

src/templates/post.st

           <td>$formatWidget$</td>
         </tr>
       </table>
-      $messageWidget$
-      <br>
-      <input type="submit" name="submit" value="Submit" />
-      <input type="submit" name="preview" value="Preview" />
-
+      <div>$messageWidget$</div>
+      <div>
+        <input type="submit" name="submit" value="Submit" />
+        <input type="submit" name="preview" value="Preview" />
+      </div>
     </form>
   </div>
 $else$
     $related:{
       <li><a href="$it.url$">$it.title$</a></li>
     }$
+    </ul>
   </div>
 $endif$
 $pageend()$
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.