Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dev: saving survey option from editlocalsetting
- Loading branch information
louis
committed
Sep 22, 2015
1 parent
1c54c20
commit 1f78a2c
Showing
10 changed files
with
507 additions
and
272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 21 additions & 10 deletions
31
application/views/admin/survey/editLocalSettings_main_view.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,36 @@ | ||
<?php | ||
/** | ||
* General container for edit survey action | ||
*/ | ||
?> | ||
<?php | ||
extract($settings_data); | ||
$count = 0; | ||
if(isset($scripts)) | ||
echo $scripts; | ||
?> | ||
<?php | ||
$data = array('aTabTitles'=>$aTabTitles, 'aTabContents'=>$aTabContents, 'has_permissions'=>$has_permissions, 'surveyid'=>$surveyid,'surveyls_language'=>$surveyls_language); | ||
$data = array('aTabTitles'=>$aTabTitles, 'aTabContents'=>$aTabContents, 'has_permissions'=>$has_permissions, 'surveyid'=>$surveyid,'surveyls_language'=>$surveyls_language); | ||
?> | ||
|
||
<div class="side-body" id="edit-survey-text-element"> | ||
<div class="row"> | ||
<h3 class="pagetitle"><?php echo gT("Edit survey text elements and settings"); ?></h3> | ||
|
||
<!-- Edition container --> | ||
<div class="row" style="margin-bottom: 100px"> | ||
|
||
<!-- Form --> | ||
<?php echo CHtml::form(array("admin/database/index/updatesurveylocalesettings"), 'post', array('id'=>'globalsetting','name'=>'globalsetting','class'=>'form-horizontal form30')); ?> | ||
<div class="col-lg-8 content-right"> | ||
<?php $this->renderPartial('/admin/survey/subview/tab_edit_view',$data); ?> | ||
</div> | ||
<div class="col-lg-4"> | ||
<?php $this->renderPartial('/admin/survey/subview/accordion/_accordion_container', array('data'=>$settings_data)); ?> | ||
</div> | ||
</form> | ||
|
||
<!-- text edition --> | ||
<div class="col-lg-8 content-right"> | ||
<?php $this->renderPartial('/admin/survey/subview/tab_edit_view',$data); ?> | ||
</div> | ||
|
||
<!-- settings --> | ||
<div class="col-lg-4"> | ||
<?php $this->renderPartial('/admin/survey/subview/accordion/_accordion_container', array('data'=>$settings_data)); ?> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.