mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 07:03:30 +01:00
Merge pull request #11985 from Tayyyyyyy/admin_pencode
Add admin pencode: style, class, and img
This commit is contained in:
@@ -644,7 +644,7 @@ var/list/admin_verbs_ticket = list(
|
||||
if(!message)
|
||||
return
|
||||
for(var/mob/V in hearers(O))
|
||||
V.show_message(message, 2)
|
||||
V.show_message(admin_pencode_to_html(message), 2)
|
||||
log_admin("[key_name(usr)] made [O] at [O.x], [O.y], [O.z] make a sound")
|
||||
message_admins("<span class='notice'>[key_name_admin(usr)] made [O] at [O.x], [O.y], [O.z] make a sound</span>")
|
||||
feedback_add_details("admin_verb","MS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
@@ -2186,7 +2186,7 @@
|
||||
if(!input)
|
||||
qdel(P)
|
||||
return
|
||||
input = P.parsepencode(input) // Encode everything from pencode to html
|
||||
input = admin_pencode_to_html(html_encode(input)) // Encode everything from pencode to html
|
||||
|
||||
var/customname = clean_input("Pick a title for the fax.", "Fax Title", , owner)
|
||||
if(!customname)
|
||||
|
||||
@@ -110,7 +110,7 @@
|
||||
if(!msg)
|
||||
return
|
||||
else
|
||||
msg = pencode_to_html(msg)
|
||||
msg = admin_pencode_to_html(msg)
|
||||
|
||||
var/recieve_span = "playerreply"
|
||||
var/send_pm_type = " "
|
||||
|
||||
@@ -58,6 +58,9 @@
|
||||
|
||||
if(!msg)
|
||||
return
|
||||
|
||||
msg = admin_pencode_to_html(msg)
|
||||
|
||||
if(usr)
|
||||
if(usr.client)
|
||||
if(usr.client.holder)
|
||||
@@ -136,7 +139,7 @@
|
||||
|
||||
if( !msg )
|
||||
return
|
||||
msg = pencode_to_html(msg)
|
||||
msg = admin_pencode_to_html(msg)
|
||||
|
||||
to_chat(M, msg)
|
||||
log_admin("DirectNarrate: [key_name(usr)] to ([key_name(M)]): [msg]")
|
||||
|
||||
Reference in New Issue
Block a user