@@ 987-989 (lines=3) @@ | ||
984 | // Question type |
|
985 | $html .= '<p><label>' . __( 'Question Type:' , 'woothemes-sensei' ) . '</label> '; |
|
986 | $html .= '<select id="add-question-type-options" name="question_type" class="chosen_select widefat question-type-select">' . "\n"; |
|
987 | foreach ( $question_types as $type => $label ) { |
|
988 | $html .= '<option value="' . esc_attr( $type ) . '">' . esc_html( $label ) . '</option>' . "\n"; |
|
989 | } // End For Loop |
|
990 | $html .= '</select></p>' . "\n"; |
|
991 | ||
992 | // Question category |
|
@@ 1053-1055 (lines=3) @@ | ||
1050 | </select> |
|
1051 | <select id="existing-type"> |
|
1052 | <option value="">' . __( 'All Types', 'woothemes-sensei' ) . '</option>'; |
|
1053 | foreach ( $question_types as $type => $label ) { |
|
1054 | $html .= '<option value="' . esc_attr( $type ) . '">' . esc_html( $label ) . '</option>'; |
|
1055 | } |
|
1056 | $html .= '</select> |
|
1057 | <select id="existing-category"> |
|
1058 | <option value="">' . __( 'All Categories', 'woothemes-sensei' ) . '</option>'; |