summaryrefslogtreecommitdiffstats
path: root/tinydns-edit-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'tinydns-edit-html.lsp')
-rw-r--r--tinydns-edit-html.lsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tinydns-edit-html.lsp b/tinydns-edit-html.lsp
index 33169d5..6d83da6 100644
--- a/tinydns-edit-html.lsp
+++ b/tinydns-edit-html.lsp
@@ -25,7 +25,7 @@
entryTypes[1]=new Entry(".","Name server",6,"Domain","IP address","Name server","Time to live","Timestamp","Location");
entryTypes[2]=new Entry("&","Delegate subdomain",6,"Domain","IP address","Name server","Time to live","Timestamp","Location");
entryTypes[3]=new Entry("=","Host",5,"Host","IP address","Time to live","Timestamp","Location");
- entryTypes[4]=new Entry("+","Alias",5,"Alias","IP address","Time to live","Timestamp","Location");
+ entryTypes[4]=new Entry("+","Host",5,"Host","IP address","Time to live","Timestamp","Location");
entryTypes[5]=new Entry("@","Mail exchanger",7,"Domain","IP address","Mail exchanger","Distance","Time to live","Timestamp","Location");
entryTypes[6]=new Entry("'","Text record",5,"Domain","Text Record","Time to live","Timestamp","Location");
entryTypes[7]=new Entry("^","Reverse record",5,"PTR","Domain name","Time to live","Timestamp","Location");
@@ -104,7 +104,7 @@
name = "dontconvertme"
else {
value = value.replace(/\\\d{3}/g, octal_to_char);
- if (entryType.descriptions[i] == "Domain" || entryType.descriptions[i] == "Alias" || entryType.descriptions[i] == "Host" || entryType.descriptions[i] == "Domain Service" ) {
+ if (entryType.descriptions[i] == "Domain" || entryType.descriptions[i] == "Host" || entryType.descriptions[i] == "Domain Service" ) {
name = "fixme";
value = value.replace(/\.?<%= string.gsub(html.html_escape(domain), "[\\%[%]%.%*%?%+%{%^%$]", "\\%1") %>$/i, "")
extra = " . <%= html.html_escape(domain) %>"