Project

General

Profile

« Previous | Next » 

Revision 0bab61b1

Added by Scott Ullrich almost 15 years ago

Print out host correctly on the overwrite notice

View differences:

usr/local/www/diag_dns.php
182 182
				} 
183 183
				if($found > 0) {
184 184
					if($alias_exists) {
185
						echo "<br/>An alias already exists for the hostname {$newalias['name']}.  To overwrite, click <a href='diag_dns.php?host=" . trim(urlencode($host)) . "&createalias=true&override=true'>here</a>.";
185
						echo "<br/>An alias already exists for the hostname {$host}.  To overwrite, click <a href='diag_dns.php?host=" . trim(urlencode($host)) . "&createalias=true&override=true'>here</a>.";
186 186
					} else { 
187 187
						if(!$createdalias) {
188 188
							echo "<br/><a href='diag_dns.php?host=" . trim(urlencode($host)) . "&createalias=true'>Create alias</a> out of these entries.";

Also available in: Unified diff