Revision 6c07db48
Added by Phil Davis about 10 years ago
usr/local/www/firewall_shaper_vinterface.php | ||
---|---|---|
51 | 51 |
exit; |
52 | 52 |
} |
53 | 53 |
|
54 |
$pgtitle = array(gettext("Firewall"),gettext("Traffic Shaper"), gettext("Limiter")); |
|
54 |
$pgtitle = array(gettext("Firewall"), gettext("Traffic Shaper"), gettext("Limiter"));
|
|
55 | 55 |
$shortcut_section = "trafficshaper-limiters"; |
56 | 56 |
|
57 | 57 |
read_dummynet_config(); |
... | ... | |
121 | 121 |
} |
122 | 122 |
$output_form .= $queue->build_form(); |
123 | 123 |
} else { |
124 |
$input_errors[] = sprintf(gettext("No queue with name %s was found!"),$qname); |
|
124 |
$input_errors[] = sprintf(gettext("No queue with name %s was found!"), $qname);
|
|
125 | 125 |
$output_form .= $dn_default_shaper_msg; |
126 | 126 |
$dontshow = true; |
127 | 127 |
} |
... | ... | |
305 | 305 |
} |
306 | 306 |
read_dummynet_config(); |
307 | 307 |
$output_form .= $queue->build_form(); |
308 |
} else {
|
|
308 |
} else { |
|
309 | 309 |
$output_form .= $dn_default_shaper_msg; |
310 | 310 |
$dontshow = true; |
311 | 311 |
} |
Also available in: Unified diff
Code spacing
and other random stuff I noticed.
I think this finishes messing with code style. The codebase should match
the developer style guide closely enough that 99.9% of changes will not
feel the need to also massage the formatting.