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

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

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


Revision 1.2 - (show annotations) (download) (as text)
Fri Sep 5 20:38:12 2008 UTC (14 months, 3 weeks ago) by yaph
Branch: MAIN
CVS Tags: DRUPAL-6--1-4, DRUPAL-6--1-5, DRUPAL-6--1-0, DRUPAL-6--1-1, DRUPAL-6--1-2, DRUPAL-6--1-3, HEAD
Changes since 1.1: +4 -5 lines
File MIME type: text/x-php
change form field type from radio to radios
1 <?php
2 // $Id: content_refresh.admin.inc,v 1.1 2008/09/05 19:25:51 yaph Exp $
3
4 /**
5 * @file
6 * Admin settings for the Content Refresh module.
7 */
8
9 /**
10 * Admin settings form for the Content Refresh module
11 */
12 function content_refresh_admin_settings() {
13 $form = array();
14 $form['content_refresh'] = array(
15 '#type' => 'fieldset',
16 '#title' => t('Content Refresh settings')
17 );
18
19 $form['content_refresh']['content_refresh_clear_front_page_cache'] = array(
20 '#type' => 'radios',
21 '#title' => t('Clear Front Page Cache'),
22 '#default_value' => variable_get('content_refresh_clear_front_page_cache', 1),
23 '#options' => array(t('No'), t('Yes')),
24 '#description' => t('Shall the front page cache be cleared when new promoted content is created or existing promoted content is updated or deleted.')
25 );
26
27 return system_settings_form($form);
28 }

  ViewVC Help
Powered by ViewVC 1.1.2