/[drupal]/contributions/modules/weblinks/weblinks-link.tpl.php
ViewVC logotype

Contents of /contributions/modules/weblinks/weblinks-link.tpl.php

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


Revision 1.2 - (show annotations) (download) (as text)
Mon Jul 20 16:52:34 2009 UTC (4 months, 1 week ago) by nancyw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +34 -0 lines
File MIME type: text/x-php
Update HEAD to start 7.x
1 <?php
2 // $Id: weblinks-link.tpl.php,v 1.1.2.13 2009/07/03 21:22:50 nancyw Exp $
3 ?>
4 <div class="weblinks weblinks-item weblinks-link-<?php print $variables[0]->nid;?>">
5 <?php
6 if ($teaser && variable_get('weblinks_show_title', TRUE)) {
7 print '<h2 class="title">'. $title .'</h2>';
8 }
9 ?>
10
11 <?php print $link_status; ?>
12 <?php
13 if (!$teaser || variable_get('weblinks_show_url', TRUE)) {
14 print $link;
15 }
16 ?>
17
18 <div class="weblinks-body">
19 <?php print $weblinks_body; ?>
20 </div><!--class="weblinks-body"-->
21
22 <?php
23 if (isset($pagerank)) {
24 print '<div class="weblinks-rank">';
25 print t('Google page rank: !pr, Alexa traffic rank: !alexa &nbsp; (as of !date)',
26 array('!pr' => $pagerank, '!alexa' => number_format($alexa, 0), '!date' => $rank_checked));
27 print '</div><!--class="weblinks-rank"-->';
28 }
29
30 if (isset($click_count) && $click_count > 0) {
31 print '<div class="weblinks-click-stats">'. t('Clicked !count times. Last clicked !last.', array('!count' => $click_count, '!last' => $last_click)) .'</div><!--class="weblinks-click-stats"-->';
32 }
33 ?>
34 </div><!--class="weblinks weblinks-item weblinks-link-<?php print $variables[0]->nid;?>"-->

  ViewVC Help
Powered by ViewVC 1.1.2