3 [%- USE LxERP %][%- USE L -%]
4 <form name="Form" method="post" action="controller.pl">
6 <input type="hidden" name="action" value="LoginScreen/login">
7 <p><input type="button" class="submit" onclick="history.back()" value="[% 'Back' | $T8 %]"></p>
8 <p class="message_hint">
9 [% LxERP.t8('kivitendo is about to update the database [ #1 ].', dbname) | html %]
12 [% IF superuser.need_privileges && !superuser.have_privileges %]
14 [% LxERP.t8("Database superuser privileges are required for the update.") %]
15 [% LxERP.t8("Please provide corresponding credentials.") %]
18 [% IF superuser.error %]
19 <p>[% LxERP.t8("Error: #1", superuser.error) %]</p>
24 <td>[% LxERP.t8("User name") %]:</td>
25 <td>[% L.input_tag("database_superuser_username", superuser.username) %]</td>
29 <td>[% LxERP.t8("Password") %]:</td>
30 <td>[% L.input_tag("database_superuser_password", superuser.password, type="password") %]</td>
36 [% 'You should create a backup of the database before proceeding because the backup might not be reversible.' | $T8 %]
39 <input type="submit" name="dummy" value="[% 'Continue' | $T8 %]">
43 <a href="#" onclick="$('#details,#nodetails').toggle();">[% LxERP.t8('Show details') %]</a>
46 <div id="details" style="display: none;">
48 <a href="#" onclick="$('#details,#nodetails').toggle();">[% LxERP.t8('Hide details') %]</a>
52 [% LxERP.t8("List of database upgrades to be applied:") %]
56 [% FOREACH upgrade_script = unapplied_scripts %]
57 <li>[% HTML.escape(upgrade_script.tag) %]: [% HTML.escape(upgrade_script.description) %]</li>