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

Diff of /contributions/modules/plugin_manager/plugin_manager.module

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

revision 1.51.2.18, Sun Sep 28 15:03:48 2008 UTC revision 1.51.2.19, Wed Oct 1 01:15:47 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: plugin_manager.module,v 1.51.2.17 2008/09/25 20:32:55 jabapyth Exp $  // $Id: plugin_manager.module,v 1.51.2.18 2008/09/28 15:03:48 joshuarogers Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 83  function plugin_manager_menu() { Line 83  function plugin_manager_menu() {
83      'file' => 'plugin_manager.admin.inc',      'file' => 'plugin_manager.admin.inc',
84      'block callback' => 'system_admin_theme_settings',      'block callback' => 'system_admin_theme_settings',
85    );    );
86      $items['admin/plugin_manager/manual'] = array(
87        'title' => 'Manual Install',
88        'page callback' => 'drupal_get_form',
89        'page arguments' => array('plugin_manager_manual'),
90        'access arguments' => array('manual install plugins'),
91        'file' => 'plugin_manager.admin.inc',
92        'type' => MENU_CALLBACK,
93      );
94    return $items;    return $items;
95  }  }
96    
# Line 98  function plugin_manager_help($path, $arg Line 106  function plugin_manager_help($path, $arg
106        return '<p><strong>'. t('Note: the more items you select, the longer the installation will take, potentially causing it to time out.') .'</strong></p>';        return '<p><strong>'. t('Note: the more items you select, the longer the installation will take, potentially causing it to time out.') .'</strong></p>';
107      case 'admin/plugin_manager/uninstall':      case 'admin/plugin_manager/uninstall':
108        return '<p>'. t('This will only show plugins that are currently disabled and that were installed using the plugin manager.  ') . l(t('(Disable modules here)'), 'admin/build/modules') .'</p>';        return '<p>'. t('This will only show plugins that are currently disabled and that were installed using the plugin manager.  ') . l(t('(Disable modules here)'), 'admin/build/modules') .'</p>';
109        case 'admin/plugin_manager/manual':
110          return '<p>' .t('This is for manual installation of plugins') .'</p>';
111    }    }
112  }  }
113    
# Line 105  function plugin_manager_help($path, $arg Line 115  function plugin_manager_help($path, $arg
115   * Implementation of hook_perm().   * Implementation of hook_perm().
116   */   */
117  function plugin_manager_perm() {  function plugin_manager_perm() {
118    return array('install plugins', 'plugin manager settings', 'uninstall plugins');    return array('manual install plugins', 'install plugins', 'plugin manager settings', 'uninstall plugins');
119  }  }
120    
121  /**  /**

Legend:
Removed from v.1.51.2.18  
changed lines
  Added in v.1.51.2.19

  ViewVC Help
Powered by ViewVC 1.1.2