Template/Update (Part 41)
* split 'profiler' into separate endpoints * implement profile=avatar endpoint (though it doesn't do a whole lot and isn't referenced (see comments))
This commit is contained in:
parent
fef27c58e6
commit
69df20af63
30 changed files with 1703 additions and 1336 deletions
|
|
@ -900,7 +900,7 @@ function Profiler() {
|
|||
|
||||
function _updateDefaultIcon() {
|
||||
var icon = $WH.g_getProfileIcon(_profile.race, _profile.classs, _profile.gender, _profile.level, 0, 'large');
|
||||
// aowow - and another bugged icon request
|
||||
// aowow - see profile=avatar endpoint for explanation
|
||||
// var icon = $WH.g_getProfileIcon(_profile.race, _profile.classs, _profile.gender, _profile.level, _profile.source, 'large');
|
||||
|
||||
if (!_profile.icon) {
|
||||
|
|
|
|||
|
|
@ -593,7 +593,7 @@ var PageTemplate = new function()
|
|||
{
|
||||
className: (character.pinned ? 'icon-star-right ' : '') + 'c' + character.classs,
|
||||
// tinyIcon: $WH.g_getProfileIcon(character.race, character.classs, character.gender, character.level, character.id, 'tiny')
|
||||
// aowow: profileId should not be necessary here
|
||||
// aowow - see profile=avatar endpoint for explanation
|
||||
tinyIcon: $WH.g_getProfileIcon(character.race, character.classs, character.gender, character.level, 0, 'tiny')
|
||||
}];
|
||||
|
||||
|
|
@ -16037,7 +16037,7 @@ Listview.templates = {
|
|||
i.style.borderRight = 'none';
|
||||
|
||||
// $WH.ae(i, Icon.create($WH.g_getProfileIcon(profile.race, profile.classs, profile.gender, profile.level, profile.icon ? profile.icon : profile.id, 'medium'), 1, null, this.getItemLink(profile)));
|
||||
// aowow . i dont know .. i dont know... char icon requests are strange
|
||||
// aowow - see profile=avatar endpoint for explanation
|
||||
var ic = Icon.create($WH.g_getProfileIcon(profile.race, profile.classs, profile.gender, profile.level, profile.icon ? profile.icon : 0, 'medium'), 1, null, this.getItemLink(profile));
|
||||
// aowow - custom
|
||||
if (profile.captain) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue