| 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 (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;?>"-->
|