+++ /dev/null
-[%- USE T8 %]
-[% USE HTML %]<body class="admin">
-
- <h2>[% title %]</h2>
-
- [% IF ALL_UPDATED %]
- [% 'All Datasets up to date!' | $T8 %]
-
- [% ELSE %]
-
- <form method="post" action="admin.pl">
-
- <p>[% 'The following Datasets need to be updated' | $T8 %]:</p>
-
- <table>
- <tr>
- <th class="listtop">[% 'Update?' | $T8 %]</th>
- <th class="listtop">[% 'Dataset' | $T8 %]</th>
- <th class="listtop">[% 'Driver' | $T8 %]</th>
- <th class="listtop">[% 'Host' | $T8 %]</th>
- <th class="listtop">[% 'Port' | $T8 %]</th>
- <th class="listtop">[% 'User' | $T8 %]</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' | $T8 %]">
-
- </form>
-
- [% END %]
-
-</body>
-</html>