source: trunk/templates/newcity.tmpl@ 847

Last change on this file since 847 was 517, checked in by Kris Deugau, 12 years ago

/trunk

Finally merge conversion to HTML::Template from /branches/htmlform

  • Node "hack" showed conflict due to having been added to all branches in parallel
  • editDisplay.html was apparently changed enough that the merged delete caused an irrelevant conflict

Closes #3.

File size: 1.1 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2<html>
3<head>
4 <title>IP Database - Add new city</title>
5 <link rel="stylesheet" type="text/css" href="<TMPL_VAR NAME=webpath>/ipdb.css">
6 <link rel="stylesheet" type="text/css" href="<TMPL_VAR NAME=webpath>/local.css">
7 <script src="<TMPL_VAR NAME=webpath>/templates/widgets.js" type="text/javascript"></script>
8</head>
9
10<body onUnload="redoParent()">
11<TMPL_IF city>
12<div style="padding=3px;">
13<TMPL_IF err>
14Error adding city <TMPL_VAR NAME=city> to database: <TMPL_VAR NAME=err>
15<TMPL_ELSE>
16City <TMPL_VAR NAME=city> added. Closing this window should refresh the page.
17</TMPL_IF>
18</div>
19<TMPL_ELSE>
20<form action="newcity.cgi" method="POST">
21<fieldset><legend class="noshow">&nbsp;</legend>
22<table>
23<tr class="color1"><td>Enter new city:</td><td><input name="city"></td></tr>
24<tr class="color2"><td>POP site?</td><td><input type=checkbox name="pop"></td></tr>
25<tr class="color1"><td colspan=2 align=center><input type=submit value="Add city"></td></tr>
26</table>
27</fieldset>
28</form>
29</TMPL_IF>
30</body>
31</html>
Note: See TracBrowser for help on using the repository browser.