| 1 |
<?php |
<?php |
| 2 |
// $Id: webform.module,v 1.124.2.100 2009/11/06 00:39:20 quicksketch Exp $ |
// $Id: webform.module,v 1.124.2.101 2009/11/06 01:10:55 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. |
| 1211 |
} |
} |
| 1212 |
|
|
| 1213 |
// If the user has exceeded the limit of submissions, explain the limit. |
// If the user has exceeded the limit of submissions, explain the limit. |
| 1214 |
if ($limit_exceeded) { |
elseif ($limit_exceeded) { |
| 1215 |
if ($node->webform['submit_interval'] == -1 && $node->webform['submit_limit'] > 1) { |
if ($node->webform['submit_interval'] == -1 && $node->webform['submit_limit'] > 1) { |
| 1216 |
$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'])); |
| 1217 |
} |
} |