/[drupal]/contributions/modules/index/includes/index.form.inc
ViewVC logotype

Diff of /contributions/modules/index/includes/index.form.inc

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

revision 1.1.2.14, Sun Nov 8 20:11:49 2009 UTC revision 1.1.2.15, Sun Nov 8 23:18:45 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: index.form.inc,v 1.1.2.13 2009/10/19 01:19:46 xano Exp $  // $Id: index.form.inc,v 1.1.2.14 2009/11/08 20:11:49 xano Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 231  function index_form_add_populate_index(i Line 231  function index_form_add_populate_index(i
231      if ($values["layer_type_$i"] !== '0') {      if ($values["layer_type_$i"] !== '0') {
232        $index->layers[$i] = array(        $index->layers[$i] = array(
233          'type' => $values["layer_type_$i"],          'type' => $values["layer_type_$i"],
234          'count' => $values["layer_count_$i"],          'count' => isset($values["layer_count_$i"]) ? $values["layer_count_$i"] : 0,
235        );        );
236      }      }
237    }    }
# Line 273  function index_form_add_layers(index $in Line 273  function index_form_add_layers(index $in
273          '#default_value' => $parent_type,          '#default_value' => $parent_type,
274          '#required' => $i < count($index->layers),          '#required' => $i < count($index->layers),
275        ),        ),
276        "layer_count_$i" => array(        "layer_count_$i" => $i == count($index->layers) ? array(
277          '#type' => 'checkbox',          '#type' => 'checkbox',
278          '#default_value' => $count,          '#default_value' => $count,
279        ),        ) : NULL,
280      );      );
281    }    }
282    $layers['layer_count'] = array(    $layers['layer_count'] = array(

Legend:
Removed from v.1.1.2.14  
changed lines
  Added in v.1.1.2.15

  ViewVC Help
Powered by ViewVC 1.1.2