/[drupal]/contributions/modules/devel/devel_node_access.module
ViewVC logotype

Diff of /contributions/modules/devel/devel_node_access.module

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

revision 1.15.2.23, Wed Oct 14 00:47:44 2009 UTC revision 1.15.2.24, Sat Nov 7 22:33:25 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: devel_node_access.module,v 1.15.2.22 2009/10/12 01:51:16 salvis Exp $  // $Id: devel_node_access.module,v 1.15.2.23 2009/10/14 00:47:44 salvis Exp $
3  /**  /**
4   * @file   * @file
5   *   *
# Line 461  function devel_node_access_block($op = ' Line 461  function devel_node_access_block($op = '
461              }              }
462              else {              else {
463                $variables['!list'] = '<div style="margin-left: 2em">'. _devel_node_access_get_grant_list($nid, $checked_status, $checked_grants) .'</div>';                $variables['!list'] = '<div style="margin-left: 2em">'. _devel_node_access_get_grant_list($nid, $checked_status, $checked_grants) .'</div>';
464                $output .= "\n<div style='text-align: left' title='". t('These are the grants returned by hook_node_grants() for this user.') ."'>". t('!username (user %uid) can use these grants (if they are present above): !list', $variables) ."</div>\n";                $variables['%access'] = 'view';
465                  $output .= "\n<div style='text-align: left' title='". t('These are the grants returned by hook_node_grants() for this user.') ."'>". t('!username (user %uid) can use these grants for %access access (if they are present above): !list', $variables) ."</div>\n";
466                $accounts[] = $user;                $accounts[] = $user;
467              }              }
468              if (arg(0) == 'node' && is_numeric(arg(1)) && !$block1_visible) {  // only for single nodes              if (arg(0) == 'node' && is_numeric(arg(1)) && !$block1_visible) {  // only for single nodes

Legend:
Removed from v.1.15.2.23  
changed lines
  Added in v.1.15.2.24

  ViewVC Help
Powered by ViewVC 1.1.2