cvs diff: Diffing panels_node_legacy
Index: panels_node_legacy/panels_node_legacy.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/panels/panels_node_legacy/Attic/panels_node_legacy.module,v
retrieving revision 1.1.2.6
diff -u -p -u -p -r1.1.2.6 panels_node_legacy.module
--- panels_node_legacy/panels_node_legacy.module	10 Feb 2008 07:48:20 -0000	1.1.2.6
+++ panels_node_legacy/panels_node_legacy.module	23 Feb 2008 08:57:38 -0000
@@ -94,6 +94,9 @@ function panels_node_legacy_render($conf
   if (empty($conf['leave_node_title'])) {
     unset($node->title);
   }
+  if (!empty($conf['identifier'])) {
+    $node->panel_identifier = $conf['identifier'];
+  }
 
   $block->content = node_view($node, $conf['teaser'], FALSE, $conf['links']);
   return $block;
@@ -159,6 +162,12 @@ function panels_node_legacy_edit($id, $p
     '#title' => t('Leave node title'),
     '#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['identifier'] = array(
+    '#type' => 'textfield',
+    '#default_value' => $conf['identifier'],
+    '#title' => t('Identifier'),
+    '#description' => t('Whatever is placed here will appear in $node->panel_identifier to make it easier to theme a node or part of a node as necessary.'),
+  );
 
   return $form;
 }
