php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /usr/libexec/usermin/Webmin/ |
files >> //usr/libexec/usermin/Webmin/Multiline.pm |
package Webmin::Multiline; use Webmin::Textarea; use WebminCore; @ISA = ( "Webmin::Textarea" ); =head2 new Webmin::Multiline(name, &lines, rows, cols, [disabled]) Create a new input for entering multiple text entries. By default, just uses a textbox =cut sub new { if (defined(&Webmin::Theme::Multiline::new)) { return new Webmin::Theme::Multiline(@_[1..$#_]); } my ($self, $name, $lines, $rows, $cols, $wrap, $disabled) = @_; $self = new Webmin::Textarea($name, join("\n", @$lines), $rows, $cols, undef, $disabled); bless($self); return $self; } =head2 set_lines(&lines) Sets the lines to display =cut sub set_lines { my ($self, $lines) = @_; $self->set_value(join("\n", @$lines)); } =head2 get_lines() Returns an array ref of lines to display =cut sub get_lines { my ($self) = @_; return [ split(/[\r|\n]+/, $self->get_value()) ]; } 1;y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`