--- /dev/null
+[% USE HTML %]<body class="admin">
+
+ <h2>[% title %]</h2>
+
+ [% IF ALL_UPDATED %]
+ All Datasets up to date!
+
+ [% ELSE %]
+
+ <form method="post" action="admin.pl">
+
+ <p>The following Datasets need to be updated:</p>
+
+ <table>
+ <tr>
+ <th class="listtop">Update?</th>
+ <th class="listtop">Dataset</th>
+ <th class="listtop">Driver</th>
+ <th class="listtop">Host</th>
+ <th class="listtop">Port</th>
+ <th class="listtop">User</th>
+ </tr>
+
+ [% FOREACH row = NEED_UPDATES %]
+ <tr class="listrow[% loop.count % 2 %]">
+ <td><input type="checkbox" name="update_[% loop.count %]" id="update_[% loop.count %]" value="1" checked></td>
+ <td>
+ <input type="hidden" name="dbname_[% loop.count %]" value="[% HTML.escape(row.dbname) %]">
+ <label for="update_[% loop.count %]">[% HTML.escape(row.dbname) %]</label>
+ </td>
+ <td><input type="hidden" name="dbdriver_[% loop.count %]" value="Pg">PostgreSQL</td>
+ <td><input type="hidden" name="dbhost_[% loop.count %]" value="[% HTML.escape(row.dbhost) %]">[% HTML.escape(row.dbhost) %]</td>
+ <td><input type="hidden" name="dbport_[% loop.count %]" value="[% HTML.escape(row.dbport) %]">[% HTML.escape(row.dbport) %]</td>
+ <td><input type="hidden" name="dbuser_[% loop.count %]" value="[% HTML.escape(row.dbuser) %]">[% HTML.escape(row.dbuser) %]</td>
+ </tr>
+
+ [% END %]
+ </table>
+
+ <input type="hidden" name="rowcount" value="[% NEED_UPDATES.size %]">
+
+ <input name="callback" type="hidden" value="admin.pl?action=list_users">
+ <input type="hidden" name="nextsub" value="dbupdate">
+
+ <hr size="3" noshade>
+
+ <br>
+
+ <input type="submit" class="submit" name="action" value="Continue">
+
+ </form>
+
+ [% END %]
+
+</body>
+</html>