Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _loc1.onData = function ()
- {
- var _loc2 = "<font color=\"#EBE3CB\">";
- var _loc3 = 0;
- while (++_loc3, _loc3 < this._siServerStatus.problems.length)
- {
- var _loc4 = this._siServerStatus.problems[_loc3];
- _loc2 = _loc2 + (_loc4.date + "\n");
- _loc2 = _loc2 + (" <b>" + _loc4.type + "</b>\n");
- _loc2 = _loc2 + (" <i>" + this.api.lang.getText("STATE_WORD") + "</i>: " + _loc4.status + "\n");
- _loc2 = _loc2 + (" <i>" + this.api.lang.getText("INVOLVED_SERVERS") + "</i>: " + _loc4.servers.join(", ") + "\n");
- _loc2 = _loc2 + (" <i>" + this.api.lang.getText("HISTORY_WORD") + "</i>:\n");
- var _loc5 = 0;
- while (++_loc5, _loc5 < _loc4.history.length)
- {
- _loc2 = _loc2 + (" <b>" + _loc4.history[_loc5].hour + "</b>");
- if (_loc4.history[_loc5].title != "undefined")
- {
- _loc2 = _loc2 + (" : " + _loc4.history[_loc5].title + "\n ");
- }
- else
- {
- _loc2 = _loc2 + " - ";
- } // end else if
- if (_loc4.history[_loc5].content != undefined)
- {
- _loc2 = _loc2 + _loc4.history[_loc5].content;
- if (!_loc4.history[_loc5].translated)
- {
- _loc2 = _loc2 + this.api.lang.getText("TRANSLATION_IN_PROGRESS");
- } // end if
- } // end if
- _loc2 = _loc2 + "\n";
- } // end while
- _loc2 = _loc2 + "\n";
- } // end while
- _loc2 = _loc2 + "</font>";
- this._taServerStatus.text = _loc2;
- if (this._siServerStatus.isOnFocus)
- {
- this.showServerStatus();
- this._bGoToStatusIsShown = true;
- }
- else if (this._siServerStatus.problems.length > 0)
- {
- this.showGoToStatus();
- }
- else
- {
- this.hideGoToStatus();
- } // end else if
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement