| 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(). |
| 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'), |