Report-Generator: Spaltenüberschriften in HTML- und PDF-Ausgaben nicht erneut HTML...
[kivitendo-erp.git] / templates / webpages / admin / update_dataset_master.html
1 [% USE HTML %]<body class="admin">
2
3  <h2>[% title %]</h2>
4
5  [% IF ALL_UPDATED %]
6   <translate>All Datasets up to date!</translate>
7
8   [% ELSE %]
9
10   <form method="post" action="admin.pl">
11
12    <p><translate>The following Datasets need to be updated</translate>:</p>
13
14    <table>
15     <tr>
16      <th class="listtop"><translate>Update?</translate></th>
17      <th class="listtop"><translate>Dataset</translate></th>
18      <th class="listtop"><translate>Driver</translate></th>
19      <th class="listtop"><translate>Host</translate></th>
20      <th class="listtop"><translate>Port</translate></th>
21      <th class="listtop"><translate>User</translate></th>
22     </tr>
23
24     [% SET odd = '1' %][% USE NEED_UPDATES_it = Iterator(NEED_UPDATES) %][% FOREACH row = NEED_UPDATES_it %]
25      <tr class="listrow[% IF odd %]1[% SET odd='0' %][% ELSE %]0[% SET odd = '1' %][% END %]">
26       <td><input type="checkbox" name="update_[% NEED_UPDATES_it.count %]" value="1" checked></td>
27       <td><input type="hidden" name="dbname_[% NEED_UPDATES_it.count %]" value="[% HTML.escape(row.dbname) %]">[% HTML.escape(row.dbname) %]</td>
28       <td><input type="hidden" name="dbdriver_[% NEED_UPDATES_it.count %]" value="Pg">PostgreSQL</td>
29       <td><input type="hidden" name="dbhost_[% NEED_UPDATES_it.count %]" value="[% HTML.escape(row.dbhost) %]">[% HTML.escape(row.dbhost) %]</td>
30       <td><input type="hidden" name="dbport_[% NEED_UPDATES_it.count %]" value="[% HTML.escape(row.dbport) %]">[% HTML.escape(row.dbport) %]</td>
31       <td><input type="hidden" name="dbuser_[% NEED_UPDATES_it.count %]" value="[% HTML.escape(row.dbuser) %]">[% HTML.escape(row.dbuser) %]</td>
32      </tr>
33
34      [% IF NEED_UPDATES_it.last %]
35       <input type="hidden" name="rowcount" value="[% NEED_UPDATES_it.size %]">
36      [% END %]
37     [% END %]
38    </table>
39
40    <input name="callback" type="hidden" value="admin.pl?action=list_users&rpw=[% HTML.url(rpw) %]">
41    <input type="hidden" name="rpw" value="[% HTML.escape(rpw) %]">
42    <input type="hidden" name="nextsub" value="dbupdate">
43
44    <hr size="3" noshade>
45
46    <br>
47
48    <input type="submit" class="submit" name="action" value="<translate>Continue</translate>">
49
50   </form>
51
52  [% END %]
53
54 </body>
55 </html>