From de6ba6a667dea1f16672e3472252dc62cebcb4d8 Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Wed, 19 Oct 2011 10:54:11 -0400
Subject: [PATCH]
---
interface/web/dns/templates/dns_import.htm | 3 ++-
interface/web/dns/lib/lang/en.lng | 2 +-
interface/web/dns/lib/lang/de.lng | 1 +
interface/web/dns/dns_import.php | 1 +
4 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/interface/web/dns/dns_import.php b/interface/web/dns/dns_import.php
index 99b6bdf..8ad3275 100644
--- a/interface/web/dns/dns_import.php
+++ b/interface/web/dns/dns_import.php
@@ -522,6 +522,7 @@
$app->tpl->setVar('error',$error);
$app->tpl->setVar("title",'Import Zone Files');
+$app->tpl->setVar("zonefile_to_import_txt",$app->lng('zonefile_to_import_txt'));
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_dns_wizard.lng';
include($lng_file);
diff --git a/interface/web/dns/lib/lang/de.lng b/interface/web/dns/lib/lang/de.lng
index 8988224..7242257 100644
--- a/interface/web/dns/lib/lang/de.lng
+++ b/interface/web/dns/lib/lang/de.lng
@@ -19,4 +19,5 @@
$wb['Templates'] = 'Vorlagen';
$wb['zone_file_successfully_imported_txt'] = 'Die Zone-Datei ist erfolgreich importiert worden!';
$wb['error_no_valid_zone_file_txt'] = 'Es scheint, als ob dies keine gültige Zone-Datei ist!';
+$wb['zonefile_to_import_txt'] = 'Zone-Datei';
?>
diff --git a/interface/web/dns/lib/lang/en.lng b/interface/web/dns/lib/lang/en.lng
index 41014d7..f2311c0 100644
--- a/interface/web/dns/lib/lang/en.lng
+++ b/interface/web/dns/lib/lang/en.lng
@@ -20,5 +20,5 @@
$wb['Templates'] = 'Templates';
$wb['zone_file_successfully_imported_txt'] = 'The zone file has successfully been imported!';
$wb['error_no_valid_zone_file_txt'] = 'This appears to be no valid zone file!';
-
+$wb['zonefile_to_import_txt'] = 'Zone File';
?>
\ No newline at end of file
diff --git a/interface/web/dns/templates/dns_import.htm b/interface/web/dns/templates/dns_import.htm
index 784a4a9..90fd78f 100644
--- a/interface/web/dns/templates/dns_import.htm
+++ b/interface/web/dns/templates/dns_import.htm
@@ -28,7 +28,8 @@
<input name="domain" id="domain" value="{tmpl_var name='domain'}" size="30" maxlength="255" type="text" class="textInput" onkeydown="keydown(event.which);" />
</div>
- <div class="ctrlHolder" style="margin-left:0px;left:0px;padding-left:0px;">
+ <div class="ctrlHolder"">
+ <label for="file">{tmpl_var name='zonefile_to_import_txt'}</label>
<input name="file" id="file" size="30" type="file" class="fileUpload" />
</div>
--
Gitblit v1.9.1