/[drupal]/contributions/modules/gamertags/gamertags.module
ViewVC logotype

Diff of /contributions/modules/gamertags/gamertags.module

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

revision 1.2.2.1 by pobster, Sun Nov 22 19:43:40 2009 UTC revision 1.2.2.2 by pobster, Sun Nov 22 19:46:04 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: gamertags.module,v 1.2 2009/02/24 22:12:46 pobster Exp $  // $Id: gamertags.module,v 1.2.2.1 2009/11/22 19:43:40 pobster Exp $
3    
4  /**  /**
5   * Implementation of hook_filter().   * Implementation of hook_filter().
# Line 83  function gamertags_user_view($account, $ Line 83  function gamertags_user_view($account, $
83        '#markup' => gamertags('fetch', 'xbox', $account->xbox_gamertag),        '#markup' => gamertags('fetch', 'xbox', $account->xbox_gamertag),
84      );      );
85    }    }
86    if (variable_get('gamertags_collect_psn', TRUE) && !empty($account->psn_gamertag) && !empty($account->psn_region)) {    if (variable_get('gamertags_collect_psn', TRUE) && !empty($account->psn_gamertag) && (!empty($account->psn_region) && $account->psn_region != "na")) {
87      $account->content['summary']['psn_gamertag_view'] = array(      $account->content['summary']['psn_gamertag_view'] = array(
88        '#type' => 'user_profile_item',        '#type' => 'user_profile_item',
89        '#title' => t('Playstation Network Gamertag'),        '#title' => t('Playstation Network Gamertag'),

Legend:
Removed from v.1.2.2.1  
changed lines
  Added in v.1.2.2.2

  ViewVC Help
Powered by ViewVC 1.1.3