-
Notifications
You must be signed in to change notification settings - Fork 988
/
exportdialog.php
41 lines (41 loc) · 2.83 KB
/
exportdialog.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
<div class='header ui-widget-header'><?php $clang->eT("Token export options"); ?></div><br />
<form id='exportdialog' name='exportdialog' action='<?php echo $this->createUrl("admin/tokens/exportdialog/surveyid/$surveyid"); ?>' method='post'>
<ul><li><label for='tokenstatus'><?php $clang->eT('Token status:'); ?></label><select id='tokenstatus' name='tokenstatus' >
<option selected='selected' value='0'><?php $clang->eT('All tokens'); ?></option>
<option value='1'><?php $clang->eT('Completed'); ?></option>
<option value='2'><?php $clang->eT('Not started'); ?></option>
<?php
if ($thissurvey['anonymized'] == 'N')
{
echo "<option value='3'>" . $clang->gT('Started but not yet completed') . "</option>";
}
?>
</select></li>
<li><label for='invitationstatus'><?php $clang->eT('Invitation status:'); ?></label><select id='invitationstatus' name='invitationstatus' >
<option selected='selected' value='0'><?php $clang->eT('All'); ?></option>
<option value='1'><?php $clang->eT('Invited'); ?></option>
<option value='2'><?php $clang->eT('Not invited'); ?></option>
</select></li>
<li><label for='reminderstatus'><?php $clang->eT('Reminder status:'); ?></label><select id='reminderstatus' name='reminderstatus' >
<option selected='selected' value='0'><?php $clang->eT('All'); ?></option>
<option value='1'><?php $clang->eT('Reminder(s) sent'); ?></option>
<option value='2'><?php $clang->eT('No reminder(s) sent'); ?></option>
</select></li>
<li><label for='tokenlanguage' ><?php $clang->eT('Filter by language'); ?></label><select id='tokenlanguage' name='tokenlanguage' >
<option selected='selected' value=''><?php $clang->eT('All'); ?></option>
<?php
foreach ($resultr as $lrow)
{
echo "<option value='{$lrow['language']}'>" . getLanguageNameFromCode($lrow['language']) . "</option>";
}
?>
</select></li>
<li><label for='filteremail' ><?php $clang->eT('Filter by email address'); ?></label><input type='text' id='filteremail' name='filteremail' /></li>
<li> </li>
<li><label for='tokendeleteexported' ><?php $clang->eT('Delete exported tokens'); ?></label><input type='checkbox' id='tokendeleteexported' name='tokendeleteexported' /> </li>
</ul>
<p><input type='submit' name='submit' value='<?php $clang->eT('Export tokens'); ?>' />
<input type='hidden' name='action' id='action' value='tokens' />
<input type='hidden' name='sid' id='sid' value='<?php echo $surveyid; ?>' />
<input type='hidden' name='subaction' id='subaction' value='export' />
</p></form>