| 1 |
<?php
|
| 2 |
// $Id: nodetypeviews.admin.inc,v 1.1 2008/08/30 22:26:01 yaph Exp $
|
| 3 |
|
| 4 |
/**
|
| 5 |
* @file
|
| 6 |
* Admin settings for the Node Type Views module.
|
| 7 |
*/
|
| 8 |
|
| 9 |
/**
|
| 10 |
* Admin settings form
|
| 11 |
*/
|
| 12 |
function nodetypeviews_admin_settings() {
|
| 13 |
$form = array();
|
| 14 |
$form['nodetypeviews_node_types'] = array(
|
| 15 |
'#type' => 'checkboxes',
|
| 16 |
'#title' => t('Content Types'),
|
| 17 |
'#default_value' => variable_get('nodetypeviews_node_types', array()),
|
| 18 |
'#options' => node_get_types('names'),
|
| 19 |
'#description' => t("Select the content types to generate views for. Do not enable Blog entry, unless it is a content type you created the blog module takes care of that.")
|
| 20 |
);
|
| 21 |
return system_settings_form($form);
|
| 22 |
}
|