Project

General

Profile

« Previous | Next » 

Revision 21c18c3d

Added by Phil Davis about 9 years ago

Fix #6460 Interface mismatch apply changes button

View differences:

src/usr/local/www/interfaces_assign.php
500 500
			$savemsg = gettext("The system is now rebooting. Please wait.");
501 501
			$class = "success";
502 502
		} else {
503
			$savemsg = gettext("Reboot is needed. Please apply the settings in order to reboot.");
503
			$applymsg = gettext("Reboot is needed. Please apply the settings in order to reboot.");
504 504
			$class = "warning";
505 505
		}
506 506
	} else {
507
		$savemsg = gettext("Interface mismatch detected. Please resolve the mismatch and click 'Apply Changes'. The firewall will reboot afterwards.");
507
		$applymsg = gettext("Interface mismatch detected. Please resolve the mismatch and click 'Apply Changes'. The firewall will reboot afterwards.");
508 508
		$class = "warning";
509 509
	}
510 510
}
......
513 513
	echo "<p>\n";
514 514
	print_apply_box(gettext("The interface configuration has been changed.") . "<br />" . gettext("The changes must be applied for them to take effect."));
515 515
	echo "<br /></p>\n";
516
} elseif ($applymsg) {
517
	print_apply_box($applymsg);
516 518
} elseif ($savemsg) {
517 519
	print_info_box($savemsg, $class);
518 520
}

Also available in: Unified diff