| 1 |
<?php |
<?php |
| 2 |
/* $Id: nodewords_nodetype.module,v 1.2.2.1 2009/06/01 17:36:37 hanoii Exp $ */ |
/* $Id: nodewords_nodetype.module,v 1.2.2.2 2009/06/01 18:30:19 hanoii Exp $ */ |
| 3 |
|
|
| 4 |
function nodewords_nodetype_form_alter(&$form, &$form_state, $form_id) { |
function nodewords_nodetype_form_alter(&$form, &$form_state, $form_id) { |
| 5 |
if ($form_id == 'node_type_form' && isset($form['#node_type'])) { |
if ($form_id == 'node_type_form' && isset($form['#node_type'])) { |
| 12 |
); |
); |
| 13 |
$form['nodewords_nodetype']['nodewords_nodetype_robots'] = array( |
$form['nodewords_nodetype']['nodewords_nodetype_robots'] = array( |
| 14 |
'#type' => 'select', |
'#type' => 'select', |
| 15 |
'#title' => t('Default robots meta tag'), |
'#title' => t('Default "robots" meta tag'), |
| 16 |
'#options' => array( |
'#options' => array( |
| 17 |
'' => t('Use Meta tags default'), |
'' => t('Use Meta tags default'), |
| 18 |
'index,follow' => 'ALL=INDEX,FOLLOW', |
'index,follow' => 'ALL=INDEX,FOLLOW', |