fixed skilltree loading problems, user start
This commit is contained in:
parent
d738cc30df
commit
554c017fff
@ -167,7 +167,8 @@ function write_icon_green(id,id_count,id_img){
|
|||||||
$(id_count).removeClass('icon_text_yellow');
|
$(id_count).removeClass('icon_text_yellow');
|
||||||
$(id_count).addClass('icon_text_green');
|
$(id_count).addClass('icon_text_green');
|
||||||
|
|
||||||
$(id).attr('style','background: url(./api.php?call=files&cat=skilltree_skills&id='+$(id).attr('icon')+') 50% 50% no-repeat;');
|
if($(id).attr('icon')){
|
||||||
|
$(id).attr('style','background: url(./api.php?call=files&cat=skilltree_skills&id='+$(id).attr('icon')+') 50% 50% no-repeat;');}
|
||||||
|
|
||||||
if( $(id_img).hasClass('icon_border_grey') ||
|
if( $(id_img).hasClass('icon_border_grey') ||
|
||||||
$(id_img).hasClass('icon_border_yellow')){
|
$(id_img).hasClass('icon_border_yellow')){
|
||||||
@ -218,7 +219,8 @@ function write_icon_yellow(id,id_count,id_img){
|
|||||||
$(id_count).removeClass('icon_text_green');
|
$(id_count).removeClass('icon_text_green');
|
||||||
$(id_count).addClass('icon_text_yellow');
|
$(id_count).addClass('icon_text_yellow');
|
||||||
|
|
||||||
$(id).attr('style','background: url(./api.php?call=files&cat=skilltree_skills&id='+$(id).attr('icon')+') 50% 50% no-repeat;');
|
if($(id).attr('icon')){
|
||||||
|
$(id).attr('style','background: url(./api.php?call=files&cat=skilltree_skills&id='+$(id).attr('icon')+') 50% 50% no-repeat;');}
|
||||||
|
|
||||||
if( $(id_img).hasClass('icon_border_grey') ||
|
if( $(id_img).hasClass('icon_border_grey') ||
|
||||||
$(id_img).hasClass('icon_border_green')){
|
$(id_img).hasClass('icon_border_green')){
|
||||||
@ -269,7 +271,8 @@ function write_icon_grey(id,id_count,id_img){
|
|||||||
$(id_count).removeClass('icon_text_green');
|
$(id_count).removeClass('icon_text_green');
|
||||||
$(id_count).removeClass('icon_text_yellow');
|
$(id_count).removeClass('icon_text_yellow');
|
||||||
|
|
||||||
$(id).attr('style','background: url(./api.php?call=files&cat=skilltree_skills_grey&id='+$(id).attr('icon')+') 50% 50% no-repeat;');
|
if($(id).attr('icon')){
|
||||||
|
$(id).attr('style','background: url(./api.php?call=files&cat=skilltree_skills_grey&id='+$(id).attr('icon')+') 50% 50% no-repeat;');}
|
||||||
|
|
||||||
if( $(id_img).hasClass('icon_border_yellow') ||
|
if( $(id_img).hasClass('icon_border_yellow') ||
|
||||||
$(id_img).hasClass('icon_border_green')){
|
$(id_img).hasClass('icon_border_green')){
|
||||||
|
|||||||
@ -7,11 +7,9 @@ class user_start extends SYSTEM\PAGE\Page {
|
|||||||
return array();}
|
return array();}
|
||||||
|
|
||||||
public static function get_char_statistics(){
|
public static function get_char_statistics(){
|
||||||
$result = '';
|
|
||||||
$chars = \DBD\CHAR_STATS::QA();
|
$chars = \DBD\CHAR_STATS::QA();
|
||||||
$vars = array();
|
$vars = array();
|
||||||
$result = SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'user_start/char_stats_realm.tpl'), $vars);
|
$result = SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'user_start/char_stats_realm.tpl'), $vars);
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user