value, 'jform_icon_filename' ); // Is it readonly? if ((string) $this->element['readonly'] == 'true') { // Create a read-only list (no name) with a hidden input to store the value. $html[] = $icon_list; $html[] = ''; } else { // Create a regular list. $html[] = $icon_list; } return implode($html); } }