diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2011-04-09 09:08:53 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2011-04-09 09:08:53 +0000 |
commit | 096874aefa7d75ce2db30f212d070dade9764b5c (patch) | |
tree | 3c9a21cb21173f039e8ff42a4c6e90d03001c9e4 | |
parent | 94e04b848304c2bea8e516fce1a26dd89236356d (diff) | |
download | alpine_drupal_theme-096874aefa7d75ce2db30f212d070dade9764b5c.tar.bz2 alpine_drupal_theme-096874aefa7d75ce2db30f212d070dade9764b5c.tar.xz |
turn depends into links
-rw-r--r-- | templates/node--apk.tpl.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/node--apk.tpl.php b/templates/node--apk.tpl.php index c4cc4ab..3a5af68 100644 --- a/templates/node--apk.tpl.php +++ b/templates/node--apk.tpl.php @@ -36,10 +36,15 @@ <td> <?php foreach ($node->apk_depends['und'] as $key => $depend) { - print '<p>' . $depend['value'] . '</p>'; + print '<p>'.l($depend['value'], + $node->taxonomy_apk_repo['und']['0']['taxonomy_term']->name.'/'. + $node->taxonomy_apk_arch['und']['0']['taxonomy_term']->name.'/'. + $depend['value'], + array()).'</p>'; } ?> </td> </tr> </table> + |