mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
○ Fixes for announcements and comm consoles.
○ FINALLY FIXED THE REQUEST CONSOLES BEING SHITTY WOOOOOOOO ○ You can now do line breaks in the admin centcom announcements, just simply hit enter. ○ You can now name portable / constructed turrets properly by using a pen on their frame before you finalize the construction. Joy! git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2449 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/proc/captain_announce(var/text)
|
||||
world << "<h1 class='alert'>Captain Announces</h1>"
|
||||
|
||||
world << "<span class='alert'>[sanitize(text)]</span>"
|
||||
world << "<span class='alert'>[html_encode(text)]</span>"
|
||||
world << "<br>"
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
world << "<h1 class='alert'>[command_name()] Update</h1>"
|
||||
|
||||
if (title && length(title) > 0)
|
||||
world << "<h2 class='alert'>[sanitize(title)]</h2>"
|
||||
world << "<h2 class='alert'>[html_encode(title)]</h2>"
|
||||
|
||||
world << "<span class='alert'>[sanitize(text)]</span>"
|
||||
world << "<span class='alert'>[html_encode(text)]</span>"
|
||||
world << "<br>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user