| 1 |
<?php |
<?php |
| 2 |
// $Id: webform.module,v 1.139 2009/11/06 00:38:09 quicksketch Exp $ |
// $Id: webform.module,v 1.140 2009/11/06 01:11:58 quicksketch Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* This module provides a simple way to create forms and questionnaires. |
* This module provides a simple way to create forms and questionnaires. |
| 891 |
} |
} |
| 892 |
|
|
| 893 |
// If the user has exceeded the limit of submissions, explain the limit. |
// If the user has exceeded the limit of submissions, explain the limit. |
| 894 |
if ($limit_exceeded) { |
elseif ($limit_exceeded) { |
| 895 |
if ($node->webform['submit_interval'] == -1 && $node->webform['submit_limit'] > 1) { |
if ($node->webform['submit_interval'] == -1 && $node->webform['submit_limit'] > 1) { |
| 896 |
$message = t('You have submitted this form the maximum number of times (@count).', array('@count' => $node->webform['submit_limit'])); |
$message = t('You have submitted this form the maximum number of times (@count).', array('@count' => $node->webform['submit_limit'])); |
| 897 |
} |
} |