/
surveyTopbarRight_view.php
72 lines (65 loc) · 2.2 KB
/
surveyTopbarRight_view.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!-- White Close button -->
<?php if (!empty($showWhiteCloseButton)) :?>
<a class="btn btn-default" href="<?php echo $closeUrl ?>" role="button">
<span class="fa fa-close"></span>
<?php eT("Close");?>
</a>
<?php endif;?>
<!-- Save and Close -->
<?php if(!empty($showSaveAndCloseButton)): ?>
<a class="btn btn-default"
href="<?php echo $closeUrl; ?>"
role="button"
id="save-and-close-button"
onclick="$(this).addClass('disabled').attr('onclick', 'return false;');">
<span class="fa fa-saved"></span>
<?php eT("Save and close");?>
</a>
<?php endif; ?>
<!-- Green Save and Close -->
<?php if(!empty($showGreenSaveAndCloseButton)): ?>
<a class="btn btn-success"
href="<?php echo $closeUrl; ?>"
role="button"
id="save-and-close-button"
onclick="$(this).addClass('disabled').attr('onclick', 'return false;');">
<span class="fa fa-saved"></span>
<?php eT("Save and close");?>
</a>
<?php endif; ?>
<!-- Save -->
<?php if(!empty($showSaveButton)): ?>
<a id="save-button" class="btn btn-success pull-right" role="button">
<i class="fa fa-check"></i>
<?php eT("Save");?>
</a>
<?php endif; ?>
<!-- Export -->
<?php if(!empty($showExportButton)): ?>
<button class="btn btn-success" name="export-button" id="export-button" data-submit-form=1>
<span class="fa fa-download-alt"></span>
<?php eT("Export");?>
</button>
<?php endif;?>
<!-- Import -->
<?php if(!empty($showImportButton)): ?>
<button class="btn btn-success" name="import-button" id="import-button" data-submit-form=1>
<span class="fa fa-upload"></span>
<?php eT("Import");?>
</button>
<?php endif;?>
<!-- Return -->
<?php if (!empty($showBackButton)): ?>
<a class="btn btn-default" href="<?php echo $returnUrl; ?>" role="button">
<span class="fa fa-backward"></span>
<?php eT('Back') ?>
</a>
<?php endif;?>
<!-- Close -->
<?php if(!empty($showCloseButton)): ?>
<a class="btn btn-danger" href="<?php echo $closeUrl; ?>" role="button">
<span class="fa fa-close"></span>
<?php eT("Close");?>
</a>
<?php endif;?>