Projet

Général

Profil

Révision e4c061ad

Ajouté par Assos Assos il y a plus de 9 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ctools/page_manager/plugins/tasks/page.admin.inc
38 38
  ) + $base;
39 39
  if ($access_callback == 'user_access') {
40 40
    $items['admin/structure/pages/import']['access callback'] = 'ctools_access_multiperm';
41
    $items['admin/structure/pages/import']['access arguments'][] = 'use PHP for settings';
41
    $items['admin/structure/pages/import']['access arguments'][] = 'use ctools import';
42 42
  }
43 43

  
44 44
  // AJAX callbacks for argument modal.
......
769 769
    );
770 770
  }
771 771
  $form['menu']['parent']['weight'] = array(
772
    '#title' => t('Tab weight'),
772
    '#title' => t('Parent weight'),
773 773
    '#type' => 'textfield',
774 774
    '#default_value' => $menu['parent']['weight'],
775 775
    '#size' => 5,
776
    '#description' => t('If the parent menu item is a tab, enter the weight of the tab. The lower the number, the more to the left it will be.'),
777
    '#dependency' => array('radio:menu[type]' => array('default tab'), 'radio:menu[parent][type]' => array('tab')),
776
    '#description' => t('Enter the weight of the parent item. The lower the number, the more to the left it will be.'),
777
    '#dependency' => array('radio:menu[type]' => array('default tab'), 'radio:menu[parent][type]' => array('tab', 'normal')),
778 778
    '#dependency_count' => 2,
779 779
  );
780 780

  

Formats disponibles : Unified diff