Dateimanagement: anderes colspan bei Bilder berücksichtigen
[kivitendo-erp.git] / templates / webpages / admin / test_db_connection.html
index 657f48b..4c71010 100644 (file)
@@ -1,29 +1,19 @@
-[%- USE T8 %]
-[%- USE HTML %]
-<body>
+[%- USE HTML %][%- USE LxERP -%][%- USE L -%]
+[%- IF ok %]
 
- <div class="listtop">[% title %]</div>
+ <p class="message_ok">[% LxERP.t8('The connection was established successfully.') %]</p>
 
- [%- IF connection_ok %]
-
- <p class="message_ok">[% 'The connection was established successfully.' | $T8 %]</p>
-
- [%- ELSE %]
+[%- ELSE %]
 
  <p class="message_error">
-  [% 'The connection to the database could not be established.' | $T8 %]
-  [% 'Error message from the database driver:' | $T8 %]
+  [% LxERP.t8('The connection to the database could not be established.') %]
+  [% LxERP.t8('Error message from the database driver:') %]
  </p>
 
- <p>[% HTML.escape(errstr) %]</p>
+ <p>[% HTML.escape(error) %]</p>
 
- [%- END %]
-
- <p>
-  <form>
-   <input type="button" class="submit" onclick="window.close()" value="[% 'Close Window' | $T8 %]">
-  </form>
- </p>
+[%- END %]
 
-</body>
-</html>
+<div>
+ <a href="#" onclick="$('#test_db_connection_window').dialog('close');">[% LxERP.t8("Close Window") %]</a>
+</div>