Code Duplication    Length = 3-3 lines in 2 locations

geodirectory-functions/cat-meta-functions/Tax-meta-class.php 2 locations

@@ 833-835 (lines=3) @@
830
                $meta = (array)$meta;
831
832
            $this->show_field_begin($field, $meta);
833
            foreach ($field['options'] as $key => $value) {
834
                echo "<input type='radio' class='at-radio' name='{$field['id']}' value='{$key}'" . checked(in_array($key, $meta), true, false) . " /> <span class='at-radio-label'>{$value}</span>";
835
            }
836
            $this->show_field_end($field, $meta);
837
        }
838
@@ 1022-1024 (lines=3) @@
1019
1020
            $html = array();
1021
1022
            foreach ($field['options'] as $key => $value) {
1023
                $html[] = "<input type='checkbox' class='at-checkbox_list' name='{$field['id']}[]' value='{$key}'" . checked(in_array($key, $meta), true, false) . " /> {$value}";
1024
            }
1025
1026
            echo implode('<br />', $html);
1027