/[drupal]/contributions/modules/skeleton/skeleton_template.inc
ViewVC logotype

Diff of /contributions/modules/skeleton/skeleton_template.inc

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

revision 1.19, Thu Aug 27 17:33:43 2009 UTC revision 1.20, Thu Aug 27 18:51:01 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2    
3  // $Id: skeleton_template.inc,v 1.18 2009/07/16 18:12:35 deviantintegral Exp $  // $Id: skeleton_template.inc,v 1.19 2009/08/27 17:33:43 deviantintegral Exp $
4    
5  /**  /**
6   * @file   * @file
# Line 107  function skeleton_add_template_form($for Line 107  function skeleton_add_template_form($for
107    );    );
108    $types = node_get_types();    $types = node_get_types();
109    foreach ($types as $type) {    foreach ($types as $type) {
110      if (node_access('create', $type->type)) {      $options[$type->type] = $type->name;
       $options[$type->type] = $type->name;  
     }  
111    }    }
112    $form['skeleton_template']['node_type'] = array(    $form['skeleton_template']['node_type'] = array(
113      '#type' => 'select',      '#type' => 'select',

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

  ViewVC Help
Powered by ViewVC 1.1.2