/
survey_logic_file.php
35 lines (31 loc) · 1.49 KB
/
survey_logic_file.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
/**
* Important functionailites are set in core now, this is just to render the output
*/
$gid = $gid ?? NULL;
$qid = $qid ?? NULL;
// DO NOT REMOVE This is for automated testing to validate we see that page
echo viewHelper::getViewTestTag('surveyLogicFile');
?>
<div id='edit-survey-text-element' class='side-body <?php echo getSideBodyClass(false); ?>'>
<div class="container-center">
<h3><?php eT("Survey logic view");?> </h3>
<div class="row">
<?=TbHtml::form(array('admin/expressions/sa/survey_logic_file'), 'post', array('id'=>'survey_logic_file_form', 'target' => '_blank'))?>
<input name="sid" type="hidden" value="<?=$sid?>" />
<?php if($gid!==NULL): ?> <input name="gid" type="hidden" value="<?=$gid?>" /> <?php endif; ?>
<?php if($qid!==NULL): ?> <input name="qid" type="hidden" value="<?=$qid?>" /> <?php endif; ?>
<?php if($lang!==NULL): ?> <input name="lang" type="hidden" value="<?=$lang?>" /> <?php endif; ?>
<input name="printable" type="hidden" value="1" />
<div class="form-group">
<input type="submit" name="printablesubmit" value="<?=gT("Open printable view")?>" class="btn btn-default" />
</div>
</form>
</div>
<div class="row">
<div class="col-lg-12 content-right">
<?php echo $result['html']; ?>
</div>
</div>
</div>
</div>