/[drupal]/contributions/modules/cleanfeeds/cleanfeeds.module
ViewVC logotype

Diff of /contributions/modules/cleanfeeds/cleanfeeds.module

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

revision 1.5.2.1, Sun Sep 28 19:59:14 2008 UTC revision 1.5.2.2, Mon Oct 20 14:28:42 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2    
3  //$Id: cleanfeeds.module,v 1.5 2008/09/28 01:06:31 kbahey Exp $  //$Id: cleanfeeds.module,v 1.5.2.1 2008/09/28 19:59:14 kbahey Exp $
4    
5  // Copyright 2006 Khalid Baheyeldin http://2bits.com  // Copyright 2006 Khalid Baheyeldin http://2bits.com
6    
# Line 17  function cleanfeeds_menu() { Line 17  function cleanfeeds_menu() {
17    $items = array();    $items = array();
18    
19    $items['admin/settings/cleanfeeds'] = array(    $items['admin/settings/cleanfeeds'] = array(
20      'title'          => 'Cleanfeeds',      'title'            => 'Cleanfeeds',
21      'description'    => t('Settings of the Cleanfeeds module'),      'description'      => t('Settings of the Cleanfeeds module'),
22      'page callback'  => 'drupal_get_form',      'page callback'    => 'drupal_get_form',
23      'page arguments' => array('cleanfeeds_settings'),      'page arguments'   => array('cleanfeeds_settings'),
24      'access'         => array('administer site configuration'),      'access arguments' => array('administer site configuration'),
25    );    );
26    
27    return $items;    return $items;
# Line 31  function cleanfeeds_settings() { Line 31  function cleanfeeds_settings() {
31    $group = 'options';    $group = 'options';
32    $form[$group] = array(    $form[$group] = array(
33      '#type'        => 'fieldset',      '#type'        => 'fieldset',
34      '#collapsible' => true,      '#collapsible' => TRUE,
35      );      );
36    foreach(node_get_types() as $type => $obj) {    foreach(node_get_types() as $type => $obj) {
37      $form[$group][CLEANFEEDS_NODE . $type] = array(      $form[$group][CLEANFEEDS_NODE . $type] = array(

Legend:
Removed from v.1.5.2.1  
changed lines
  Added in v.1.5.2.2

  ViewVC Help
Powered by ViewVC 1.1.2