Projet

Général

Profil

Révision 9d13637e

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

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/commerce/modules/checkout/includes/commerce_checkout.admin.inc
15 15
  $checkout_pages = commerce_checkout_pages();
16 16

  
17 17
  // Add a "disabled" pseudo-page.
18
  $checkout_pages['disabled'] = array('page_id' => 'disabled', 'title' => t('Disabled'));
18
  $checkout_pages['disabled'] = array('page_id' => 'disabled', 'name' => t('Disabled'));
19 19

  
20 20
  $form['checkout_pages'] = array(
21 21
    '#type' => 'value',
......
29 29
    $form['page'][$page_id]['panes'] = array('#tree' => TRUE);
30 30

  
31 31
    // Build the options list for selecting the pane's checkout page.
32
    $checkout_pages_options[$page_id] = $checkout_pages[$page_id]['title'];
32
    $checkout_pages_options[$page_id] = $checkout_pages[$page_id]['name'];
33 33
  }
34 34

  
35 35
  // Loop through all the checkout panes on the site.
......
114 114
        drupal_set_message(t('%pane must be configured before it can be enabled. It has been moved back to a disabled position.', array('%pane' => $panes[$pane_id]['title'])), 'warning');
115 115
      }
116 116
      else {
117
        drupal_set_message(t('%pane is locked in the code to the %page page and was repositioned accordingly.', array('%pane' => $panes[$pane_id]['title'], '%page' => $pages[$panes[$pane_id]['page']]['title'])), 'warning');
117
        drupal_set_message(t('%pane is locked in the code to the %page page and was repositioned accordingly.', array('%pane' => $panes[$pane_id]['title'], '%page' => $pages[$panes[$pane_id]['page']]['name'])), 'warning');
118 118
      }
119 119

  
120 120
      form_set_value($element, $panes[$pane_id]['page'], $form_state);
......
181 181

  
182 182
    // Add a non-draggable header row for each checkout page.
183 183
    $row = array(
184
      array('data' => $checkout_page['title'], 'colspan' => 4),
184
      array('data' => $checkout_page['name'], 'colspan' => 4),
185 185
    );
186 186

  
187 187
    $rows[] = array('data' => $row, 'class' => array('page-header'));

Formats disponibles : Unified diff