mirror of
https://github.com/YunoHost-Apps/limesurvey_ynh.git
synced 2024-09-03 19:36:32 +02:00
32 lines
1.4 KiB
PHP
32 lines
1.4 KiB
PHP
<?php
|
|
extract($data);
|
|
Yii::app()->loadHelper('admin/htmleditor');
|
|
PrepareEditorScript(false, $this);
|
|
?>
|
|
<script type="text/javascript">
|
|
standardtemplaterooturl='<?php echo Yii::app()->getConfig('standardtemplaterooturl');?>';
|
|
templaterooturl='<?php echo Yii::app()->getConfig('usertemplaterooturl');?>';
|
|
</script>
|
|
<div class='header ui-widget-header'><?php $clang->eT("Create, import, or copy survey"); ?></div>
|
|
<?php
|
|
$this->renderPartial('/admin/survey/subview/tab_view',$data);
|
|
$this->renderPartial('/admin/survey/subview/tabGeneralNewSurvey_view',$data);
|
|
$this->renderPartial('/admin/survey/subview/tabPresentation_view',$data);
|
|
$this->renderPartial('/admin/survey/subview/tabPublication_view',$data);
|
|
$this->renderPartial('/admin/survey/subview/tabNotification_view',$data);
|
|
$this->renderPartial('/admin/survey/subview/tabTokens_view',$data);
|
|
?>
|
|
|
|
<input type='hidden' id='surveysettingsaction' name='action' value='insertsurvey' />
|
|
</form>
|
|
<?php
|
|
$this->renderPartial('/admin/survey/subview/tabImport_view',$data);
|
|
$this->renderPartial('/admin/survey/subview/tabCopy_view',$data);
|
|
?>
|
|
</div>
|
|
|
|
<p><button id='btnSave' onclick="if (isEmpty(document.getElementById('surveyls_title'), '<?php $clang->eT("Error: You have to enter a title for this survey.", 'js');?>')) { document.getElementById('addnewsurvey').submit();}" class='standardbtn' >
|
|
<?php $clang->eT("Save");?>
|
|
</button>
|
|
</p>
|
|
|