[MIRROR] more missing tags (#9918)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-01-23 11:48:06 -07:00
committed by GitHub
parent 3d40810955
commit c0ee2c30d3
95 changed files with 141 additions and 138 deletions

View File

@@ -489,4 +489,4 @@
output += "</table></div>"
qdel(select_query) //CHOMPEdit TGSQL
usr << browse(output,"window=lookupbans;size=900x700")
usr << browse("<html>[output]</html>","window=lookupbans;size=900x700")

View File

@@ -190,7 +190,7 @@ var/savefile/Banlist
dat += "</table>"
dat = "<HR><B>Bans:</B> <FONT COLOR=blue>(U) = Unban , (E) = Edit Ban</FONT> - <FONT COLOR=green>([count] Bans)</FONT><HR><table border=1 rules=all frame=void cellspacing=0 cellpadding=3 >[dat]"
usr << browse(dat, "window=unbanp;size=875x400")
usr << browse("<html>[dat]</html>", "window=unbanp;size=875x400")
//////////////////////////////////// DEBUG ////////////////////////////////////

View File

@@ -67,7 +67,7 @@
dat = "<table width='100%'>[dat]</table>"
else
dat = "No addresses in list."
src << browse(dat,"window=ToRban_show")
src << browse("<html>[dat]</html>","window=ToRban_show")
if("remove")
var/savefile/F = new(TORFILE)
var/choice = tgui_input_list(src,"Please select an IP address to remove from the ToR banlist:","Remove ToR ban", F.dir)

View File

@@ -521,7 +521,7 @@ var/global/floorIsLava = 0
//to_world("Channelname: [src.admincaster_feed_channel.channel_name] [src.admincaster_feed_channel.author]")
//to_world("Msg: [src.admincaster_feed_message.author] [src.admincaster_feed_message.body]")
usr << browse(dat, "window=admincaster_main;size=400x600")
usr << browse("<html>[dat]</html>", "window=admincaster_main;size=400x600")
onclose(usr, "admincaster_main")
@@ -536,7 +536,7 @@ var/global/floorIsLava = 0
r = copytext( r, 1, findtext(r,"##") )//removes the description
dat += text("<tr><td>[t] (<A href='byond://?src=\ref[src];[HrefToken()];removejobban=[r]'>unban</A>)</td></tr>")
dat += "</table>"
usr << browse(dat, "window=ban;size=400x400")
usr << browse("<html>[dat]</html>", "window=ban;size=400x400")
/datum/admins/proc/Game()
if(!check_rights(0)) return
@@ -1235,7 +1235,7 @@ var/datum/announcement/minor/admin_min_announcer = new
out += " None."
out += " <a href='byond://?src=\ref[ticker.mode];[HrefToken()];add_antag_type=1'>\[+\]</a><br/>"
usr << browse(out, "window=edit_mode[src]")
usr << browse("<html>[out]</html>", "window=edit_mode[src]")
feedback_add_details("admin_verb","SGM")

View File

@@ -36,12 +36,12 @@
if(!F)
to_chat(src, span_filter_adminlog(span_warning("Error: admin_investigate: [INVESTIGATE_DIR][subject] is an invalid path or cannot be accessed.")))
return
src << browse(F,"window=investigate[subject];size=800x300")
src << browse("<html>[F]</html>","window=investigate[subject];size=800x300")
if("hrefs") //persistant logs and stuff
if(config && CONFIG_GET(flag/log_hrefs))
if(href_logfile)
src << browse(href_logfile,"window=investigate[subject];size=800x300")
src << browse("<html>[href_logfile]</html>","window=investigate[subject];size=800x300")
else
to_chat(src, span_filter_adminlog(span_warning("Error: admin_investigate: No href logfile found.")))
return

View File

@@ -115,7 +115,7 @@ world/New()
else
output += "Whoops, no reports!"
usr << browse(output, "window=news;size=600x400")
usr << browse("<html>[output]</html>", "window=news;size=600x400")
/client/proc/Report(mob/M as mob in world)

View File

@@ -120,7 +120,7 @@
dat += "</table>"
qdel(query) // CHOMPEdit
usr << browse(dat, "window=library")
usr << browse("<html>[dat]</html>", "window=library")
onclose(usr, "library")
/client/proc/toggle_spawning_with_recolour()

View File

@@ -232,7 +232,7 @@ var/savefile/Banlistjob
dat += "</table>"
dat = "<HR><B>Bans:</B> <FONT COLOR=blue>(U) = Unban , </FONT> - <FONT COLOR=green>([count] Bans)</FONT><HR><table border=1 rules=all frame=void cellspacing=0 cellpadding=3 >[dat]"
usr << browse(dat, "window=unbanp;size=875x400")
usr << browse("<html>[dat]</html>", "window=unbanp;size=875x400")
/*/datum/admins/proc/permjobban(ckey, computerid, reason, bannedby, temp, minutes, rank)
if(AddBanjob(ckey, computerid, reason, usr.ckey, 0, 0, job))

View File

@@ -9,4 +9,4 @@
var/dat = span_bold("Bombing List")
for(var/l in bombers)
dat += text("[l]<BR>")
user << browse(dat, "window=bombers")
user << browse("<html>[dat]</html>", "window=bombers")

View File

@@ -11,4 +11,4 @@
if(H.dna && H.ckey)
dat += "<tr><td>[H]</td><td>[H.dna.unique_enzymes]</td><td>[H.b_type]</td></tr>"
dat += "</table>"
user << browse(dat, "window=DNA;size=440x410")
user << browse("<html>[dat]</html>", "window=DNA;size=440x410")

View File

@@ -16,4 +16,4 @@
else if(!H.dna)
dat += "<tr><td>[H]</td><td>H.dna = null</td></tr>"
dat += "</table>"
user << browse(dat, "window=fingerprints;size=440x410")
user << browse("<html>[dat]</html>", "window=fingerprints;size=440x410")

View File

@@ -9,4 +9,4 @@
dat += "<h4>Crew Manifest</h4>"
dat += data_core.get_manifest()
user << browse(dat, "window=manifest;size=370x420;can_close=1")
user << browse("<html>[dat]</html>", "window=manifest;size=370x420;can_close=1")

View File

@@ -12,4 +12,4 @@
var/dat = span_bold("Showing last [length(lawchanges)] law changes.") + "<HR>"
for(var/sig in lawchanges)
dat += "[sig]<BR>"
user << browse(dat, "window=lawchanges;size=800x500")
user << browse("<html>[dat]</html>", "window=lawchanges;size=800x500")

View File

@@ -12,4 +12,4 @@
var/dat = span_bold("Showing last [length(lastsignalers)] signalers.") + "<HR>"
for(var/sig in lastsignalers)
dat += "[sig]<BR>"
user << browse(dat, "window=lastsignalers;size=800x500")
user << browse("<html>[dat]</html>", "window=lastsignalers;size=800x500")

View File

@@ -672,7 +672,7 @@
// Finished
body = "<body>[jobs]</body>"
dat = "<tt>[header][body]</tt>"
dat = "<html><tt>[header][body]</tt></html>"
usr << browse(dat, "window=jobban2;size=800x490")
return
@@ -1008,7 +1008,7 @@
dat += {"<A href='byond://?src=\ref[src];[HrefToken()];c_mode2=secret'>Secret</A><br>"}
dat += {"<A href='byond://?src=\ref[src];[HrefToken()];c_mode2=random'>Random</A><br>"}
dat += {"Now: [master_mode]"}
usr << browse(dat, "window=c_mode")
usr << browse("<html>[dat]</html>", "window=c_mode")
else if(href_list["f_secret"])
if(!check_rights(R_ADMIN|R_EVENT)) return
@@ -1022,7 +1022,7 @@
dat += {"<A href='byond://?src=\ref[src];[HrefToken()];f_secret2=[mode]'>[config.mode_names[mode]]</A><br>"}
dat += {"<A href='byond://?src=\ref[src];[HrefToken()];f_secret2=secret'>Random (default)</A><br>"}
dat += {"Now: [secret_force_mode]"}
usr << browse(dat, "window=f_secret")
usr << browse("<html>[dat]</html>", "window=f_secret")
else if(href_list["c_mode2"])
if(!check_rights(R_ADMIN|R_SERVER|R_EVENT)) return
@@ -1550,7 +1550,7 @@
var/obj/pageobj = B.pages[page]
data += "<A href='byond://?src=\ref[src];[HrefToken()];AdminFaxViewPage=[page];paper_bundle=\ref[B]'>Page [page] - [pageobj.name]</A><BR>"
usr << browse(data, "window=[B.name]")
usr << browse("<html>[data]</html>", "window=[B.name]")
else
to_chat(usr, span_warning("The faxed item is not viewable. This is probably a bug, and should be reported on the tracker: [fax.type]"))

View File

@@ -487,7 +487,7 @@ GLOBAL_DATUM_INIT(sdql2_vv_statobj, /obj/effect/statclick/SDQL2_VV_all, new(null
if(length(select_text))
var/text = islist(select_text)? select_text.Join() : select_text
var/static/result_offset = 0
showmob << browse(text, "window=SDQL-result-[result_offset++]")
showmob << browse("<html>[text]</html>", "window=SDQL-result-[result_offset++]")
show_next_to_key = null
if(qdel_on_finish)
qdel(src)

View File

@@ -93,7 +93,7 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new)
dat += "<A href='byond://?_src_=holder;[HrefToken()];ahelp_tickets=[state]'>Refresh</A><br><br>"
for(var/datum/admin_help/AH as anything in l2b)
dat += span_adminnotice(span_adminhelp("Ticket #[AH.id]") + ": <A href='byond://?_src_=holder;ahelp=\ref[AH];[HrefToken()];ahelp_action=ticket'>[AH.initiator_key_name]: [AH.name]</A>") + "<br>"
dat += "</html>"
usr << browse(dat.Join(), "window=ahelp_list[state];size=600x480")
//Tickets statpanel
@@ -514,7 +514,7 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new)
dat += "<br><b>Log:</b><br><br>"
for(var/I in _interactions)
dat += "[I]<br>"
dat += "</html>"
usr << browse(dat.Join(), "window=ahelp[id];size=620x480")
/datum/admin_help/proc/Retitle()

View File

@@ -21,7 +21,7 @@ var/inactive_keys = "None<br>"
else
dat += "<a href='byond://?src=\ref[src];_src_=holder;[HrefToken()];populate_inactive_customitems=1'>Populate list (requires an active database connection)</a><br>"
usr << browse(dat, "window=inactive_customitems;size=600x480")
usr << browse("<html>[dat]</html>", "window=inactive_customitems;size=600x480")
/proc/populate_inactive_customitems_list(var/client/C)
set background = 1

View File

@@ -269,7 +269,7 @@
lines += "[entry] => [num2text(data[STAT_ENTRY_TIME], 10)]ms ([data[STAT_ENTRY_COUNT]]) (avg:[num2text(data[STAT_ENTRY_TIME]/(data[STAT_ENTRY_COUNT] || 1), 99)])"
if (user)
user << browse("<ol><li>[lines.Join("</li><li>")]</li></ol>", "window=[url_encode("stats:\ref[stats]")]")
user << browse("<html><ol><li>[lines.Join("</li><li>")]</li></ol></html>", "window=[url_encode("stats:\ref[stats]")]")
else
. = lines.Join("\n")

View File

@@ -23,7 +23,7 @@
else
inactive_on_main_station++
var/output = {"<B>AIR SYSTEMS REPORT</B><HR>
var/output = {"<html><B>AIR SYSTEMS REPORT</B><HR>
<B>General Processing Data</B><BR>
Cycle: [SSair.current_cycle]<br>
Groups: [SSair.zones.len]<BR>
@@ -36,7 +36,7 @@
Hotspot Processing: [hotspots]<BR>
<br>
<B>Geometry Processing Data</B><BR>
Tile Update: [SSair.tiles_to_update.len]<BR>
Tile Update: [SSair.tiles_to_update.len]<BR></html>
"}
usr << browse(output,"window=airreport")
@@ -95,7 +95,7 @@
else
output += "&nbsp;&nbsp;&nbsp;&nbsp;[device]<br>"
usr << browse(output,"window=radioreport")
usr << browse("<html>[output]</html>","window=radioreport")
feedback_add_details("admin_verb","RR") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/reload_admins()

View File

@@ -101,7 +101,7 @@ GLOBAL_LIST_BOILERPLATE(all_debugging_effects, /obj/effect/debugging)
output += "<li><font color='red'>Camera not connected to wall at \[[C1.x], [C1.y], [C1.z]\] ([C1.loc.loc]) Network: [C1.network]</color></li>"
output += "</ul>"
usr << browse(output,"window=airreport;size=1000x500")
usr << browse("<html>[output]</html>","window=airreport;size=1000x500")
feedback_add_details("admin_verb","mCRP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/intercom_view()

View File

@@ -75,7 +75,7 @@
to_chat(src, "Some accounts did not have proper ages set in their clients. This function requires database to be present.")
if(msg != "")
src << browse(msg, "window=Player_age_check")
src << browse("<html>[msg]</html>", "window=Player_age_check")
else
to_chat(src, "No matches for that age range found.")