options = &EL_Options::get_instance(); $this->options->load_options_helptexts(); } public function show_option_form($section) { $out = '
'; return $out; } public function show_option_table($section) { $out = '| '; if($o['label'] != '') { $out .= ''; } $out .= ' | '; switch($o['type']) { case 'checkbox': $out .= $this->show_checkbox($oname, $this->options->get($oname), $o['caption']); break; case 'dropdown': $out .= $this->show_dropdown($oname, $this->options->get($oname), $o['caption']); break; case 'radio': $out .= $this->show_radio($oname, $this->options->get($oname), $o['caption']); break; case 'text': $out .= $this->show_text($oname, $this->options->get($oname)); break; case 'textarea': $out .= $this->show_textarea($oname, $this->options->get($oname)); break; case 'file-upload': $out .= $this->show_file_upload($oname, $o['maxsize']); } $out .= ' | '.$o['desc'].' |
|---|