| 1 |
<?php |
<?php |
| 2 |
// $Id: node_expire.module,v 1.7 2009/01/29 19:58:01 brmassa Exp $ |
// $Id: node_expire.module,v 1.8 2009/01/29 21:01:33 brmassa Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 63 |
'#type' => 'textfield', |
'#type' => 'textfield', |
| 64 |
'#default_value' => empty($ntypes[$ntype]['max']) ? '' : $ntypes[$ntype]['max'], |
'#default_value' => empty($ntypes[$ntype]['max']) ? '' : $ntypes[$ntype]['max'], |
| 65 |
); |
); |
| 66 |
|
$form['workflow']['node_expire_required'] = array( |
| 67 |
|
'#title' => t('Expiration Date Required'), |
| 68 |
|
'#type' => 'checkbox', |
| 69 |
|
'#default_value' => !empty($ntypes[$ntype]['required']), |
| 70 |
|
); |
| 71 |
|
|
| 72 |
// Add special validate/submit functions |
// Add special validate/submit functions |
| 73 |
module_load_include('ntype.inc', 'node_expire'); |
module_load_include('ntype.inc', 'node_expire'); |