/[drupal]/contributions/modules/storm/storminvoiceitem/storminvoiceitem.module
ViewVC logotype

Diff of /contributions/modules/storm/storminvoiceitem/storminvoiceitem.module

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

revision 1.1, Wed Jun 11 12:55:19 2008 UTC revision 1.2, Tue Jun 17 07:59:37 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: storminvoiceitem.module,v 1.1 2008/06/11 12:55:19 robertogerola Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 316  function storminvoiceitem_view($node, $t Line 316  function storminvoiceitem_view($node, $t
316    
317  function _storminvoiceitem_invoiceitems_access($node=NULL) {  function _storminvoiceitem_invoiceitems_access($node=NULL) {
318    if ($node == NULL) return FALSE;    if ($node == NULL) return FALSE;
319    if ($node->type == 'storminvoice' && user_access('STORM invoice item: create')) return TRUE;    if ($node->type == 'storminvoice' && user_access('STORM invoice item: access')) return TRUE;
320    return FALSE;    return FALSE;
321  }  }
322    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.2