| 1 |
<?php // $Id: pay_form.inc,v 1.3 2009/04/28 03:32:01 vauxia Exp $ |
<?php // $Id: pay_form.inc,v 1.4 2009/04/30 19:18:07 vauxia Exp $ |
| 2 |
|
|
| 3 |
/** |
/** |
| 4 |
* @file |
* @file |
| 129 |
|
|
| 130 |
// Confirm that the amount falls within our min/max settings. |
// Confirm that the amount falls within our min/max settings. |
| 131 |
if (($total < $this->min_amount) || ($total > $this->max_amount) ) { |
if (($total < $this->min_amount) || ($total > $this->max_amount) ) { |
| 132 |
$total_error = t('Please enter an amount between %min and %max', array('%min' =>$this->min_amount, '%max' => $this->max_amount)); |
$error = t('Please enter an amount between %min and %max', array('%min' =>$this->min_amount, '%max' => $this->max_amount)); |
| 133 |
form_set_error('total', $error); |
form_set_error('total', $error); |
| 134 |
} |
} |
| 135 |
|
|