Projet

Général

Profil

Révision 64156087

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

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/panels/plugins/views/panels_views_plugin_row_fields.inc
5 5
 */
6 6

  
7 7
/**
8
 * The basic 'fields' row plugin
8
 * The basic 'fields' row plugin.
9 9
 *
10 10
 * This displays fields one after another, giving options for inline
11 11
 * or not.
......
89 89
    if (!$layout) {
90 90
      // Fall back to normal behavior if the layout is somehow invalid. This
91 91
      // can happen if the layout was removed, for example.
92
      return theme($this->theme_functions(), array('view' => view, 'options' => $this->options, 'row' => $row, 'field_alias' => $this->field_alias));
92
      return theme($this->theme_functions(), array('view' => $this->view, 'options' => $this->options, 'row' => $row));
93

  
93 94
    }
94 95

  
95 96
    // Store a backup copy of the array because we're going to be screwing
......
148 149
    // Now that we have a rendered content array, render it.
149 150
    return panels_print_layout($layout, $content, $meta);
150 151
  }
152

  
151 153
}
152 154

  
153 155
/**
154
 * Override handler for views_ui_edit_display_form
156
 * Override handler for views_ui_edit_display_form.
155 157
 */
156 158
function panels_change_layout_button($form, &$form_state) {
157 159
  $display = &$form_state['view']->display[$form_state['display_id']];

Formats disponibles : Unified diff