From bdb6996709369e56b0bae93525fe60a0fdb5124c Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Mon, 10 Nov 2014 23:42:34 +0100 Subject: nerd-compatibly explanations to the formats --- lib/helper.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/helper.php') diff --git a/lib/helper.php b/lib/helper.php index fc47da1..450b3e9 100644 --- a/lib/helper.php +++ b/lib/helper.php @@ -48,6 +48,11 @@ function irc_channel($room) return '31C3-hall-'.strtoupper(substr($room, 4, 1)); } +function format_text($format) +{ + return @$GLOBALS['CONFIG']['FORMAT_TEXT'][$format] ?: ''; +} + function baseurl() { if(isset($GLOBALS['CONFIG']['baseurl'])) -- cgit v1.2.3