/[drupal]/contributions/themes/internet_jobs/links.tpl.php
ViewVC logotype

Diff of /contributions/themes/internet_jobs/links.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1, Sun Feb 19 05:43:22 2006 UTC revision 1.2, Tue Jan 30 22:22:11 2007 UTC
# Line 4  $path = $base_path . path_to_theme(); Line 4  $path = $base_path . path_to_theme();
4  $link_count = count($links);  $link_count = count($links);
5  $current = 1;  $current = 1;
6  foreach ( $links as $lnk ) {  foreach ( $links as $lnk ) {
7          // Print the link      // Print the link
8      if (strstr($lnk , ' comment')) {      if ($lnk['title'] == 'Add new comment') {
9        print "<img alt=\"\" src=" . $path . "/images/comment.gif>";        print "<img alt=\"\" src=" . $path . "/images/comment.gif>";
10      }      }
11      if (strstr($lnk , 'read more')) {      if ($lnk['title'] == 'Read more') {
12        print "<img alt=\"\" src=" . $path . "/images/more.gif>";        print "<img alt=\"\" src=" . $path . "/images/more.gif>";
13      }      }
14      print $lnk;      print l($lnk['title'], $lnk['href'],
15        $lnk['attributes'], $lnk['query'],
16        $lnk['fragment'], FALSE, $lnk['html']);
17          // Only print the delimiter if not the last link          // Only print the delimiter if not the last link
18      if ( $current < $link_count ) {      if ( $current < $link_count ) {
19          print $delimiter;          print $delimiter;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.2