/[drupal]/contributions/modules/signup/signup_event_5.x-1.inc
ViewVC logotype

Diff of /contributions/modules/signup/signup_event_5.x-1.inc

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

revision 1.4, Thu Feb 7 02:35:21 2008 UTC revision 1.5, Fri Aug 1 07:51:02 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: signup_event_5.x-1.inc,v 1.3 2008/01/26 03:02:39 dww Exp $  // $Id: signup_event_5.x-1.inc,v 1.4 2008/02/07 02:35:21 dww Exp $
3    
4  /**  /**
5   * @return Array of SQL clauses for cron reminder email query builder.   * @return Array of SQL clauses for cron reminder email query builder.
# Line 106  function theme_signup_event_dates($node) Line 106  function theme_signup_event_dates($node)
106    }    }
107    return $output;    return $output;
108  }  }
109    
110    /**
111     * @return Bool: Is this node type date-enabled?
112     */
113    function signup_node_type_has_date($type) {
114      return variable_get('event_nodeapi_'. $type, 'never') != 'never';
115    }
116    
117    /**
118     * @return Bool: Is this specific node date-enabled?
119     */
120    function signup_node_has_date($node) {
121      return isset($node->event_start);
122    }

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

  ViewVC Help
Powered by ViewVC 1.1.2