| 1 |
<?php |
<?php |
| 2 |
|
|
| 3 |
// $Id: skeleton_template.inc,v 1.18 2009/07/16 18:12:35 deviantintegral Exp $ |
// $Id: skeleton_template.inc,v 1.19 2009/08/27 17:33:43 deviantintegral Exp $ |
| 4 |
|
|
| 5 |
/** |
/** |
| 6 |
* @file |
* @file |
| 107 |
); |
); |
| 108 |
$types = node_get_types(); |
$types = node_get_types(); |
| 109 |
foreach ($types as $type) { |
foreach ($types as $type) { |
| 110 |
if (node_access('create', $type->type)) { |
$options[$type->type] = $type->name; |
|
$options[$type->type] = $type->name; |
|
|
} |
|
| 111 |
} |
} |
| 112 |
$form['skeleton_template']['node_type'] = array( |
$form['skeleton_template']['node_type'] = array( |
| 113 |
'#type' => 'select', |
'#type' => 'select', |