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

Diff of /contributions/modules/stock/stock.module

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

revision 1.21, Mon Sep 22 03:58:45 2008 UTC revision 1.21.2.1, Wed Sep 24 16:35:28 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: stock.module$  // $Id: stock.module,v 1.21 2008/09/22 03:58:45 kbahey Exp $
3    
4  /**  /**
5   * @defgroup stock Stock: Uses StockAPI to provide stock data to all modules   * @defgroup stock Stock: Uses StockAPI to provide stock data to all modules
# Line 87  function stock_link($type, $node = 0, $m Line 87  function stock_link($type, $node = 0, $m
87  function stock_menu() {  function stock_menu() {
88    $items['stock'] = array(    $items['stock'] = array(
89      'title'    => $title,      'title'    => $title,
90      'access arguments'   => user_access('use stock'),      'access arguments'   => array('use stock'),
91      'page callback' => 'stock_page',      'page callback'      => 'stock_page',
92      'type' => MENU_LOCAL_TASK,      'type'               => MENU_LOCAL_TASK,
93      'weight'   => 0,      'weight'             => 0,
94    );    );
95    
96    $items['admin/settings/stock'] = array(    $items['admin/settings/stock'] = array(
97      'title'              => 'Stock settings',      'title'              => 'Stock settings',
98      'description'        => 'Configure displayed titles and description.',      'description'        => 'Configure displayed titles and description.',
99      'access arguments'             => user_access('administer site configuration'),      'access arguments'   => array('administer site configuration'),
100      'page callback'           => 'drupal_get_form',      'page callback'      => 'drupal_get_form',
101      'callback arguments' => array('stock_admin_settings'),      'callback arguments' => array('stock_admin_settings'),
102    );    );
103    

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.21.2.1

  ViewVC Help
Powered by ViewVC 1.1.2