[%- USE T8 %]
-[%- USE HTML %]
+[%- USE HTML %][%- USE LxERP -%][%- USE L -%]
- <div class="listtop">[% title %]</div>
+ <h1>[% title %]</h1>
<p>
[% 'The tables for user management and authentication do not exist. They will be created in the next step in the following database:' | $T8 %]
<table border="0">
<tr>
<td>[% 'Host' | $T8 %]:</td>
- <td>[% HTML.escape(db_host) %]</td>
+ <td>[% HTML.escape(SELF.db_cfg.host) %]</td>
</tr>
<tr>
<td>[% 'Port' | $T8 %]:</td>
- <td>[% HTML.escape(db_port) %]</td>
+ <td>[% HTML.escape(SELF.db_cfg.port) %]</td>
</tr>
<tr>
<td>[% 'User name' | $T8 %]:</td>
- <td>[% HTML.escape(db_user) %]</td>
+ <td>[% HTML.escape(SELF.db_cfg.user) %]</td>
</tr>
<tr>
<td>[% 'Database name' | $T8 %]:</td>
- <td>[% HTML.escape(db_db) %]</td>
+ <td>[% HTML.escape(SELF.db_cfg.db) %]</td>
</tr>
</table>
<p>
- [% 'If you want to change any of these parameters then press the "Back" button, edit the file "config/lx_office.conf" and login into the admin module again.' | $T8 %]
+ [% 'If you want to change any of these parameters then press the "Back" button, edit the file "config/kivitendo.conf" and login into the admin module again.' | $T8 %]
</p>
- <form method="post" action="admin.pl">
-
- <input type="hidden" name="{AUTH}admin_password" value="[% HTML.escape(admin_password) %]">
- <input type="hidden" name="action" value="create_auth_tables">
-
- <input type="submit" class="submit" value="[% 'Create tables' | $T8 %]">
- <input type="button" class="submit" onclick="history.back()" value="[% 'Back' | $T8 %]">
+ <form method="post" action="controller.pl">
+ [%- L.hidden_tag("action", 'Admin/create_auth_tables') %]
+ [%- L.hidden_tag("{AUTH}admin_password", LXCONFIG.authentication.admin_password) %]
+ [% L.submit_tag("dummy", LxERP.t8("Create tables")) %]
+ [% L.button_tag("history.back()", LxERP.t8("Back")) %]
</form>
-