? 667504-link-node-title.patch
? TODO.txt
? ctools-815164-css-js-loading-client-side.patch
? ctools_783408_empty_check_1.patch
? link_title_better.patch
? node_comments.inc__0.patch
Index: plugins/content_types/node/node.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/ctools/plugins/content_types/node/node.inc,v
retrieving revision 1.6.2.4
diff -u -p -r1.6.2.4 node.inc
--- plugins/content_types/node/node.inc	22 Jun 2010 14:58:02 -0000	1.6.2.4
+++ plugins/content_types/node/node.inc	5 Jul 2010 20:10:57 -0000
@@ -78,11 +78,17 @@ function ctools_node_content_type_render
   $block->module = 'node';
   $block->delta = $node->nid;
 
-  $block->title = check_plain($node->title);
+  if (!empty($conf['link_node_title'])) {
+    $block->title = l($node->title, 'node/' . $node->nid);
+  }
+  else {
+    $block->title = check_plain($node->title);
+  }
 
   if (empty($conf['leave_node_title'])) {
     $node->title = NULL;
   }
+
   if (!empty($conf['identifier'])) {
     $node->panel_identifier = $conf['identifier'];
   }
@@ -108,6 +114,14 @@ function ctools_node_content_type_edit_f
     '#description' => t('Advanced: if checked, do not touch the node title; this can cause the node title to appear twice unless your theme is aware of this.'),
   );
 
+  $form['link_node_title'] = array(
+    '#type' => 'checkbox',
+    '#default_value' => !empty($conf['link_node_title']),
+    '#title' => t('Link the node title to the node'),
+    '#description' => t('Check this box if you would like your pane title to link to the node.'),
+  );
+
+
   if ($form_state['op'] == 'add') {
     $form['nid'] = array(
       '#prefix' => '<div class="no-float">',
@@ -187,7 +201,7 @@ function  ctools_node_content_type_edit_
  * Validate the node selection.
  */
 function ctools_node_content_type_edit_form_submit(&$form, &$form_state) {
-  foreach (array('nid', 'teaser', 'links', 'leave_node_title', 'identifier') as $key) {
+  foreach (array('nid', 'teaser', 'links', 'leave_node_title', 'link_node_title', 'identifier') as $key) {
     $form_state['conf'][$key] = $form_state['values'][$key];
   }
 }
