Skip to content

Commit

Permalink
fully qualify some more image paths
Browse files Browse the repository at this point in the history
  • Loading branch information
etinquis committed Oct 15, 2023
1 parent 0527004 commit 8029728
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions js/current/fheventpick.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
var PageNo = PageNo;
var county = 0;
var EPath = "game/images/"
var EPath = "https://lohcdn.com/game/images/"
var Processing = 0;
document.write('<script src="https://lohcdn.com/js/current/formatting.js" language="JavaScript"></script>');

function AvC(e, ea, en, sd) {
var Color = LITE;
// e=' + e + ' ea=' + ea + ' en="' + en + '" sd="' + sd + '"
document.write('<tr ' + (ea == 0 ? '' : ' onclick="DC(' + e + ')"') + ' style="cursor: pointer"><td><img src="https://lohcdn.com/' + (EPath + 'event' + e + '.jpg') + '" title="' + en + '" ' + (ea == 0 ? ' style="filter: gray()"' : '') + '>' + (ea == 0 ? '<div style="position: fixed; left: 190px; top: 220px; width: 235px; height: 60px; background-color: black;"><Center>Trigger Date: <b>' + sd + '</b><br><br>This event will start on the date listed above.</center></div>' : '') + '</td></tr>');
document.write('<tr ' + (ea == 0 ? '' : ' onclick="DC(' + e + ')"') + ' style="cursor: pointer"><td><img src="' + (EPath + 'event' + e + '.jpg') + '" title="' + en + '" ' + (ea == 0 ? ' style="filter: gray()"' : '') + '>' + (ea == 0 ? '<div style="position: fixed; left: 190px; top: 220px; width: 235px; height: 60px; background-color: black;"><Center>Trigger Date: <b>' + sd + '</b><br><br>This event will start on the date listed above.</center></div>' : '') + '</td></tr>');
}

function GoP(PageNo) {
Expand Down
4 changes: 2 additions & 2 deletions js/current/fhinspectv1.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ function PSGMX(mmin, moneyformat) {

var strout = "";
if (moneyformat == 0) {
strout = "<table class=\"weakercell\" cellpadding=0 cellspacing=0 style=\"padding-left:0px; width: 150px\"><tr><td style=\"border: 1px inset " + BORDER1 + "; background-color: black;\" width=\"40\">" + addCommas(m) + "</td><td width=14><img src=\"game/pirate/c4.png\" title=\"Doubloons\"></td></tr></table>";
strout = "<table class=\"weakercell\" cellpadding=0 cellspacing=0 style=\"padding-left:0px; width: 150px\"><tr><td style=\"border: 1px inset " + BORDER1 + "; background-color: black;\" width=\"40\">" + addCommas(m) + "</td><td width=14><img src=\"https://lohcdn.com/game/pirate/c4.png\" title=\"Doubloons\"></td></tr></table>";
} else {
strout = "" + (m > 0 ? "" + addCommas(m) + "<img src=\"game/pirate/c4.png\" title=\"Doubloons\">" : "");
strout = "" + (m > 0 ? "" + addCommas(m) + "<img src=\"https://lohcdn.com/game/pirate/c4.pnggame/pirate/c4.png\" title=\"Doubloons\">" : "");
}
return strout;
}
Expand Down
4 changes: 2 additions & 2 deletions js/current/fhlogin60.js
Original file line number Diff line number Diff line change
Expand Up @@ -645,9 +645,9 @@ function PSGMX(mmin, moneyformat) {

var strout = "";
if (moneyformat == 0) {
strout = "<table class=\"weakercell\" cellpadding=0 cellspacing=0 style=\"padding-left:0px; width: 150px\"><tr><td style=\"border: 1px inset " + BORDER1 + "\" width=\"40\">" + addCommas(m) + "</td><td width=14><img src=\"game/pirate/c4.png\" title=\"Doubloons\"></td></tr></table>";
strout = "<table class=\"weakercell\" cellpadding=0 cellspacing=0 style=\"padding-left:0px; width: 150px\"><tr><td style=\"border: 1px inset " + BORDER1 + "\" width=\"40\">" + addCommas(m) + "</td><td width=14><img src=\"https://lohcdn.com/game/pirate/c4.png\" title=\"Doubloons\"></td></tr></table>";
} else {
strout = "" + (m > 0 ? "" + addCommas(m) + "<img src=\"game/pirate/c4.png\" title=\"Doubloons\">" : "");
strout = "" + (m > 0 ? "" + addCommas(m) + "<img src=\"https://lohcdn.com/game/pirate/c4.png\" title=\"Doubloons\">" : "");
}
return strout;
}
Expand Down
2 changes: 1 addition & 1 deletion js/current/fhnavydockv1.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var Level = Level;
var Money = Money;
var Rank = Rank;
var BagCount = 0;
var VPath = "game/v/"
var VPath = "https://lohcdn.com/game/v/"
var CharsAt = CharsAt;
var IC = 0;
var Infos = new Array();
Expand Down
2 changes: 1 addition & 1 deletion js/current/fhnavyreward.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var Level = Level;
var Money = Money;
var Fame = Fame;
var BagCount = 0;
var VPath = "game/v/"
var VPath = "https://lohcdn.com/game/v/"
var CharsAt = CharsAt;
var IC = 0;
var Infos = new Array();
Expand Down
2 changes: 1 addition & 1 deletion js/current/formatting.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ function PFormMoney(fin, mmin) {
var harhar = mmin;
var m = Math.floor(harhar)

return "<img src=\"game/pirate/c4.png\"><input title=\"Doubloons\" name=cpd" + fin + " id=cpd" + fin + " value=" + m + " size=3 maxlength=10 style=\"width: 30px;\" onkeypress=\"return fxkp(event);\" onpaste=\"event.returnValue = false;\" onkeyup=\"CalcM('" + fin + "', this)\">";
return "<img src=\"https://lohcdn.com/game/pirate/c4.png\"><input title=\"Doubloons\" name=cpd" + fin + " id=cpd" + fin + " value=" + m + " size=3 maxlength=10 style=\"width: 30px;\" onkeypress=\"return fxkp(event);\" onpaste=\"event.returnValue = false;\" onkeyup=\"CalcM('" + fin + "', this)\">";
}

function CalcM(fin, stuff) {
Expand Down
2 changes: 1 addition & 1 deletion js/current/mappirate.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var OX = OX - 1;
var OY = OY - 1;
var t = 1;
var Type2 = Type2;
var IPath = "game/flags/";
var IPath = "https://lohcdn.com/game/flags/";
var IC = 0;
var Infos = new Array();
document.write('<script src="https://lohcdn.com/js/current/formatting.js" language="JavaScript"></script>');
Expand Down

0 comments on commit 8029728

Please sign in to comment.