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

Diff of /contributions/modules/search_keywords/search_keywords.module

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

revision 1.15 by sugree, Fri Sep 15 14:31:26 2006 UTC revision 1.16 by sugree, Fri Dec 8 18:09:33 2006 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: search_keywords.module,v 1.14 2006/09/14 09:03:07 sugree Exp $  // $Id: search_keywords.module,v 1.15 2006/09/15 14:31:26 sugree Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 43  function search_keywords_exit() { Line 43  function search_keywords_exit() {
43   * Implementation of hook_perm().   * Implementation of hook_perm().
44   */   */
45  function search_keywords_perm() {  function search_keywords_perm() {
46    return array('view search keywords');    return array('access search keywords');
47  }  }
48    
49  /**  /**
# Line 52  function search_keywords_perm() { Line 52  function search_keywords_perm() {
52  function search_keywords_menu($may_cache) {  function search_keywords_menu($may_cache) {
53    $items = array();    $items = array();
54    
55    $access = user_access('access search_keywords');    $access = user_access('access search keywords');
56    if ($may_cache) {    if ($may_cache) {
57      $items[] = array('path' => 'admin/logs/search_keywords', 'title' => t('recent keywords'),      $items[] = array('path' => 'admin/logs/search_keywords', 'title' => t('recent keywords'),
58        'callback' => 'search_keywords_recent_keywords', 'access' => $access,        'callback' => 'search_keywords_recent_keywords', 'access' => $access,

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.3