summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoao Ventura2008-10-16 16:48:23 (GMT)
committer Joao Ventura2008-10-16 16:48:23 (GMT)
commit5d993fc990242b5329e52ffefe469d2d19696725 (patch)
tree24a7cd28f6d3bbb3e256ff8f1773364bc95524bd
parent4e52b0934832df930485e00718efae85ece3b9ff (diff)
Change PF link class from print to print_html
-rw-r--r--print.module15
1 files changed, 8 insertions, 7 deletions
diff --git a/print.module b/print.module
index 70018dd..464f6ab 100644
--- a/print.module
+++ b/print.module
@@ -168,12 +168,13 @@ function print_link($type, $node = NULL, $teaser = FALSE) {
$path = $node->nid;
}
- $links['print'] = array('href' => PRINT_PATH .'/'. $path,
- 'title' => $format['text'],
- 'attributes' => $format['attributes'],
- 'html' => $format['html'],
- 'query' => $query,
- );
+ $links['print_html'] = array(
+ 'href' => PRINT_PATH .'/'. $path,
+ 'title' => $format['text'],
+ 'attributes' => $format['attributes'],
+ 'html' => $format['html'],
+ 'query' => $query,
+ );
return $links;
}
@@ -442,7 +443,7 @@ function print_insert_link($path = NULL, $node = NULL) {
}
drupal_add_css(drupal_get_path('module', 'print') .'/css/printlinks.css');
$format = theme('print_format_link');
- return '<span class="print">'. l($format['text'], $path, array('attributes' => $format['attributes'], 'query' => $query, 'absolute' => TRUE, 'html' => $format['html'])) .'</span>';
+ return '<span class="print_html">'. l($format['text'], $path, array('attributes' => $format['attributes'], 'query' => $query, 'absolute' => TRUE, 'html' => $format['html'])) .'</span>';
}
else {
return FALSE;