/[drupal]/contributions/modules/nodetypeviews/nodetypeviews.admin.inc
ViewVC logotype

Contents of /contributions/modules/nodetypeviews/nodetypeviews.admin.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download) (as text)
Sat Aug 30 22:54:39 2008 UTC (14 months, 3 weeks ago) by yaph
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-BETA3, DRUPAL-6--1-0-BETA2, DRUPAL-6--1-0-BETA1, HEAD
Branch point for: DRUPAL-6--1
Changes since 1.1: +3 -3 lines
File MIME type: text/x-php
Added uninstall hook and changed the displayed help messages to use content type instead of node type
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 }

  ViewVC Help
Powered by ViewVC 1.1.2