Revision 6c07db48
Added by Phil Davis about 10 years ago
usr/local/www/load_balancer_setting.php | ||
---|---|---|
79 | 79 |
if (!is_numeric($_POST['prefork'])) { |
80 | 80 |
$input_errors[] = gettext("Prefork must be a numeric value"); |
81 | 81 |
} else { |
82 |
if (($_POST['prefork']<=0) || ($_POST['prefork']>32)) {
|
|
82 |
if (($_POST['prefork'] <= 0) || ($_POST['prefork'] > 32)) {
|
|
83 | 83 |
$input_errors[] = gettext("Prefork value must be between 1 and 32"); |
84 | 84 |
} |
85 | 85 |
} |
... | ... | |
97 | 97 |
} |
98 | 98 |
} |
99 | 99 |
|
100 |
$pgtitle = array(gettext("Services"),gettext("Load Balancer"),gettext("Settings"));
|
|
100 |
$pgtitle = array(gettext("Services"), gettext("Load Balancer"), gettext("Settings"));
|
|
101 | 101 |
$shortcut_section = "relayd"; |
102 | 102 |
|
103 | 103 |
include("head.inc"); |
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.