Index: modules/node/views_handler_field_node_link.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views/modules/node/views_handler_field_node_link.inc,v
retrieving revision 1.1
diff -u -p -r1.1 views_handler_field_node_link.inc
--- modules/node/views_handler_field_node_link.inc	3 Sep 2008 19:21:29 -0000	1.1
+++ modules/node/views_handler_field_node_link.inc	6 Jul 2009 17:10:12 -0000
@@ -24,6 +24,12 @@ class views_handler_field_node_link exte
       '#title' => t('Text to display'),
       '#default_value' => $this->options['text'],
     );
+    $form['raw_link'] = array(
+      '#type' => 'checkbox',
+      '#title' => t('Show as raw link'),
+      '#default_value' => $this->options['raw_link'],
+      '#description' => t('If enabled, this field will be displayed as the raw URL as generated by the Drupal l() function, making it useful to be used as the link text for other fields.'),
+    );
   }
 
   function query() {
@@ -32,8 +38,16 @@ class views_handler_field_node_link exte
   }
 
   function render($values) {
-    $text = !empty($this->options['text']) ? $this->options['text'] : t('view');
     $nid = $values->{$this->aliases['nid']};
-    return l($text, "node/$nid");
+    // Provide a raw URL.
+    if ($this->options['raw_link']) {
+      $link = url("node/$nid");
+    }
+    // Provide a full link.
+    else {
+      $text = !empty($this->options['text']) ? $this->options['text'] : t('view');
+      $link = l($text, "node/$nid");
+    }
+    return $link;
   }
 }
