| 1 |
<?php |
<?php |
| 2 |
// $Id: webform.module,v 1.113.2.70.2.101 2009/11/06 00:25:46 quicksketch Exp $ |
// $Id: webform.module,v 1.113.2.70.2.102 2009/11/06 00:39:39 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. |
| 1033 |
} |
} |
| 1034 |
|
|
| 1035 |
// If the user has exceeded the limit of submissions, explain the limit. |
// If the user has exceeded the limit of submissions, explain the limit. |
| 1036 |
if ($limit_exceeded) { |
elseif ($limit_exceeded) { |
| 1037 |
if ($node->webform['submit_interval'] == -1 && $node->webform['submit_limit'] > 1) { |
if ($node->webform['submit_interval'] == -1 && $node->webform['submit_limit'] > 1) { |
| 1038 |
$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'])); |
| 1039 |
} |
} |