From 2cb1563f63386b35a69e460051aa9b4a2851d104 Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Wed, 30 May 2012 07:30:44 -0400
Subject: [PATCH] - Added (clickable) placeholders to client messaging function. - Added check so that the client password isn't inserted into the message (for security reasons).

---
 interface/web/dns/templates/dns_wizard.htm |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/interface/web/dns/templates/dns_wizard.htm b/interface/web/dns/templates/dns_wizard.htm
index b353094..49183c1 100644
--- a/interface/web/dns/templates/dns_wizard.htm
+++ b/interface/web/dns/templates/dns_wizard.htm
@@ -78,3 +78,18 @@
   </div>
   
 </div>
+<script language="JavaScript" type="text/javascript">
+		jQuery('#ip').ispconfigSearch({
+			dataSrc: '/dns/ajax_get_json.php?type=get_ipv4',
+			resultsLimit: '$ <tmpl_var name="globalsearch_resultslimit_of_txt"> % <tmpl_var name="globalsearch_resultslimit_results_txt">',
+			ResultsTextPrefix: '<tmpl_var name="globalsearch_suggestions_text_txt">',
+			noResultsText: '<tmpl_var name="globalsearch_noresults_text_txt">',
+			noResultsLimit: '<tmpl_var name="globalsearch_noresults_limit_txt">',
+			minChars: 0,
+			cssPrefix: 'df-',
+			fillSearchField: true,
+			fillSearchFieldWith: 'fill_text',
+			searchFieldWatermark: '',
+			resultBoxPosition: 'e'
+		});	
+</script>

--
Gitblit v1.9.1