diff -rN -up ./comment.tpl.php /tmp/golden_hour/comment.tpl.php
--- ./comment.tpl.php 2007-04-09 21:50:46.000000000 -0400
+++ /tmp/golden_hour/comment.tpl.php 2009-01-13 13:44:06.000000000 -0300
@@ -5,5 +5,10 @@
diff -rN -up ./template.php /tmp/golden_hour/template.php
--- ./template.php 2007-04-09 21:50:46.000000000 -0400
+++ /tmp/golden_hour/template.php 2009-01-13 13:44:06.000000000 -0300
@@ -61,7 +61,7 @@ function golden_hour_links($links, $attr
$link['fragment'] = isset($link['fragment']) ? $link['fragment'] : NULL;
if (isset($link['href'])) {
- $output .= l($link['title'], $link['href'], $link['attributes'], $link['query'], $link['fragment'], FALSE, $html);
+ $output .= l($link['title'], $link['href'], array('attributes' => $link['attributes'], 'query' =>$link['query'], 'fragment' => $link['fragment'], 'absolute' => FALSE, 'html' => $html));
}
else if ($link['title']) {
//Some links are actually not links, but we wrap these in
for adding title and class attributes
@@ -79,3 +79,36 @@ function golden_hour_links($links, $attr
return $output;
}
+
+
+
+/**
+ * Returns the themed HTML for primary and secondary links.
+ * From drupal5 menu.inc
+ *
+ * @param $links
+ * An array containing links to render.
+ * @return
+ * A string containing the themed links.
+ *
+ * @ingroup themeable
+ */
+function golden_hour_menu_links($links) {
+ if (!count($links)) {
+ return '';
+ }
+ $level_tmp = explode('-', key($links));
+ $level = $level_tmp[0];
+ $output = "\n";
+ foreach ($links as $index => $link) {
+ $output .= '- array($link['attributes'], 'query'=>$link['query'], 'fragment'=> $link['fragment']))) ."
\n";
+ }
+ $output .= '
';
+
+ return $output;
+}
+