Ignore:
Timestamp:
10/12/12 15:48:06 (12 years ago)
Author:
Kris Deugau
Message:

/branches/htmlform

Finally dug up a least-nasty way to effectively get rid of the
useless <legend> tag (required in a <fieldset>, in turn required
in a <form>, if you want to be valid HTML 4.01 Strict).
See #3.

Location:
branches/htmlform/templates/admin
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • branches/htmlform/templates/admin/alloc.tmpl

    r511 r513  
    33<TMPL_ELSE>
    44<form method="POST" action="admin.cgi">
    5 <fieldset><legend></legend>
     5<fieldset><legend class="noshow">&nbsp;</legend>
    66<table class="regular">
    77<tr class="row0">
  • branches/htmlform/templates/admin/edcust.tmpl

    r483 r513  
    11<form action="admin.cgi" method="POST">
    2 <fieldset><legend></legend>
     2<fieldset><legend class="noshow">&nbsp;</legend>
    33<input type="hidden" name="action" value="updcust">
    44<table border="1">
  • branches/htmlform/templates/admin/ednotice.tmpl

    r487 r513  
    11<h4>Editing recipient list for '<TMPL_VAR NAME=dispnotice>':</h4>
    22<form action="admin.cgi" method="POST">
    3 <fieldset><legend></legend>
     3<fieldset><legend class="noshow">&nbsp;</legend>
    44<input type="hidden" name="code" value="<TMPL_VAR NAME=code>">
    55<input type="hidden" name="action" value="updnotice">
  • branches/htmlform/templates/admin/emailnotice.tmpl

    r487 r513  
    1919
    2020<form action=admin.cgi method="POST">
    21 <fieldset><legend></legend>
     21<fieldset><legend class="noshow">&nbsp;</legend>
    2222<input type="hidden" name="action" value="addnotice">
    2323<table border="1">
  • branches/htmlform/templates/admin/listcust.tmpl

    r483 r513  
    11Add new entry:
    22<form action="admin.cgi" method="POST">
    3 <fieldset><legend></legend>
     3<fieldset><legend class="noshow">&nbsp;</legend>
    44<input type="hidden" name="action" value="edcust">
    55<input type="hidden" name="newcust" value="1">
  • branches/htmlform/templates/admin/main.tmpl

    r483 r513  
    33main interface if at all possible.</div>
    44<hr>
    5 <form action="admin.cgi" method="POST"><fieldset><legend></legend>
     5<form action="admin.cgi" method="POST"><fieldset><legend class="noshow">&nbsp;</legend>
    66
    77<input type="hidden" name="action" value="alloc">
     
    1616
    1717<hr>
    18 <form action="admin.cgi" method="POST"><fieldset><legend></legend>
     18<form action="admin.cgi" method="POST"><fieldset><legend class="noshow">&nbsp;</legend>
    1919<input type="hidden" name="action" value="alloctweak">
    2020Manually update allocation data in this /24: <input name="allocfrom">
     
    2525<div>
    2626rWHOIS tools:
    27 <form action="admin.cgi" method="POST"><fieldset><legend></legend>
     27<form action="admin.cgi" method="POST"><fieldset><legend class="noshow">&nbsp;</legend>
    2828<input type="hidden" name="action" value="touch">
    2929Bump "last updated" timestamp on this master:
  • branches/htmlform/templates/admin/showallocs.tmpl

    r487 r513  
    44<tr>
    55<form action="admin.cgi" method="POST">
    6 <fieldset><legend></legend>
     6<fieldset><legend class="noshow">&nbsp;</legend>
    77<input type="hidden" name="action" value="update">
    88<td><TMPL_VAR NAME=cidr><input type="hidden" value="<TMPL_VAR NAME=cidr>" name=block></td>
  • branches/htmlform/templates/admin/showusers.tmpl

    r484 r513  
    55</ul>
    66<hr>Add new user:<form action="admin.cgi" method="POST">
    7 <fieldset><legend></legend>
     7<fieldset><legend class="noshow">&nbsp;</legend>
    88Username: <input name=username><br>
    99Password: <input name=password> <input type=checkbox name=preenc>Password is pre-encrypted (MUST be crypt() encrypted)<br>
     
    2020<tr>
    2121<form action="admin.cgi" method="POST">
    22 <fieldset><legend></legend>
     22<fieldset><legend class="noshow">&nbsp;</legend>
    2323<input type="hidden" name="action" value="updacl">
    2424<td><TMPL_VAR NAME=username><input type="hidden" name="username" value="<TMPL_VAR NAME=username>"></td>
     
    3232<td>
    3333<form action="admin.cgi" method="POST">
    34 <fieldset><legend></legend>
     34<fieldset><legend class="noshow">&nbsp;</legend>
    3535<input type=hidden name=action value=deluser>
    3636<input type=hidden name=username value="<TMPL_VAR NAME=username>">
  • branches/htmlform/templates/admin/tweakpool.tmpl

    r487 r513  
    11Listing pool <TMPL_VAR NAME=pool>:
    22<form action="admin.cgi" method="POST">
    3 <fieldset><legend></legend>
     3<fieldset><legend class="noshow">&nbsp;</legend>
    44<input type="hidden" name="action" value="updatepool">
    55<table border="1">
Note: See TracChangeset for help on using the changeset viewer.