Lieferwertbericht um Filter nach Warengruppen erweitert
[kivitendo-erp.git] / templates / webpages / admin / check_auth_tables.html
index 64ef01b..13a89f4 100644 (file)
@@ -1,7 +1,7 @@
 [%- USE T8 %]
-[% USE HTML %]<body>
+[%- 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 &quot;Back&quot; button, edit the file &quot;config/authentication.pl&quot; 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="rpw" value="[% HTML.escape(rpw) %]">
-  <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>
-
-</body>
-</html>