diff --git a/application/config/packages.php b/application/config/packages.php index 4b805dd26bb..45adb871952 100644 --- a/application/config/packages.php +++ b/application/config/packages.php @@ -104,7 +104,7 @@ ) ), 'adminpanel' => array( - 'devBaseUrl' => 'assets/packages/adminpanel/build/', + //'devBaseUrl' => 'assets/packages/adminpanel/build/', 'basePath' => 'core.adminpanel.build', 'coreScriptPosition'=>CClientScript::POS_END, 'defaultScriptFilePosition' =>CClientScript::POS_END, diff --git a/application/views/admin/survey/subview/accordion/_presentation_panel.php b/application/views/admin/survey/subview/accordion/_presentation_panel.php index 8f2f27c95f3..c1c1cf48c3f 100644 --- a/application/views/admin/survey/subview/accordion/_presentation_panel.php +++ b/application/views/admin/survey/subview/accordion/_presentation_panel.php @@ -5,385 +5,385 @@ ?> -
- - - -
- -
- widget('yiiwheels.widgets.switch.WhSwitch', array( - 'name' => 'showwelcome', - 'value'=> $esrow['showwelcome'] == "Y", - 'onLabel'=>gT('On'), - 'offLabel'=>gT('Off') - )); - ?> -
-
- - -
- -
- -
-
- - -
- -
- widget('yiiwheels.widgets.switch.WhSwitch', array( - 'name' => 'allowprev', - 'value'=> $esrow['allowprev'] == "Y", - 'onLabel'=>gT('On'), - 'offLabel'=>gT('Off') - )); - ?> -
-
- - -
- -
- - widget('yiiwheels.widgets.buttongroup.WhButtonGroup', array( - 'name' => 'questionindex', - 'value'=> $esrow['questionindex'] , - 'selectOptions'=>array( - 0 => gT('Disabled','unescaped'), - 1 => gT('Incremental','unescaped'), - 2 => gT('Full','unescaped')) - ));?> -
-
- - -
- -
- widget('yiiwheels.widgets.switch.WhSwitch', array( - 'name' => 'nokeyboard', - 'value'=> $esrow['nokeyboard'] == "Y", - 'onLabel'=>gT('On'), - 'offLabel'=>gT('Off') - )); - ?> -
-
- - -
- -
- widget('yiiwheels.widgets.switch.WhSwitch', array( - 'name' => 'showprogress', - 'value'=> $esrow['showprogress'] == "Y", - 'onLabel'=>gT('On'), - 'offLabel'=>gT('Off') - )); - ?> -
-
- - -
- -
- widget('yiiwheels.widgets.switch.WhSwitch', array( - 'name' => 'printanswers', - 'value'=> $esrow['printanswers'] == "Y", - 'onLabel'=>gT('On'), - 'offLabel'=>gT('Off') - )); - ?> -
-
- - -
- -
- widget('yiiwheels.widgets.switch.WhSwitch', array( - 'name' => 'publicstatistics', - 'value'=> $esrow['publicstatistics'] == "Y", - 'onLabel'=>gT('On'), - 'offLabel'=>gT('Off') - )); - ?> -
-
- - -
- -
- widget('yiiwheels.widgets.switch.WhSwitch', array( - 'name' => 'publicgraphs', - 'value'=> $esrow['publicgraphs'] == "Y", - 'onLabel'=>gT('On'), - 'offLabel'=>gT('Off') - )); - ?> +
+
+ +
+ +
+ +
-
- - -
- -
- widget('yiiwheels.widgets.switch.WhSwitch', array( - 'name' => 'autoredirect', - 'value'=> $esrow['autoredirect'] == "Y", - 'onLabel'=>gT('On'), - 'offLabel'=>gT('Off') - )); - ?> + +
+ +
+ + widget('yiiwheels.widgets.buttongroup.WhButtonGroup', array( + 'name' => 'questionindex', + 'value'=> $esrow['questionindex'] , + 'selectOptions'=>array( + 0 => gT('Disabled','unescaped'), + 1 => gT('Incremental','unescaped'), + 2 => gT('Full','unescaped')) + ));?> +
-
+ + + + +
+ +
+ + +
+
+ - - +
- - + +
- + - + - -
- -
- - -
-
- - - - - -
- -
- widget('yiiwheels.widgets.switch.WhSwitch', array( - 'name' => 'showxquestions', - 'value'=> $esrow['showxquestions'] == "Y", - 'onLabel'=>gT('On'), - 'offLabel'=>gT('Off') - )); - ?> + +
+ +
+ widget('yiiwheels.widgets.switch.WhSwitch', array( + 'name' => 'showxquestions', + 'value'=> $esrow['showxquestions'] == "Y", + 'onLabel'=>gT('On'), + 'offLabel'=>gT('Off') + )); + ?> +
-
- - - - + + + + + + +
+ +
+ + +
+
+ +
- - + +
- - - - -
- -
- - -
-
- + - + - -
- -
- - + +
+ +
+ + +
-
- + - + - -
- -
- - + +
+ +
+ + +
-
- - - - '' , 'D' => '' , 'N' => '' , 'X' => '' ); - if (isset($esrow['showgroupinfo'])) - { - $set_showgri = $esrow['showgroupinfo']; - $sel_showgri[$set_showgri] = ' selected="selected"'; - } - if (empty($sel_showgri['B']) && empty($sel_showgri['D']) && empty($sel_showgri['N']) && empty($sel_showgri['X'])) - $sel_showgri['C'] = ' selected="selected"'; - ?> - - -
- -
- - + + + + '' , 'D' => '' , 'N' => '' , 'X' => '' ); + if (isset($esrow['showgroupinfo'])) + { + $set_showgri = $esrow['showgroupinfo']; + $sel_showgri[$set_showgri] = ' selected="selected"'; + } + if (empty($sel_showgri['B']) && empty($sel_showgri['D']) && empty($sel_showgri['N']) && empty($sel_showgri['X'])) + $sel_showgri['C'] = ' selected="selected"'; + ?> + + +
+ +
+ + +
-
- + - + - + + + +
+ +
+ + +
+
+ + +
- - + + +
- + - - - -
- -
- - + + +
+ +
+ + +
-
- + - + - -
- -
- - + +
+ +
+ + +
-
- - - + + + + '' , 'C' => '' , 'N' => '' , 'X' => '' ); + if (isset($esrow['showqnumcode'])) { + $set_showqnc = $esrow['showqnumcode']; + $sel_showqnc[$set_showqnc] = ' selected="selected"'; + } + if (empty($sel_showqnc['B']) && empty($sel_showqnc['C']) && empty($sel_showqnc['N']) && empty($sel_showqnc['X'])) { + $sel_showqnc['X'] = ' selected="selected"'; + }; + ?> - -
- -
- - -
-
- - - - '' , 'C' => '' , 'N' => '' , 'X' => '' ); - if (isset($esrow['showqnumcode'])) { - $set_showqnc = $esrow['showqnumcode']; - $sel_showqnc[$set_showqnc] = ' selected="selected"'; - } - if (empty($sel_showqnc['B']) && empty($sel_showqnc['C']) && empty($sel_showqnc['N']) && empty($sel_showqnc['X'])) { - $sel_showqnc['X'] = ' selected="selected"'; - }; - ?> - - -
- -
- - + +
+ +
+ + +
-
- - + + + + + + +
+ +
+ +
+
+ - +
- +
- + widget('yiiwheels.widgets.switch.WhSwitch', array( + 'name' => 'shownoanswer', + 'value'=> $esrow['shownoanswer'] == "Y", + 'onLabel'=>gT('On'), + 'offLabel'=>gT('Off') + )); + ?>
- - - - - -
- -
- widget('yiiwheels.widgets.switch.WhSwitch', array( - 'name' => 'shownoanswer', - 'value'=> $esrow['shownoanswer'] == "Y", - 'onLabel'=>gT('On'), - 'offLabel'=>gT('Off') - )); - ?> + + + + + +
+ +
+ + +
+ + + +
+
+ + +
+ +
+ widget('yiiwheels.widgets.switch.WhSwitch', array( + 'name' => 'showwelcome', + 'value'=> $esrow['showwelcome'] == "Y", + 'onLabel'=>gT('On'), + 'offLabel'=>gT('Off') + )); + ?>
- +
- + +
+ +
+ widget('yiiwheels.widgets.switch.WhSwitch', array( + 'name' => 'allowprev', + 'value'=> $esrow['allowprev'] == "Y", + 'onLabel'=>gT('On'), + 'offLabel'=>gT('Off') + )); + ?> +
+
- -
- -
- - -
+ + +
+ +
+ widget('yiiwheels.widgets.switch.WhSwitch', array( + 'name' => 'nokeyboard', + 'value'=> $esrow['nokeyboard'] == "Y", + 'onLabel'=>gT('On'), + 'offLabel'=>gT('Off') + )); + ?>
- +
- + +
+ +
+ widget('yiiwheels.widgets.switch.WhSwitch', array( + 'name' => 'showprogress', + 'value'=> $esrow['showprogress'] == "Y", + 'onLabel'=>gT('On'), + 'offLabel'=>gT('Off') + )); + ?> +
+
+ +
+ +
+ widget('yiiwheels.widgets.switch.WhSwitch', array( + 'name' => 'printanswers', + 'value'=> $esrow['printanswers'] == "Y", + 'onLabel'=>gT('On'), + 'offLabel'=>gT('Off') + )); + ?> +
+
+ + +
+ +
+ widget('yiiwheels.widgets.switch.WhSwitch', array( + 'name' => 'publicstatistics', + 'value'=> $esrow['publicstatistics'] == "Y", + 'onLabel'=>gT('On'), + 'offLabel'=>gT('Off') + )); + ?> +
+
+ + +
+ +
+ widget('yiiwheels.widgets.switch.WhSwitch', array( + 'name' => 'publicgraphs', + 'value'=> $esrow['publicgraphs'] == "Y", + 'onLabel'=>gT('On'), + 'offLabel'=>gT('Off') + )); + ?> +
+
+ + +
+ +
+ widget('yiiwheels.widgets.switch.WhSwitch', array( + 'name' => 'autoredirect', + 'value'=> $esrow['autoredirect'] == "Y", + 'onLabel'=>gT('On'), + 'offLabel'=>gT('Off') + )); + ?> +
+
+