/[drupal]/contributions/modules/flexinode/flexinode_miniview.module
ViewVC logotype

Diff of /contributions/modules/flexinode/flexinode_miniview.module

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

revision 1.2.2.2, Wed Feb 7 10:05:28 2007 UTC revision 1.2.2.3, Wed Feb 7 10:06:03 2007 UTC
# Line 116  function flexinode_miniview_page_table($ Line 116  function flexinode_miniview_page_table($
116      $extra_fields = count($fields_to_select) > 0 ? ', ' . implode(', ', $fields_to_select) : '';      $extra_fields = count($fields_to_select) > 0 ? ', ' . implode(', ', $fields_to_select) : '';
117      $extra_where = count($where_clauses) > 0 ? ' AND ' . implode(' AND ', $where_clauses) : '';      $extra_where = count($where_clauses) > 0 ? ' AND ' . implode(' AND ', $where_clauses) : '';
118      $sql = 'SELECT n.nid, n.title '. $extra_fields .' FROM {node} n '. implode(' ', $table_joins) ." WHERE n.status = 1 AND n.type = '$type'". $extra_where;      $sql = 'SELECT n.nid, n.title '. $extra_fields .' FROM {node} n '. implode(' ', $table_joins) ." WHERE n.status = 1 AND n.type = '$type'". $extra_where;
 dprint_r($sql);  
119      // Build the columns.      // Build the columns.
120      $header[] = array('data' => t('title'), 'field' => 'n.title');      $header[] = array('data' => t('title'), 'field' => 'n.title');
121      foreach ($ctype->fields as $field) {      foreach ($ctype->fields as $field) {

Legend:
Removed from v.1.2.2.2  
changed lines
  Added in v.1.2.2.3

  ViewVC Help
Powered by ViewVC 1.1.2