JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
xhtml -> html5
[wfpl.git] / test / tem_test.php.html
index 6da95d7..385cecb 100644 (file)
@@ -1,9 +1,9 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!DOCTYPE html>
 
 <!-- This file is an example template for wfpl/template.php. It contains two
 special things: sub-templates and template tags. -->
 
-<html xmlns="http://www.w3.org/1999/xhtml">
+<html>
 <head>
   <title></title>
 </head>
@@ -32,7 +32,7 @@ special things: sub-templates and template tags. -->
                putting it in a text file or e-mail then leave the encoding off and
                just put ~user~. -->
 
-        <td><input type="text" name="user" value="~user.attr~" /></td>
+        <td><input type="text" name="user" value="~user.attr~"></td>
       </tr>
 
       <tr>
@@ -40,11 +40,11 @@ special things: sub-templates and template tags. -->
 
         <!-- there's another template tag named pass -->
 
-        <td><input type="password" name="pass" value="~pass.attr~" /></td>
+        <td><input type="password" name="pass" value="~pass.attr~"></td>
       </tr>
 
       <tr>
-        <td colspan="2"><input type="submit" value="Log In" /></td>
+        <td colspan="2"><input type="submit" value="Log In"></td>
       </tr>
     </table>
   </form>
@@ -78,7 +78,7 @@ special things: sub-templates and template tags. -->
          It's simply asking PHP for a value called "foo" encoded as html -->
       <td>~foo.html~</td>
 
-      <td><input value="~bar.attr~" /></td>
+      <td><input value="~bar.attr~"></td>
     </tr>
     <!-- Here's the end of foobar_row -->
     <!--~end~-->
@@ -86,7 +86,7 @@ special things: sub-templates and template tags. -->
     <tr>
       <td></td>
       
-      <td><input type="submit" /></td>
+      <td><input type="submit"></td>
     </tr>
 
   </table>