mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
fix missing ' + adjust indent
This commit is contained in:
@ -171,7 +171,7 @@ EOF
|
||||
opendir(DIR, $in{'chroot'}.$dir) ||
|
||||
&popup_error(&text('chooser_eopen', "$!"));
|
||||
print &ui_columns_start(undef, 100);
|
||||
my $cnt = 0;
|
||||
my $cnt = 0;
|
||||
foreach $f (sort { $a cmp $b } readdir(DIR)) {
|
||||
$path = "$in{'chroot'}$dir$f";
|
||||
if ($f eq ".") { next; }
|
||||
@ -201,7 +201,7 @@ EOF
|
||||
$tm[3], $text{'smonth_'.($tm[4]+1)}, $tm[5]+1900);
|
||||
push(@cols, sprintf "<tt>%.2d:%.2d</tt>", $tm[2], $tm[1]);
|
||||
print &ui_columns_row(\@cols);
|
||||
$cnt++;
|
||||
$cnt++;
|
||||
}
|
||||
closedir(DIR);
|
||||
print &ui_columns_end();
|
||||
|
@ -85,10 +85,10 @@ if ($in{'multi'}) {
|
||||
$cnt++;
|
||||
}
|
||||
print "</table>\n";
|
||||
if ( $cnt >= 10 ) {
|
||||
print "<script type='text/javascript' src='$gconfig{'webprefix'}/unauthenticated/filter_match.js?28112013'></script>";
|
||||
print "<script type='text/javascript'>filter_match_box();</script>";
|
||||
}
|
||||
if ( $cnt >= 10 ) {
|
||||
print "<script type='text/javascript' src='$gconfig{'webprefix'}/unauthenticated/filter_match.js?28112013'></script>";
|
||||
print "<script type='text/javascript'>filter_match_box();</script>";
|
||||
}
|
||||
&popup_footer();
|
||||
}
|
||||
elsif ($in{'frame'} == 2) {
|
||||
@ -160,7 +160,7 @@ else {
|
||||
print "return false;\n";
|
||||
print "}\n";
|
||||
print "</script>\n";
|
||||
print "<div id='filter_box' style='display:none;margin:0px;padding:0px;width:100%;clear:both;>'";
|
||||
print "<div id='filter_box' style='display:none;margin:0px;padding:0px;width:100%;clear:both;'>";
|
||||
print &ui_textbox("filter",$text{'ui_filterbox'}, 50, 0, undef,"style='width:100%;' onkeyup=\"filter_match(this.value);\" onfocus=\"if (this.value == '".$text{'ui_filterbox'}."') {this.value = '';}\" onblur=\"if (this.value == '') {this.value = '".$text{'ui_filterbox'}."';}\"");
|
||||
print "<hr style='width:100%;'></div>";
|
||||
print "<table width=100%>\n";
|
||||
@ -173,10 +173,10 @@ else {
|
||||
$cnt++;
|
||||
}
|
||||
print "</table>\n";
|
||||
if ( $cnt >= 10 ) {
|
||||
print "<script type='text/javascript' src='$gconfig{'webprefix'}/unauthenticated/filter_match.js?28112013'></script>";
|
||||
print "<script type='text/javascript'>filter_match_box();</script>";
|
||||
}
|
||||
if ( $cnt >= 10 ) {
|
||||
print "<script type='text/javascript' src='$gconfig{'webprefix'}/unauthenticated/filter_match.js?28112013'></script>";
|
||||
print "<script type='text/javascript'>filter_match_box();</script>";
|
||||
}
|
||||
&popup_footer();
|
||||
}
|
||||
|
||||
|
@ -68,20 +68,20 @@ if ($in{'multi'}) {
|
||||
print &ui_textbox("filter",$text{'ui_filterbox'}, 50, 0, undef,"style='width:100%;' onkeyup=\"filter_match(this.value);\" onfocus=\"if (this.value == '".$text{'ui_filterbox'}."') {this.value = '';}\" onblur=\"if (this.value == '') {this.value = '".$text{'ui_filterbox'}."';}\"");
|
||||
print "<hr style='width:100%;'></div>";
|
||||
print "<table width=100%>\n";
|
||||
my $cnt = 0;
|
||||
my $cnt = 0;
|
||||
foreach $u (&get_users_list()) {
|
||||
if ($in{'user'} eq $u->[0]) { print "<tr class='filter_match' $cb>\n"; }
|
||||
else { print "<tr class='filter_match'>\n"; }
|
||||
$u->[6] =~ s/'/'/g;
|
||||
print "<td width=20%><a href=\"\" onClick='return adduser(\"$u->[0]\", \"$u->[6]\")'>$u->[0]</a></td>\n";
|
||||
print "<td>$u->[6]</td> </tr>\n";
|
||||
$cnt++;
|
||||
$cnt++;
|
||||
}
|
||||
print "</table>\n";
|
||||
if ( $cnt >= 10 ) {
|
||||
print "<script type='text/javascript' src='$gconfig{'webprefix'}/unauthenticated/filter_match.js?28112013'></script>";
|
||||
print "<script type='text/javascript'>filter_match_box();</script>";
|
||||
}
|
||||
if ( $cnt >= 10 ) {
|
||||
print "<script type='text/javascript' src='$gconfig{'webprefix'}/unauthenticated/filter_match.js?28112013'></script>";
|
||||
print "<script type='text/javascript'>filter_match_box();</script>";
|
||||
}
|
||||
&popup_footer();
|
||||
}
|
||||
elsif ($in{'frame'} == 2) {
|
||||
@ -152,23 +152,23 @@ else {
|
||||
print "return false;\n";
|
||||
print "}\n";
|
||||
print "</script>\n";
|
||||
print "<div id='filter_box' style='display:none;margin:0px;padding:0px;width:100%;clear:both;'>";
|
||||
print &ui_textbox("filter",$text{'ui_filterbox'}, 50, 0, undef,"style='width:100%;' onkeyup=\"filter_match(this.value);\" onfocus=\"if (this.value == '".$text{'ui_filterbox'}."') {this.value = '';}\" onblur=\"if (this.value == '') {this.value = '".$text{'ui_filterbox'}."';}\"");
|
||||
print "<hr style='width:100%;'></div>";
|
||||
print "<div id='filter_box' style='display:none;margin:0px;padding:0px;width:100%;clear:both;'>";
|
||||
print &ui_textbox("filter",$text{'ui_filterbox'}, 50, 0, undef,"style='width:100%;' onkeyup=\"filter_match(this.value);\" onfocus=\"if (this.value == '".$text{'ui_filterbox'}."') {this.value = '';}\" onblur=\"if (this.value == '') {this.value = '".$text{'ui_filterbox'}."';}\"");
|
||||
print "<hr style='width:100%;'></div>";
|
||||
print "<table width=100%>\n";
|
||||
my $cnt = 0;
|
||||
my $cnt = 0;
|
||||
foreach $u (&get_users_list()) {
|
||||
if ($in{'user'} eq $u->[0]) { print "<tr class='filter_match' $cb>\n"; }
|
||||
else { print "<tr class='filter_match'>\n"; }
|
||||
print "<td width=20%><a href=\"\" onClick='return select(\"$u->[0]\")'>$u->[0]</a></td>\n";
|
||||
print "<td>$u->[6]</td> </tr>\n";
|
||||
$cnt++;
|
||||
$cnt++;
|
||||
}
|
||||
print "</table>\n";
|
||||
if ( $cnt >= 10 ) {
|
||||
print "<script type='text/javascript' src='$gconfig{'webprefix'}/unauthenticated/filter_match.js?28112013'></script>";
|
||||
print "<script type='text/javascript'>filter_match_box();</script>";
|
||||
}
|
||||
if ( $cnt >= 10 ) {
|
||||
print "<script type='text/javascript' src='$gconfig{'webprefix'}/unauthenticated/filter_match.js?28112013'></script>";
|
||||
print "<script type='text/javascript'>filter_match_box();</script>";
|
||||
}
|
||||
&popup_footer();
|
||||
}
|
||||
|
||||
|
@ -157,13 +157,13 @@ else {
|
||||
else { print "<tr class='filter_match'>\n"; }
|
||||
print "<td width=20%><a href=\"\" onClick='return select(\"$u->[0]\")'>".&html_escape($u->[0])."</a></td>\n";
|
||||
print "<td>".&html_escape($u->[3])."</td> </tr>\n";
|
||||
$cnt++;
|
||||
$cnt++;
|
||||
}
|
||||
print "</table>\n";
|
||||
if ( $cnt >= 10 ) {
|
||||
print "<script type='text/javascript' src='$gconfig{'webprefix'}/unauthenticated/filter_match.js?28112013'></script>";
|
||||
print "<script type='text/javascript'>filter_match_box();</script>";
|
||||
}
|
||||
if ( $cnt >= 10 ) {
|
||||
print "<script type='text/javascript' src='$gconfig{'webprefix'}/unauthenticated/filter_match.js?28112013'></script>";
|
||||
print "<script type='text/javascript'>filter_match_box();</script>";
|
||||
}
|
||||
&popup_footer();
|
||||
}
|
||||
|
||||
|
@ -140,23 +140,23 @@ else {
|
||||
print "return false;\n";
|
||||
print "}\n";
|
||||
print "</script>\n";
|
||||
print "<div id='filter_box' style='display:none;margin:0px;padding:0px;width:100%;clear:both;'>";
|
||||
print &ui_textbox("filter",$text{'ui_filterbox'}, 50, 0, undef,"style='width:100%;' onkeyup=\"filter_match(this.value);\" onfocus=\"if (this.value == '".$text{'ui_filterbox'}."') {this.value = '';}\" onblur=\"if (this.value == '') {this.value = '".$text{'ui_filterbox'}."';}\"");
|
||||
print "<hr style='width:100%;'></div>";
|
||||
print "<div id='filter_box' style='display:none;margin:0px;padding:0px;width:100%;clear:both;'>";
|
||||
print &ui_textbox("filter",$text{'ui_filterbox'}, 50, 0, undef,"style='width:100%;' onkeyup=\"filter_match(this.value);\" onfocus=\"if (this.value == '".$text{'ui_filterbox'}."') {this.value = '';}\" onblur=\"if (this.value == '') {this.value = '".$text{'ui_filterbox'}."';}\"");
|
||||
print "<hr style='width:100%;'></div>";
|
||||
print "<table width=100%>\n";
|
||||
my $cnt = 0;
|
||||
my $cnt = 0;
|
||||
foreach $u (&get_users_list()) {
|
||||
if ($in{'user'} eq $u->[0]) { print "<tr class='filter_match' $cb>\n"; }
|
||||
else { print "<tr class='filter_match'>\n"; }
|
||||
print "<td width=20%><a href=\"\" onClick='return select(\"$u->[0]\")'>$u->[0]</a></td>\n";
|
||||
print "<td>$u->[6]</td> </tr>\n";
|
||||
$cnt++;
|
||||
$cnt++;
|
||||
}
|
||||
print "</table>\n";
|
||||
if ( $cnt >= 10 ) {
|
||||
print "<script type='text/javascript' src='$gconfig{'webprefix'}/unauthenticated/filter_match.js?28112013'></script>";
|
||||
print "<script type='text/javascript'>filter_match_box();</script>";
|
||||
}
|
||||
if ( $cnt >= 10 ) {
|
||||
print "<script type='text/javascript' src='$gconfig{'webprefix'}/unauthenticated/filter_match.js?28112013'></script>";
|
||||
print "<script type='text/javascript'>filter_match_box();</script>";
|
||||
}
|
||||
&popup_footer();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user