Projet

Général

Profil

Révision c304a780

Ajouté par Assos Assos il y a environ 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ctools/page_manager/theme/page_manager.theme.inc
27 27
    $vars['locked'] = theme('page_manager_lock', array('page' => $page));
28 28
    $vars['changed'] = theme('page_manager_changed', array('text' => t('Locked'), 'description' => t('This page is being edited by another user and you cannot make changes to it.')));
29 29
  }
30
  else if (!empty($page->new)) {
30
  elseif (!empty($page->new)) {
31 31
    $vars['changed'] = theme('page_manager_changed', array('text' => t('New'), 'description' => t('This page is newly created and has not yet been saved to the database. It will not be available until you save it.')));
32 32
  }
33
  else if (!empty($page->changed)) {
33
  elseif (!empty($page->changed)) {
34 34
    $vars['changed'] = theme('page_manager_changed', array('text' => t('Changed'), 'description' => t('This page has been modified, but these modifications are not yet live. While modifying this page, it is locked from modification by other users.')));
35 35
  }
36 36

  
......
49 49
 */
50 50
function theme_page_manager_handler_rearrange($vars) {
51 51
  $form = &$vars['form'];
52
  // Assemble the data for a table from everything in $form['handlers']
52
  // Assemble the data for a table from everything in $form['handlers'].
53 53
  foreach (element_children($form['handlers']) as $id) {
54
    // provide a reference shortcut.
54
    // Provide a reference shortcut.
55 55
    $element = &$form['handlers'][$id];
56 56
    if (isset($element['title'])) {
57 57
      $row = array();

Formats disponibles : Unified diff