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

Diff of /contributions/modules/blogroll/blogroll.module

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

revision 1.4 by grantbow, Tue Jan 11 01:29:36 2005 UTC revision 1.5 by grantbow, Tue Jan 11 02:24:42 2005 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: blogroll.module,v 1.3 2005/01/04 03:03:47 ahynes1 Exp $  // $Id: blogroll.module,v 1.4 2005/01/11 01:29:36 grantbow Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 27  function blogroll_menu($may_cache) { Line 27  function blogroll_menu($may_cache) {
27    global $user;    global $user;
28    $items = array();    $items = array();
29    
30    if ($may_cache) {    $items[] = array('path' => 'blogroll/edit', 'title' => t('edit blogroll'),
31      $items[] = array('path' => 'blogroll/edit', 'title' => t('edit blogroll'),      'callback' => 'blogroll_edit',
32        'callback' => 'blogroll_edit',      'access' => user_access('edit own blog'), // depends on blog.module
33        'access' => user_access('edit own blog'), // depends on blog.module      'type' => MENU_CALLBACK);
34        'type' => MENU_CALLBACK);    $items[] = array('path' => 'blogroll/script', 'title' => t('blogroll'),
35      $items[] = array('path' => 'blogroll/script', 'title' => t('blogroll'),      'callback' => 'blogroll_script',
36        'callback' => 'blogroll_script',      'access' => TRUE,
37        'access' => TRUE,      'type' => MENU_CALLBACK);
       'type' => MENU_CALLBACK);  
   }  
38    return $items;    return $items;
39  }  }
40    

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

  ViewVC Help
Powered by ViewVC 1.1.6