diff --git a/application/controllers/admin/survey.php b/application/controllers/admin/survey.php index 468d829ec6c..4416b2d8e31 100644 --- a/application/controllers/admin/survey.php +++ b/application/controllers/admin/survey.php @@ -272,7 +272,7 @@ function _generalTabNewSurvey() */ $data['clang'] = $clang; $data['owner'] = $owner; - return $this->load->view('admin/survey/superview/SuperGeneralNewSurvey_view',$data, true); + return $this->load->view('admin/survey/superview/superGeneralNewSurvey_view',$data, true); } function _generalTabEditSurvey($surveyid,$esrow) @@ -351,7 +351,7 @@ function _generalTabEditSurvey($surveyid,$esrow) $data['clang'] = $clang; $data['esrow'] = $esrow; $data['surveyid'] = $surveyid; - return $this->load->view('admin/survey/superview/SuperGeneralEditSurey_view',$data, true); + return $this->load->view('admin/survey/superview/superGeneralEditSurey_view',$data, true); } @@ -699,13 +699,14 @@ function _tabPresentationNavigation($esrow) $data['showXquestions'] = $showXquestions; $data['showgroupinfo'] = $showgroupinfo; $data['showqnumcode'] = $showqnumcode; - return $this->load->view('admin/survey/superview/SuperPresentation_view',$data, true); + return $this->load->view('admin/survey/superview/superPresentation_view',$data, true); } function _tabPublicationAccess($esrow) { $clang = $this->limesurvey_lang; + /** $editsurvey = "
\n"; return $editsurvey; + */ + $data['clang'] = $clang; + $data['esrow'] = $esrow; + //$data['surveyid'] = $surveyid; + $data['startdate'] = $startdate; + $data['expires'] = $expires; + //$data['showgroupinfo'] = $showgroupinfo; + //$data['showqnumcode'] = $showqnumcode; + return $this->load->view('admin/survey/superview/superPublication_view',$data, true); + } function _tabNotificationDataManagement($esrow) { $clang = $this->limesurvey_lang; + + /** // Notification and Data management TAB $editsurvey = "
\n"; - return $editsurvey; + return $editsurvey; */ + $data['clang'] = $clang; + $data['esrow'] = $esrow; + + //$data['showqnumcode'] = $showqnumcode; + return $this->load->view('admin/survey/superview/superNotification_view',$data, true); + } function _tabTokens($esrow) { $clang = $this->limesurvey_lang; // Tokens TAB + /** $editsurvey = "
\n"; - return $editsurvey; + return $editsurvey; */ + $data['clang'] = $clang; + $data['esrow'] = $esrow; + + //$data['showqnumcode'] = $showqnumcode; + return $this->load->view('admin/survey/superview/superTokens_view',$data, true); } function _tabImport() { $clang = $this->limesurvey_lang; + /** // Import TAB $editsurvey = "
\n"; @@ -1119,16 +1146,21 @@ function _tabImport() // End Import TAB $editsurvey .= "
\n"; - return $editsurvey; + return $editsurvey; */ + $data['clang'] = $clang; + //$data['esrow'] = $esrow; + + //$data['showqnumcode'] = $showqnumcode; + return $this->load->view('admin/survey/superview/superImport_view',$data, true); } function _tabCopy() { $clang = $this->limesurvey_lang; - + /** // Copy survey TAB $editsurvey = "
\n"; - + // Copy survey $editsurvey .= "
\n" . "
\n"; return $editsurvey; + */ + + $data['clang'] = $clang; + //$data['esrow'] = $esrow; + + //$data['showqnumcode'] = $showqnumcode; + return $this->load->view('admin/survey/superview/superCopy_view',$data, true); } + function _tabResourceManagement($surveyid) { $clang = $this->limesurvey_lang; @@ -1169,6 +1209,7 @@ function _tabResourceManagement($surveyid) if (hasResources($surveyid, 'survey') === false) { $disabledIfNoResources = " disabled='disabled'"; } + /** // functionality not ported $editsurvey = "
\n" . "\n" @@ -1187,7 +1228,14 @@ function _tabResourceManagement($surveyid) // End TAB Uploaded Resources Management $editsurvey .= "
\n"; - return $editsurvey; + return $editsurvey; */ + $data['clang'] = $clang; + //$data['esrow'] = $esrow; + $data['ZIPimportAction'] = $ZIPimportAction; + $data['disabledIfNoResources'] = $disabledIfNoResources; + $dqata['sCKEditorURL'] = $sCKEditorURL; + //$data['showqnumcode'] = $showqnumcode; + return $this->load->view('admin/survey/superview/superResourceManagement_view',$data, true); } diff --git a/application/views/admin/Survey/superview/superCopy_view.php b/application/views/admin/Survey/superview/superCopy_view.php new file mode 100644 index 00000000000..8c3d4713894 --- /dev/null +++ b/application/views/admin/Survey/superview/superCopy_view.php @@ -0,0 +1,22 @@ +
+ ' id='copysurveyform' method='post'> + +

+

+ + +
\ No newline at end of file diff --git a/application/views/admin/Survey/superview/superImport_view.php b/application/views/admin/Survey/superview/superImport_view.php new file mode 100644 index 00000000000..e7d57ba8085 --- /dev/null +++ b/application/views/admin/Survey/superview/superImport_view.php @@ -0,0 +1,13 @@ +
+ + +
' method='post' onsubmit='return validatefilename(this,"gT('Please select a file to import!', 'js'); ?> ");'> + +

+

+ +
\ No newline at end of file diff --git a/application/views/admin/Survey/superview/superNotification_view.php b/application/views/admin/Survey/superview/superNotification_view.php new file mode 100644 index 00000000000..b3d51bde3a0 --- /dev/null +++ b/application/views/admin/Survey/superview/superNotification_view.php @@ -0,0 +1,215 @@ +
\ No newline at end of file diff --git a/application/views/admin/Survey/superview/superPublication_view.php b/application/views/admin/Survey/superview/superPublication_view.php new file mode 100644 index 00000000000..3da933e3cf4 --- /dev/null +++ b/application/views/admin/Survey/superview/superPublication_view.php @@ -0,0 +1,142 @@ +
+ \ No newline at end of file diff --git a/application/views/admin/Survey/superview/superResourceManagement.php b/application/views/admin/Survey/superview/superResourceManagement.php new file mode 100644 index 00000000000..b180b295005 --- /dev/null +++ b/application/views/admin/Survey/superview/superResourceManagement.php @@ -0,0 +1,17 @@ +
+
");'> + + +
+ + +
\ No newline at end of file diff --git a/application/views/admin/Survey/superview/superTokens_view.php b/application/views/admin/Survey/superview/superTokens_view.php new file mode 100644 index 00000000000..fbe4cf0c9ed --- /dev/null +++ b/application/views/admin/Survey/superview/superTokens_view.php @@ -0,0 +1,23 @@ +
\ No newline at end of file