Index: trunk/extensions/Survey/specials/SpecialSurvey.php |
— | — | @@ -19,7 +19,7 @@ |
20 | 20 | * @since 0.1 |
21 | 21 | */ |
22 | 22 | public function __construct() { |
23 | | - parent::__construct( 'Survey', 'surveyadmin' ); |
| 23 | + parent::__construct( 'Survey', 'surveyadmin', false ); |
24 | 24 | } |
25 | 25 | |
26 | 26 | /** |
Index: trunk/extensions/Survey/includes/SurveyQuestion.php |
— | — | @@ -18,6 +18,7 @@ |
19 | 19 | public static $TYPE_SELECT = 2; |
20 | 20 | public static $TYPE_RADIO = 3; |
21 | 21 | public static $TYPE_TEXTAREA = 4; |
| 22 | + public static $TYPE_CHECK = 5; |
22 | 23 | |
23 | 24 | /** |
24 | 25 | * @see SurveyDBClass::getDBTable() |
Index: trunk/extensions/Survey/resources/ext.survey.js |
— | — | @@ -60,6 +60,7 @@ |
61 | 61 | this.SELECT = 2; |
62 | 62 | this.RADIO = 3; |
63 | 63 | this.TEXTAREA = 4; |
| 64 | + this.CHECK = 5; |
64 | 65 | } ); |
65 | 66 | |
66 | 67 | this.getTypeSelector = function( value, attributes ) { |
Index: trunk/extensions/Survey/Survey.php |
— | — | @@ -140,6 +140,7 @@ |
141 | 141 | 'survey-question-type-select', |
142 | 142 | 'survey-question-type-radio', |
143 | 143 | 'survey-question-type-textarea', |
| 144 | + 'survey-question-type-check', |
144 | 145 | 'survey-question-label-nr', |
145 | 146 | 'survey-special-label-required', |
146 | 147 | 'survey-special-label-type', |
Index: trunk/extensions/Survey/Survey.i18n.php |
— | — | @@ -67,11 +67,12 @@ |
68 | 68 | 'survey-special-label-button' => 'Add question', |
69 | 69 | 'survey-special-label-addquestion' => 'New question', |
70 | 70 | 'survey-special-label-add' => 'New question name', |
71 | | - 'survey-question-type-text' => 'Free text', |
| 71 | + 'survey-question-type-text' => 'Single line text field', |
72 | 72 | 'survey-question-type-number' => 'Number', |
73 | 73 | 'survey-question-type-select' => 'Dropdown menu', |
74 | 74 | 'survey-question-type-radio' => 'Radio boxes', |
75 | | - 'survey-question-type-textarea' => 'Text area', |
| 75 | + 'survey-question-type-textarea' => 'Multi line text field', |
| 76 | + 'survey-question-type-check' => 'Checkbox', |
76 | 77 | 'survey-question-label-nr' => 'Question #$1', |
77 | 78 | 'survey-special-label-required' => 'Question is required', |
78 | 79 | 'survey-special-label-type' => 'Question type', |