| 1 |
<?php |
<?php |
| 2 |
// $Id: gamertags.module,v 1.2.2.2 2009/11/22 19:46:04 pobster Exp $ |
// $Id: gamertags.module,v 1.2.2.3 2009/11/22 20:40:00 pobster Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* Implementation of hook_filter(). |
* Implementation of hook_filter(). |
| 33 |
*/ |
*/ |
| 34 |
function gamertags_filter_tips($delta, $format, $long = FALSE) { |
function gamertags_filter_tips($delta, $format, $long = FALSE) { |
| 35 |
if ($long) { |
if ($long) { |
| 36 |
return t('You can display your Xbox Live Gamertag by typing [xbox:id] your Playstation Network Gamertag by typing [playstation:id:region] and/ or [steam:id] to display your Steam Gamercard'); |
return t('You can display your Xbox Live Gamertag by typing [xbox:id] your Playstation Network Gamertag by typing [playstation:id:region] your Wii Friend Code by typing [wii:id] and/ or [steam:id] to display your Steam Gamercard'); |
| 37 |
} |
} |
| 38 |
else { |
else { |
| 39 |
return t('You can display gamertags using the following formats [xbox:id] [playstation:id:region] [steam:id]]'); |
return t('You can display gamertags using the following formats [xbox:id] [playstation:id:region] [wii:id] [steam:id]]'); |
| 40 |
} |
} |
| 41 |
} // gamertags_filter_tips |
} // gamertags_filter_tips |
| 42 |
|
|