Projet

Général

Profil

Révision 136a805a

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

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ctools/plugins/content_types/node_context/node_comment_wrapper.inc
23 23
 * Render the node comments.
24 24
 */
25 25
function ctools_node_comment_wrapper_content_type_render($subtype, $conf, $panel_args, $context) {
26
  $node = isset($context->data) ? clone($context->data) : NULL;
26
  $node = isset($context->data) ? clone $context->data : NULL;
27 27
  $block = new stdClass();
28 28
  $block->module = 'comments';
29 29
  $block->delta  = $node->nid;
......
77 77

  
78 78
/**
79 79
 * Returns an edit form for the comment wrapper.
80
 */ 
80
 */
81 81
function ctools_node_comment_wrapper_content_type_edit_form($form, &$form_state) {
82 82
  $conf = $form_state['conf'];
83 83
  $form['mode'] = array(

Formats disponibles : Unified diff