* tabs 2 spaces in some *.js and *.css

* updated Summary.js (Item Comparison)
 - can now manage custom weightscales, when logged in
 - can now apply weightscales to rank search results
 - CAN NOT yet search for items with a certain scale alone, as i haven't figured out yet how to design the database for that
* sorted and commented basic.css
* some missing imagery
* some cleanup

(my todoStack just got less inhuman in size)
This commit is contained in:
Sarjuuk
2013-06-18 23:23:35 +02:00
parent b26accb32a
commit 21f50ae2cd
29 changed files with 10197 additions and 8432 deletions

View File

@@ -166,8 +166,8 @@ class User
return AUTH_WRONGPASS;
// "stay logged in" unchecked; kill session in time() + 5min
if (self::$timeout > 0 && self::$timeout < time())
return AUTH_TIMEDOUT;
// if (self::$timeout > 0 && self::$timeout < time())
// return AUTH_TIMEDOUT;
if (self::$timeout > 0)
DB::Auth()->query('UPDATE ?_account SET timeout = ?d WHERE id = ?d',
@@ -275,15 +275,47 @@ class User
'avatar' => self::$avatar,
'community' => self::$description,
'chars' => self::getCharacters(),
'profiles' => self::getProfiles(),
'profiles' => self::getProfiles()
);
if ($_ = self::getWeightScales())
$subSet['weights'] = json_encode($_, JSON_NUMERIC_CHECK);
$smarty->assign('user', array_merge($set, $subSet));
}
else
$smarty->assign('user', $set);
}
public static function getWeightScales()
{
$data = [];
$res = DB::Aowow()->select('SELECT * FROM ?_account_weightscales WHERE account = ?d', self::$id);
foreach ($res as $i)
{
$set = array (
'name' => $i['name'],
'id' => $i['id']
);
$weights = explode(',', $i['weights']);
foreach ($weights as $weight)
{
$w = explode(':', $weight);
if ($w[1] === 'undefined')
$w[1] = 0;
$set[$w[0]] = $w[1];
}
$data[] = $set;
}
return $data;
}
public static function getCharacters($asJSON = true)
{
if (empty(self::$characters))

View File

@@ -83,14 +83,4 @@ User::assignUserToTemplate($smarty, true);
@list($pageCall, $pageParam) = explode('=', $str, 2);
$smarty->assign('query', [$pageCall, $pageParam]);
// init global vars for smarty
$pageData = array(
'page' => NULL,
'gAchievements' => NULL,
'gCurrencies' => NULL,
'gItems' => NULL,
'gSpells' => NULL,
'gTitles' => NULL,
);
?>

View File

@@ -26,7 +26,7 @@ enum(array( // UserPropsLimits
));
*/
if (!in_array($pageParam, array('dashboard', '', 'signin', 'signup', 'signout', 'signin_do', 'signup_do', 'forgotpassword', 'forgotusername')))
if (!in_array($pageParam, ['dashboard', '', 'signin', 'signup', 'signout', 'signin_do', 'signup_do', 'forgotpassword', 'forgotusername', 'weightscales']))
$smarty->error();
function signin()
@@ -43,7 +43,7 @@ function signin()
$_SERVER['REMOTE_ADDR']
);
if (!$ipBan) // no entry exists; set count to 1
if (!$ipBan) // no entry exists; set count to 1
DB::Auth()->query('INSERT INTO ?_account_bannedIPs VALUES (?s, 0, 1, FROM_UNIXTIME(?))',
$_SERVER['REMOTE_ADDR'],
time() + $GLOBALS['AoWoWconf']['loginFailTime']
@@ -262,17 +262,42 @@ $smarty->assign('lang', array_merge(Lang::$main, Lang::$account));
if (User::$id)
{
if ($pageParam == 'signout')
switch ($pageParam)
{
User::destroy();
$next = explode('?', $_SERVER['HTTP_REFERER']);
$next = !empty($next[1]) ? '?'.$next[1] : '.';
header('Location: '.$next);
}
else
{
dashboard();
$smarty->display('dashboard.tpl');
case 'signout':
User::destroy();
$next = explode('?', $_SERVER['HTTP_REFERER']);
$next = !empty($next[1]) ? '?'.$next[1] : '.';
header('Location: '.$next);
case 'weightscales':
$post = Util::sqlEscape($_POST);
if (isset($post['save']))
{
if (!isset($post['id']))
{
$res = DB::Aowow()->selectRow('SELECT max(id) as max, count(id) as num FROM ?_account_weightscales WHERE account = ?d', User::$id);
if ($res['num'] < 5) // more or less hard-defined in LANG.message_weightscalesaveerror
$post['id'] = ++$res['max'];
else
die('0');
}
if (DB::Aowow()->query('REPLACE INTO ?_account_weightscales VALUES (?d, ?d, ?s, ?s)', $post['id'], User::$id, $post['name'], $post['scale']))
die((string)$post['id']);
else
die('0');
}
else if (isset($post['delete']) && isset($post['id']))
DB::Aowow()->query('DELETE FROM ?_account_weightscales WHERE id = ?d AND account = ?d', $post['id'], User::$id);
else
die('0');
break;
default;
dashboard();
$smarty->display('dashboard.tpl');
break;
}
}
else

View File

@@ -174,7 +174,7 @@ if (typeof $WowheadPower == "undefined") {
currentParams = params;
var p = function (m, k, v) {
var p = function (url, k, v) {
if (k == "buff" || k == "sock") {
params[k] = true;
}
@@ -238,7 +238,7 @@ if (typeof $WowheadPower == "undefined") {
if (parseInt(params.gems[i])) {
break;
}
};
}
++i;
if (i == 0) {
@@ -335,7 +335,7 @@ if (typeof $WowheadPower == "undefined") {
}
function getTooltipField(locale) {
return (currentParams && currentParams.buff ? "buff_": "tooltip_") + LOCALES[locale];
return (currentParams && currentParams.buff ? "buff_" : "tooltip_") + LOCALES[locale];
}
function initElement(type, id, locale) {
@@ -371,14 +371,12 @@ if (typeof $WowheadPower == "undefined") {
if (arr[fullId].status[locale] == STATUS_OK || arr[fullId].status[locale] == STATUS_NOTFOUND) {
showTooltip(arr[fullId][getTooltipField(locale)], arr[fullId].icon);
}
else if (arr[fullId].status[locale] == STATUS_QUERYING) {
showTooltip(_LANG.loading);
}
else {
if (arr[fullId].status[locale] == STATUS_QUERYING) {
showTooltip(_LANG.loading);
}
else {
request(type, id, locale, null, params);
}
}
request(type, id, locale, null, params);
}
}
function request(type, id, locale, stealth, params) {
@@ -406,13 +404,11 @@ if (typeof $WowheadPower == "undefined") {
if (typeof params[i] == "object") {
p += "&" + i + "=" + params[i].join(":");
}
else if (i == "sock") {
p += "&sock";
}
else {
if (i == "sock") {
p += "&sock";
}
else {
p += "&" + i + "=" + params[i];
}
p += "&" + i + "=" + params[i];
}
}
@@ -438,7 +434,7 @@ if (typeof $WowheadPower == "undefined") {
if (currentParams != null) {
if (currentParams.pcs && currentParams.pcs.length) {
var n = 0;
for (var i = 0, al = currentParams.pcs.length; i < al; ++i) {
for (var i = 0, len = currentParams.pcs.length; i < len; ++i) {
var ak;
if (ak = html.match(new RegExp("<span><!--si([0-9]+:)*" + currentParams.pcs[i] + '(:[0-9]+)*--><a href="\\?item=(\\d+)">(.+?)</a></span>'))) {
html = html.replace(ak[0], '<span class="q8"><!--si' + currentParams.pcs[i] + '--><a href="?item=' + ak[3] + '">' + (($WH.isset("g_items") && g_items[currentParams.pcs[i]]) ? g_items[currentParams.pcs[i]]["name_" + LOCALES[currentLocale]] : ak[4]) + "</a></span>");

View File

@@ -857,6 +857,15 @@ if ($searchMask & 0x1000000)
*/
if ($searchMask & SEARCH_TYPE_JSON)
{
/*
todo (med):
&wt=21:134:20:170:77:117:119:96:103&wtv=100:96:41:41:39:32:32:31:29
additional url-parameter 'wt':ratingId/statId; 'wtv':applyPct (dafault 0)
search for items with these stats (name becomes optional)
how the fuck should i modify item_template_addon to accomodate this search behaviour... x_X
- is it possible to use space separated integers and not cause the search to take forever to execute
- one column per mod is probably the most efficient way to search but a pain to look at .. there are at least 150 after all
*/
$outItems = '';
$outSets = '';

View File

@@ -0,0 +1,52 @@
-- MySQL dump 10.13 Distrib 5.5.27, for Win32 (x86)
--
-- Host: localhost Database: world
-- ------------------------------------------------------
-- Server version 5.5.27
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `aowow_account_weightscales`
--
DROP TABLE IF EXISTS `aowow_account_weightscales`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `aowow_account_weightscales` (
`id` int(32) NOT NULL,
`account` int(32) NOT NULL,
`name` varchar(32) NOT NULL,
`weights` text NOT NULL,
PRIMARY KEY (`id`,`account`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `aowow_account_weightscales`
--
LOCK TABLES `aowow_account_weightscales` WRITE;
/*!40000 ALTER TABLE `aowow_account_weightscales` DISABLE KEYS */;
/*!40000 ALTER TABLE `aowow_account_weightscales` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2013-06-18 23:17:52

View File

@@ -52,7 +52,7 @@ a#su_addscale.selected {
background-color:#404040;
border:1px solid #505050;
border-bottom:none;
background-position:4px center;
background-position:4px 25%;
padding-left:24px!important;
padding-right:9px;
padding-bottom:14px;

View File

@@ -6,412 +6,189 @@
font-size: 13px;
}
.wowhead-tooltip
{
visibility: hidden;
z-index: 100000006;
}
.wowhead-tooltip a
{
text-decoration: none;
}
.wowhead-tooltip a:hover
{
text-decoration: underline;
}
.wowhead-tooltip table
{
border-spacing: 0;
border-collapse: collapse;
margin: 0;
/* width: auto; */
}
.wowhead-tooltip table, .wowhead-tooltip td, .wowhead-tooltip th, .wowhead-tooltip tbody
{
border: 0 !important;
}
.wowhead-tooltip td, .wowhead-tooltip th
{
background: url(../images/tooltip.png);
font-family: Verdana, sans-serif;
font-size: 12px;
line-height: 17px;
color: white;
}
.wowhead-tooltip th
{
height: auto;
padding: 3px;
vertical-align: top;
}
.wowhead-tooltip td
{
padding: 8px 4px 1px 9px;
text-align: left;
vertical-align: top;
}
.wowhead-tooltip b
{
font-size: 14px;
line-height: 19px;
font-weight: normal;
}
.wowhead-tooltip div.indent
{
padding-left: .6em;
}
.wowhead-tooltip td th, .wowhead-tooltip td td
{
background: none;
}
.wowhead-tooltip td th
{
padding: 0 0 0 4em;
text-align: right;
font-weight: normal;
}
.wowhead-tooltip td td
{
padding: 0;
text-align: left;
}
.wowhead-tooltip p
{
position: absolute;
left: -44px;
top: -1px;
width: 44px;
height: 44px;
background: 4px 4px no-repeat;
margin: 0;
padding: 0;
}
.wowhead-tooltip p div
{
width: 44px;
height: 44px;
background-image: url(../../images/icons/border_medium.png);
}
.wowhead-tooltip table.shrink b
{
font-size: 12px;
line-height: 15px;
}
.wowhead-tooltip table.shrink td, .wowhead-tooltip table.shrink th
{
font-size: 10px;
line-height: 14px;
}
.wowhead-tooltip-powered
{
/* background: url(../../../images/powered.png) no-repeat; */
width: 53px;
height: 33px;
position: absolute;
right: -56px;
top: 2px;
display: none;
}
a.moneyitem, a.moneysocketmeta, a.moneysocketred, a.moneysocketyellow, a.moneysocketblue, a.moneysocketprismatic
{
text-decoration: none !important;
border-bottom: 1px solid transparent;
}
a.moneyitem:hover, a.moneysocketmeta:hover, a.moneysocketred:hover, a.moneysocketyellow:hover, a.moneysocketblue:hover, a.moneysocketprismatic:hover
{
border-bottom: 1px solid white;
}
.moneyitem, .moneygold, .moneysilver, .moneycopper, .moneyalliance, .moneyhorde, .moneyarena, .moneyachievement, .moneysocketmeta, .moneysocketred, .moneysocketyellow, .moneysocketblue, .moneysocketprismatic
{
color: white;
background: no-repeat right center;
}
.moneyitem
{
padding-right: 18px;
}
.moneygold
{
padding-right: 15px;
background-image: url(../../images/icons/money_gold.gif);
}
.moneysilver
{
padding-right: 15px;
background-image: url(../../images/icons/money_silver.gif);
}
.moneycopper
{
padding-right: 15px;
background-image: url(../../images/icons/money_copper.gif);
}
.moneyalliance
{
padding-right: 12px;
background-image: url(../../images/icons/alliance-icon.gif);
}
.moneyhorde
{
padding-right: 17px;
background-image: url(../../images/icons/horde-icon.gif);
}
.moneyarena
{
padding-right: 18px;
background-image: url(../../images/icons/money_arena.gif);
}
.moneyachievement
{
padding-right: 13px;
background-image: url(../../images/icons/money_achievement.gif);
}
.moneysocketmeta
{
padding-right: 18px;
background-image: url(../../images/sockets/socket_meta.gif);
}
.moneysocketred
{
padding-right: 18px;
background-image: url(../../images/sockets/socket_red.gif);
}
.moneysocketyellow
{
padding-right: 18px;
background-image: url(../../images/sockets/socket_yellow.gif);
}
.moneysocketblue
{
padding-right: 18px;
background-image: url(../../images/sockets/socket_blue.gif);
}
.moneysocketprismatic
{
padding-right: 18px;
background-image: url(../../images/sockets/socket_prismatic.gif);
}
.gem1{
color: #9D9D9D !important;
}
.gem2{
color: #e60c0b !important;
}
.gem4{
color: #ffff35 !important;
}
.gem6{
color: #f48905 !important;
}
.gem8{
color: #295df1 !important;
}
.gem10{
color: #b957fc !important;
}
.gem12{
color: #22c516 !important;
}
.gem14{
color: #FFF !important;
}
.q
{
color: #ffd100 !important;
}
.q0, .q0 a
{
color: #9d9d9d !important;
}
.q1, .q1 a
{
color: #fff !important;
}
.q2, .q2 a
{
color: #1eff00 !important;
}
.q3, .q3 a
{
color: #0070dd !important;
}
.q4, .q4 a
{
color: #a335ee !important;
}
.q5, .q5 a
{
color: #ff8000 !important;
}
.q6, .q6 a
{
color: #e5cc80 !important;
}
.q7, .q7 a
{
color: #e5cc80 !important;
}
.q8, .q8 a
{
color: #ffff98 !important;
}
.q9, .q9 a
{
color: #71d5ff !important;
}
.q10, .q10 a
{
color: #f00 !important;
}
.r1
{
color: #FF8040 !important;
}
.r2
{
color: #FF0 !important;
}
.r3
{
color: #40BF40 !important;
}
.r4
{
color: #808080 !important;
}
.c1, .c1 a
{
color: #C69B6D !important;
}
.c2, .c2 a
{
color: #F48CBA !important;
}
.c3, .c3 a
{
color: #AAD372 !important;
}
.c4, .c4 a
{
color: #FFF468 !important;
}
.c5, .c5 a
{
color: #FFF !important;
}
.c6, .c6 a
{
color: #C41E3B !important;
}
.c7, .c7 a
{
color: #2359FF !important;
}
.c8, .c8 a
{
color: #68CCEF !important;
}
.c9, .c9 a
{
color: #9382C9 !important;
}
.c11, .c11 a
{
color: #FF7C0A !important;
}
.socket-meta
{
padding-left: 26px;
background: url(../../images/sockets/socket_meta.gif) no-repeat left center;
}
.socket-red
{
padding-left: 26px;
background: url(../../images/sockets/socket_red.gif) no-repeat left center;
}
.socket-yellow
{
padding-left: 26px;
background: url(../../images/sockets/socket_yellow.gif) no-repeat left center;
}
.socket-blue
{
padding-left: 26px;
background: url(../../images/sockets/socket_blue.gif) no-repeat left center;
}
.socket-prismatic
{
padding-left: 26px;
background: url(../../images/sockets/socket_prismatic.gif) no-repeat left center;
.wowhead-tooltip { visibility: hidden; z-index: 100000006; overflow: visible !important; }
.wowhead-tooltip a { text-decoration: none; }
.wowhead-tooltip a:hover { text-decoration: underline; }
.wowhead-tooltip table { border-spacing: 0; border-collapse: collapse; margin: 0; width: auto; } /*maybe remove width:auto*/
.wowhead-tooltip table, .wowhead-tooltip td, .wowhead-tooltip th, .wowhead-tooltip tbody { border: 0 !important; }
.wowhead-tooltip td table td table { width: 100% }
.wowhead-tooltip td, .wowhead-tooltip th { background: url(../images/tooltip.png); font-family: Verdana, sans-serif; font-size: 12px; line-height: 17px; color: white; }
.wowhead-tooltip th { height: auto; padding: 3px; vertical-align: top; }
.wowhead-tooltip td { padding: 8px 4px 1px 9px; text-align: left; vertical-align: top; }
.wowhead-tooltip b { font-size: 14px; line-height: 19px; font-weight: normal; }
.wowhead-tooltip div.indent { padding-left: .6em; }
.wowhead-tooltip td th, .wowhead-tooltip td td { background: none; }
.wowhead-tooltip td th { padding: 0 0 0 4em; text-align: right; font-weight: normal; }
.wowhead-tooltip td td { padding: 0; text-align: left; }
.wowhead-tooltip p { position: absolute; left: -44px; top: -1px; width: 44px; height: 44px; background: 4px 4px no-repeat; margin: 0; padding: 0; }
.wowhead-tooltip p div { width: 44px; height: 44px; background-image: url(../../images/icons/border_medium.png); }
.wowhead-tooltip table.shrink b { font-size: 12px; line-height: 15px; }
.wowhead-tooltip table.shrink td, .wowhead-tooltip table.shrink th { font-size: 10px; line-height: 14px; }
.wowhead-tooltip .mapper { margin: 2px 0 3px 1px; border: none }
.wowhead-tooltip ins { color: #5DF644; text-decoration: none; border-bottom: 1px dotted; }
.wowhead-tooltip del { color: #FF8040; text-decoration: none; border-bottom: 1px dotted; }
.wowhead-tooltip-powered {
/* background: url(../../../images/powered.png) no-repeat; */
width: 53px;
height: 33px;
position: absolute;
right: -56px;
top: 2px;
display: none;
}
.moneyitem, .moneygold, .moneysilver, .moneycopper, .moneyalliance, .moneyhorde, .moneyarena, .moneyachievement, .moneysocketmeta, .moneysocketred, .moneysocketyellow, .moneysocketblue, .moneysocketprismatic {
background: no-repeat right center;
color: white;
}
.moneyitem { padding-right: 18px; }
.moneygold { padding-right: 15px; background-image: url(../../images/icons/money_gold.gif); }
.moneysilver { padding-right: 15px; background-image: url(../../images/icons/money_silver.gif); }
.moneycopper { padding-right: 15px; background-image: url(../../images/icons/money_copper.gif); }
.moneyalliance { padding-right: 12px; background-image: url(../../images/icons/alliance-icon.gif); }
.moneyhorde { padding-right: 17px; background-image: url(../../images/icons/horde-icon.gif); }
.moneyarena { padding-right: 18px; background-image: url(../../images/icons/money_arena.gif); }
.moneyachievement { padding-right: 13px; background-image: url(../../images/icons/money_achievement.gif); }
.moneysocketmeta { padding-right: 18px; background-image: url(../../images/sockets/socket_meta.gif); }
.moneysocketred { padding-right: 18px; background-image: url(../../images/sockets/socket_red.gif); }
.moneysocketyellow { padding-right: 18px; background-image: url(../../images/sockets/socket_yellow.gif); }
.moneysocketblue { padding-right: 18px; background-image: url(../../images/sockets/socket_blue.gif); }
.moneysocketprismatic { padding-right: 18px; background-image: url(../../images/sockets/socket_prismatic.gif); }
a.moneyitem, a.moneysocketmeta, a.moneysocketred, a.moneysocketyellow, a.moneysocketblue, a.moneysocketprismatic, a.moneyachievement{
text-decoration: none !important;
border-bottom: 1px solid transparent;
color: white !important;
}
a.moneyitem:hover, a.moneysocketmeta:hover, a.moneysocketred:hover, a.moneysocketyellow:hover, a.moneysocketblue:hover, a.moneysocketprismatic:hover, a.moneyachievement:hover {
border-bottom: 1px solid white;
}
a span.moneyitem, a span.moneysocketmeta, a span.moneysocketred, a span.moneysocketyellow, a span.moneysocketblue, a span.moneysocketprismatic, a span.moneyachievement {
color: white;
}
.blizzard-blue { color: #00C0FF !important; }
/***********************/
/* ITEM QUALITY COLORS */
/***********************/
.q, .q a, .color-q, .wowhead-tooltip .q a { color: #ffd100 !important; } /* Default (yellow) */
.q0, .q0 a, .color-q0, .wowhead-tooltip .q0 a { color: #9d9d9d !important; } /* Poor */
.q1, .q1 a, .color-q1, .wowhead-tooltip .q1 a { color: #ffffff !important; } /* Common */
.q2, .q2 a, .color-q2, .wowhead-tooltip .q2 a { color: #1eff00 !important; } /* Uncommon */
.q3, .q3 a, .color-q3, .wowhead-tooltip .q3 a { color: #0070dd !important; } /* Rare */
.q4, .q4 a, .color-q4, .wowhead-tooltip .q4 a { color: #a335ee !important; } /* Epic */
.q5, .q5 a, .color-q5, .wowhead-tooltip .q5 a { color: #ff8000 !important; } /* Legendary */
.q6, .q6 a, .color-q6, .wowhead-tooltip .q6 a { color: #e5cc80 !important; } /* Artifact */
.q7, .q7 a, .color-q7, .wowhead-tooltip .q7 a { color: #e5cc80 !important; } /* Heirloom */
.q8, .q8 a, .color-q8, .wowhead-tooltip .q8 a { color: #ffff98 !important; } /* Light yellow (item set bonuses) */
.q9, .q9 a, .color-q9, .wowhead-tooltip .q9 a { color: #71d5ff !important; } /* Light blue (glyph type) */
.q10, .q10 a, .color-q10, .wowhead-tooltip .q10 a { color: #ff4040 !important; } /* Red (requirement not met, error) */
/*********************/
/* DIFFICULTY COLORS */
/*********************/
.r1 { color: #FF8040 !important } /* Hard */
.r2 { color: #FFFF00 !important } /* Medium */
.r3 { color: #40BF40 !important } /* Easy */
.r4 { color: #808080 !important } /* Trivial */
/****************/
/* CLASS COLORS */
/****************/
.c1, .c1 a { color: #C69B6D !important } /* Warrior */
.c2, .c2 a { color: #F48CBA !important } /* Paladin */
.c3, .c3 a { color: #AAD372 !important } /* Hunter */
.c4, .c4 a { color: #FFF468 !important } /* Rogue */
.c5, .c5 a { color: #FFFFFF !important } /* Priest */
.c6, .c6 a { color: #C41E3B !important } /* Death Knight */
.c7, .c7 a { color: #2359FF !important } /* Shaman */
.c8, .c8 a { color: #68CCEF !important } /* Mage */
.c9, .c9 a { color: #9382C9 !important } /* Warlock */
.c11, .c11 a { color: #FF7C0A !important } /* Druid */
/**************/
/* GEM COLORS */
/**************/
.gem1 { color: #9D9D9D !important } /* Meta */
.gem2 { color: #e60c0b !important } /* Red */
.gem4 { color: #ffff35 !important } /* Yellow */
.gem6 { color: #f48905 !important } /* Orange */
.gem8 { color: #295df1 !important } /* Blue */
.gem10 { color: #b957fc !important } /* Purple */
.gem12 { color: #22c516 !important } /* Green */
.gem14 { color: #FFFFFF !important } /* Prismatic */
/****************/
/* NPC MESSAGES */
/****************/
.s1 { color: #ff3f40 !important } /* Yell */
.s2 { color: #fffb9f !important } /* Say */
.s3 { color: #ffb2eb !important } /* Whisper */
/*****************/
/* SOCKETS ICONS */
/*****************/
.socket-meta { padding-left: 26px; background: url(../../images/sockets/socket_meta.gif) no-repeat left center; }
.socket-red { padding-left: 26px; background: url(../../images/sockets/socket_red.gif) no-repeat left center; }
.socket-yellow { padding-left: 26px; background: url(../../images/sockets/socket_yellow.gif) no-repeat left center; }
.socket-blue { padding-left: 26px; background: url(../../images/sockets/socket_blue.gif) no-repeat left center; }
.socket-prismatic { padding-left: 26px; background: url(../../images/sockets/socket_prismatic.gif) no-repeat left center; }
/***********/
/* WIDGETS */
/***********/
#wowhead-bluetip {
position: absolute;
z-index: 99999;
color: #fff;
font-size: 11px;
text-align: center;
padding: 6px 8px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
background: rgba(0, 0, 0, 0.8);
text-align: left;
max-width: 300px;
}
.message-box {
position: absolute;
z-index: 1000;
cursor: pointer;
border: 2px solid #666;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
padding: 15px;
background:url(../images/blk.png) repeat;
}
.message-box .close {
text-indent: -9999px;
background:url(../images/close.png) no-repeat;
width: 10px;
height: 10px;
position: absolute;
top: 5px;
right: 5px;
}

View File

@@ -119,7 +119,9 @@ a:hover.screenshotviewer-close span
left: -25px !important;
}
/*
#su_weights
{
width: 485px !important;
width: 550px !important;
}
*/

View File

@@ -124,7 +124,9 @@ a:hover.screenshotviewer-close span
left: -68px !important;
}
/*
#su_weights
{
width: 500px !important;
}
*/

View File

@@ -119,7 +119,9 @@ a:hover.screenshotviewer-close span
left: -49px !important;
}
/*
#su_weights
{
width: 550px !important;
}
*/

View File

@@ -119,7 +119,9 @@ a:hover.screenshotviewer-close span
left: -59px !important;
}
/*
#su_weights
{
width: 625px !important;
}
*/

View File

@@ -1,403 +1,400 @@
.talentcalc-sidebar-anchor {
position:relative;
position:relative;
}
.talentcalc-sidebar {
position:absolute;
top:0;
padding:10px;
background-color:#141414;
position:absolute;
top:0;
padding:10px;
background-color:#141414;
}
.talentcalc-sidebar-inner {
width:300px;
width:300px;
}
.talentcalc-sidebar-controls {
padding-bottom:10px;
padding-bottom:10px;
}
a.talentcalc-button-help,.talentcalc-sidebar-controls a {
display:block;
padding:2px 0 2px 20px;
margin-right:10px;
background:no-repeat left center;
a.talentcalc-button-help, .talentcalc-sidebar-controls a {
display:block;
padding:2px 0 2px 20px;
margin-right:10px;
background:no-repeat left center;
}
a.talentcalc-button-help {
position:absolute;
right:10px;
top:10px;
margin:0;
background-image:url(../images/help.gif);
position:absolute;
right:10px;
top:10px;
margin:0;
background-image:url(../images/help.gif);
}
a.talentcalc-button-lock {
float:left;
background-image:url(../images/locked.gif);
float:left;
background-image:url(../images/locked.gif);
}
a.talentcalc-button-unlock {
float:left;
background-image:url(../images/unlocked.gif);
float:left;
background-image:url(../images/unlocked.gif);
}
a.talentcalc-button-reset {
float:left;
padding-left:19px;
background-image:url(../images/delete.gif);
float:left;
padding-left:19px;
background-image:url(../images/delete.gif);
}
.talentcalc-sidebar-controls2 a {
margin-right:10px;
float:left;
padding:2px 0;
background:no-repeat left center;
margin-right:10px;
float:left;
padding:2px 0;
background:no-repeat left center;
}
a.talentcalc-button-export {
padding-left:19px;
background-image:url(../images/link.gif);
padding-left:19px;
background-image:url(../images/link.gif);
}
a.talentcalc-button-summary {
padding-left:19px;
background-image:url(../images/print.gif);
padding-left:19px;
background-image:url(../images/print.gif);
}
.talentcalc-sidebar h3 {
font-size:14px;
margin:1.5em 0 .5em;
padding:0;
font-size:14px;
margin:1.5em 0 .5em;
padding:0;
}
.talentcalc-sidebar h3.first {
margin-top:0;
margin-top:0;
}
.talentcalc-sidebar h3 a {
font-size:11px;
margin-left:6px;
font-size:11px;
margin-left:6px;
}
.talentcalc-sidebar-majorglyphs,.talentcalc-sidebar-minorglyphs {
float:left;
width:150px;
font-size:11px;
.talentcalc-sidebar-majorglyphs, .talentcalc-sidebar-minorglyphs {
float:left;
width:150px;
font-size:11px;
}
.talentcalc-sidebar .icontab td {
width:103px;
width:103px;
}
.talentcalc-sidebar .icontab a {
text-decoration:none;
text-decoration:none;
}
.talentcalc-upper {
background-color:#141414;
margin-bottom:5px;
background-color:#141414;
margin-bottom:5px;
padding:6px 8px;
font-size:14px;
}
.talentcalc-upper-inner {
padding:6px 8px;
font-size:14px;
.talentcalc-upper span {
color:#DDD;
}
.talentcalc-upper-inner span {
color:#DDD;
}
.talentcalc-upper-inner b {
color:white;
.talentcalc-upper b {
color:white;
}
.talentcalc-upper-class {
float:left;
float:left;
}
.talentcalc-upper-class a {
text-decoration:none;
text-decoration:none;
}
.talentcalc-upper-class a:hover {
text-decoration:underline;
text-decoration:underline;
}
.talentcalc-upper-reqlevel {
float:right;
float:right;
}
.talentcalc-upper-ptsleft {
margin-left:60px;
float:right;
margin-left:60px;
float:right;
}
.talentcalc-upper-ptsleft a {
font-size:11px;
font-weight:bold;
margin-left:6px;
font-size:11px;
font-weight:bold;
margin-left:6px;
}
.talentcalc-main {
background-color:black;
border:1px solid #404040;
background-color:black;
border:1px solid #404040;
}
.talentcalc-default .talentcalc-main {
width:614px;
height:554px;
width:614px;
height:554px;
}
.talentcalc-pet .talentcalc-main {
width:244px;
height:364px;
margin-left: 370px;
/* background: url(../../../images/talent/pet-tree-glow.png); */
width:244px;
height:364px;
margin-left: 370px;
/* background: url(../../images/talent/pet-tree-glow.png); */
}
.talentcalc-main table {
border-collapse:collapse;
margin:2px;
border-collapse:collapse;
margin:2px;
}
.talentcalc-main table td {
padding:0;
padding:0;
}
.talentcalc-default table td {
width:50px;
height:50px;
width:50px;
height:50px;
}
.talentcalc-pet table td {
width:60px;
height:60px;
width:60px;
height:60px;
}
.iconmedium div.icon-border {
position:absolute;
z-index:15;
left:1px;
top:1px;
width:42px;
height:42px;
background:url(../../../images/talent/border.gif) no-repeat;
position:absolute;
z-index:15;
left:1px;
top:1px;
width:42px;
height:42px;
background:url(../../images/talent/border.gif) no-repeat;
}
.iconmedium div.icon-bubble {
position:absolute;
z-index:16;
width:22px;
height:23px;
left:30px;
top:29px;
background:url(../../../images/talent/bubble2.png) no-repeat;
visibility:hidden;
padding:4px 0 0;
font-family:Verdana,sans-serif;
font-size:12px;
text-align:center;
cursor:default;
position:absolute;
z-index:16;
width:22px;
height:23px;
left:30px;
top:29px;
background:url(../../images/talent/bubble2.png) no-repeat;
visibility:hidden;
padding:4px 0 0;
font-family:Verdana,sans-serif;
font-size:12px;
text-align:center;
cursor:default;
}
.iconmedium a.bubbly {
background-image:url(../../../images/talent/hilite_medium_talent.png);
background-image:url(../../images/talent/hilite_medium_talent.png);
}
.talentcalc-arrow-anchor {
position:relative;
z-index:30;
position:relative;
z-index:30;
}
.talentcalc-arrow {
position:absolute;
z-index:30;
position:absolute;
z-index:30;
}
.talentcalc-arrow table {
width:100%;
height:100%;
border-collapse:collapse;
width:100%;
height:100%;
border-collapse:collapse;
}
.talentcalc-arrow table td,.talentcalc-arrow table th {
font-size:1px;
width:auto;
height:auto;
.talentcalc-arrow table td, .talentcalc-arrow table th {
font-size:1px;
width:auto;
height:auto;
}
.talentcalc-arrow-leftdown td {
background-image:url(../../../images/talent/arrows/leftdown.png);
background-image:url(../../images/talent/arrows/leftdown.png);
}
.talentcalc-arrow-leftdown2 td {
background-image:url(../../../images/talent/arrows/leftdown2.png);
background-image:url(../../images/talent/arrows/leftdown2.png);
}
.talentcalc-arrow-rightdown td {
background-image:url(../../../images/talent/arrows/rightdown.png);
background-image:url(../../images/talent/arrows/rightdown.png);
}
.talentcalc-arrow-rightdown2 td {
background-image:url(../../../images/talent/arrows/rightdown2.png);
background-image:url(../../images/talent/arrows/rightdown2.png);
}
.talentcalc-arrow-right td {
background-image:url(../../../images/talent/arrows/right.png);
background-image:url(../../images/talent/arrows/right.png);
}
.talentcalc-arrow-right2 td {
background-image:url(../../../images/talent/arrows/right2.png);
background-image:url(../../images/talent/arrows/right2.png);
}
.talentcalc-arrow-left td {
background-image:url(../../../images/talent/arrows/left.png);
background-image:url(../../images/talent/arrows/left.png);
}
.talentcalc-arrow-left2 td {
background-image:url(../../../images/talent/arrows/left2.png);
background-image:url(../../images/talent/arrows/left2.png);
}
.talentcalc-lower {
position:relative;
height:24px;
margin-top:5px;
position:relative;
height:24px;
margin-top:5px;
}
.talentcalc-pet .talentcalc-lower {
width:244px;
margin-left:185px;
width:244px;
margin-left:185px;
}
.talentcalc-lower-tree1,.talentcalc-lower-tree2,.talentcalc-lower-tree3 {
position:absolute;
top:0;
.talentcalc-lower-tree1, .talentcalc-lower-tree2, .talentcalc-lower-tree3 {
position:absolute;
top:0;
}
.talentcalc-default .talentcalc-lower-tree1,.talentcalc-default .talentcalc-lower-tree2,.talentcalc-default .talentcalc-lower-tree3 {
width:204px;
.talentcalc-default .talentcalc-lower-tree1, .talentcalc-default .talentcalc-lower-tree2, .talentcalc-default .talentcalc-lower-tree3 {
width:204px;
}
.talentcalc-pet .talentcalc-lower-tree1,.talentcalc-pet .talentcalc-lower-tree2,.talentcalc-pet .talentcalc-lower-tree3 {
margin-left:185px;
width:244px;
.talentcalc-pet .talentcalc-lower-tree1, .talentcalc-pet .talentcalc-lower-tree2, .talentcalc-pet .talentcalc-lower-tree3 {
margin-left:185px;
width:244px;
}
.talentcalc-lower-tree1 {
left:1px;
left:1px;
}
.talentcalc-lower-tree2 {
left:206px;
left:206px;
}
.talentcalc-lower-tree3 {
left:411px;
left:411px;
}
.talentcalc-lower p {
background-color:#141414;
height:24px;
line-height:24px;
overflow:hidden;
padding:0;
margin:0 auto;
text-align:center;
background-color:#141414;
height:24px;
line-height:24px;
overflow:hidden;
padding:0;
margin:0 auto;
text-align:center;
}
.talentcalc-default .talentcalc-lower p {
width:200px;
width:200px;
}
.talentcalc-pet .talentcalc-lower p {
width:238px;
width:238px;
}
.talentcalc-lower b {
font-size:13px;
background:left center no-repeat;
padding:4px 0 4px 28px;
font-size:13px;
background:left center no-repeat;
padding:4px 0 4px 28px;
}
.talentcalc-pet .talentcalc-lower b {
padding-left:0;
padding-left:0;
}
.talentcalc-lower span {
font-size:11px;
color:#DDD;
font-size:11px;
color:#DDD;
}
.talentcalc-lower a {
display:block;
position:absolute;
right:2px;
top:2px;
width:20px;
height:20px;
opacity:.3333;
background:url(../images/delete.gif) no-repeat 2px 2px;
display:block;
position:absolute;
right:2px;
top:2px;
width:20px;
height:20px;
opacity:.3333;
background:url(../images/delete.gif) no-repeat 2px 2px;
}
.talentcalc-lower a:hover {
opacity:1;
opacity:1;
}
.talentcalc-glyphpicker {
font-size:13px;
width:780px;
height:554px;
background-color:#303030;
border:10px solid #303030;
border-bottom:0;
font-size:13px;
width:780px;
height:554px;
background-color:#303030;
border:10px solid #303030;
border-bottom:0;
}
.talentcalc-glyphpicker .listview {
border:0;
border:0;
}
.talentcalc-glyphpicker .listview-band-top {
background-color:#303030;
height:15px;
background-color:#303030;
height:15px;
}
.talentcalc,.talentcalc-main table td .iconmedium {
margin:0 auto;
.talentcalc, .talentcalc-main table td .iconmedium {
margin:0 auto;
}
.talentcalc-default,.talentcalc-pet {
width:946px;
.talentcalc-default, .talentcalc-pet {
width:946px;
}
.talentcalc-default .talentcalc-sidebar,.talentcalc-pet .talentcalc-sidebar {
left:621px;
.talentcalc-default .talentcalc-sidebar, .talentcalc-pet .talentcalc-sidebar {
left:621px;
}
.talentcalc-default .talentcalc-upper,.talentcalc-pet .talentcalc-upper,.talentcalc-default .talentcalc-lower {
width:616px;
.talentcalc-default .talentcalc-upper, .talentcalc-pet .talentcalc-upper, .talentcalc-default .talentcalc-lower {
width:600px;
}
.talentcalc-arrow-down td,.talentcalc-arrow-leftdown th,.talentcalc-arrow-rightdown th {
background-image:url(../../../images/talent/arrows/down.png);
.talentcalc-arrow-down td, .talentcalc-arrow-leftdown th, .talentcalc-arrow-rightdown th {
background-image:url(../../images/talent/arrows/down.png);
}
.talentcalc-arrow-down2 td,.talentcalc-arrow-leftdown2 th,.talentcalc-arrow-rightdown2 th {
background-image:url(../../../images/talent/arrows/down2.png);
.talentcalc-arrow-down2 td, .talentcalc-arrow-leftdown2 th, .talentcalc-arrow-rightdown2 th {
background-image:url(../../images/talent/arrows/down2.png);
}
.talentcalc-wrapper {
float: left;
width: 614px; /* fixes IE7 being dumb and moving down the glyph window */
float: left;
width: 614px; /* fixes IE7 being dumb and moving down the glyph window */
position: relative;
}
.talentcalc-model {
background-color: #141414;
border: 1px solid #404040;
width: 368px;
height: 364px;
float: left;
background-color: #141414;
border: 1px solid #404040;
width: 368px;
height: 364px;
float: left;
position: absolute;
top: 33px;
}

View File

@@ -10,7 +10,7 @@
{include file='bricks/announcement.tpl' an=$item}
{/foreach}
{/if}
{if isset($lvData.map)}
{if !empty($lvData.map)}
{include file='bricks/mapper.tpl' map=$lvData.map som=$lvData.som}
{/if}

View File

@@ -40,5 +40,6 @@
permissions:{$user.perms}
{if isset($user.chars)}, characters: {$user.chars} {/if}
{if isset($user.profiles)}, profiles: {$user.profiles}{/if}
{if isset($user.weights)}, weightscales: {$user.weights}{/if}
{/strip} {rdelim};
</script>

BIN
template/images/blk.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 923 B

BIN
template/images/close.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -1,62 +1,62 @@
var Draggable = new function () {
var
var
start = {},
mouse = {},
clickObj,
dragObj;
function onMouseDown(e) {
e = $E(e);
e = $E(e);
if (this._handle) {
var _ = e._target,
found = false,
i = 0;
if (this._handle) {
var _ = e._target,
found = false,
i = 0;
while (_ && i <= 3) {
if (_ == this._handle) {
found = true;
break;
}
while (_ && i <= 3) {
if (_ == this._handle) {
found = true;
break;
}
_ = _.parentNode;
_ = _.parentNode;
++i;
}
}
if (!found) {
return false;
}
}
if (!found) {
return false;
}
}
clickObj = this;
clickObj = this;
start = g_getCursorPos(e);
start = g_getCursorPos(e);
aE(document, 'mousemove', onMouseMove);
aE(document, 'mouseup', onMouseUp);
aE(document, 'mousemove', onMouseMove);
aE(document, 'mouseup', onMouseUp);
if (clickObj.onClick) {
clickObj.onClick(e, clickObj);
}
if (clickObj.onClick) {
clickObj.onClick(e, clickObj);
}
return false;
}
return false;
}
function onMouseMove(e) {
e = $E(e);
function onMouseMove(e) {
e = $E(e);
var pos = g_getCursorPos(e);
var pos = g_getCursorPos(e);
if (clickObj) {
if (Math.abs(pos.x - start.x) > 5 || Math.abs(pos.y - start.y) > 5) {
onDragStart(e, clickObj);
clickObj = null;
}
}
if (clickObj) {
if (Math.abs(pos.x - start.x) > 5 || Math.abs(pos.y - start.y) > 5) {
onDragStart(e, clickObj);
clickObj = null;
}
}
if (!dragObj || !dragObj._bounds) {
return false;
}
return false;
}
var
bounds = getBounds(dragObj),
@@ -64,166 +64,166 @@ var Draggable = new function () {
dY = pos.y - start.y;
dX = Math.max(dragObj._bounds.x1 - mouse.x, Math.min(dragObj._bounds.x2 - mouse.x - (bounds.x2 - bounds.x1), dX));
dY = Math.max(dragObj._bounds.y1 - mouse.y, Math.min(dragObj._bounds.y2 - mouse.y - (bounds.y2 - bounds.y1), dY));
dY = Math.max(dragObj._bounds.y1 - mouse.y, Math.min(dragObj._bounds.y2 - mouse.y - (bounds.y2 - bounds.y1), dY));
setPosition(dX, dY);
setPosition(dX, dY);
return false;
}
return false;
}
function onMouseUp(e) {
e = $E(e);
function onMouseUp(e) {
e = $E(e);
clickObj = null;
clickObj = null;
if (dragObj) {
onDragEnd(e);
}
}
if (dragObj) {
onDragEnd(e);
}
}
function onDragStart(e, obj) {
if (dragObj) {
onDragEnd(e);
}
function onDragStart(e, obj) {
if (dragObj) {
onDragEnd(e);
}
var foo = ac(obj);
mouse.x = foo[0];
mouse.y = foo[1];
var foo = ac(obj);
mouse.x = foo[0];
mouse.y = foo[1];
if (obj._targets.length) {
dragObj = obj.cloneNode(true);
dragObj._orig = obj;
if (obj._targets.length) {
dragObj = obj.cloneNode(true);
dragObj._orig = obj;
ae(ge('layers'), dragObj);
// ae(document.body, dragObj); // 5.0.. why does it do that?
setPosition(-2323, -2323);
}
ae(ge('layers'), dragObj);
// ae(document.body, dragObj); // 5.0.. why does it do that?
setPosition(-2323, -2323);
}
else {
dragObj = obj;
}
dragObj = obj;
}
Tooltip.disabled = true;
Tooltip.hide();
Tooltip.disabled = true;
Tooltip.hide();
if (obj.onDrag) {
obj.onDrag(e, dragObj, obj);
}
if (obj.onDrag) {
obj.onDrag(e, dragObj, obj);
}
dragObj._bounds = getBounds(obj._container);
dragObj.className += ' dragged';
}
dragObj._bounds = getBounds(obj._container);
dragObj.className += ' dragged';
}
function onDragEnd(e) {
var
function onDragEnd(e) {
var
found = false,
cursor = g_getCursorPos(e);
if (dragObj._orig && dragObj._orig._targets.length) {
clearPosition();
clearPosition();
var pos = {
x1: dragObj._x,
x2: dragObj._x + parseInt(dragObj.offsetWidth),
y1: dragObj._y,
y2: dragObj._y + parseInt(dragObj.offsetHeight)
};
var pos = {
x1: dragObj._x,
x2: dragObj._x + parseInt(dragObj.offsetWidth),
y1: dragObj._y,
y2: dragObj._y + parseInt(dragObj.offsetHeight)
};
de(dragObj);
dragObj = dragObj._orig;
de(dragObj);
dragObj = dragObj._orig;
for (var i = 0, len = dragObj._targets.length; i < len; ++i) {
var targObj = dragObj._targets[i],
bounds = getBounds(targObj);
for (var i = 0, len = dragObj._targets.length; i < len; ++i) {
var targObj = dragObj._targets[i],
bounds = getBounds(targObj);
if (pos.x2 >= bounds.x1 && pos.x1 < bounds.x2 && pos.y2 >= bounds.y1 && pos.y1 < bounds.y2) {
found = true;
if (dragObj.onDrop) {
dragObj.onDrop(e, dragObj, targObj, (cursor.x >= bounds.x1 && cursor.x <= bounds.x2 && cursor.y >= bounds.y1 && cursor.y <= bounds.y2));
}
if (pos.x2 >= bounds.x1 && pos.x1 < bounds.x2 && pos.y2 >= bounds.y1 && pos.y1 < bounds.y2) {
found = true;
if (dragObj.onDrop) {
dragObj.onDrop(e, dragObj, targObj, (cursor.x >= bounds.x1 && cursor.x <= bounds.x2 && cursor.y >= bounds.y1 && cursor.y <= bounds.y2));
}
else {
ae(targObj, dragObj);
}
}
}
}
ae(targObj, dragObj);
}
}
}
}
if (!found && dragObj.onDrop) {
dragObj.onDrop(e, dragObj, null);
}
if (!found && dragObj.onDrop) {
dragObj.onDrop(e, dragObj, null);
}
dE(document, 'mousemove', onMouseMove);
dE(document, 'mouseup', onMouseUp);
dE(document, 'mousemove', onMouseMove);
dE(document, 'mouseup', onMouseUp);
Tooltip.disabled = false;
Tooltip.disabled = false;
dragObj.className = dragObj.className.replace(/dragged/, '');
dragObj = null;
}
dragObj.className = dragObj.className.replace(/dragged/, '');
dragObj = null;
}
function setPosition(dX, dY) {
dragObj.style.position = 'absolute';
dragObj.style.left = mouse.x + dX + 'px';
dragObj.style.top = mouse.y + dY + 'px';
function setPosition(dX, dY) {
dragObj.style.position = 'absolute';
dragObj.style.left = mouse.x + dX + 'px';
dragObj.style.top = mouse.y + dY + 'px';
dragObj._x = mouse.x + dX;
dragObj._y = mouse.y + dY;
}
dragObj._x = mouse.x + dX;
dragObj._y = mouse.y + dY;
}
function clearPosition() {
dragObj.style.left = '-2323px';
dragObj.style.top = '-2323px';
}
function clearPosition() {
dragObj.style.left = '-2323px';
dragObj.style.top = '-2323px';
}
function getBounds(obj) {
var pos = ac(obj);
function getBounds(obj) {
var pos = ac(obj);
return {
x1: pos[0],
x2: pos[0] + parseInt(obj.offsetWidth),
y1: pos[1],
y2: pos[1] + parseInt(obj.offsetHeight)
};
}
return {
x1: pos[0],
x2: pos[0] + parseInt(obj.offsetWidth),
y1: pos[1],
y2: pos[1] + parseInt(obj.offsetHeight)
};
}
this.init = function (obj, opt) {
obj.onmousedown = onMouseDown;
this.init = function (obj, opt) {
obj.onmousedown = onMouseDown;
var a = obj.getElementsByTagName('a');
for (var i = 0, len = a.length; i < len; ++i) {
ns(a[i]);
}
var a = obj.getElementsByTagName('a');
for (var i = 0, len = a.length; i < len; ++i) {
ns(a[i]);
}
if (!obj._targets) {
obj._targets = [];
}
if (!obj._targets) {
obj._targets = [];
}
if (!obj._container) {
obj._container = document.body;
}
if (!obj._container) {
obj._container = document.body;
}
if (opt != null) {
if (opt.targets) {
for (var i = 0, len = opt.targets.length; i < len; ++i) {
obj._targets.push(ge(opt.targets[i]));
}
}
if (opt != null) {
if (opt.targets) {
for (var i = 0, len = opt.targets.length; i < len; ++i) {
obj._targets.push(ge(opt.targets[i]));
}
}
if (opt.container) {
obj._container = $(opt.container);
}
if (opt.container) {
obj._container = $(opt.container);
}
// Functions
if (opt.onClick) {
obj.onClick = opt.onClick;
}
// Functions
if (opt.onClick) {
obj.onClick = opt.onClick;
}
if (opt.onDrop) {
obj.onDrop = opt.onDrop;
}
if (opt.onDrop) {
obj.onDrop = opt.onDrop;
}
if (opt.onDrag) {
obj.onDrag = opt.onDrag;
}
}
}
if (opt.onDrag) {
obj.onDrag = opt.onDrag;
}
}
}
};

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -3671,27 +3671,85 @@ var LANG = {
teamcontrib5v5: "5v5 Arena-Teambeteiligung"
},
pr_notice: 'Zum ersten Mal hier? &ndash; Seid nicht schüchtern! Schaut ruhig mal auf unserer <a href="?help=profiler" target="_blank">Hilfeseite</a> (zurzeit noch unübersetzt) nach! &nbsp; <small class="q0"><a href="javascript:;">Schließen</a></small>',
pr_datasource: 'Daten in dieser Registerkarte wurden das letzte Mal $2 von <a href="?user=$1" target="_blank">$1</a> durch den <a href="?client" target="_blank">Wowhead-Client</a> aktualisiert.',
pr_purgedata: "Klickt, um alle Abschlussdaten in der aktuellen Registerkarte zu löschen.<br />Nur der Benuzter, der die Daten hochgeladen hat, darf sie löschen.",
message_nocharacterselected: "Es wurden keine Charakter ausgewählt.",
message_toomanycharacters: "Bitte wählt nur 1 Charakter.",
message_noprofileselected: "Es wurden keine Profile ausgewählt.",
message_norowselected: "Bitte wählt einen oder mehrere Gegenstände zum $1 von dieser Liste.",
message_characterresync: "Eine Resynchronisierung wurde für die ausgewählten Charakter angefordert.",
message_resyncerror: "Ein Fehler trat bei der Resynchronisierung auf:",
message_saveerror: "Fehler: Euer Profil konnte nicht gespeichert werden. Normale Konten haben eine Beschränkung auf 10 Profile. Bitte löscht einige von Eurer Benutzerseite oder registriert Euer Konto für Premium für mehr Platz.",
message_saveok: "Speichern erfolgreich!",
message_saveasinvalidname: "Ungültiger Name.",
message_invalidlevel: "Todesritter müssen mindestens Stufe 55 sein.",
message_missingregion: "Bitte wählt eine Region.",
message_missingrealm: "Bitte wählt einen Realm.",
message_missingcharacter: "Bitte gebt einen Charakternamen ein.",
message_profilenotsaved: "$1Achtung:$2 Eure Änderungen wurden nicht gespeichert!",
message_nosignatureselected: "Keine Signaturen ausgewählt.",
message_toomanysignatures: "Bitte wählt nur 1 Signatur.",
message_nosigbookmarks: "Ihr habt Eurem Benutzerprofil keine Charaktere hinzugefügt. Bitte fügt einige hinzu, um fortzusetzen.",
message_bookmarkforsig: "Bitte fügt diesen Charakter zu Eurem Benutzerprofil hinzu, bevor Ihr eine Signatur erstellt.",
pr_dialog_level: "Stufe: ",
pr_menu_clearenh: "Verbesserungen entfernen",
pr_menu_addsubitem: "Zufällige Eigenschaft hinzufügen",
pr_menu_repsubitem: "Zufällige Eigenschaft ersetzen",
pr_menu_addenchant: "Verzauberung hinzufügen...",
pr_menu_repenchant: "Verzauberung ersetzen...",
pr_menu_addgem: "Edelstein hinzufügen...",
pr_menu_repgem: "Edelstein ersetzen...",
pr_menu_extrasock: "Zusätzlicher Sockel",
pr_note_source: "Quelle: ",
pr_note_all: "Alle",
pr_note_items: "Gegenstände",
pr_note_profs: "Berufe",
pr_note_bc: "BC",
pr_note_wotlk: "WotLK",
pr_note_color: "Farbe: ",
pr_note_match: "Match",
menu_charlookup: "Nach Namen suchen...",
menu_newprofile: "Neues individuelles Profil",
menu_chooseclassspec: "Wählt Eure Klasse/Spezialisierung",
pr_menu_equip: "Anlegen...",
pr_menu_replace: "Ersetzen...",
pr_menu_add: "Hinzufügen...",
pr_menu_unequip: "Ablegen",
pr_menu_remove: "Entfernen",
pr_menu_addgem: "Edelstein hinzufügen...",
pr_menu_repgem: "Edelstein ersetzen...",
pr_menu_addenchant: "Verzauberung hinzufügen...",
pr_menu_repenchant: "Verzauberung ersetzen...",
pr_menu_addsubitem: "Zufällige Eigenschaft hinzufügen",
pr_menu_repsubitem: "Zufällige Eigenschaft ersetzen",
pr_menu_extrasock: "Zusätzlicher Sockel",
pr_menu_display: "Vorschau",
pr_menu_clearenh: "Verbesserungen entfernen",
pr_menu_links: "Links",
pr_menu_compare: "Vergleichen",
pr_menu_upgrades: "Bessere Gegenstände finden",
pr_menu_whowears: "Wer trägt dies?",
pr_noneitem: "Nichts",
pr_nonegem: "Nichts",
pr_noneenchant: "Nichts",
pr_note_color: "Farbe: ",
pr_note_source: "Quelle: ",
pr_note_view: "Anzeigen: ",
pr_note_type: "Art: ",
pr_note_name: "Name: ",
pr_note_family: "Familie: ",
pr_note_sort: "Sortieren nach: ",
ddaysago: "vor $1 Tagen",
pr_note_all: "Alle",
pr_note_bc: "BC",
pr_note_subcategories: "Unterkategorien",
pr_note_earned: "Errungen",
pr_note_complete: "Komplett",
pr_note_incomplete: "Unvollständig",
pr_note_excluded: "Ausgeschlossen",
pr_note_items: "Gegenstände",
pr_note_match: "Verwendete Filter",
pr_note_profs: "Berufe",
pr_note_wotlk: "WotLK",
pr_note_usable: "Benutzbar",
pr_note_known: "Bekannt",
pr_note_missing: "Fehlend",
pr_note_normal: "Normal",
pr_note_exotic: "Exotisch",
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.",

View File

@@ -3716,27 +3716,85 @@ var LANG = {
teamcontrib5v5: "5v5 arena team contribution"
},
pr_notice: 'First time? &ndash; Don\'t be shy! Just check out our <a href="?help=profiler" target="_blank">Help page</a>! &nbsp; <small class="q0"><a href="javascript:;">close</a></small>',
pr_datasource: 'Data in this tab was last updated $2 by <a href="?user=$1" target="_blank">$1</a> using the <a href="?client" target="_blank">Wowhead Client</a>.',
pr_purgedata: "Click to delete all completion data in the current tab.<br />Only the user who uploaded the data may purge it.",
message_nocharacterselected: "No characters selected.",
message_toomanycharacters: "Please select only 1 character.",
message_noprofileselected: "No profiles selected.",
message_norowselected: "Please select one or more items to $1 from this list.",
message_characterresync: "An Armory resync has been requested for the selected characters.",
message_resyncerror: "An error occurred when resyncing:",
message_saveerror: "Error: Your profile could not be saved. Wowhead accounts have a limit of ten profiles. Please delete some from your user page, or upgrade your account to Premium for more space.",
message_saveok: "Save successful!",
message_saveasinvalidname: "Invalid name.",
message_invalidlevel: "Death Knights must be at least level 55.",
message_missingregion: "Please select a region.",
message_missingrealm: "Please select a realm.",
message_missingcharacter: "Please enter a character name.",
message_profilenotsaved: "$1Warning:$2 Your changes haven't been saved!",
message_nosignatureselected: "No signatures selected.",
message_toomanysignatures: "Please select only 1 signature.",
message_nosigbookmarks: "You have not bookmarked any characters. Please add some to continue.",
message_bookmarkforsig: "Please bookmark this character before creating a signature.",
pr_dialog_level: "Level:",
pr_menu_clearenh: "Clear Enhancements",
pr_menu_addsubitem: "Add Random Property...",
pr_menu_repsubitem: "Replace Random Property...",
pr_menu_addenchant: "Add Enchant...",
pr_menu_repenchant: "Replace Enchant...",
pr_menu_addgem: "Add Gem...",
pr_menu_repgem: "Replace Gem...",
pr_menu_extrasock: "Extra Socket",
pr_note_source: "Source: ",
pr_note_all: "All",
pr_note_items: "Items",
pr_note_profs:"Professions",
pr_note_bc: "BC",
pr_note_wotlk: "WotLK",
pr_note_color: "Color: ",
pr_note_match: "Match",
menu_charlookup: "Lookup by name...",
menu_newprofile: "New Custom Profile",
menu_chooseclassspec: "Choose Your Class/Spec",
pr_menu_equip: "Equip...",
pr_menu_replace: "Replace...",
pr_menu_add: "Add...",
pr_menu_unequip: "Unequip",
pr_menu_remove: "Remove",
pr_menu_addgem: "Add Gem...",
pr_menu_repgem: "Replace Gem...",
pr_menu_addenchant: "Add Enchant...",
pr_menu_repenchant: "Replace Enchant...",
pr_menu_addsubitem: "Add Random Property...",
pr_menu_repsubitem: "Replace Random Property...",
pr_menu_extrasock: "Extra Socket",
pr_menu_display: "Display on Character",
pr_menu_clearenh: "Clear Enhancements",
pr_menu_links: "Links",
pr_menu_compare: "Compare",
pr_menu_upgrades: "Find Upgrades",
pr_menu_whowears: "Who Wears This?",
pr_noneitem: "None",
pr_nonegem: "None",
pr_noneenchant: "None",
pr_note_color: "Color: ",
pr_note_source: "Source: ",
pr_note_view: "View: ",
pr_note_type: "Type: ",
pr_note_name: "Name: ",
pr_note_family: "Family: ",
pr_note_sort: "Sort by: ",
ddaysago: "$1 days ago",
pr_note_all: "All",
pr_note_bc: "BC",
pr_note_subcategories: "Subcategories",
pr_note_earned: "Earned",
pr_note_complete: "Complete",
pr_note_incomplete: "Incomplete",
pr_note_excluded: "Excluded",
pr_note_items: "Items",
pr_note_match: "Match",
pr_note_profs: "Professions",
pr_note_wotlk: "WotLK",
pr_note_usable: "Usable",
pr_note_known: "Known",
pr_note_missing: "Missing",
pr_note_normal: "Normal",
pr_note_exotic: "Exotic",
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.",

View File

@@ -3674,21 +3674,29 @@ var LANG = {
teamcontrib5v5: "Contribución de equipo de arena 5v5"
},
pr_notice:'¿La primera vez? &ndash; ¡No temas! ¡Visita nuestra <a href="?help=profiler" target="_blank">página de ayuda</a>! &nbsp; <small class="q0"><a href="javascript:;">cerrar</a></small>',
pr_datasource:'Los datos de esta pestaña se actualizarón por última vez el $2 por <a href="?user=$1" target="_blank">$1</a> usando el <a href="?client" target="_blank">Cliente Wowhead</a>.',
message_nocharacterselected:"No hay personajes seleccionados.",
message_noprofileselected:"No hay perfiles seleccionados.",
message_norowselected:"Por favor, selecciona uno o más objetos a $1 de esta lista.",
message_characterresync:"Se ha solicitado una resincronación para los personajes seleccionados.",
message_resyncerror:"Ha ocurrido un error al resincronizar este personaje:",
message_saveerror:"Error: No se pudo guardar el perfil. Las cuentas de Wowhead tienen un límite de 10 perfiles. Por favor, borra algunos de tu página de usuario o actualiza tu cuenta a Premium para tener más espacio.",
message_saveok:"¡Guardado completado!",
message_saveasinvalidname:"Nombre inválido.",
message_invalidlevel:"Los Caballeros de la Muerte deben tener al menos nivel 55.",
message_missingregion:"Por favor, selecciona una región.",
message_missingrealm:"Por favor, selecciona el reino.",
message_missingcharacter:"Por favor, introduce el nombre de un personaje.",
message_profilenotsaved:"$1Atención:$2 ¡Los cambios no se guardaron!",
pr_notice: '¿La primera vez? &ndash; ¡No temas! ¡Visita nuestra <a href="?help=profiler" target="_blank">página de ayuda</a>! &nbsp; <small class="q0"><a href="javascript:;">cerrar</a></small>',
pr_datasource: 'Los datos de esta pestaña se actualizarón por última vez el $2 por <a href="?user=$1" target="_blank">$1</a> usando el <a href="?client" target="_blank">Cliente Wowhead</a>.',
pr_purgedata: "Haz click para eliminar todos los datos recogidos en la pestaña actual.<br />Solo aquel que ha subido los datos puede hacerlo.",
message_nocharacterselected: "No hay personajes seleccionados.",
message_toomanycharacters: "Por favor, selecciona solo 1 personaje.",
message_noprofileselected: "No hay perfiles seleccionados.",
message_norowselected: "Por favor, selecciona uno o más objetos a $1 de esta lista.",
message_characterresync: "Se ha solicitado una resincronación para los personajes seleccionados.",
message_resyncerror: "Ha ocurrido un error al resincronizar:",
message_saveerror: "Error: No se pudo guardar el perfil. Las cuentas de Wowhead tienen un límite de 10 perfiles. Por favor, borra algunos de tu página de usuario o actualiza tu cuenta a Premium para tener más espacio.",
message_saveok: "¡Guardado completado!",
message_saveasinvalidname: "Nombre inválido.",
message_invalidlevel: "Los Caballeros de la Muerte deben tener al menos nivel 55.",
message_missingregion: "Por favor, selecciona una región.",
message_missingrealm: "Por favor, selecciona el reino.",
message_missingcharacter: "Por favor, introduce el nombre de un personaje.",
message_profilenotsaved: "$1Atención:$2 ¡Los cambios no se guardaron!",
message_nosignatureselected: "No hay firmas seleccionadas.",
message_toomanysignatures: "Por favor, selecciona sólo una firma.",
message_nosigbookmarks: "No has marcado como favorito ningún personaje. Añade alguno para continuar.",
message_bookmarkforsig: "Por favor, añade a favoritos este personaje antes de crear una firma.",
confirm_linkcharacter:"Este personaje se añadirá a tu lista de personajes.\n\n¿Quieres continuar?",
confirm_linkedcharacter:"Este personaje se ha añadido a tu lista.\n\n¿Quieres verlo ahora?",
confirm_unlinkcharacter:"¿Estás seguro de que quieres eliminar los personajes seleccionados de tu lista?",
@@ -3793,27 +3801,30 @@ var LANG = {
pr_qf_raid:"Banda",
pr_qf_n:"10",
pr_qf_h:"25",
menu_charlookup:"Búsqueda por Nombre...",
menu_newprofile:"Nuevo perfil personalizado",
menu_chooseclassspec:"Elige tu Clase/Especialización",
pr_menu_equip:"Equipar...",
pr_menu_replace:"Reemplazar...",
pr_menu_add:"Añadir...",
pr_menu_unequip:"Desequipar",
pr_menu_remove:"Eliminar",
pr_menu_addgem:"Añadir gema...",
pr_menu_repgem:"Reemplazar Gema...",
pr_menu_addenchant:"Añadir encantamiento...",
pr_menu_repenchant:"Reemplazar Encantamiento...",
pr_menu_addsubitem:"Añadir propiedad aleatoria...",
pr_menu_repsubitem:"Reemplazar propiedad aleatoria...",
pr_menu_extrasock:"Hueco extra",
pr_menu_display:"Previsualizar",
pr_menu_clearenh:"Limpiar mejoras",
pr_menu_links:"Enlaces",
pr_menu_compare:"Comparar",
pr_menu_upgrades:"Buscar mejoras",
pr_menu_whowears:"¿Quién lleva esto?",
menu_charlookup: "Búsqueda por Nombre...",
menu_newprofile: "Nuevo perfil personalizado",
menu_chooseclassspec: "Elige tu Clase/Especialización",
pr_menu_equip: "Equipar...",
pr_menu_replace: "Reemplazar...",
pr_menu_add: "Añadir...",
pr_menu_unequip: "Desequipar",
pr_menu_remove: "Eliminar",
pr_menu_addgem: "Añadir gema...",
pr_menu_repgem: "Reemplazar Gema...",
pr_menu_addenchant: "Añadir encantamiento...",
pr_menu_repenchant: "Reemplazar Encantamiento...",
pr_menu_addsubitem: "Añadir propiedad aleatoria...",
pr_menu_repsubitem: "Reemplazar propiedad aleatoria...",
pr_menu_extrasock: "Hueco extra",
pr_menu_display: "Previsualizar",
pr_menu_clearenh: "Limpiar mejoras",
pr_menu_links: "Enlaces",
pr_menu_compare: "Comparar",
pr_menu_upgrades: "Buscar mejoras",
pr_menu_whowears: "¿Quién lleva esto?",
pr_queue_unknown:"Desconocido",
pr_queue_noprocess:"La cola no se está procesando actualmente.",
pr_queue_resyncreq:"<b>Se ha seleccionado una resincronización para este personaje.</b>",
@@ -3939,32 +3950,35 @@ var LANG = {
pr_statstt_str:"Aumenta el poder de ataque en $1",
pr_statstt_str2:"Aumenta el poder de ataque en $1<br />Aumenta el valor de bloqueo en $2",
pr_ach_overall:"Progreso global",
pr_note_color:"Color: ",
pr_note_source:"Fuente: ",
pr_note_view:"Vista: ",
pr_note_type:"Tipo: ",
pr_note_name:"Nombre: ",
pr_note_family:"Familia: ",
pr_note_sort:"Ordenar por: ",
ddaysago:"Hace $1 días",
pr_note_all:"Todo",
pr_note_bc:"BC",
pr_note_subcategories:"Subcategorías",
pr_note_earned:"Logrados",
pr_note_complete:"Completo",
pr_note_incomplete:"Incompleto",
pr_note_excluded:"Excluido",
pr_note_items:"Objetos",
pr_note_match:"Aplicar",
pr_note_profs:"Profesiones",
pr_note_wotlk:"WotLK",
pr_note_usable:"Utilizable",
pr_note_known:"Conocido",
pr_note_missing:"Faltan",
pr_note_normal:"Normal",
pr_note_exotic:"Exótica",
pr_note_gearscore:"Puntuación de equipo",
pr_note_weighted:"Valorado",
pr_note_color: "Color: ",
pr_note_source: "Fuente: ",
pr_note_view: "Vista: ",
pr_note_type: "Tipo: ",
pr_note_name: "Nombre: ",
pr_note_family: "Familia: ",
pr_note_sort: "Ordenar por: ",
ddaysago: "Hace $1 días",
pr_note_all: "Todo",
pr_note_bc: "BC",
pr_note_subcategories: "Subcategorías",
pr_note_earned: "Logrados",
pr_note_complete: "Completo",
pr_note_incomplete: "Incompleto",
pr_note_excluded: "Excluido",
pr_note_items: "Objetos",
pr_note_match: "Aplicar",
pr_note_profs: "Profesiones",
pr_note_wotlk: "WotLK",
pr_note_usable: "Utilizable",
pr_note_known: "Conocido",
pr_note_missing: "Faltan",
pr_note_normal: "Normal",
pr_note_exotic: "Exótica",
pr_note_weighted:"Valorado", /* some relic text..? */
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.",

View File

@@ -3660,21 +3660,29 @@ var LANG = {
teamcontrib5v5: "Contribution d'un équipe d'aréna 5v5"
},
pr_notice:'Première fois? Ne soyez pas gêné! Visitez notre <a href="?help=profiler" target="_blank">page d\'aide</a>! &nbsp; <small class="q0"><a href="javascript:;">close</a></small>',
pr_datasource:'Les données dans cette table ont été updatées $2 par <a href="?user=$1" target="_blank">$1</a> en utilisant le <a href="?client" target="_blank"> Client Wowhead</a>.',
message_nocharacterselected:"Aucun personnages sélectionnés.",
message_noprofileselected:"Aucun profile de sélectionné.",
message_norowselected:"Veuillez sélectionner un ou plusieurs objets à $1 de cette liste.",
message_characterresync:"Une resynchronisation de l'Armurerie a été demandé pour le personnage sélectionné.",
message_resyncerror:"Une erreur est survenu lors de la resynchronisation de ce personnage:",
message_saveerror:"Erreur: Votre profile n'a pas pu être sauvegardé. Les comptes Wowhead ont une limite de dix profiles. Veuillez en supprimer quelques uns de votre page d'usager ou passez à un compte Premium pour avoir plus de place.",
message_saveok:"Sauvegarde réussi!",
message_saveasinvalidname:"Nom invalide.",
message_invalidlevel:"Les Chevaliers de la Mort doivent être au moins niveau 55.",
message_missingregion:"Veuillez sélectionner une région.",
message_missingrealm:"Veuillez sélectionner un royaume.",
message_missingcharacter:"Veuillez entrer un nom de personnage.",
message_profilenotsaved:"$1Attention:$2 Vos changement n'ont pas été sauvegardés!",
pr_notice: 'Première fois? Ne soyez pas gêné! Visitez notre <a href="?help=profiler" target="_blank">page d\'aide</a>! &nbsp; <small class="q0"><a href="javascript:;">close</a></small>',
pr_datasource: 'Les données dans cette table ont été updatées $2 par <a href="?user=$1" target="_blank">$1</a> en utilisant le <a href="?client" target="_blank"> Client Wowhead</a>.',
pr_purgedata: "Cliquer pour supprimer toutes les données d'accomplissement dans l'onglet présent.<br />Seul l'utilisateur qui a uploadé les données peut les effacer.",
message_nocharacterselected: "Aucun personnage sélectionné.",
message_toomanycharacters: "Veuillez sélectionner 1 seul personnage.",
message_noprofileselected: "Aucun profile de sélectionné.",
message_norowselected: "Veuillez sélectionner un ou plusieurs objets à $1 de cette liste.",
message_characterresync: "Une resynchronisation de l'Armurerie a été demandée pour le personnage sélectionné.",
message_resyncerror: "Une erreur est survenue lors de la resynchronisation de ce personnage:",
message_saveerror: "Erreur: Votre profil n'a pas pu être sauvegardé. Les comptes Wowhead ont une limite de dix profils. Veuillez en supprimer quelques-uns de votre page d'utilisateur ou passez à un compte Premium pour avoir plus de place.",
message_saveok: "Sauvegarde réussi!",
message_saveasinvalidname: "Nom invalide.",
message_invalidlevel: "Les Chevaliers de la Mort doivent être au moins niveau 55.",
message_missingregion: "Veuillez sélectionner une région.",
message_missingrealm: "Veuillez sélectionner un royaume.",
message_missingcharacter: "Veuillez entrer un nom de personnage.",
message_profilenotsaved: "$1Attention:$2 Vos changements n'ont pas été sauvegardés!",
message_nosignatureselected: "Aucune signature de sélectionnée.",
message_toomanysignatures: "Veuillez sélectionner 1 seule signature.",
message_nosigbookmarks: "Vous n'avez signé aucun personnage. Veuillez en ajouter pour continuer.",
message_bookmarkforsig: "Veuillez mettre ce personnage en favori avant de créer une signature.",
confirm_linkcharacter:"Ce personnage va être ajouté à votre liste de personnage.\n\nVoulez-vous continuer?",
confirm_linkedcharacter:"Ce personnage a été ajouté a votre liste.\n\nVoulez-vous être rediriger?",
confirm_unlinkcharacter:"Êtes vous sûr que vous voulez supprimer le personnage sélectionné de votre liste?",
@@ -3781,28 +3789,31 @@ var LANG = {
pr_qf_notsaved:"Le profile n'a pas été sauvegardé!",
pr_qf_raid:"Raid",
pr_qf_n:"10",
pr_qf_h:"25",
menu_charlookup:"Recherche par nomo...",
menu_newprofile:"Nouveau Profile Personalisé",
menu_chooseclassspec:"Choisissez Votre Classe/Spec",
pr_menu_equip:"Équipe...",
pr_menu_replace:"Remplacer...",
pr_menu_add:"Ajouter...",
pr_menu_unequip:"Déséquiper",
pr_menu_remove:"Enlever",
pr_menu_addgem:"Ajouter une gemme...",
pr_menu_repgem:"Remplacer la gemme...",
pr_menu_addenchant:"Ajouter un enchantement...",
pr_menu_repenchant:"Remplacer l'enchantement...",
pr_menu_addsubitem:"Ajouter enchantement aléatoire...",
pr_menu_repsubitem:"Remplacer la propriété aléatoire...",
pr_menu_extrasock:"Châsse supplémentaire",
pr_menu_display:"Essayage",
pr_menu_clearenh:"Nettoyer les améliorations",
pr_menu_links:"Liens",
pr_menu_compare:"Comparer",
pr_menu_upgrades:"Trouver des améliorations",
pr_menu_whowears:"Qui porte ceci?",
pr_qf_h:"25",
menu_charlookup: "Recherche par nomo...",
menu_newprofile: "Nouveau Profile Personalisé",
menu_chooseclassspec: "Choisissez Votre Classe/Spec",
pr_menu_equip: "Équipe...",
pr_menu_replace: "Remplacer...",
pr_menu_add: "Ajouter...",
pr_menu_unequip: "Déséquiper",
pr_menu_remove: "Enlever",
pr_menu_addgem: "Ajouter une gemme...",
pr_menu_repgem: "Remplacer la gemme...",
pr_menu_addenchant: "Ajouter un enchantement...",
pr_menu_repenchant: "Remplacer l'enchantement...",
pr_menu_addsubitem: "Ajouter enchantement aléatoire...",
pr_menu_repsubitem: "Remplacer la propriété aléatoire...",
pr_menu_extrasock: "Châsse supplémentaire",
pr_menu_display: "Essayage",
pr_menu_clearenh: "Nettoyer les améliorations",
pr_menu_links: "Liens",
pr_menu_compare: "Comparer",
pr_menu_upgrades: "Trouver des améliorations",
pr_menu_whowears: "Qui porte ceci?",
pr_queue_unknown:"Inconnu",
pr_queue_noprocess:"La file d'attente n'est pas en cours de traitement.",
pr_queue_resyncreq:"<b>Une resynchronisation complète de l'Armurerie pour ce personnage a été demandée.</b>",
@@ -3928,33 +3939,36 @@ var LANG = {
pr_statstt_str:"Augmente la puissance d'attaque de $1",
pr_statstt_str2:"Augmente la puissance d'attaque de $1<br />Augmente la valeur de blocage de $2",
pr_ach_overall:"Progrès global",
pr_note_color:"Couleur : ",
pr_note_source:"Source : ",
pr_note_view:"Vue : ",
pr_note_type:"Type : ",
pr_note_name:"Nom : ",
pr_note_family:"Famille : ",
pr_note_sort:"Trier par : ",
ddaysago:"$1 jours avant",
pr_note_all:"Tous",
pr_note_bc:"BC",
pr_note_subcategories:"Sous-catégories",
pr_note_earned:"Accomplis",
pr_note_complete:"Complète",
pr_note_incomplete:"Incomplet",
pr_note_excluded:"Exclus",
pr_note_items:"Objets",
pr_note_match:"Critère",
pr_note_profs:"Métiers",
pr_note_wotlk:"WotLK",
pr_note_usable:"Utilisable",
pr_note_known:"Connu",
pr_note_missing:"Manquant",
pr_note_normal:"Standard",
pr_note_exotic:"Exotique",
pr_note_gearscore:"Score d'équipement",
pr_note_weighted:"Valorisé",
pr_note_color: "Couleur : ",
pr_note_source: "Source : ",
pr_note_view: "Vue : ",
pr_note_type: "Type : ",
pr_note_name: "Nom : ",
pr_note_family: "Famille : ",
pr_note_sort: "Trier par : ",
ddaysago: "$1 jours avant",
pr_note_all: "Tous",
pr_note_bc: "BC",
pr_note_subcategories: "Sous-catégories",
pr_note_earned: "Accomplis",
pr_note_complete: "Complète",
pr_note_incomplete: "Incomplet",
pr_note_excluded: "Exclus",
pr_note_items: "Objets",
pr_note_match: "Critère",
pr_note_profs: "Métiers",
pr_note_wotlk: "WotLK",
pr_note_usable: "Utilisable",
pr_note_known: "Connu",
pr_note_missing: "Manquant",
pr_note_normal: "Standard",
pr_note_exotic: "Exotique",
pr_note_weighted:"Valorisé", /* some relic text..? */
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.",
@@ -3969,22 +3983,22 @@ var LANG = {
su_additem: "Objet",
su_addset: "Ensemble d'objets",
su_toggle: "Cliquez pour alterner l'affichage",
su_preset: "Prédéterminée : ",
su_name: "Nom : ",
su_level: "Niveau : ",
su_addweight: "Ajouter un autre facteur",
su_applyweight: "Ajouter",
su_resetweight: "Réinitialiser",
su_export: "Exporter",
su_viewin3d: "Voir en 3D",
su_split: "Séparer",
su_customscale: "Échelle personalisée #$1",
su_comparing: "Comparaison de ",
su_comparewith: " avec ",
su_note_name: "Nom : ",
su_searching3: 'En train de chercher pour les objets nommés "$1"...',
su_searching4: 'En train de chercher pour les ensembles d\'objets nommés "$1"...',
@@ -3993,18 +4007,18 @@ var LANG = {
su_added3: 'Ajout de l\'objet <a href="?itemset=$1" class="q$2" target="_blank">[$3]</a> pour comparaison.',
su_added4: 'Ajout de l\'ensemble d\'objet <a href="?itemset=$1" class="q$2" target="_blank">[$3]</a> pour comparaison.',
su_noresults: 'Aucun résultat trouvé pour "$1"!',
tooltip_setfocus: '<b>Établir le focus</b><br /><span class="q1">Compare toutes les autres colonnes à celle-ci.</span>',
tooltip_removefocus: "Enlever le focus",
tooltip_gains: "Bonus que vous obtenez au delà des<br />caractéristiques communes à toutes les colonnes.",
instancereqlevel_tip: "Niveau requis pour entrer dans l'instance",
lfgreqlevel_tip: "Niveau requis pour joindre la file d'attente de l'instance via <br />l'outil de CG.",
message_deleteitem: "Supprimer $1?",
message_deletegroup: "Supprimer ce groupe ?",
achievements_label: "Haut-faits:",
tc_rank: "Rang $1/$2",
tc_tier: "Requiert $1 points en $2",
tc_prereq: "Requiert $1 point en $2",
@@ -4055,18 +4069,18 @@ var LANG = {
tc_remgly2: "Maj-click pour enlever",
tc_nonegly: "Aucun",
tc_glyphnote: "Certains glyphes ont été filtrés à cause de la restriction de niveau.",
tc_viewtalents: "Voir les arbres de talent",
tc_viewsummary: "Voir les sommaires",
alert_invalidurl: "URL invalide.",
alert_chooseclass: "Veuillez d'abord sélectionner une classe.",
alert_choosefamily: "Veuillez d'abord sélectionner une famille de familier.",
alert_buildempty: "Votre template est vide.",
prompt_importwh: "Veuillez coller l'URL d'un template fait avec le calculateur de talents de Wowhead :",
prompt_importblizz: "Veuillez coller l'URL d'un template fait avec le calculateur de talents de Blizzard :",
stackof_format: "Paquet de $1: $2%",
charactersremaining_format: "$1 caractères restants.",

View File

@@ -3304,7 +3304,7 @@ var LANG = {
queststart: [ [3, "Предмет"], [1, "НИП"], [2, "Объект"] ],
questend: [ [1, "НИП"], [2, "Объект"] ],
spellsource: [
[1, "Все"], [3, "Ремесло"], [9, "Открытие"], [4, "Добыча"], [6, "Задание"],
[1, "Все"], [3, "Ремесло"], [9, "Открытие"], [4, "Добыча"], [6, "Задание"],
[10, "Талант"], [8, "Тренер"], [7, "Продавец"], [2, "Нет"]
],
itemsource: [
@@ -3330,7 +3330,7 @@ var LANG = {
[22448, "Малый радужный осколок"], [14343, "Малый сверкающий осколок"], [11177, "Малый светозарный осколок"], [11138, "Малый светящийся осколок"], [34052, "Осколок грез"],
[10998, "Простая Астральная субстанция"],[16202, "Простая вечная субстанция"], [22447, "Простая планарная субстанция"],[11174, "Простая субстанция Пустоты"], [11134, "Простая таинственная субстанция"],
[11083, "Пыль духа"], [16204, "Пыль иллюзий"], [11137, "Пыль провидения"], [11176, "Сонная пыль"], [10940, "Странная пыль"],
[22445, "Чародейная пыль"]
[22445, "Чародейная пыль"]
],
flags: [
[1, '0x00000001'], [2, '0x00000002'], [3, '0x00000004'], [4, '0x00000008'], [5, '0x00000010'],
@@ -3401,7 +3401,7 @@ var LANG = {
uniqueequipped: "Не более 1 в вооружении",
usableinarenas: "Используется на аренах",
usablewhenshapeshifted: "Используется в формах",
sepsource: "Источник",
craftedprof: "Ремесленное производство",
dropsin: "Добыча из...",
@@ -3661,22 +3661,29 @@ var LANG = {
teamcontrib5v5: "Очки команды арены 5х5"
},
pr_notice:'Первый раз? &ndash; Не стесняйтесь! Взгляните на <a href="?help=profiler" target="_blank">страницу помощи</a>! &nbsp; <small class="q0"><a href="javascript:;">закрыть</a></small>',
pr_datasource:'Данные в этой вкладке были последний раз обновлены пользователем <a href="?user=$1" target="_blank">$1</a> $2 используя <a href="?client" target="_blank">Wowhead Client</a>.',
pr_notice: 'Первый раз? &ndash; Не стесняйтесь! Взгляните на <a href="?help=profiler" target="_blank">страницу помощи</a>! &nbsp; <small class="q0"><a href="javascript:;">закрыть</a></small>',
pr_datasource: 'Данные в этой вкладке были последний раз обновлены пользователем <a href="?user=$1" target="_blank">$1</a> $2 используя <a href="?client" target="_blank">Wowhead Client</a>.',
pr_purgedata: "Нажмите, чтобы удалить все собранные данные в текущей вкладке.<br />Только тот, кто загрузил данные, может их удалить.",
message_nocharacterselected: "Выберите персонажей.",
message_toomanycharacters: "Выберите только одного персонажа.",
message_noprofileselected: "Выберите профили.",
message_norowselected: "Выберите один или более пунктов что бы $1 из списка.",
message_characterresync: "Запущена ресинхронизация с Оружейной для выбранных персонажей.",
message_resyncerror: "Во время обработки данных произошла ошибка:",
message_saveerror: "Ошибка: Профиль не может быть сохранен. Учетные записи Wowhead имеют ограничение в 10 профилей. Пожалуйста, удалите несколько существующих профилей на вашей странице, или приобретите Премиум аккаунт для получения больших возможностей.",
message_saveok: "Успешно сохранено!",
message_saveasinvalidname: "Некорректное название.",
message_invalidlevel: "Рыцари Смерти должны быть 55-го уровня или выше.",
message_missingregion: "Требуется указать регион.",
message_missingrealm: "Выберите игровой мир.",
message_missingcharacter: "Введите имя персонажа.",
message_profilenotsaved: "$1Внимание:$2 Изменения не сохранены!",
message_nosignatureselected: "Нет подписей.",
message_toomanysignatures: "Пожалуйста, выберите только одну подпись.",
message_nosigbookmarks: "У вас нет персонажей в закладках. Чтобы продолжить, добавьте персонажа в закладки.",
message_bookmarkforsig: "Добавьте этого персонажа в закладки перед созданием подписи.",
message_nocharacterselected:"Выберите персонажей.",
message_noprofileselected:"Выберите профили.",
message_norowselected:"Выберите один или более пунктов что бы $1 из списка.",
message_characterresync:"Запущена ресинхронизация с Оружейной для выбранных персонажей.",
message_resyncerror:"Во время ресинхронизации персонажа произошла ошибка:",
message_saveerror:"Ошибка: Профиль не может быть сохранен. Учетные записи Wowhead имеют ограничение в 10 профилей. Пожалуйста, удалите несколько существующих профилей на вашей странице, или приобретите Премиум аккаунт для получения больших возможностей.",
message_saveok:"Успешно сохранено!",
message_saveasinvalidname:"Некорректное название.",
message_invalidlevel:"Рыцари Смерти должны быть 55-го уровня или выше.",
message_missingregion:"Требуется указать регион.",
message_missingrealm:"Выберите игровой мир.",
message_missingcharacter:"Введите имя персонажа.",
message_profilenotsaved:"$1Внимание:$2 Изменения не сохранены!",
confirm_linkcharacter:"Этот персонаж будет добавлен в ваш список персонажей.\n\nВы действительно хотите продолжить?",
confirm_linkedcharacter:"Этот персонаж добавлен в ваш список персонажей.\n\nПерейти к списку?",
confirm_unlinkcharacter:"Вы уверены, что хотите удалить этого персонажа из списка своих персонажей?",
@@ -3784,27 +3791,30 @@ var LANG = {
pr_qf_raid:"Рейд",
pr_qf_n:"10",
pr_qf_h:"25",
menu_charlookup:"Поиск по имени...",
menu_newprofile:"Новый профиль",
menu_chooseclassspec:"Выберите класс/спек",
pr_menu_equip:"Одеть...",
pr_menu_replace:"Заменить...",
pr_menu_add:"Добавить...",
pr_menu_unequip:"Снять",
pr_menu_remove:"Удалить",
pr_menu_addgem:"Инкрустировать...",
pr_menu_repgem:"Заменить камень...",
pr_menu_addenchant:"Добавить улучшение...",
pr_menu_repenchant:"Заменить чары...",
pr_menu_addsubitem:"Добавить случайное свойство...",
pr_menu_repsubitem:"Заменить случайное улучшение...",
pr_menu_extrasock:"Дополнительное гнездо",
pr_menu_display:"Примерить",
pr_menu_clearenh:"Сбросить улучшения",
pr_menu_links:"Ссылки",
pr_menu_compare:"Сравнить",
pr_menu_upgrades:"Найти лучше",
pr_menu_whowears:"Кто носит это?",
menu_charlookup: "Поиск по имени...",
menu_newprofile: "Новый профиль",
menu_chooseclassspec: "Выберите класс/спек",
pr_menu_equip: "Одеть...",
pr_menu_replace: "Заменить...",
pr_menu_add: "Добавить...",
pr_menu_unequip: "Снять",
pr_menu_remove: "Удалить",
pr_menu_addgem: "Инкрустировать...",
pr_menu_repgem: "Заменить камень...",
pr_menu_addenchant: "Добавить улучшение...",
pr_menu_repenchant: "Заменить чары...",
pr_menu_addsubitem: "Добавить случайное свойство...",
pr_menu_repsubitem: "Заменить случайное улучшение...",
pr_menu_extrasock: "Дополнительное гнездо",
pr_menu_display: "Примерить",
pr_menu_clearenh: "Сбросить улучшения",
pr_menu_links: "Ссылки",
pr_menu_compare: "Сравнить",
pr_menu_upgrades: "Найти лучше",
pr_menu_whowears: "Кто носит это?",
pr_queue_unknown:"Неизвестно",
pr_queue_noprocess:"Очередь синхронизации отключена.",
pr_queue_resyncreq:"<b>Запущена синхронизация с Оружейной для этого персонажа.</b>",
@@ -3930,32 +3940,35 @@ var LANG = {
pr_statstt_str:"Увеличивает силу атаки на $1.",
pr_statstt_str2:"Увеличивает силу атаки на $1.<br />Увеличивает показатель блокирования на $2.",
pr_ach_overall:"Общий прогресс",
pr_note_color:"Цвет: ",
pr_note_source:"Источник: ",
pr_note_view:"Просмотр: ",
pr_note_type:"Тип: ",
pr_note_name:"Название: ",
pr_note_family:"Семейство: ",
pr_note_sort:"Сортировать: ",
ddaysago:"$1 дней назад",
pr_note_all:"Все",
pr_note_bc:"BC",
pr_note_subcategories:"Подкатегории",
pr_note_earned:"Заработано",
pr_note_complete:"Завершено",
pr_note_incomplete:"Не завершено",
pr_note_excluded:"Исключено",
pr_note_items:"Предметы",
pr_note_match:"Совпадение",
pr_note_profs:"Профессии",
pr_note_wotlk:"WotLK",
pr_note_usable:"Используется",
pr_note_known:"Известно",
pr_note_missing:"Отсутствует",
pr_note_normal:"Обычный",
pr_note_exotic:"Экзотический",
pr_note_gearscore:"Очки экипировки",
pr_note_weighted:"Взвешено",
pr_note_color: "Цвет: ",
pr_note_source: "Источник: ",
pr_note_view: "Просмотр: ",
pr_note_type: "Тип: ",
pr_note_name: "Название: ",
pr_note_family: "Семейство: ",
pr_note_sort: "Сортировать: ",
ddaysago: "$1 дней назад",
pr_note_all: "Все",
pr_note_bc: "BC",
pr_note_subcategories: "Подкатегории",
pr_note_earned: "Заработано",
pr_note_complete: "Завершено",
pr_note_incomplete: "Не завершено",
pr_note_excluded: "Исключено",
pr_note_items: "Предметы",
pr_note_match: "Совпадение",
pr_note_profs: "Профессии",
pr_note_wotlk: "WotLK",
pr_note_usable: "Используется",
pr_note_known: "Известно",
pr_note_missing: "Отсутствует",
pr_note_normal: "Обычный",
pr_note_exotic: "Экзотический",
pr_note_weighted:"Взвешено", /* some relic text..? */
su_notice: 'Впервые? Не стесняйтесь посетить нашу <a href="?help=item-comparison" target="_blank">справочную страницу</a>!',
su_itemtip: "Подсказка: кликните мышью удерживая шифт или правой кнопкой для других опций.",
@@ -4006,7 +4019,7 @@ var LANG = {
message_deleteitem: "Удалить $1?",
message_deletegroup: "Удалить эту группу?",
achievements_label: "Достижения:",
tc_rank: "Ранг $1/$2",
tc_tier: "Требуется $1 очк. в талантах $2",
tc_prereq: "Требуется $1 очк. в $2",
@@ -4057,18 +4070,18 @@ var LANG = {
tc_remgly2: "Щелкните левой кнопкой мыши удерживая шифт, что бы удалить",
tc_nonegly: "Нет",
tc_glyphnote: "Некоторые символы были убраны из списка из-за несоответствия уровню.",
tc_viewtalents: "Открыть таланты",
tc_viewsummary: "Открыть обзор",
alert_invalidurl: "Неверная ссылка.",
alert_chooseclass: "Выбирете класс.",
alert_choosefamily: "Выбирете породу животного.",
alert_buildempty: "У вас пустой шаблон.",
prompt_importwh: "Вставьте ссылку на шаблон, сделанный в калькуляторе талантов Wowhead:",
prompt_importblizz: "Вставьте ссылку на шаблон, сделанный в калькуляторе талантов Blizzard:",
stackof_format: "$1 предмет: $2%",
charactersremaining_format: "Осталось символов: $1",

View File

@@ -1,17 +1,17 @@
function ma_Init() {
ma_AddOptions(ge('maps-ek'), [1, 3, 4, 8, 10, 11, 12, 28, 33, 36, 38, 40, 41, 44, 45, 46, 47, 51, 85, 130, 139, 267, 1497, 1519, 1537, 3430, 3433, 3487, 4080, 4298]);
ma_AddOptions(ge('maps-kalimdor'), [14, 15, 16, 17, 141, 148, 215, 331, 357, 361, 400, 405, 406, 440, 490, 493, 618, 1377, 1637, 1638, 1657, 3524, 3525, 3557]);
ma_AddOptions(ge('maps-outland'), [3483, 3518, 3519, 3520, 3521, 3522, 3523, 3703]);
ma_AddOptions(ge('maps-northrend'), [65, 66, 67, 210, 394, 495, 2817, 3537, 3711, 4197, 4395, 4742]);
ma_AddOptions(ge('maps-battlegrounds'), [2597, 3277, 4384, 3358, 3820, 4710]);
ma_AddOptions(ge('maps-raids'), [
ma_AddOptions(ge('maps-ek'), [1, 3, 4, 8, 10, 11, 12, 28, 33, 36, 38, 40, 41, 44, 45, 46, 47, 51, 85, 130, 139, 267, 1497, 1519, 1537, 3430, 3433, 3487, 4080, 4298]);
ma_AddOptions(ge('maps-kalimdor'), [14, 15, 16, 17, 141, 148, 215, 331, 357, 361, 400, 405, 406, 440, 490, 493, 618, 1377, 1637, 1638, 1657, 3524, 3525, 3557]);
ma_AddOptions(ge('maps-outland'), [3483, 3518, 3519, 3520, 3521, 3522, 3523, 3703]);
ma_AddOptions(ge('maps-northrend'), [65, 66, 67, 210, 394, 495, 2817, 3537, 3711, 4197, 4395, 4742]);
ma_AddOptions(ge('maps-battlegrounds'), [2597, 3277, 4384, 3358, 3820, 4710]);
ma_AddOptions(ge('maps-raids'), [
1977, 2677, 2717, 3428, 3429, // Classic: Zul'Gurub, Blackwing Lair, Molten Core, Ahn'Qiraj, Ruins of Ahn'Qiraj
3457, 3606, 3607, 3805, 3836, // BC: Karazhan, Hyjal Summit, Serpentshrine Cavern, Zul'Aman, Magtheridon's Lair
3845, 3923, 3959, 4075, // BC: Tempest Keep, Gruul's Lair, Black Temple, Sunwell Plateau
2159, 3456, 4273, 4493, 4500, // WotLK: Onyxia's Lair, Naxxramas, Ulduar, The Obsidian Sanctum, The Eye of Eternity
4603, 4722, 4812, 4987 // WotlK: Vault of Archavon, Trial of the Crusader, Icecrown Citadel, The Ruby Sanctum
]);
ma_AddOptions(ge('maps-dungeons'), [
ma_AddOptions(ge('maps-dungeons'), [
209, 491, 717, 718, 719, // Classic: Shadowfang Keep, Razorfen Kraul, The Stockade, Wailing Caverns, Blackfathom Deeps
721, 722, 796, 1176, 1337, // Classic: Gnomeregan, Razorfen Downs, Scarlet Monastery, Zul'Farrak, Uldaman
1477, 1581, 1583, 1584, 2017, // Classic: The Temple of Atal'Hakkar, The Deadmines, Blackrock Spire, Blackrock Depths, Stratholme
@@ -26,66 +26,66 @@ function ma_Init() {
4820, // WotlK: Halls of Reflection
]);
myMapper = new Mapper({
parent: 'mapper-generic',
editable: true,
zoom: 1,
onPinUpdate: ma_UpdateLink,
onMapUpdate: ma_UpdateLink
});
myMapper = new Mapper({
parent: 'mapper-generic',
editable: true,
zoom: 1,
onPinUpdate: ma_UpdateLink,
onMapUpdate: ma_UpdateLink
});
var _ = location.href.indexOf('maps=');
if (_ != -1) {
_ = location.href.substr(_ + 5);
if (myMapper.setLink(_)) {
ge('mapper').style.display = '';
}
}
var _ = location.href.indexOf('maps=');
if (_ != -1) {
_ = location.href.substr(_ + 5);
if (myMapper.setLink(_)) {
ge('mapper').style.display = '';
}
}
}
function ma_AddOptions(s, a) {
a.sort(ma_Sort);
a.sort(ma_Sort);
array_apply(a, function (x) {
var o = ce('option');
o.value = x
ae(o, ct(g_zones[typeof x == 'string' ? parseInt(x) : x]));
ae(s, o);
});
array_apply(a, function (x) {
var o = ce('option');
o.value = x
ae(o, ct(g_zones[typeof x == 'string' ? parseInt(x) : x]));
ae(s, o);
});
}
function ma_Sort(a, b) {
if (typeof a == 'string') {
a = parseInt(a);
}
if (typeof a == 'string') {
a = parseInt(a);
}
if (typeof b == 'string') {
b = parseInt(b);
}
if (typeof b == 'string') {
b = parseInt(b);
}
return strcmp(g_zones[a], g_zones[b]);
return strcmp(g_zones[a], g_zones[b]);
}
function ma_ChooseZone(s) {
if (s.value && s.value != '0') {
if (myMapper.getZone() == 0) {
ge('mapper').style.display = '';
}
if (s.value && s.value != '0') {
if (myMapper.getZone() == 0) {
ge('mapper').style.display = '';
}
myMapper.setZone(s.value);
}
}
s.selectedIndex = 0;
s.selectedIndex = 0;
}
function ma_UpdateLink(_) {
var
var
b = '?maps',
l = _.getLink();
if (l) {
b += '=' + l;
}
ge('link-to-this-map').href = b;
};
if (l) {
b += '=' + l;
}
ge('link-to-this-map').href = b;
};

File diff suppressed because it is too large Load Diff