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

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

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

revision 1.1.2.1 by xano, Tue Nov 17 17:46:41 2009 UTC revision 1.1.2.2 by xano, Tue Nov 17 19:23:38 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: index.form.inc,v 1.1.2.16 2009/11/17 16:08:36 xano Exp $  // $Id: index.admin.inc,v 1.1.2.1 2009/11/17 17:46:41 xano Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 363  function _index_form_add_layers(array &$ Line 363  function _index_form_add_layers(array &$
363    
364      $form['layer_child_add_' . $layer['lineage']] = array(      $form['layer_child_add_' . $layer['lineage']] = array(
365        '#type' => 'submit',        '#type' => 'submit',
366        '#value' => t('Add item (!layer)', array('!layer' => $layer['lineage'])),        '#value' => t('Add item'),
367        '#submit' => array('index_form_add_update'),        '#submit' => array('index_form_add_update'),
368        '#attributes' => array(        '#attributes' => array(
369          'class' => 'index-form-add-layer-child-add',          'class' => 'index-form-add-layer-child-add',
370          'title' => t('Add item'),          'title' => t('Add item'),
371        ),        ),
372          '#name' => 'layer_child_add_' . $layer['lineage'],
373      );      );
374      $form['layer_remove_' . $layer['lineage']] = array(      $form['layer_remove_' . $layer['lineage']] = array(
375        '#type' => 'submit',        '#type' => 'submit',
376        '#value' => t('Remove (!layer)', array('!layer' => $layer['lineage'])),        '#value' => t('Remove'),
377        '#submit' => array('index_form_add_update'),        '#submit' => array('index_form_add_update'),
378        '#attributes' => array(        '#attributes' => array(
379          'class' => 'index-form-add-layer-remove',          'class' => 'index-form-add-layer-remove',
380          'title' => t('Remove this item and its children'),          'title' => t('Remove this item and its children'),
381        ),        ),
382          '#name' => 'layer_remove_' . $layer['lineage'],
383      );      );
384    
385      $form['lineages']['#value'][$layer['lineage']] = $depth;      $form['lineages']['#value'][$layer['lineage']] = $depth;

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

  ViewVC Help
Powered by ViewVC 1.1.3