Project

General

Profile

« Previous | Next » 

Revision fbc723b1

Added by Jim Pingle over 12 years ago

Show the hostname if it doesn't match

View differences:

usr/local/www/guiconfig.inc
583 583
						$entry_text = htmlspecialchars($logent[5]);
584 584
					} else {
585 585
						$entry_date_time = htmlspecialchars(join(" ", array_slice($logent, 0, 3)));
586
						$entry_text = htmlspecialchars($logent[4] . " " . $logent[5]);
586
						$entry_text = ($logent[3] ==  $config['system']['hostname']) ? "" : $logent[3] . " ";
587
						$entry_text .= htmlspecialchars($logent[4] . " " . $logent[5]);
587 588
					}
588 589
					echo "<td class=\"listlr\" nowrap>{$entry_date_time}</td>\n";
589 590
					echo "<td class=\"listr\">{$entry_text}</td>\n";

Also available in: Unified diff