UI_PATH -> UI.PATH

This commit is contained in:
rolux 2014-09-26 14:41:53 +02:00
parent 3a764b38f9
commit 747f5bc8a0
2 changed files with 4 additions and 4 deletions

View file

@ -381,7 +381,7 @@ pandora.ui.statisticsDialog = function() {
).append( ).append(
$('<img>') $('<img>')
.attr({ .attr({
src: Ox.UI_PATH + 'png/' + key src: Ox.UI.PATH + 'png/' + key
+ name.replace(/ /g, '') + '128.png' + name.replace(/ /g, '') + '128.png'
}) })
.css({ .css({
@ -457,7 +457,7 @@ pandora.ui.statisticsDialog = function() {
$element.append( $element.append(
$('<img>') $('<img>')
.attr({ .attr({
src: Ox.UI_PATH + 'png/' + key src: Ox.UI.PATH + 'png/' + key
+ value.replace(/ /g, '') + '128.png' + value.replace(/ /g, '') + '128.png'
}) })
.css({ .css({

View file

@ -222,7 +222,7 @@ pandora.ui.usersDialog = function() {
.replace(/Windows (NT \d+\.\d+) \((.+)\)/, 'Windows $2 ($1)') .replace(/Windows (NT \d+\.\d+) \((.+)\)/, 'Windows $2 ($1)')
}) })
.attr({ .attr({
src: Ox.UI_PATH + 'png/system' src: Ox.UI.PATH + 'png/system'
+ system.replace(/ /g, '') + '128.png' + system.replace(/ /g, '') + '128.png'
}) })
.css({ .css({
@ -253,7 +253,7 @@ pandora.ui.usersDialog = function() {
tooltip: value tooltip: value
}) })
.attr({ .attr({
src: Ox.UI_PATH + 'png/browser' src: Ox.UI.PATH + 'png/browser'
+ browser.replace(/ /g, '') + '128.png' + browser.replace(/ /g, '') + '128.png'
}) })
.css({ .css({