]> wagnertech.de Git - mfinanz.git/blob - templates/design40_webpages/admin/check_auth_database.html
date error in mapping
[mfinanz.git] / templates / design40_webpages / admin / check_auth_database.html
1 [% USE T8 %]
2 [% USE HTML %]
3 [% USE L %]
4 [% USE LxERP %]
5
6 <h1>[% title %]</h1>
7
8 <form method="post" action="controller.pl">
9   [% L.hidden_tag("action", 'Admin/create_auth_db') %]
10   [% L.hidden_tag("{AUTH}admin_password", LXCONFIG.authentication.admin_password) %]
11
12   <p>[% 'The database for user management and authentication does not exist. You can create let kivitendo create it with the following parameters:' | $T8 %]</p>
13
14   <table class="tbl-horizontal">
15     <tr>
16       <th>[% 'Host' | $T8 %]:</th>
17       <td>[% HTML.escape(SELF.db_cfg.host) %]</td>
18     </tr>
19     <tr>
20       <th>[% 'Port' | $T8 %]:</th>
21       <td>[% HTML.escape(SELF.db_cfg.port) %]</td>
22     </tr>
23     <tr>
24       <th>[% 'User name' | $T8 %]:</th>
25       <td>[% HTML.escape(SELF.db_cfg.user) %]</td>
26     </tr>
27     <tr>
28       <th>[% 'Database name' | $T8 %]:</th>
29       <td>[% HTML.escape(SELF.db_cfg.db) %]</td>
30     </tr>
31   </table>
32
33   <p>[% 'Please enter the name of the database that will be used as the template for the new database:' | $T8 %]</p>
34
35   <p>[% 'Template database' | $T8 %]: [% L.input_tag('db_template', "template1") %]</p>
36
37   <p>[% 'If the database user listed above does not have the right to create a database then enter the name and password of the superuser below:' | $T8 %]</p>
38
39   <table class="tbl-horizontal">
40     <tr>
41       <th>[% 'Superuser name' | $T8 %]:</th>
42       <td>[% L.input_tag('db_superuser', AUTH.DB_config.user, class="initial_focus") %]</td>
43     </tr>
44     <tr>
45       <th>[% 'Password' | $T8 %]:</th>
46       <td>[% L.input_tag('db_superuser_password', AUTH.DB_config.password, type='password') %]</td>
47     </tr>
48   </table>
49
50   [% L.submit_tag("dummy", LxERP.t8("Create Dataset")) %]
51   [% L.button_tag("history.back()", LxERP.t8("Back")) %]
52 </form>
53