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

Diff of /contributions/modules/content_slider/content_slider.module

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

revision 1.1.2.3, Sun Dec 14 14:24:01 2008 UTC revision 1.1.2.4, Sun Dec 14 19:24:45 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: content_slider.module,v 1.1.2.2 2008/12/08 12:59:40 ebizondrupalservices Exp $  // $Id: content_slider.module,v 1.1.2.2 2008/12/015 12:59:40 ebizondrupalservices Exp $
3    
4    
5  /**  /**
# Line 28  function content_slider_perm() { Line 28  function content_slider_perm() {
28    return array('access content_slider', 'administer content_slider');    return array('access content_slider', 'administer content_slider');
29  }  }
30    
31  function content_slider_menu($may_cache) {  function content_slider_menu() {
32    $items = array();    $items = array();
33    if ($may_cache) {  
34      $items[] = array(      $items['admin/settings/content_slider'] = array(
35        'path' => 'admin/settings/content_slider',      'title' => 'Content Slider',
36        'title' => 'Content Slider',      'description' => t('Setting Content Slider.'),
37        'description' => t('Setting Content Slider.'),      'page callback' => 'drupal_get_form',
38        'callback' => 'drupal_get_form',      'page arguments' => array('content_slider_admin_settings'),
39        'callback arguments' => array('content_slider_admin_settings'),      'access arguments' => array('administer site configuration'),
40        'access' => user_access('administer content_slider'),    );
41        'type' => MENU_NORMAL_ITEM,     $items[] = array(
42      );     'path' => 'content_slider/list/'. arg(2),
43       'title' => t('Content Slider'),
44      $items[] = array(     'page callback' => 'content_slider_page_list',
45        'path' => 'content_slider/list/'. arg(2),     'page arguments' => array(arg(2)),
46        'title' => t('Content Slider'),     'access arguments' => array('access content_slider'),
47        'callback' => 'content_slider_page_list',     'type' => MENU_CALLBACK,
48        'callback arguments' => array(arg(2)),     );
       'access' => user_access('access content_slider'),  
       'type' => MENU_CALLBACK,  
     );  
   }  
49    return $items;    return $items;
50  }  }
51    

Legend:
Removed from v.1.1.2.3  
changed lines
  Added in v.1.1.2.4

  ViewVC Help
Powered by ViewVC 1.1.2