Changeset 538 for trunk/templates


Ignore:
Timestamp:
11/01/12 16:28:15 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Remove SQL in favour of calls to existing subs on delete confirmation
page. See #34.
Tweak template to remove a stale form variable and tighten
HTML-entities escaping on delete confirmation page. See #3.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/delete.tmpl

    r517 r538  
    2727<tr class="row0">
    2828<td>Circuit ID:</td>
    29 <td><TMPL_VAR NAME=circid></td>
     29<td><TMPL_VAR ESCAPE=HTML NAME=circid></td>
    3030</tr>
    3131
    3232<tr class="row1">
    3333<td valign="top">Description/Name:</td>
    34 <td><TMPL_VAR NAME=desc></td>
     34<td><TMPL_VAR ESCAPE=HTML NAME=desc></td>
    3535</tr>
    3636
     
    4242<TMPL_IF privdata>
    4343<tr class="row1">
    44 <td>Restricted data:</td>
     44<td valign="top">Restricted data:</td>
    4545<td><TMPL_VAR NAME=privdata></td>
    4646</tr>
     
    6060<input type="button" value="Back" onclick="history.go(-1)"><input type="submit" value="Confirm">
    6161<input type="hidden" name="block" value="<TMPL_VAR NAME=block>">
    62 <input type="hidden" name="city" value="<TMPL_VAR NAME=city>">
    6362<input type="hidden" name="alloctype" value="<TMPL_VAR NAME=type>">
    6463<input type="hidden" name="action" value="finaldelete">
Note: See TracChangeset for help on using the changeset viewer.