зеркало из https://github.com/mozilla/pjs.git
Adding norules=0 option.
This commit is contained in:
Родитель
d54dc292ab
Коммит
05182b83b8
|
@ -111,6 +111,7 @@ These modes do not show on my browser:
|
||||||
|
|
||||||
These are self explanatory:
|
These are self explanatory:
|
||||||
legend=0;
|
legend=0;
|
||||||
|
norules=0;
|
||||||
hours=n;
|
hours=n;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -171,8 +171,10 @@ sub print_page_head {
|
||||||
|
|
||||||
# Print rules, sheriff, and status. Only on the first pageful.
|
# Print rules, sheriff, and status. Only on the first pageful.
|
||||||
if ($nowdate eq $maxdate) {
|
if ($nowdate eq $maxdate) {
|
||||||
|
unless ($form{norules}) {
|
||||||
do "$::tree/rules.pl";
|
do "$::tree/rules.pl";
|
||||||
print "<a NAME=\"rules\"></a>$rules_message<br>"; # from $::tree/rules.pl
|
print "<a NAME=\"rules\"></a>$rules_message<br>"; # from $::tree/rules.pl
|
||||||
|
}
|
||||||
|
|
||||||
do "$::tree/sheriff.pl";
|
do "$::tree/sheriff.pl";
|
||||||
print "<a NAME=\"sheriff\"></a>$current_sheriff<br>"; # from $::tree/sheriff.pl
|
print "<a NAME=\"sheriff\"></a>$current_sheriff<br>"; # from $::tree/sheriff.pl
|
||||||
|
@ -446,6 +448,7 @@ sub print_table_footer {
|
||||||
sub open_showbuilds_url {
|
sub open_showbuilds_url {
|
||||||
my %args = (
|
my %args = (
|
||||||
legend => "$form{legend}",
|
legend => "$form{legend}",
|
||||||
|
norules => "$form{norules}",
|
||||||
@_
|
@_
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче