/[drupal]/contributions/modules/taxonomy_block/taxonomy_block.settings.inc
ViewVC logotype

Diff of /contributions/modules/taxonomy_block/taxonomy_block.settings.inc

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

revision 1.3, Fri Aug 14 02:56:43 2009 UTC revision 1.4, Wed Nov 11 09:25:16 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: taxonomy_block.settings.inc,v 1.2 2009/06/23 17:56:53 thenicespider Exp $  // $Id: taxonomy_block.settings.inc,v 1.3 2009/08/14 02:56:43 thenicespider Exp $
3  /**  /**
4   * @file   * @file
5   * Settings page callback file for the taxonomy_block module.   * Settings page callback file for the taxonomy_block module.
# Line 42  function taxonomy_block_admin_settings() Line 42  function taxonomy_block_admin_settings()
42      '#default_value' => variable_get('taxonomy_block_settings_node_count', 0)      '#default_value' => variable_get('taxonomy_block_settings_node_count', 0)
43    );    );
44    
45      $form['taxonomy_block_settings']['taxonomy_block_settings_order_by'] = array(
46        '#type' => 'select',
47        '#title' => t("Order by"),
48        '#default_value' => variable_get('taxonomy_block_settings_order_by', 0),
49        '#options' => array(t("Name"), t("Weight"))
50      );
51    
52      $form['taxonomy_block_settings']['taxonomy_block_settings_order_type'] = array(
53      '#type' => 'select',
54      '#title' => t('Order Type'),
55      '#default_value' => variable_get('taxonomy_block_settings_order_type', 0),
56      '#options' => array(t("ASC"), t("DESC"))
57      );
58    
59    
60    return system_settings_form($form);    return system_settings_form($form);
61  }  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.2