Utf8 convert
This commit is contained in:
+13
-13
@@ -21,8 +21,8 @@ var cityhash = {
|
||||
emeralds: 'Emeralds city'
|
||||
};
|
||||
|
||||
var stateshop = "Ãîñóäàðñòâåííûé";
|
||||
var privateshop = "Êîìèññèîííûé";
|
||||
var stateshop = "Государственный";
|
||||
var privateshop = "Комиссионный";
|
||||
|
||||
var moz = (document.getElementById && !document.all);
|
||||
|
||||
@@ -83,10 +83,10 @@ function handleResponse(response)
|
||||
var html = '';
|
||||
html += imgHtml + '<b>' + response.caption + '</b><br />';
|
||||
html += '<table border="0" cellspacing="8">';
|
||||
html += '<tr><td><b>Ìåñòîíàõîæäåíèå</b></td><td>';
|
||||
html += '<b>Òèï</b></td><td align="right">';
|
||||
html += '<b>Êîëè÷åñòâî</b></td><td align="right">';
|
||||
html += '<b>Öåíà</b></td></tr>';
|
||||
html += '<tr><td><b>Местонахождение</b></td><td>';
|
||||
html += '<b>Тип</b></td><td align="right">';
|
||||
html += '<b>Количество</b></td><td align="right">';
|
||||
html += '<b>Цена</b></td></tr>';
|
||||
for (var shopi = 0; shopi < response.shops.length; shopi++)
|
||||
{
|
||||
var shop = response.shops[shopi];
|
||||
@@ -116,20 +116,20 @@ function handleResponse(response)
|
||||
if (ahtml != '')
|
||||
{
|
||||
html2 += '<table border="0" cellspacing="8">';
|
||||
html2 += '<tr><td><b>Èíôîðìàöèÿ î ïðåäìåòå</b></td><td>';
|
||||
html2 += '<b>Îò êîãî</b></td>';
|
||||
html2 += '<td align="right"><b>Öåíà</b></td></tr>';
|
||||
html2 += '<tr><td><b>Информация о предмете</b></td><td>';
|
||||
html2 += '<b>От кого</b></td>';
|
||||
html2 += '<td align="right"><b>Цена</b></td></tr>';
|
||||
html2 += '<b>' + cityhash[auc.where] + '</b><br />' + ahtml;
|
||||
html2 += '</table>';
|
||||
}
|
||||
}
|
||||
var isr = {
|
||||
shops: {
|
||||
caption: 'Ìàãàçèíû',
|
||||
caption: 'Магазины',
|
||||
content: html
|
||||
},
|
||||
auctions: {
|
||||
caption: 'Àóêöèîíû',
|
||||
caption: 'Аукционы',
|
||||
content: html2
|
||||
}
|
||||
};
|
||||
@@ -161,7 +161,7 @@ function recreateInfoSpace()
|
||||
var div = document.getElementById(dcInfoSpaceOutputId);
|
||||
if (infoSpaceRequest.response == null)
|
||||
{
|
||||
div.innerHTML = '<font color="red">Äàííûõ íåò</font>';
|
||||
div.innerHTML = '<font color="red">Данных нет</font>';
|
||||
return;
|
||||
}
|
||||
var i = 0;
|
||||
@@ -206,7 +206,7 @@ function getInfoSpaceTabsHtml()
|
||||
i++;
|
||||
}
|
||||
tabs += '<td class="tab-none" align="right" valign="top" width="100%">';
|
||||
tabs += '<a href="#" onclick="return closeInfoSpace()"><img alt="Çàêðûòü" src="/images/infospace/close.gif" width="16" height="16" border="0" /></a>';
|
||||
tabs += '<a href="#" onclick="return closeInfoSpace()"><img alt="Закрыть" src="/images/infospace/close.gif" width="16" height="16" border="0" /></a>';
|
||||
tabs += '</td>';
|
||||
tabs += '</tr></table>';
|
||||
return tabs;
|
||||
|
||||
Reference in New Issue
Block a user