/
deleteParticipantsTable.php
44 lines (44 loc) · 1.9 KB
/
deleteParticipantsTable.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
<?php
/**
* Delete Participants Table view
*/
?>
<div class="side-body <?php echo getSideBodyClass(false); ?>">
<div class="row welcom survey-action">
<div class="col-lg-12 content-right">
<div class="jumbotron message-box">
<?php echo CHtml::form(
array("admin/tokens/sa/kill", 'surveyid' => $surveyid),
'post',
array('id' => 'deletetokentable', 'name' => 'deletetokentable')
); ?>
<h3 class="lead"><?php eT('Delete survey participants table'); ?></h3>
<p>
<?php eT('Deleting the participants table will switch the survey back to open-access mode.'); ?>
<br /> <br />
<?php eT('Access codes will no longer be required to access this survey.'); ?>
<br /> <br />
<?php eT('A backup of this table will be made if you proceed. Your site administrator will be able to access this table.'); ?>
<br />
<?php echo '(' . $backupTableName . ')'; ?>
<br /> <br />
<?php eT("You can switch back to closed-access mode at any time. Navigate to Settings --> Survey participants and click on the 'Switch to closed-access mode' button."); ?>
<br />
</p>
<button
class="btn btn-danger"
type='submit'
name="ok"
value="Y"
>
<?php eT('Delete table'); ?>
</button>
<a
class="btn btn-default"
href="<?php echo $this->createUrl("admin/tokens/sa/index/surveyid/{$iSurveyId}"); ?>"
><?php eT('Cancel'); ?></a>
</form>
</div>
</div>
</div>
</div>