/[drupal]/contributions/modules/stalker/stalker.pages.inc
ViewVC logotype

Diff of /contributions/modules/stalker/stalker.pages.inc

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

revision 1.2, Fri Oct 23 18:41:12 2009 UTC revision 1.3, Fri Oct 23 18:53:41 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: stalker.pages.inc,v 1.1 2009/10/23 17:06:00 eaton Exp $  // $Id: stalker.pages.inc,v 1.2 2009/10/23 18:41:12 eaton Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 24  function stalker_user_page($account) { Line 24  function stalker_user_page($account) {
24    while ($row = db_fetch_object($result)) {    while ($row = db_fetch_object($result)) {
25      if (!variable_get('stalker_identity', FALSE)) {      if (!variable_get('stalker_identity', FALSE)) {
26        $viewer = user_load($row->stalker_uid);        $viewer = user_load($row->stalker_uid);
27        $items[] = theme('username', $viewer)." : ".$row->view_count;        $items[] = theme('username', $viewer) . " : " . $row->view_count;
28      }      }
29      else {      else {
30        $items[] = variable_get('anonymous', t('Anonymous')) . ' : ' . $row->view_count;        $items[] = variable_get('anonymous', t('Anonymous')) . ' : ' . $row->view_count;

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

  ViewVC Help
Powered by ViewVC 1.1.2