/[drupal]/contributions/modules/drigg/drigg_users/drigg_users.module
ViewVC logotype

Diff of /contributions/modules/drigg/drigg_users/drigg_users.module

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

revision 1.1.2.8.2.2, Wed Jun 3 17:06:47 2009 UTC revision 1.1.2.8.2.3, Sat Jun 6 18:16:11 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: drigg_users.module,v 1.1.2.8.2.1 2008/11/07 01:00:13 mercmobily Exp $  // $Id: drigg_users.module,v 1.1.2.8.2.2 2009/06/03 17:06:47 mercmobily Exp $
3    
4  /**  /**
5  * @file  * @file
# Line 518  function drigg_users_view_profile($view_ Line 518  function drigg_users_view_profile($view_
518      $msg .= '<p>'. t('User ID: !uid', array('!uid' => $uid)) .'</p>';      $msg .= '<p>'. t('User ID: !uid', array('!uid' => $uid)) .'</p>';
519    }    }
520    
521    $view_user->content['User stats'] = array(    $view_user->content[t('User stats')] = array(
522      '#type' => 'user_profile_category',      '#type' => 'user_profile_category',
523      '#title' => t('User Stats'),      '#title' => t('User Stats'),
524      '#weight' => 4,      '#weight' => 4,
525    );    );
526    
527    $view_user->content['User stats']['extra_info'] = array(    $view_user->content[t('User stats')]['extra_info'] = array(
528      '#type' => 'user_profile_item',      '#type' => 'user_profile_item',
529      '#value' => $msg,      '#value' => $msg,
530    );    );

Legend:
Removed from v.1.1.2.8.2.2  
changed lines
  Added in v.1.1.2.8.2.3

  ViewVC Help
Powered by ViewVC 1.1.2