Changeset 99 for trunk


Ignore:
Timestamp:
07/06/11 16:03:47 (13 years ago)
Author:
Kris Deugau
Message:

/trunk/templates

XHTML validation tweaks
menu.tmpl

checked="checked"

grptree.tmpl

checked="checked"
make sure label names don't begin with number (O_o)

header.tmpl

close singleton tags with ' />'
add comment about validation of IE [if] constructs
remove extra title tags in IE [if] constructs

Location:
trunk/templates
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/grptree.tmpl

    r69 r99  
    11<TMPL_VAR NAME=indent><ul class="grptree">
    22<TMPL_LOOP NAME=treelvl><TMPL_VAR NAME=indent>  <li class="<TMPL_IF NAME=subs>hassub<TMPL_ELSE>leaf</TMPL_IF>">
    3 <TMPL_IF name=subs><TMPL_VAR NAME=indent>    <label for="<TMPL_VAR NAME=grpname>"><TMPL_VAR NAME=grpdisp></label>
    4 <TMPL_VAR NAME=indent>    <input type="checkbox" class="grptreebox" checked id="<TMPL_VAR NAME=grpname>" /><TMPL_ELSE><TMPL_VAR NAME=indent>    <TMPL_VAR NAME=grpdisp></TMPL_IF>
     3<TMPL_IF name=subs><TMPL_VAR NAME=indent>    <label for="grp_<TMPL_VAR NAME=grpname>"><TMPL_VAR NAME=grpdisp></label>
     4<TMPL_VAR NAME=indent>    <input type="checkbox" class="grptreebox" checked="checked" id="grp_<TMPL_VAR NAME=grpname>" /><TMPL_ELSE><TMPL_VAR NAME=indent>    <TMPL_VAR NAME=grpdisp></TMPL_IF>
    55<TMPL_VAR NAME=subs><TMPL_VAR NAME=indent>  </li>
    66</TMPL_LOOP><TMPL_VAR NAME=indent></ul>
  • trunk/templates/header.tmpl

    r84 r99  
    55        <title>tinyDNS Administration</title>
    66        <!-- General stylesheet for most content, all browsers -->
    7         <link rel="stylesheet" type="text/css" href="templates/dns.css">
     7        <link rel="stylesheet" type="text/css" href="templates/dns.css" />
    88
     9        <!--
     10          Fair warning:  this does NOT validate according to the DTD above!
     11          Unlike in the body these if/endif constructs don't work for IE6 if
     12          fully embedded in proper comment tags.  >:(
     13        -->
    914        <!-- Load a secondary stylesheet for the group tree for IE ... -->
    1015        <![if IE]>
    11         <title>css tree test page - Internet Exploder</title>
    12         <link rel="stylesheet" type="text/css" href="templates/grouptree-ie.css">
     16        <link rel="stylesheet" type="text/css" href="templates/grouptree-ie.css" />
    1317        <![endif]>
    1418
    1519        <!-- ... and now override the IE glop with the nifty CSS-only collapsing tree -->
    1620        <![if !IE]>
    17         <title>css tree test page - Real Browsers(TM)</title>
    18         <link rel="stylesheet" type="text/css" href="templates/grouptree.css">
     21        <link rel="stylesheet" type="text/css" href="templates/grouptree.css" />
    1922        <![endif]>
    2023    </head>
  • trunk/templates/menu.tmpl

    r69 r99  
    2727  <li class="<TMPL_IF NAME=subs>hassub<TMPL_ELSE>leaf</TMPL_IF>">
    2828<TMPL_IF name=subs>    <label for="<TMPL_VAR NAME=logingrp>"><TMPL_IF inlogingrp><b><TMPL_VAR NAME=logingrp></b><TMPL_ELSE><TMPL_VAR NAME=logingrp></TMPL_IF></label>
    29     <input type="checkbox" checked id="<TMPL_VAR NAME=logingrp>" /><TMPL_ELSE>
     29    <input type="checkbox" checked="checked" id="<TMPL_VAR NAME=logingrp>" /><TMPL_ELSE>
    3030    <TMPL_IF inlogingrp><b><TMPL_VAR NAME=logingrp></b><TMPL_ELSE><TMPL_VAR NAME=logingrp></TMPL_IF></TMPL_IF>
    3131<TMPL_VAR NAME=grptree>
Note: See TracChangeset for help on using the changeset viewer.