Project

General

Profile

« Previous | Next » 

Revision dd0026b9

Added by Ermal LUÇI about 15 years ago

Ticket #695. Fix the advanced icon showing on firewall rules page.

View differences:

usr/local/www/firewall_rules.php
71 71
		$item_set .= "max-src-conn-rate {$item['max-src-conn-rate']} ";
72 72
	if($item['max-src-conn-rates'])
73 73
		$item_set .= "max-src-conn-rates {$item['max-src-conn-rates']} ";
74
	if($item['gateway'])
75
		$item_set .= "gateway {$item['gateway']} ";
76
	if($item['dnpipe'])
77
		$item_set .= "limiter {$item['dnpipe']} ";
78
	if($item['pdnpipe'])
79
		$item_set .= "limiter {$item['pdnpipe']} ";
80
	if($item['l7container'])
81
		$item_set .= "layer7 {$item['l7container']} ";
82
	if($item['tag'])
83
		$item_set .= "tag {$item['tag']} ";
84
	if($item['tagged'])
85
		$item_set .= "tagged {$item['tagged']} ";
86
	if(isset($item['allowopts']))
87
		$item_set .= "allowopts ";
88
	if(isset($item['disablereplyto']))
89
		$item_set .= "disable reply-to";
90
	if($item['tcpflags_any'] || $item['tcpflags1'] || $item['tcpflags2'])
91
		$item_set .= "tcpflags set";
92
	
74 93
	return $item_set;
75 94
}
76 95

  
......
436 455
						continue;
437 456
					if (isset($filterent['floating']) && "FloatingRules" != $if)
438 457
						continue;
439
					$isadvset = check_for_advanced_options($filterent);
458
					$isadvset = heck_for_advanced_options($filterent);
440 459
					if($isadvset)
441 460
						$advanced_set = "<img src=\"./themes/{$g['theme']}/images/icons/icon_advanced.gif\" title=\"" . gettext("advanced settings set") . ": {$isadvset}\" border=\"0\">";
442 461
					else 

Also available in: Unified diff