mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 14:47:50 +01:00
[MIRROR] Fix a bunch of issues and runtimes (#11145)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
199e857d15
commit
46c940fbdf
@@ -44,15 +44,15 @@
|
||||
if(!logo)
|
||||
return
|
||||
if(logo == "SolGov")
|
||||
logo = "sglogo.png"
|
||||
logo = 'html/images/sglogo.png'
|
||||
//VOREStation Edit/Add
|
||||
else if(logo == "NanoTrasen")
|
||||
logo = "ntlogo.png"
|
||||
logo = 'html/images/ntlogo.png'
|
||||
else
|
||||
logo = "trader.png"
|
||||
logo = 'html/images/trader.png'
|
||||
//VOREStation Edit/Add End
|
||||
//TODO change logo based on who you're contacting.
|
||||
text = "<center><img src = [logo]></br>"
|
||||
text = "<center><img src=\ref[logo]></br>"
|
||||
text += span_bold("[origin] Quantum Uplink Signed Message") + "<br>"
|
||||
text += span_small("Encryption key: [originhash]<br>Challenge: [timehash]") + "<br></center><hr>"
|
||||
|
||||
|
||||
@@ -357,15 +357,13 @@
|
||||
t = replacetext(t, "\[grid\]", "<table>")
|
||||
t = replacetext(t, "\[/grid\]", "</td></tr></table>")
|
||||
t = replacetext(t, "\[row\]", "</td><tr>")
|
||||
t = replacetext(t, "\[/row\]", "") //CHOMPEDIT: nuking closing statements for rows.
|
||||
t = replacetext(t, "\[/row\]", "")
|
||||
t = replacetext(t, "\[cell\]", "<td>")
|
||||
t = replacetext(t, "\[/cell\]", "") //CHOMPEDIT: nuking closing statements for cells.
|
||||
//CHOMPEdit Start
|
||||
t = replacetext(t, "\[logo\]", "<img src = https://raw.githubusercontent.com/CHOMPStation2/CHOMPStation2/master/html/images/ntlogo.png>")
|
||||
t = replacetext(t, "\[sglogo\]", "<img src = https://raw.githubusercontent.com/CHOMPStation2/CHOMPStation2/master/html/images/sglogo.png>")
|
||||
t = replacetext(t, "\[trlogo\]", "<img src = https://raw.githubusercontent.com/CHOMPStation2/CHOMPStation2/master/html/images/trader.png>")
|
||||
t = replacetext(t, "\[pclogo\]", "<img src = https://raw.githubusercontent.com/CHOMPStation2/CHOMPStation2/master/html/images/pclogo.png>")
|
||||
//CHOMPEdit End
|
||||
t = replacetext(t, "\[/cell\]", "")
|
||||
t = replacetext(t, "\[logo\]", "<img src=\ref['html/images/ntlogo.png']>")
|
||||
t = replacetext(t, "\[sglogo\]", "<img src=\ref['html/images/sglogo.png']>")
|
||||
t = replacetext(t, "\[trlogo\]", "<img src=\ref['html/images/trader.png']>")
|
||||
t = replacetext(t, "\[pclogo\]", "<img src=\ref['html/images/pclogo.png']>") // Not available on virgo // CHOMPEnable
|
||||
|
||||
t = "<font face=\"[deffont]\" color=[P ? P.colour : "black"]>[t]</font>"
|
||||
else // If it is a crayon, and he still tries to use these, make them empty!
|
||||
@@ -379,8 +377,8 @@
|
||||
t = replacetext(t, "\[/table\]", "")
|
||||
t = replacetext(t, "\[row\]", "")
|
||||
t = replacetext(t, "\[cell\]", "")
|
||||
t = replacetext(t, "\[/cell\]", "") //CHOMPEDIT: nuking closing statements for cells.
|
||||
t = replacetext(t, "\[/row\]", "") //CHOMPEDIT: nuking closing statements for rows.
|
||||
t = replacetext(t, "\[/cell\]", "")
|
||||
t = replacetext(t, "\[/row\]", "")
|
||||
t = replacetext(t, "\[logo\]", "")
|
||||
t = replacetext(t, "\[sglogo\]", "")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user