uawdijnntqw1x1x1
IP : 216.73.216.110
Hostname : xhost1.intravision.ru
Kernel : Linux xhost1.intravision.ru 3.16.0-7-amd64 #1 SMP Debian 3.16.59-1 (2018-10-03) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
OS : Linux
PATH:
/
var
/
.
/
..
/
.
/
.
/
usr
/
.
/
share
/
webmin
/
WebminUI
/
DynamicHTML.pm
/
/
package WebminUI::DynamicHTML; use WebminCore; =head2 new WebminUI::DynamicHTML(&function, &args, [before]) When the page is being rendered, executes the given function and prints any text that it returns. =cut sub new { my ($self, $func, $args, $before) = @_; $self = { 'func' => $func, 'args' => $args, 'before' => $before }; bless($self); return $self; } =head2 set_before(text) Sets the text describing what we are waiting for =cut sub set_before { my ($self, $before) = @_; $self->{'before'} = $before; } sub get_before { my ($self) = @_; return $self->{'before'}; } sub html { my ($self) = @_; my $rv; if ($self->get_before()) { $rv .= $self->get_before()."<p>\n"; } return $rv; } =head2 start() Called by the page to begin the dynamic output. =cut sub start { my ($self) = @_; &{$self->{'func'}}($self, @$args); } sub get_wait { my ($self) = @_; return 1; } =head2 needs_unbuffered() Must return 1 if the page needs to be in un-buffered and no-table mode =cut sub needs_unbuffered { return 1; } =head2 set_page(WebminUI::Page) Called when this dynamic HTML element is added to a page =cut sub set_page { my ($self, $page) = @_; $self->{'page'} = $page; } 1;
/var/./../././usr/./share/webmin/WebminUI/DynamicHTML.pm