Project

General

Profile

« Previous | Next » 

Revision a7893b72

Added by Stephen Beaver about 9 years ago

Updated #6092 as requested

View differences:

src/usr/local/www/firewall_rules.php
69 69
require_once("ipsec.inc");
70 70
require_once("shaper.inc");
71 71

  
72
$XmoveTitle = gettext("Move checked rules above this one");
73
$ShXmoveTitle = gettext("Move checked rules below this one");
72
$XmoveTitle = gettext("Move checked rules above this one. Shift+Click to move checked rules below.");
73
$ShXmoveTitle = gettext("Move checked rules below this one. Release shift to move checked rules above.");
74 74

  
75 75
$pgtitle = array(gettext("Firewall"), gettext("Rules"));
76 76
$shortcut_section = "firewall";
......
950 950
		$('#order-store').removeAttr('disabled');
951 951
		reindex_rules($(anchor_row).parent('tbody'));
952 952
		dirty = true;
953

  
953
	}).mouseover(function(e) {
954
		if (e.shiftKey) {
955
			$(this).parents('tr').css('border-bottom', '4px solid green');
956
		} else {
957
			$(this).parents('tr').css('border-top', '4px solid green');
958
		}
959
	}).mouseout(function(e) {
960
		$(this).parents('tr').css('border', '0px');
954 961
	});
955 962

  
956 963
	// Make rules sortable. Hiding the table before applying sortable, then showing it again is

Also available in: Unified diff