-
Notifications
You must be signed in to change notification settings - Fork 988
/
editquota_view.php
44 lines (44 loc) · 2.91 KB
/
editquota_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
<form action="<?php echo $this->createUrl("admin/quotas/surveyid/$iSurveyId/subaction/modifyquota");?>" method="post">
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#F8F8FF">
<tr>
<td valign="top">
<table width="100%" border="0">
<tbody>
<tr>
<td colspan="2" class="header ui-widget-header"><?php echo $clang->gT("Edit quota");?></td>
</tr>
<tr class="evenrow">
<td align="right"><blockquote>
<p><strong><?php echo $clang->gT("Quota name");?>:</strong></p>
</blockquote></td>
<td align="left"> <input name="quota_name" type="text" size="30" maxlength="255" value="<?php echo $quotainfo['name'];?>" /></td>
</tr>
<tr class="evenrow">
<td align="right"><blockquote>
<p><strong><?php echo $clang->gT("Quota limit");?>:</strong></p>
</blockquote></td>
<td align="left"><input name="quota_limit" type="text" size="12" maxlength="8" value="<?php echo $quotainfo['qlimit'];?>" /></td>
</tr>
<tr class="evenrow">
<td align="right"><blockquote>
<p><strong><?php echo $clang->gT("Quota action");?>:</strong></p>
</blockquote></td>
<td align="left"> <select name="quota_action">
<option value ="1" '<?php if($quotainfo['action'] == 1) echo "selected"; ?>'><?php echo $clang->gT("Terminate survey");?></option>
<option value ="2" '<?php if($quotainfo['action'] == 2) echo "selected"; ?>'><?php echo $clang->gT("Terminate survey with warning");?></option>
</select></td>
</tr>
<tr class="evenrow">
<td align="right"><blockquote>
<p><strong><?php echo $clang->gT("Autoload URL");?>:</strong></p>
</blockquote></td>
<td align="left"><input name="autoload_url" type="checkbox" value="1"<?php if($quotainfo['autoload_url'] == "1") {echo " checked";}?> /></td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
</div>
<div id="tabs">