boxes();
Selection boxes.
ONO::Lib::UI::Select->boxes( $ID, $boxes_ref, $vars_ref, $width, $height, $switches );
returns: qq~<div class="inline w100">$BOXES</div>~
buttons();
Select buttons - note that this is NOT Ajax compatible !
tab format is "id:color:name"
-c center
-b bigger buttons (small size, as mini is default, combine with -B for big)
-B bigger buttons (normal size, as mini is default, combine with -b for big)
-d display only (not clickable)
-f select first if none selected
-l left
-L use link instead of JS ($script_url required)
-p padding 2/5 px
-r right
-s display save button on change
-W force white color on button text
ONO::Lib::UI::Select->buttons( $id, $selected, $tabs_ref, $script_url, $switches, $BLK_ref, $setup_ref, $title );
checkboxes();
Selection checkboxes.
flag:text:img flag can be inverted ($checked = not checked) by adding an '*' to this flag
-d disabled
ONO::Lib::UI::Select->checkboxes( $name, $title, $checked, $chks_ref, $switches );
langsel();
Select language.
-c center
-i include an input field
-S no script code (required when using Ajax)
ONO::Lib::UI::Select->langsel( $id, $langs_ref, $selected, $switches );
returns: qq~<table class="default_table$CLASS"> <tr> $LANG </tr> </table> $INPUT $SCRIPT ~
script();
Obsolete, only here for backwards compatibility, returns nothing.
ONO::Lib::UI::Select->script( );
returns: ""
select();
Select.
-i icon instead of icon and text (requires image in every @sels entry)
ONO::Lib::UI::Select->select( $name, $title, $default, $sels_ref, $switches );
select_country();
Select country from list.
-n replace select... by none if $selected
-s select...
-S omit select
-q quick select at top of list
ONO::Lib::UI::Select->select_country( $id, $opts, $selected, $switches, $lang, $BLK_ref );
select_edu_branch();
Select education branch from list.
ONO::Lib::UI::Select->select_edu_branch( $id, $opts_unused, $selected, $switches, $lang, $BLK_ref );
select_language();
Select language from list.
-n replace select... by none if $selected
-s select...
-S omit select
-q quick select at top of list
ONO::Lib::UI::Select->select_language( $id, $opts_unused, $selected, $switches, $lang, $BLK_ref );
select_reload();
Select and reload.
ONO::Lib::UI::Select->select_reload( $script_url, $opts_ref, $selected, $label );