JS-Features:

- search quickaccess buttons
- enchantment filter for Summary
This commit is contained in:
Sarjuuk
2014-02-08 22:26:18 +01:00
parent 819a46ae15
commit 92170d7793
20 changed files with 526 additions and 201 deletions

View File

@@ -10,7 +10,7 @@
<li><div>You might want to proof-read your comments before posting them.</div></li> <li><div>You might want to proof-read your comments before posting them.</div></li>
</ul> </ul>
<form name="addcomment" action="?comment=add&amp;type={$page.type}&amp;typeid={$page.typeId}" method="post" onsubmit="return co_validateForm(this)"> <form name="addcomment" action="?comment=add&amp;type={$type}&amp;typeid={$typeId}" method="post" onsubmit="return co_validateForm(this)">
<div id="replybox-generic" style="display: none"> <div id="replybox-generic" style="display: none">
The answer to a comment from <span></span>. &nbsp;<a href="javascript:;" onclick="co_cancelReply()">Cancel</a> The answer to a comment from <span></span>. &nbsp;<a href="javascript:;" onclick="co_cancelReply()">Cancel</a>
<div class="pad"></div> <div class="pad"></div>
@@ -33,7 +33,7 @@
<li><div>Be sure to read the <a href="?help=screenshots-tips-tricks" target="_blank">tips &amp; tricks</a> if you haven't before.</div></li> <li><div>Be sure to read the <a href="?help=screenshots-tips-tricks" target="_blank">tips &amp; tricks</a> if you haven't before.</div></li>
</ul> </ul>
<form action="?screenshot=add&{$page.type}.{$page.typeId}" method="post" enctype="multipart/form-data" onsubmit="return ss_validateForm(this)"> <form action="?screenshot=add&{$type}.{$typeId}" method="post" enctype="multipart/form-data" onsubmit="return ss_validateForm(this)">
File{$lang.colon}<input type="file" name="screenshotfile" style="width: 35%"/><br /> File{$lang.colon}<input type="file" name="screenshotfile" style="width: 35%"/><br />
<div class="pad2"></div> <div class="pad2"></div>
@@ -52,7 +52,7 @@
Simply type the URL of the video in the form below. Simply type the URL of the video in the form below.
<div class="pad2"></div> <div class="pad2"></div>
<form action="?video=add&{$page.type}.{$page.typeId}" method="post" enctype="multipart/form-data" onsubmit="return vi_validateForm(this)"> <form action="?video=add&{$type}.{$typeId}" method="post" enctype="multipart/form-data" onsubmit="return vi_validateForm(this)">
URL{$lang.colon}<input type="text" name="videourl" style="width: 35%" /> <small>Supported: YouTube only</small> URL{$lang.colon}<input type="text" name="videourl" style="width: 35%" /> <small>Supported: YouTube only</small>
<div class="pad2"></div> <div class="pad2"></div>

View File

@@ -10,7 +10,7 @@
<li><div>Il serait avisé de corriger vos fautes avant de soumettre vos commentaires.</div></li> <li><div>Il serait avisé de corriger vos fautes avant de soumettre vos commentaires.</div></li>
</ul> </ul>
<form name="addcomment" action="?comment=add&amp;type={$page.type}&amp;typeid={$page.typeId}" method="post" onsubmit="return co_validateForm(this)"> <form name="addcomment" action="?comment=add&amp;type={$type}&amp;typeid={$typeId}" method="post" onsubmit="return co_validateForm(this)">
<div id="replybox-generic" style="display: none"> <div id="replybox-generic" style="display: none">
The answer to a comment from <span></span>. &nbsp;<a href="javascript:;" onclick="co_cancelReply()">Cancel</a> The answer to a comment from <span></span>. &nbsp;<a href="javascript:;" onclick="co_cancelReply()">Cancel</a>
<div class="pad"></div> <div class="pad"></div>
@@ -33,7 +33,7 @@
<li><div>Assurez-vous de lire les <a href="?help=screenshots-tips-tricks" target="_blank">trucs et astuces</a> si ce n'est pas déjà fait.</div></li> <li><div>Assurez-vous de lire les <a href="?help=screenshots-tips-tricks" target="_blank">trucs et astuces</a> si ce n'est pas déjà fait.</div></li>
</ul> </ul>
<form action="?screenshot=add&{$page.type}.{$page.typeId}" method="post" enctype="multipart/form-data" onsubmit="return ss_validateForm(this)"> <form action="?screenshot=add&{$type}.{$typeId}" method="post" enctype="multipart/form-data" onsubmit="return ss_validateForm(this)">
File{$lang.colon}<input type="file" name="screenshotfile" style="width: 35%"/><br /> File{$lang.colon}<input type="file" name="screenshotfile" style="width: 35%"/><br />
<div class="pad2"></div> <div class="pad2"></div>
@@ -52,7 +52,7 @@
Entrez simplement l'URL du vidéo dans le formulaire ci-dessous. Entrez simplement l'URL du vidéo dans le formulaire ci-dessous.
<div class="pad2"></div> <div class="pad2"></div>
<form action="?video=add&{$page.type}.{$page.typeId}" method="post" enctype="multipart/form-data" onsubmit="return vi_validateForm(this)"> <form action="?video=add&{$type}.{$typeId}" method="post" enctype="multipart/form-data" onsubmit="return vi_validateForm(this)">
URL{$lang.colon}<input type="text" name="videourl" style="width: 35%" /> <small>Supporté: Youtube seulement</small> URL{$lang.colon}<input type="text" name="videourl" style="width: 35%" /> <small>Supporté: Youtube seulement</small>
<div class="pad2"></div> <div class="pad2"></div>

View File

@@ -10,7 +10,7 @@
<li><div>Stellt Eure Fragen bitte in unseren <a href="?forums">Foren</a>, wenn Ihr eine schnellere Antwort wünscht.</div></li> <li><div>Stellt Eure Fragen bitte in unseren <a href="?forums">Foren</a>, wenn Ihr eine schnellere Antwort wünscht.</div></li>
</ul> </ul>
<form name="addcomment" action="?comment=add&amp;type={$page.type}&amp;typeid={$page.typeId}" method="post" onsubmit="return co_validateForm(this)"> <form name="addcomment" action="?comment=add&amp;type={$type}&amp;typeid={$typeId}" method="post" onsubmit="return co_validateForm(this)">
<div id="replybox-generic" style="display: none"> <div id="replybox-generic" style="display: none">
Antwort zu einem Kommentar von <span></span>. &nbsp;<a href="javascript:;" onclick="co_cancelReply()">Abbrechen</a> Antwort zu einem Kommentar von <span></span>. &nbsp;<a href="javascript:;" onclick="co_cancelReply()">Abbrechen</a>
<div class="pad"></div> <div class="pad"></div>
@@ -34,7 +34,7 @@
<li><div>Lest Euch unbedingt die <a href="?help=screenshots-tips-tricks" target="_blank">Tipps &amp; Tricks</a> durch, wenn nicht bereits geschehen.</div></li> <li><div>Lest Euch unbedingt die <a href="?help=screenshots-tips-tricks" target="_blank">Tipps &amp; Tricks</a> durch, wenn nicht bereits geschehen.</div></li>
</ul> </ul>
<form action="?screenshot=add&{$page.type}.{$page.typeId}" method="post" enctype="multipart/form-data" onsubmit="return ss_validateForm(this)"> <form action="?screenshot=add&{$type}.{$typeId}" method="post" enctype="multipart/form-data" onsubmit="return ss_validateForm(this)">
Datei{$lang.colon}<input type="file" name="screenshotfile" style="width: 35%"/><br /> Datei{$lang.colon}<input type="file" name="screenshotfile" style="width: 35%"/><br />
<div class="pad2"></div> <div class="pad2"></div>
@@ -54,7 +54,7 @@
Gebt einfach die URL des Videos im folgenden Formular ein. Gebt einfach die URL des Videos im folgenden Formular ein.
<div class="pad2"></div> <div class="pad2"></div>
<form action="?video=add&{$page.type}.{$page.typeId}" method="post" enctype="multipart/form-data" onsubmit="return vi_validateForm(this)"> <form action="?video=add&{$type}.{$typeId}" method="post" enctype="multipart/form-data" onsubmit="return vi_validateForm(this)">
URL{$lang.colon}<input type="text" name="videourl" style="width: 35%" /> <small>Unterstützt: nur YouTube</small> URL{$lang.colon}<input type="text" name="videourl" style="width: 35%" /> <small>Unterstützt: nur YouTube</small>
<div class="pad2"></div> <div class="pad2"></div>

View File

@@ -10,7 +10,7 @@
<li><div>Deberías corregir tus comentarios antes de enviarlos.</div></li> <li><div>Deberías corregir tus comentarios antes de enviarlos.</div></li>
</ul> </ul>
<form name="addcomment" action="?comment=add&amp;type={$page.type}&amp;typeid={$page.typeId}" method="post" onsubmit="return co_validateForm(this)"> <form name="addcomment" action="?comment=add&amp;type={$type}&amp;typeid={$typeId}" method="post" onsubmit="return co_validateForm(this)">
<div id="replybox-generic" style="display: none"> <div id="replybox-generic" style="display: none">
The answer to a comment from <span></span>. &nbsp;<a href="javascript:;" onclick="co_cancelReply()">Cancel</a> The answer to a comment from <span></span>. &nbsp;<a href="javascript:;" onclick="co_cancelReply()">Cancel</a>
<div class="pad"></div> <div class="pad"></div>
@@ -33,7 +33,7 @@
<li><div>Asegurate de leer las <a href="?help=screenshots-tips-tricks" target="_blank">sugerencias y trucos</a> si no lo has hecho antes.</div></li> <li><div>Asegurate de leer las <a href="?help=screenshots-tips-tricks" target="_blank">sugerencias y trucos</a> si no lo has hecho antes.</div></li>
</ul> </ul>
<form action="?screenshot=add&{$page.type}.{$page.typeId}" method="post" enctype="multipart/form-data" onsubmit="return ss_validateForm(this)"> <form action="?screenshot=add&{$type}.{$typeId}" method="post" enctype="multipart/form-data" onsubmit="return ss_validateForm(this)">
File{$lang.colon}<input type="file" name="screenshotfile" style="width: 35%"/><br /> File{$lang.colon}<input type="file" name="screenshotfile" style="width: 35%"/><br />
<div class="pad2"></div> <div class="pad2"></div>
@@ -52,7 +52,7 @@
Símplemente, escribe la URL del vídeo en el formulario. Símplemente, escribe la URL del vídeo en el formulario.
<div class="pad2"></div> <div class="pad2"></div>
<form action="?video=add&{$page.type}.{$page.typeId}" method="post" enctype="multipart/form-data" onsubmit="return vi_validateForm(this)"> <form action="?video=add&{$type}.{$typeId}" method="post" enctype="multipart/form-data" onsubmit="return vi_validateForm(this)">
URL{$lang.colon}<input type="text" name="videourl" style="width: 35%" /> <small>Soportado: Sólo YouTube</small> URL{$lang.colon}<input type="text" name="videourl" style="width: 35%" /> <small>Soportado: Sólo YouTube</small>
<div class="pad2"></div> <div class="pad2"></div>

View File

@@ -10,7 +10,7 @@
<li><div>У вас может возникнуть желание проверить написание своего комментария перед тем, как поместить его на сайт.</div></li> <li><div>У вас может возникнуть желание проверить написание своего комментария перед тем, как поместить его на сайт.</div></li>
</ul> </ul>
<form name="addcomment" action="?comment=add&amp;type={$page.type}&amp;typeid={$page.typeId}" method="post" onsubmit="return co_validateForm(this)"> <form name="addcomment" action="?comment=add&amp;type={$type}&amp;typeid={$typeId}" method="post" onsubmit="return co_validateForm(this)">
<div id="replybox-generic" style="display: none"> <div id="replybox-generic" style="display: none">
The answer to a comment from <span></span>. &nbsp;<a href="javascript:;" onclick="co_cancelReply()">Cancel</a> The answer to a comment from <span></span>. &nbsp;<a href="javascript:;" onclick="co_cancelReply()">Cancel</a>
<div class="pad"></div> <div class="pad"></div>
@@ -33,7 +33,7 @@
<li><div>Если вы ещё не читали, то настоятельно рекомендуем вам прочесть <a href="?help=screenshots-tips-tricks" target="_blank">советы и особенности</a> получения изображений при помощи снимков экрана.</div></li> <li><div>Если вы ещё не читали, то настоятельно рекомендуем вам прочесть <a href="?help=screenshots-tips-tricks" target="_blank">советы и особенности</a> получения изображений при помощи снимков экрана.</div></li>
</ul> </ul>
<form action="?screenshot=add&{$page.type}.{$page.typeId}" method="post" enctype="multipart/form-data" onsubmit="return ss_validateForm(this)"> <form action="?screenshot=add&{$type}.{$typeId}" method="post" enctype="multipart/form-data" onsubmit="return ss_validateForm(this)">
File{$lang.colon}<input type="file" name="screenshotfile" style="width: 35%"/><br /> File{$lang.colon}<input type="file" name="screenshotfile" style="width: 35%"/><br />
<div class="pad2"></div> <div class="pad2"></div>
@@ -52,7 +52,7 @@
Введите URL видео на YouTube в форму ниже. Введите URL видео на YouTube в форму ниже.
<div class="pad2"></div> <div class="pad2"></div>
<form action="?video=add&{$page.type}.{$page.typeId}" method="post" enctype="multipart/form-data" onsubmit="return vi_validateForm(this)"> <form action="?video=add&{$type}.{$typeId}" method="post" enctype="multipart/form-data" onsubmit="return vi_validateForm(this)">
URL{$lang.colon}<input type="text" name="videourl" style="width: 35%" /> <small>Поддерживается: только YouTube</small> URL{$lang.colon}<input type="text" name="videourl" style="width: 35%" /> <small>Поддерживается: только YouTube</small>
<div class="pad2"></div> <div class="pad2"></div>

View File

@@ -291,14 +291,9 @@ h1 a, h2 a, h3 a, h4 a, h5 a, h1 a.icontiny span, h2 a.icontiny span, h3 a.icont
border: 0; border: 0;
} }
#header-ad /************/
{ /* TOP TABS */
position: absolute; /************/
right: 0;
width: 728px;
height: 90px;
padding-top: 10px;
}
#toptabs #toptabs
{ {
@@ -409,39 +404,32 @@ a#toptabs-menu-language
background: url(../images/language.gif) left center no-repeat; background: url(../images/language.gif) left center no-repeat;
} }
#topbar-expand /***********/
/* TOP BAR */
/***********/
.topbar
{ {
float: right; background: #383838;
position: relative; border: 1px solid #484848;
height: 30px;
overflow: hidden;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
} }
#topbar-expand a .topbar-search
{
position: absolute;
display: block;
right: -8px;
top: 38px;
background: url(../images/expandsite.gif) no-repeat;
width: 8px;
height: 38px;
outline: none;
z-index: 10;
}
#topbar-expand a:hover
{
background-position: 0 -38px;
}
#topbar-right
{ {
right: 14px; right: 14px;
top: 5px; top: 5px;
float: right; float: right;
margin-left: 7px;
position: relative; position: relative;
} }
#topbar-right input .topbar-search input
{ {
border: 1px solid #a7a6aa; border: 1px solid #a7a6aa;
height: 18px; height: 18px;
@@ -452,7 +440,7 @@ a#toptabs-menu-language
color: black; color: black;
} }
#topbar-right a .topbar-search a
{ {
position: absolute; position: absolute;
top: 0; top: 0;
@@ -464,19 +452,20 @@ a#toptabs-menu-language
display: block; display: block;
} }
#topbar-right a:hover .topbar-search a:hover
{ {
background-position: left bottom; background-position: left bottom;
} }
#topbar .topbar-browse {
{ float: right;
background: #383838; padding-right: 15px;
border-top: 1px solid #484848; padding-top: 5px;
border-left: 1px solid #484848; }
border-right: 1px solid #484848;
padding: 7px 0 7px 3px; .topbar-buttons {
font-size: 13px; line-height: 30px;
padding-left: 3px;
} }
#morelink #morelink
@@ -912,7 +901,7 @@ span.breadcrumb-ellipsis {
padding: 4px 0 0 5px; padding: 4px 0 0 5px;
} }
span.menu-buttons a { span.menu-buttons a {
text-decoration: none; text-decoration: none;
color: white; color: white;
padding: 4px 11px; padding: 4px 11px;
@@ -2423,17 +2412,17 @@ td.checked .listview-cb:hover
} }
.slider-x, .slider-y { .slider-x, .slider-y {
position: relative; position: relative;
} }
.slider-x { .slider-x {
width: 100%; width: 100%;
height: 25px; height: 25px;
} }
.slider-y { .slider-y {
width: 25px; width: 25px;
height: 100%; height: 100%;
} }
.slider-x.has-labels { .slider-x.has-labels {
@@ -2441,11 +2430,11 @@ td.checked .listview-cb:hover
} }
.slider-x .track, .slider-y .track { .slider-x .track, .slider-y .track {
position: absolute; position: absolute;
display: block; display: block;
width: 100%; width: 100%;
height: 100%; height: 100%;
z-index: 8; z-index: 8;
} }
.slider-x .track { .slider-x .track {
@@ -2457,53 +2446,53 @@ td.checked .listview-cb:hover
} }
.slider-x .handle, .slider-y .handle { .slider-x .handle, .slider-y .handle {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
z-index: 10; z-index: 10;
} }
.slider-x .handle { .slider-x .handle {
background: url(../images/ui/misc/slider.gif) no-repeat top left; background: url(../images/ui/misc/slider.gif) no-repeat top left;
cursor: e-resize; cursor: e-resize;
height: 22px; height: 22px;
width: 9px; width: 9px;
} }
.slider-y .handle { .slider-y .handle {
background: url(../images/ui/misc/slider.gif) no-repeat top right; background: url(../images/ui/misc/slider.gif) no-repeat top right;
cursor: n-resize; cursor: n-resize;
height: 9px; height: 9px;
width: 22px; width: 22px;
} }
.slider-x .handle:hover { .slider-x .handle:hover {
background-position: bottom left; background-position: bottom left;
} }
.slider-y .handle:hover { .slider-y .handle:hover {
background-position: bottom right; background-position: bottom right;
} }
.slider-x span, .slider-y span { .slider-x span, .slider-y span {
position: absolute; position: absolute;
background: #7e7e7e; background: #7e7e7e;
border: 1px solid #404040; border: 1px solid #404040;
z-index: 5; z-index: 5;
} }
.slider-x span { .slider-x span {
top: 9px; top: 9px;
left: 0; left: 0;
width: 100%; width: 100%;
height: 2px; height: 2px;
} }
.slider-y span { .slider-y span {
top: 0; top: 0;
left: 9px; left: 9px;
width: 2px; width: 2px;
height: 100%; height: 100%;
} }
.slider-x .label { .slider-x .label {
@@ -2560,7 +2549,7 @@ td.checked .listview-cb:hover
} }
.tooltip-slider table { .tooltip-slider table {
width: 100%; width: 100%;
} }
.pet-model .pet-model

View File

@@ -1,4 +1,4 @@
#topbar-right input.search-database .topbar-search input.search-database
{ {
background: white url(../images/dede/searchdatabase.gif) .2em center no-repeat; background: white url(../images/dede/searchdatabase.gif) .2em center no-repeat;
} }

View File

@@ -1,4 +1,4 @@
#topbar-right input.search-database .topbar-search input.search-database
{ {
background: white url(../images/enus/searchdatabase.gif) .2em center no-repeat; background: white url(../images/enus/searchdatabase.gif) .2em center no-repeat;
} }

View File

@@ -3,7 +3,7 @@
width, left, background-position values may need adjustment! width, left, background-position values may need adjustment!
*/ */
#topbar-right input.search-database .topbar-search input.search-database
{ {
background: white url(../images/eses/searchdatabase.gif) .2em center no-repeat; background: white url(../images/eses/searchdatabase.gif) .2em center no-repeat;
} }

View File

@@ -1,4 +1,4 @@
#topbar-right input.search-database .topbar-search input.search-database
{ {
background: white url(../images/frfr/searchdatabase.gif) .2em center no-repeat; background: white url(../images/frfr/searchdatabase.gif) .2em center no-repeat;
} }

View File

@@ -1,4 +1,4 @@
#topbar-right input.search-database .topbar-search input.search-database
{ {
background: white url(../images/ruru/searchdatabase.gif) .2em center no-repeat; background: white url(../images/ruru/searchdatabase.gif) .2em center no-repeat;
} }

View File

@@ -26,8 +26,12 @@
<div class="clear"></div> <div class="clear"></div>
</div> </div>
</div> </div>
<div id="topbar-right"><div><form action="."><a href="javascript:;"></a><input name="search" size="35" value="" id="livesearch-generic" /></form></div></div> <div class="topbar" id="topbar">
<div id="topbar"><span id="topbar-generic" class="menu-buttons"></span><div class="clear"></div></div> <div class="topbar-search"><form action="."><a href="javascript:;"></a><input name="search" size="35" value="" id="livesearch-generic" /></form></div>
<div class="topbar-browse" id="topbar-browse"></div>
<div class="topbar-buttons" id="topbar-buttons"></div>
</div>
{strip}<script type="text/javascript"> {strip}<script type="text/javascript">
g_initHeader({$tab}); g_initHeader({$tab});
LiveSearch.attach($WH.ge('livesearch-generic')); LiveSearch.attach($WH.ge('livesearch-generic'));

View File

@@ -2699,6 +2699,68 @@ Summary.prototype = {
$WH.ae(sm, a); $WH.ae(sm, a);
$WH.ae(div, sm); $WH.ae(div, sm);
sm = $WH.ce('small');
var sp = $WH.ce('span');
sp.style.padding = '0 8px';
sp.style.color = 'white';
$WH.ae(sp, $WH.ct('|'));
$WH.ae(sm, sp);
$WH.ae(sm, $WH.ct(LANG.su_note_stats + ': '));
a = $WH.ce('a');
a.href = 'javascript:;';
a.onclick = this.filterEnchants.bind(this, a, 1, null);
$WH.ae(a, $WH.ct(LANG.pr_note_all));
g_setSelectedLink(a, 'enchants1');
$WH.ae(sm, a);
$WH.ae(sm, $WH.ct(LANG.comma))
a = $WH.ce('a');
a.href = 'javascript:;';
a.onclick = this.filterEnchants.bind(this, a, 1, 'sta');
$WH.ae(a, $WH.ct(LANG.traits.sta[0]));
$WH.ae(sm, a);
$WH.ae(sm, $WH.ct(LANG.comma));
a = $WH.ce('a');
a.href = 'javascript:;';
a.onclick = this.filterEnchants.bind(this, a, 1, 'str')
$WH.ae(a, $WH.ct(LANG.traits.str[0]));
$WH.ae(sm, a);
$WH.ae(sm, $WH.ct(LANG.comma));
a = $WH.ce('a');
a.href = 'javascript:;';
a.onclick = this.filterEnchants.bind(this, a, 1, 'agi');
$WH.ae(a, $WH.ct(LANG.traits.agi[0]))
$WH.ae(sm, a);
$WH.ae(sm, $WH.ct(LANG.comma));
a = $WH.ce('a');
a.href = 'javascript:;';
a.onclick = this.filterEnchants.bind(this, a, 1, 'int');
$WH.ae(a, $WH.ct(LANG.traits['int'][0]));
$WH.ae(sm, a);
$WH.ae(sm, $WH.ct(LANG.comma));
a = $WH.ce('a');
a.href = 'javascript:;';
a.onclick = this.filterEnchants.bind(this, a, 1, 'spi');
$WH.ae(a, $WH.ct(LANG.traits['spi'][0]));
$WH.ae(sm, a);
$WH.ae(sm, $WH.ct(LANG.comma));
a = $WH.ce('a');
a.href = 'javascript:;';
a.onclick = this.filterEnchants.bind(this, a, 1, -1);
$WH.ae(a, $WH.ct(LANG.su_note_other));
this.enchantStat = null;
$WH.ae(sm, a);
$WH.ae(div, sm);
}, },
canBeEnchanted: function(slot, subclass) { canBeEnchanted: function(slot, subclass) {
@@ -2725,6 +2787,22 @@ Summary.prototype = {
this.enchantSource == null || this.enchantSource == null ||
(this.enchantSource == 1 && enchant.source < 0) || (this.enchantSource == 1 && enchant.source < 0) ||
(this.enchantSource == 2 && enchant.source > 0) (this.enchantSource == 2 && enchant.source > 0)
) &&
// StatType
(
this.enchantStat == null ||
(
this.enchantStat == -1 &&
!enchant.jsonequip.hasOwnProperty('sta') &&
!enchant.jsonequip.hasOwnProperty('str') &&
!enchant.jsonequip.hasOwnProperty('agi') &&
!enchant.jsonequip.hasOwnProperty('int') &&
!enchant.jsonequip.hasOwnProperty('spi')
) ||
(
enchant.jsonequip.hasOwnProperty(this.enchantStat)
)
) )
); );
}, },
@@ -2734,6 +2812,9 @@ Summary.prototype = {
case 0: case 0:
this.enchantSource = value; this.enchantSource = value;
break; break;
case 1:
this.enchantStat = value;
break;
default: default:
return; return;
} }
@@ -4492,24 +4573,24 @@ Listview.templates.compare = {
return Listview.funcBox.getItemType(item.classs, item.subclass, item.subsubclass).text; return Listview.funcBox.getItemType(item.classs, item.subclass, item.subsubclass).text;
} }
}, },
{ {
id: 'score', id: 'score',
align: 'center', align: 'center',
compute: function(item, td, tr) { compute: function(item, td, tr) {
if (item.score != null) { if (item.score != null) {
var var
n = parseFloat(item.score), n = parseFloat(item.score),
s = $WH.ce('div'); s = $WH.ce('div');
s.className = 'small q' + (n ? (n > 0 ? 2 : 10) : 0); s.className = 'small q' + (n ? (n > 0 ? 2 : 10) : 0);
$WH.st(s, (n ? (n > 0 ? '+' : '-') + item.score : 0)); $WH.st(s, (n ? (n > 0 ? '+' : '-') + item.score : 0));
$WH.ae(td, s); $WH.ae(td, s);
} }
else { else {
td.style.display = 'none'; td.style.display = 'none';
} }
} }
} }
] ]
}; };

View File

@@ -630,6 +630,57 @@ $WH.OS = {
//****************************************************************************// //****************************************************************************//
//****************************************************************************// //****************************************************************************//
$WH.localStorage = new function () {
this.isSupported = function () {
var _;
try {
_ = "localStorage" in window && window.localStorage !== null;
}
catch(b) {
_ = false;
}
if (_) {
try {
localStorage.setItem("test", "123");
_ = localStorage.getItem("test") == "123";
localStorage.removeItem("test")
}
catch(b) {
_ = false
}
}
$WH.localStorage.isSupported = (function (c) { return c; }).bind(null, _);
return _;
};
this.set = function (idx, data) {
if (!$WH.localStorage.isSupported()) {
return;
}
localStorage.setItem(idx, data);
};
this.get = function (idx) {
if (!$WH.localStorage.isSupported()) {
return;
}
return localStorage.getItem(idx)
};
this.remove = function (idx) {
if (!$WH.localStorage.isSupported()) {
return;
}
localStorage.removeItem(idx);
}
};
$WH.g_getWindowSize = function () { $WH.g_getWindowSize = function () {
var var
width = 0, width = 0,
@@ -996,20 +1047,20 @@ $WH.g_intersectRect = function(a, b) {
// sarjuuk: this function should be obsolete by now :x // sarjuuk: this function should be obsolete by now :x
$WH.g_setRatingLevel = function(sp, level, rating, value) { $WH.g_setRatingLevel = function(sp, level, rating, value) {
var newLvl = prompt($WH.sprintf(LANG.prompt_ratinglevel, 1, 80), level); var newLvl = prompt($WH.sprintf(LANG.prompt_ratinglevel, 1, 80), level);
if (newLvl != null) { if (newLvl != null) {
newLvl |= 0; newLvl |= 0;
if (newLvl != level && newLvl >= 1 && newLvl <= 80) { if (newLvl != level && newLvl >= 1 && newLvl <= 80) {
level = newLvl; level = newLvl;
var a = $WH.g_convertRatingToPercent(level, rating, value); var a = $WH.g_convertRatingToPercent(level, rating, value);
a = (Math.round(a * 100) / 100); a = (Math.round(a * 100) / 100);
if (rating != 12 && rating != 37) { if (rating != 12 && rating != 37) {
a += "%" a += "%"
} }
sp.innerHTML = $WH.sprintf(LANG.tooltip_combatrating, a, level); sp.innerHTML = $WH.sprintf(LANG.tooltip_combatrating, a, level);
sp.onclick = $WH.g_setRatingLevel.bind(0, sp, level, rating, value); sp.onclick = $WH.g_setRatingLevel.bind(0, sp, level, rating, value);
} }
} }
} }
$WH.g_convertRatingToPercent = function(level, rating, value, classs) { $WH.g_convertRatingToPercent = function(level, rating, value, classs) {

View File

@@ -370,7 +370,7 @@ function g_createHeader(c) {
$WH.ae(k, f) $WH.ae(k, f)
} }
$WH.ae($WH.ge("toptabs-generic"), k); $WH.ae($WH.ge("toptabs-generic"), k);
var b = $WH.ge("topbar-generic"); var b = $WH.ge("topbar-buttons");
if (c != null && c >= 0 && c < mn_path.length) { if (c != null && c >= 0 && c < mn_path.length) {
c = parseInt(c); c = parseInt(c);
switch (c) { switch (c) {
@@ -403,7 +403,7 @@ function g_createHeader(c) {
} }
function g_updateHeader(a) { function g_updateHeader(a) {
$WH.ee($WH.ge("toptabs-generic")); $WH.ee($WH.ge("toptabs-generic"));
$WH.ee($WH.ge("topbar-generic")); $WH.ee($WH.ge("topbar-buttons"));
g_createHeader(a) g_createHeader(a)
} }
function g_initHeader(a) { function g_initHeader(a) {
@@ -3324,6 +3324,7 @@ Listview.prototype = {
this.updateNav(); this.updateNav();
this.refreshRows(); this.refreshRows();
this.updateBrowseSession();
if (this.onAfterCreate != null) { if (this.onAfterCreate != null) {
this.onAfterCreate(obcResult); this.onAfterCreate(obcResult);
@@ -4188,6 +4189,7 @@ Listview.prototype = {
if (refresh) { if (refresh) {
this.updateNav(); this.updateNav();
this.refreshRows(); this.refreshRows();
this.updateBrowseSession();
} }
return; return;
@@ -4353,6 +4355,7 @@ Listview.prototype = {
if (refresh) { if (refresh) {
this.updateNav(); this.updateNav();
this.refreshRows(); this.refreshRows();
this.updateBrowseSession();
} }
}, },
@@ -4362,6 +4365,7 @@ Listview.prototype = {
this.refreshRows(); this.refreshRows();
this.updateNav(); this.updateNav();
this.updatePound(); this.updatePound();
this.updateBrowseSession();
var var
scroll = $WH.g_getScroll(), scroll = $WH.g_getScroll(),
@@ -4452,6 +4456,7 @@ Listview.prototype = {
} }
this.updateSortIndex(); this.updateSortIndex();
this.updateBrowseSession();
}, },
setSort: function(sort, refresh, updatePound) { setSort: function(sort, refresh, updatePound) {
@@ -4513,6 +4518,70 @@ Listview.prototype = {
} }
}, },
updateBrowseSession: function () {
if ((!window.JSON) || (!$WH.localStorage.isSupported())) {
return;
}
// if ((typeof fi_filters == 'undefined') && (location.pathname != '/search')) {
if ((typeof fi_filters == 'undefined') && !(/\?search/.test(location.search))) {
return;
}
if (this.data.length < 3) {
return;
}
if (typeof this.getItemLink != 'function') {
return;
}
var max = 5;
var path = location.pathname + location.search;
var expire = (new Date(g_serverTime.getTime() - 1000 * 60 * 60 * 24 * 3)).getTime();
var lv = $WH.localStorage.get('lvBrowse');
if (lv) {
lv = window.JSON.parse(lv);
for (var i = 0; i < lv.length; i++) {
if ((lv[i].path == path) || (lv[i].when < expire)) {
lv.splice(i--, 1);
}
}
if (lv.length >= max) {
lv.splice(max - 1, lv.length - max - 1);
}
}
else {
lv = [];
}
var
urls = [],
url,
pattern = /^\?[-a-z]+=\d+/i;
for (var i = 0; i < this.data.length; i++) {
if (url = pattern.exec(this.getItemLink(this.data[i]))) {
urls.push(url[0]);
}
}
if (urls.length < 3) {
return;
}
lv.unshift({
path: path,
hash: location.hash,
when: g_serverTime.getTime(),
urls: urls
});
$WH.localStorage.set('lvBrowse', window.JSON.stringify(lv))
},
updateSortArrow: function() { updateSortArrow: function() {
if (!this.sort.length || !this.thead || this.mode == Listview.MODE_TILED || this.mode == Listview.MODE_CALENDAR) { if (!this.sort.length || !this.thead || this.mode == Listview.MODE_TILED || this.mode == Listview.MODE_CALENDAR) {
return; return;
@@ -4751,6 +4820,7 @@ Listview.prototype = {
else { else {
this.refreshRows(); this.refreshRows();
this.updateNav(); this.updateNav();
this.updateBrowseSession();
} }
}, },
@@ -4780,6 +4850,7 @@ Listview.prototype = {
this.updateNav(); this.updateNav();
this.refreshRows(); this.refreshRows();
this.updateBrowseSession();
}, },
getClipDiv: function() { getClipDiv: function() {
@@ -6029,69 +6100,69 @@ Listview.funcBox = {
} }
}, },
initSpellFilter: function (row) { initSpellFilter: function (row) {
if (this._spellTypes == null) { if (this._spellTypes == null) {
this._spellTypes = {}; this._spellTypes = {};
} }
if (this._spellTypes[row.cat] == null) { if (this._spellTypes[row.cat] == null) {
this._spellTypes[row.cat] = 0; this._spellTypes[row.cat] = 0;
} }
this._spellTypes[row.cat]++; this._spellTypes[row.cat]++;
}, },
addSpellIndicator: function () { addSpellIndicator: function () {
var it = location.hash.match(/:type=([^:]+)/); var it = location.hash.match(/:type=([^:]+)/);
var f = function (spellCat, updatePound) { var f = function (spellCat, updatePound) {
g_setSelectedLink(this, "spellType"); g_setSelectedLink(this, "spellType");
lv.customPound = lv.id + (spellCat != null ? ":type=" + spellCat : ""); lv.customPound = lv.id + (spellCat != null ? ":type=" + spellCat : "");
lv.customFilter = function (spell) { lv.customFilter = function (spell) {
return spellCat == null || spell.cat == spellCat; return spellCat == null || spell.cat == spellCat;
}; };
lv.updateFilters(1); lv.updateFilters(1);
lv.applySort(); lv.applySort();
lv.refreshRows(); lv.refreshRows();
if (updatePound) { if (updatePound) {
lv.updatePound(1) lv.updatePound(1)
} }
}; };
var var
lv = this, lv = this,
categories = [], categories = [],
a; a;
a = $("<a><span>" + LANG.pr_note_all + "</span></a>"); a = $("<a><span>" + LANG.pr_note_all + "</span></a>");
a[0].f = f.bind(a[0], null, 1); a[0].f = f.bind(a[0], null, 1);
a.click(a[0].f); a.click(a[0].f);
var firstCallback = f.bind(a[0], null, 0); var firstCallback = f.bind(a[0], null, 0);
firstCallback(); firstCallback();
categories.push($('<span class="indicator-mode"></span>').append(a).append($("<b>" + LANG.pr_note_all + "</b>"))); categories.push($('<span class="indicator-mode"></span>').append(a).append($("<b>" + LANG.pr_note_all + "</b>")));
for (var i in g_spell_categories) { for (var i in g_spell_categories) {
if (!this._spellTypes[i]) { if (!this._spellTypes[i]) {
continue; continue;
} }
a = $("<a><span>" + g_spell_categories[i] + "</span> (" + this._spellTypes[i] + ")</a>"); a = $("<a><span>" + g_spell_categories[i] + "</span> (" + this._spellTypes[i] + ")</a>");
a[0].f = f.bind(a[0], i, 1); a[0].f = f.bind(a[0], i, 1);
a.click(a[0].f); a.click(a[0].f);
categories.push($('<span class="indicator-mode"></span>').append(a).append($("<b>" + g_spell_categories[i] + " (" + this._spellTypes[i] + ")</b>"))); categories.push($('<span class="indicator-mode"></span>').append(a).append($("<b>" + g_spell_categories[i] + " (" + this._spellTypes[i] + ")</b>")));
if (it && it[1] == i) { if (it && it[1] == i) {
(a[0].f)(); (a[0].f)();
} }
} }
if (categories.length > 2) { if (categories.length > 2) {
for (var i = 0, len = categories.length; i < len; ++i) { for (var i = 0, len = categories.length; i < len; ++i) {
this.createIndicator(categories[i], null, $("a", categories[i])[0].f) this.createIndicator(categories[i], null, $("a", categories[i])[0].f)
} }
$(this.noteTop).css("padding-bottom", "12px"); $(this.noteTop).css("padding-bottom", "12px");
$(this.noteIndicators).append($('<div class="clear"></div>')).insertAfter($(this.navTop)) $(this.noteIndicators).append($('<div class="clear"></div>')).insertAfter($(this.navTop))
} }
}, },
initStatisticFilter: function(row) initStatisticFilter: function(row)
{ {
@@ -18154,6 +18225,90 @@ Announcement.prototype = {
} }
}; };
$WH.aE(window, 'load', function () {
if (!(window.JSON && $WH.localStorage.isSupported())) {
return;
}
var lv = $WH.localStorage.get('lvBrowse');
if (!lv) {
return;
}
lv = window.JSON.parse(lv);
if (!lv) {
return;
}
var pattern = /^\?[-a-z]+=\d+/i;
// var path = pattern.exec(location.pathname);
var path = pattern.exec(location.search);
if (!path) {
return;
}
path = path[0];
var makeButton = function (text, url) {
var a = $WH.ce('a');
a.className = 'button-red' + (url ? ' button-red-disabled' : '');
var em = $WH.ce('em');
$WH.ae(a, em);
var b = $WH.ce('b');
$WH.ae(em, b);
var i = $WH.ce('i');
$WH.ae(b, i);
$WH.st(i, text);
var sp = $WH.ce('span');
$WH.ae(em, sp);
$WH.st(sp, text);
return a;
};
for (var i = 0; i < lv.length; i++) {
var urls = lv[i].urls;
for (var j = 0; j < urls.length; j++) {
if (urls[j] == path) {
var prevUrl = j > 0 ? urls[j - 1] : false;
var nextUrl = (j + 1) < urls.length ? urls[j + 1] : false;
var upUrl = lv[i].path + lv[i].hash;
var el = $WH.ge('topbar-browse');
if (!el) {
return;
}
var button;
button = makeButton('>', !nextUrl);
if (nextUrl) {
button.href = nextUrl;
}
$WH.ae(el, button);
button = makeButton(LANG.up, !upUrl);
if (upUrl) {
button.href = upUrl;
}
$WH.ae(el, button);
button = makeButton('<', !prevUrl);
if (prevUrl) {
button.href = prevUrl;
}
$WH.ae(el, button);
return;
}
}
}
});
/* /*
Global WoW data Global WoW data

View File

@@ -267,10 +267,12 @@ var mn_npcs = [
var mn_objects = [ var mn_objects = [
[9,"Bücher"], [9,"Bücher"],
[3,"Behälter"], [3,"Behälter"],
[-5,"Schließkisten"], [-5,"Truhen"],
[25,"Fischschwärme"],
[-3,"Kräuter"], [-3,"Kräuter"],
[-4,"Erzadern"], [-4,"Erzadern"],
[-2,"Quest"] [-2,"Quest"],
[-6,"Werkzeuge"]
]; ];
var mn_quests = [ var mn_quests = [
[,"Kontinent"], [,"Kontinent"],
@@ -1283,12 +1285,15 @@ var g_pet_foods = {
}; };
var g_object_types = { var g_object_types = {
0: 'Anderes',
9: 'Buch', 9: 'Buch',
3: 'Behälter', 3: 'Behälter',
"-5": 'Schließkiste', "-5": 'Truhe',
"-3": 'Kräut', 25: 'Fischschwarm',
"-3": 'Kraut',
"-4": 'Erzvorkommen', "-4": 'Erzvorkommen',
"-2": 'Quest' "-2": 'Quest',
"-6": 'Werkzeug'
}; };
var g_reputation_standings = { var g_reputation_standings = {
@@ -2320,6 +2325,7 @@ var LANG = {
tp: "TP", tp: "TP",
trending: "Aktuell", trending: "Aktuell",
type: "Art", type: "Art",
up: "Hoch",
cooldown: "Abklingzeit", cooldown: "Abklingzeit",
duration: "Dauer", duration: "Dauer",
user: "Benutzer", user: "Benutzer",
@@ -3783,6 +3789,9 @@ var LANG = {
pr_note_normal: "Normal", pr_note_normal: "Normal",
pr_note_exotic: "Exotisch", pr_note_exotic: "Exotisch",
su_note_stats: "Werte",
su_note_other: "Anderes",
su_notice: 'Euer erstes Mal? Nur keine falsche Scheu! Schaut einfach auf unsere <a href="?help=item-comparison" target="_blank">Hilfeseite</a>!', su_notice: 'Euer erstes Mal? Nur keine falsche Scheu! Schaut einfach auf unsere <a href="?help=item-comparison" target="_blank">Hilfeseite</a>!',
su_itemtip: "Tipp: Shift- oder rechtsklickt Gegenstände für mehr Optionen.", su_itemtip: "Tipp: Shift- oder rechtsklickt Gegenstände für mehr Optionen.",

View File

@@ -267,10 +267,12 @@ var mn_npcs = [
var mn_objects = [ var mn_objects = [
[9,"Books"], [9,"Books"],
[3,"Containers"], [3,"Containers"],
[-5,"Footlockers"], [-5,"Chests"],
[25,"Fishing Pools"],
[-3,"Herbs"], [-3,"Herbs"],
[-4,"Mineral Veins"], [-4,"Mineral Veins"],
[-2,"Quest"] [-2,"Quest"],
[-6,"Tools"]
]; ];
var mn_quests = [ var mn_quests = [
[,"Continents"], [,"Continents"],
@@ -1329,12 +1331,15 @@ var g_pet_foods = {
}; };
var g_object_types = { var g_object_types = {
0: 'Other',
9: 'Book', 9: 'Book',
3: 'Container', 3: 'Container',
"-5": 'Footlocker', "-5": 'Chest',
25: 'Fishing Pool',
"-3": 'Herb', "-3": 'Herb',
"-4": 'Mineral Vein', "-4": 'Mineral Vein',
"-2": 'Quest' "-2": 'Quest',
"-6": 'Tool'
}; };
var g_reputation_standings = { var g_reputation_standings = {
@@ -2366,6 +2371,7 @@ var LANG = {
tp: "TP", tp: "TP",
trending: "Trending", trending: "Trending",
type: "Type", type: "Type",
up: "Up",
cooldown: "Cooldown", cooldown: "Cooldown",
duration: "Duration", duration: "Duration",
user: "User", user: "User",
@@ -3828,6 +3834,9 @@ var LANG = {
pr_note_normal: "Normal", pr_note_normal: "Normal",
pr_note_exotic: "Exotic", pr_note_exotic: "Exotic",
su_note_stats: "Stats",
su_note_other: "Other",
su_notice: 'First time? &ndash; Don\'t be shy! Just check out our <a href="?help=item-comparison" target="_blank">Help page</a>!', su_notice: 'First time? &ndash; Don\'t be shy! Just check out our <a href="?help=item-comparison" target="_blank">Help page</a>!',
su_itemtip: "Tip: Shift or right-click items for more options.", su_itemtip: "Tip: Shift or right-click items for more options.",

View File

@@ -267,10 +267,12 @@ var mn_npcs = [
var mn_objects = [ var mn_objects = [
[9,"Libros"], [9,"Libros"],
[3,"Contenedores"], [3,"Contenedores"],
[-5,"Armarios de pie"], [-5,"Cofres"],
[25,"[Fishing Pools]"],
[-3,"Hierbas"], [-3,"Hierbas"],
[-4,"Venas de minerales"], [-4,"Venas de minerales"],
[-2,"Misión"] [-2,"Misión"],
[-6,"Herramientas"]
]; ];
var mn_quests = [ var mn_quests = [
[,"Continentes"], [,"Continentes"],
@@ -1283,12 +1285,15 @@ var g_pet_foods = {
}; };
var g_object_types = { var g_object_types = {
0: 'Otros',
9: 'Libro', 9: 'Libro',
3: 'Contenedore', 3: 'Contenedore',
"-5": 'Baúle', "-5": 'Cofre',
25: '[Fishing Pool]',
"-3": 'Hierba', "-3": 'Hierba',
"-4": 'Filóne de mineral', "-4": 'Filóne de mineral',
"-2": 'Misión' "-2": 'Misión',
"-6": 'Herramienta'
}; };
var g_reputation_standings = { var g_reputation_standings = {
@@ -2321,6 +2326,7 @@ var LANG = {
tp: "PI", tp: "PI",
trending: "Tendencia", trending: "Tendencia",
type: "Tipo", type: "Tipo",
up: "Arriba",
cooldown: "Reutilización", cooldown: "Reutilización",
duration: "Duración", duration: "Duración",
user: "Usuario", user: "Usuario",
@@ -4009,7 +4015,10 @@ var LANG = {
pr_note_normal: "Normal", pr_note_normal: "Normal",
pr_note_exotic: "Exótica", pr_note_exotic: "Exótica",
pr_note_weighted:"Valorado", /* some relic text..? */ pr_note_weighted: "Valorado", /* some relic text..? */
su_note_stats: "Estadisticas",
su_note_other: "Otros",
su_notice: '¿Tu primera vez? ¡No seas vergonzoso! !Mira nuestra <a href="?help=item-comparison" target="_blank">página de ayuda</a>!', su_notice: '¿Tu primera vez? ¡No seas vergonzoso! !Mira nuestra <a href="?help=item-comparison" target="_blank">página de ayuda</a>!',
su_itemtip: "Consejo: Usa Shift o Click derecho en los objetos para ver más opciones.", su_itemtip: "Consejo: Usa Shift o Click derecho en los objetos para ver más opciones.",

View File

@@ -267,10 +267,12 @@ var mn_npcs = [
var mn_objects = [ var mn_objects = [
[9,"Livres"], [9,"Livres"],
[3,"Conteneurs"], [3,"Conteneurs"],
[-5,"Cantines"], [-5,"Coffres"],
[25,"Bancs de poissons"],
[-3,"Herbes"], [-3,"Herbes"],
[-4,"Filons de minerai"], [-4,"Filons de minerai"],
[-2,"Quête"] [-2,"Quête"],
[-6,"Outils"]
]; ];
var mn_quests = [ var mn_quests = [
[,"Continents"], [,"Continents"],
@@ -1283,12 +1285,15 @@ var g_pet_foods = {
}; };
var g_object_types = { var g_object_types = {
0: 'Autre',
9: 'Livre', 9: 'Livre',
3: 'Conteneur', 3: 'Conteneur',
"-5": 'Cantine', "-5": 'Coffre',
25: 'Banc de poissons',
"-3": 'Herbe', "-3": 'Herbe',
"-4": 'Filon de minerai', "-4": 'Filon de minerai',
"-2": 'Quête' "-2": 'Quête',
"-6": 'Outil'
}; };
var g_reputation_standings = { var g_reputation_standings = {
@@ -2308,6 +2313,7 @@ var LANG = {
tp: "PE", tp: "PE",
trending: "Tendance", trending: "Tendance",
type: "Type", type: "Type",
up: "Vers le haut",
cooldown: "Recharge", cooldown: "Recharge",
duration: "Durée", duration: "Durée",
user: "Utilisateur", user: "Utilisateur",
@@ -3998,7 +4004,10 @@ var LANG = {
pr_note_normal: "Standard", pr_note_normal: "Standard",
pr_note_exotic: "Exotique", pr_note_exotic: "Exotique",
pr_note_weighted:"Valorisé", /* some relic text..? */ pr_note_weighted: "Valorisé", /* some relic text..? */
su_note_stats: "Statistiques",
su_note_other: "Autre",
su_notice: 'Première visite? &ndash; Ne soyez pas intimidé! Vous n\'avez qu\'à lire notre <a href="?help=item-comparison" target="_blank">page d\'aide</a> !', su_notice: 'Première visite? &ndash; Ne soyez pas intimidé! Vous n\'avez qu\'à lire notre <a href="?help=item-comparison" target="_blank">page d\'aide</a> !',
su_itemtip: "Conseil: Tenir Shift enfoncé ou clique-droit sur l'objet pour plus d'options.", su_itemtip: "Conseil: Tenir Shift enfoncé ou clique-droit sur l'objet pour plus d'options.",

View File

@@ -268,9 +268,11 @@ var mn_objects = [
[9,"Книги"], [9,"Книги"],
[3,"Контейнеры"], [3,"Контейнеры"],
[-5,"Сундуки"], [-5,"Сундуки"],
[25,"[Fishing Pools]"],
[-3,"Травы"], [-3,"Травы"],
[-4,"Полезные ископаемые"], [-4,"Полезные ископаемые"],
[-2,"Задание"] [-2,"Задание"],
[-6,"Инструменты"]
]; ];
var mn_quests = [ var mn_quests = [
[,"Континенты"], [,"Континенты"],
@@ -1283,12 +1285,15 @@ var g_pet_foods = {
}; };
var g_object_types = { var g_object_types = {
0: 'Другое',
9: 'Книга', 9: 'Книга',
3: 'Контейнер', 3: 'Контейнер',
"-5": 'Сундук', "-5": 'Сундук',
25: '[Fishing Pool]',
"-3": 'Растение', "-3": 'Растение',
"-4": 'Полезное ископаемое', "-4": 'Полезное ископаемое',
"-2": 'Задание' "-2": 'Задание',
"-6": 'Инструмент'
}; };
var g_reputation_standings = { var g_reputation_standings = {
@@ -2308,6 +2313,7 @@ var LANG = {
tp: "Очков", tp: "Очков",
trending: "Актуальное", trending: "Актуальное",
type: "Тип", type: "Тип",
up: "Выше",
cooldown: "Восстановление", cooldown: "Восстановление",
duration: "Длительность", duration: "Длительность",
user: "Пользователь", user: "Пользователь",
@@ -3999,7 +4005,10 @@ var LANG = {
pr_note_normal: "Обычный", pr_note_normal: "Обычный",
pr_note_exotic: "Экзотический", pr_note_exotic: "Экзотический",
pr_note_weighted:"Взвешено", /* some relic text..? */ pr_note_weighted: "Взвешено", /* some relic text..? */
su_note_stats: "Характеристики",
su_note_other: "Другое",
su_notice: 'Впервые? Не стесняйтесь посетить нашу <a href="?help=item-comparison" target="_blank">справочную страницу</a>!', su_notice: 'Впервые? Не стесняйтесь посетить нашу <a href="?help=item-comparison" target="_blank">справочную страницу</a>!',
su_itemtip: "Подсказка: кликните мышью удерживая шифт или правой кнопкой для других опций.", su_itemtip: "Подсказка: кликните мышью удерживая шифт или правой кнопкой для других опций.",