⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
CGI
/
HtmlExtension
/
Edit File: checkbox_group-i.ri
U:RDoc::AnyMethod[iI"checkbox_group:ETI"&CGI::HtmlExtension#checkbox_group;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I";Generate a sequence of checkbox elements, as a String.;To:RDoc::Markup::BlankLine o; ; [I"=The checkboxes will all have the same +name+ attribute. ;TI"+Each checkbox is followed by a label. ;TI"<There will be one checkbox for each value. Each value ;TI";can be specified as a String, which will be used both ;TI":as the value of the VALUE attribute and as the label ;TI"8for that checkbox. A single-element array has the ;TI"same effect.;T@o; ; [ I"@Each value can also be specified as a three-element array. ;TI"AThe first element is the VALUE attribute; the second is the ;TI"?label; and the third is a boolean specifying whether this ;TI"checkbox is CHECKED.;T@o; ; [ I"7Each value can also be specified as a two-element ;TI";array, by omitting either the value element (defaults ;TI"?to the same as the label), or the boolean checked element ;TI"(defaults to false).;T@o:RDoc::Markup::Verbatim; [I"1checkbox_group("name", "foo", "bar", "baz") ;TI"< # <INPUT TYPE="checkbox" NAME="name" VALUE="foo">foo ;TI"< # <INPUT TYPE="checkbox" NAME="name" VALUE="bar">bar ;TI"< # <INPUT TYPE="checkbox" NAME="name" VALUE="baz">baz ;TI" ;TI";checkbox_group("name", ["foo"], ["bar", true], "baz") ;TI"< # <INPUT TYPE="checkbox" NAME="name" VALUE="foo">foo ;TI"D # <INPUT TYPE="checkbox" CHECKED NAME="name" VALUE="bar">bar ;TI"< # <INPUT TYPE="checkbox" NAME="name" VALUE="baz">baz ;TI" ;TI"Echeckbox_group("name", ["1", "Foo"], ["2", "Bar", true], "Baz") ;TI": # <INPUT TYPE="checkbox" NAME="name" VALUE="1">Foo ;TI"B # <INPUT TYPE="checkbox" CHECKED NAME="name" VALUE="2">Bar ;TI"< # <INPUT TYPE="checkbox" NAME="name" VALUE="Baz">Baz ;TI" ;TI"&checkbox_group("NAME" => "name", ;TI"9 "VALUES" => ["foo", "bar", "baz"]) ;TI" ;TI"&checkbox_group("NAME" => "name", ;TI"C "VALUES" => [["foo"], ["bar", true], "baz"]) ;TI" ;TI"&checkbox_group("NAME" => "name", ;TI"L "VALUES" => [["1", "Foo"], ["2", "Bar", true], "Baz"]);T:@format0: @fileI"lib/cgi/html.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(name = "", *values);T@=FI"HtmlExtension;TcRDoc::NormalModule00
Simpan