| 1 |
<?php |
<?php |
| 2 |
// $Id: node_images.module,v 1.11.2.8 2008/08/28 14:33:17 stefano73 Exp $ |
// $Id: node_images.module,v 1.11.2.9 2008/09/08 09:14:00 stefano73 Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 68 |
* implementation of hook_form_alter() |
* implementation of hook_form_alter() |
| 69 |
*/ |
*/ |
| 70 |
function node_images_form_alter(&$form, $form_state, $form_id) { |
function node_images_form_alter(&$form, $form_state, $form_id) { |
|
$type = $form['#node_type']->type; |
|
| 71 |
if ($form_id == 'node_type_form' && isset($form['identity']['type'])) { |
if ($form_id == 'node_type_form' && isset($form['identity']['type'])) { |
| 72 |
|
$type = $form['#node_type']->type; |
| 73 |
// radio button in the node's content type configuration page |
// radio button in the node's content type configuration page |
| 74 |
_node_images_check_settings(); |
_node_images_check_settings(); |
| 75 |
$form['node_images'] = array( |
$form['node_images'] = array( |