Letter: "alle" E-Mail-Adressen per Anhaken als Empfänger
[kivitendo-erp.git] / templates / webpages / admin / test_db_connection.html
index 78829da..4c71010 100644 (file)
@@ -1,25 +1,19 @@
-[%- USE T8 %]
-[%- USE HTML %]
+[%- USE HTML %][%- USE LxERP -%][%- USE L -%]
+[%- IF ok %]
 
- <h1>[% title %]</h1>
+ <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 %]
+[%- END %]
 
- <p>
-  <form>
-   <input type="button" class="submit" onclick="window.close()" value="[% 'Close Window' | $T8 %]">
-  </form>
- </p>
+<div>
+ <a href="#" onclick="$('#test_db_connection_window').dialog('close');">[% LxERP.t8("Close Window") %]</a>
+</div>