| 1 |
<?php |
<?php |
| 2 |
|
|
| 3 |
//$Id$ |
//$Id: click.module,v 1.8 2008/06/16 15:03:06 kbahey Exp $ |
| 4 |
//$Name$ |
//$Name: DRUPAL-6--1 $ |
| 5 |
// Copyright 2005 Khalid Baheyeldin http://2bits.com |
// Copyright 2005 Khalid Baheyeldin http://2bits.com |
| 6 |
|
|
| 7 |
define(CLICK_IGNORE_SITE, 'click_ignore_site'); |
define(CLICK_IGNORE_SITE, 'click_ignore_site'); |
| 140 |
$rows[] = array(array('data' => ('Last click at: ')), array('data' => format_date($click->last, 'custom', $fmt))); |
$rows[] = array(array('data' => ('Last click at: ')), array('data' => format_date($click->last, 'custom', $fmt))); |
| 141 |
$output .= $group . theme('table', array(), $rows); |
$output .= $group . theme('table', array(), $rows); |
| 142 |
} |
} |
| 143 |
return theme('page', $output); |
return $output; |
| 144 |
} |
} |
| 145 |
|
|
| 146 |
function click_report() { |
function click_report() { |
| 173 |
$rows[] = array(array('data' => $pager, 'colspan' => '4')); |
$rows[] = array(array('data' => $pager, 'colspan' => '4')); |
| 174 |
} |
} |
| 175 |
|
|
| 176 |
return theme('page', theme('table', $header, $rows), t('Click Thru Report')); |
return theme('table', $header, $rows, t('Click Thru Report')); |
| 177 |
} |
} |
| 178 |
|
|
| 179 |
function click_do($nid, $group) { |
function click_do($nid, $group) { |