/[drupal]/contributions/modules/blogtheme/blog_theme.module
ViewVC logotype

Diff of /contributions/modules/blogtheme/blog_theme.module

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

revision 1.28, Tue Sep 30 08:59:48 2008 UTC revision 1.29, Wed Jan 7 10:55:16 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: blog_theme.module,v 1.27 2008/08/14 04:00:16 augustin Exp $  // $Id: blog_theme.module,v 1.28 2008/09/30 08:59:48 augustin Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 55  function blog_theme_init() { Line 55  function blog_theme_init() {
55        }        }
56        break;        break;
57      }      }
58      elseif ($node = node_load(array('nid' => $nid))) { // /node/$nid      elseif (is_numeric($nid) && $node = node_load(array('nid' => $nid))) { // /node/$nid
59        $allowed_types = variable_get('blog_theme_node_types', array());        $allowed_types = variable_get('blog_theme_node_types', array());
60        if (!empty($allowed_types[$node->type])) {        if (!empty($allowed_types[$node->type])) {
61          $uid = $node->uid;          $uid = $node->uid;

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

  ViewVC Help
Powered by ViewVC 1.1.2