[MIRROR] Check for 516 byond:// hrefs (#9624)

Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2024-12-12 16:55:48 -07:00
committed by GitHub
parent 65b20a4d5c
commit a967fb3861
210 changed files with 1230 additions and 1399 deletions

View File

@@ -11,17 +11,17 @@
var/list/my_list = data
var/t = "<h2>[src]</h2><br>"
t += "List length: [my_list.len]<br>"
t += "<a href='?src=\ref[src]'>\[Refresh\]</a> | "
t += "<a href='?src=\ref[src];add=1'>\[Add\]</a> | "
t += "<a href='?src=\ref[src];swap=1'>\[Swap\]</a> | "
t += "<a href='?src=\ref[src];clear=1'>\[Clear\]</a><br>"
t += "<a href='byond://?src=\ref[src]'>\[Refresh\]</a> | "
t += "<a href='byond://?src=\ref[src];add=1'>\[Add\]</a> | "
t += "<a href='byond://?src=\ref[src];swap=1'>\[Swap\]</a> | "
t += "<a href='byond://?src=\ref[src];clear=1'>\[Clear\]</a><br>"
t += "<hr>"
var/i = 0
for(var/line in my_list)
i++
t += "#[i] | [display_data(line)] | "
t += "<a href='?src=\ref[src];edit=1;pos=[i]'>\[Edit\]</a> | "
t += "<a href='?src=\ref[src];remove=1;pos=[i]'>\[Remove\]</a><br>"
t += "<a href='byond://?src=\ref[src];edit=1;pos=[i]'>\[Edit\]</a> | "
t += "<a href='byond://?src=\ref[src];remove=1;pos=[i]'>\[Remove\]</a><br>"
user << browse(t, "window=list_pin_\ref[src];size=500x400")
/datum/integrated_io/list/proc/add_to_list(mob/user, var/new_entry)