/[drupal]/contributions/modules/ad/channel/ad_channel.module
ViewVC logotype

Diff of /contributions/modules/ad/channel/ad_channel.module

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

revision 1.1.4.5, Sun Mar 1 00:22:09 2009 UTC revision 1.1.4.6, Sun Mar 1 00:33:54 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: ad_channel.module,v 1.1.4.4 2009/03/01 00:00:06 jeremy Exp $  // $Id: ad_channel.module,v 1.1.4.5 2009/03/01 00:22:09 jeremy Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 257  function _ad_channel_view_node($node) { Line 257  function _ad_channel_view_node($node) {
257          '#weight' => 1,          '#weight' => 1,
258        );        );
259      }      }
260        if (isset($node->premiere)) {
261          if (isset($node->premiere) && $node->premiere == 1) {
262            $output = t('This is a premiere advertisement.');
263          }
264          else {
265            $output = t('This is not a premiere advertisement.');
266          }
267          $node->content['premiere'] = array(
268            '#value' => theme('box', t('Premiere'), $output),
269            '#weight' => 1,
270          );
271        }
272    }    }
273  }  }
274    

Legend:
Removed from v.1.1.4.5  
changed lines
  Added in v.1.1.4.6

  ViewVC Help
Powered by ViewVC 1.1.2