1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/limesurvey_ynh.git synced 2024-09-03 19:36:32 +02:00
limesurvey_ynh/sources/application/views/admin/quotas/viewquotasfooter_view.php

20 lines
824 B
PHP

<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td><?php echo $totalcompleted;?></td>
<td><?php echo $totalquotas;?></td>
<td style="padding: 3px;">
<?php if (Permission::model()->hasSurveyPermission($iSurveyId, 'quotas','create')) { ?>
<?php echo CHtml::form(array("admin/quotas/sa/newquota/surveyid/{$iSurveyId}"), 'post'); ?>
<input name="submit" type="submit" class="quota_new" value="<?php $clang->eT("Add New Quota");?>" />
<input type="hidden" name="sid" value="<?php echo $iSurveyId;?>" />
<input type="hidden" name="action" value="quotas" />
<input type="hidden" name="subaction" value="new_quota" />
</form>
<?php } ?>
</td>
</tr>
</tbody>
</table>