mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Merge branch 'master' of github.com:webmin/webmin
This commit is contained in:
@@ -125,8 +125,6 @@ foreach $u (@users) {
|
||||
$i++;
|
||||
}
|
||||
|
||||
print &ui_table_end();
|
||||
|
||||
if ($in{'new'}) {
|
||||
push(@buts, [ undef, $text{'create'} ]);
|
||||
}
|
||||
|
||||
@@ -108,7 +108,12 @@ else {
|
||||
print &ui_table_row(undef, &ui_grid_table(\@grid, 4));
|
||||
print &ui_table_end();
|
||||
}
|
||||
&show_button() if (!$toomany);
|
||||
if (!$toomany) {
|
||||
&show_button(1);
|
||||
# Only display the bottom form when there are too many users,
|
||||
# i.e. requiring page scrolling
|
||||
print &ui_hide_outside_of_viewport();
|
||||
}
|
||||
|
||||
if (&foreign_installed("cron") && $access{'cron'}) {
|
||||
# Show button to manage global cron job
|
||||
@@ -124,10 +129,13 @@ else {
|
||||
|
||||
sub show_button
|
||||
{
|
||||
my $bottom = shift;
|
||||
my $bottom_form;
|
||||
$bottom_form = 'data-outside-of-viewport' if ($bottom);
|
||||
if ($access{'mode'} != 3 || !$doneheader) {
|
||||
print &ui_form_start("edit_poll.cgi");
|
||||
print &ui_form_start("edit_poll.cgi", "get", undef, $bottom_form);
|
||||
print &ui_hidden("view", 1);
|
||||
print &ui_submit($text{'index_ok'});
|
||||
print &ui_submit($text{'index_fadd'});
|
||||
print &unix_user_input("user");
|
||||
print &ui_form_end();
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ index_run=Check all servers
|
||||
index_global=Edit default settings.
|
||||
index_user=Unix user
|
||||
index_conf=Fetchmail configuration
|
||||
index_ok=Add Fetchmail server for user:
|
||||
index_fadd=Add Fetchmail server for user
|
||||
index_file=Fetchmail configuration in $1
|
||||
index_return=server list
|
||||
index_start=Start Fetchmail Daemon
|
||||
|
||||
Reference in New Issue
Block a user