diff options
author | MaZderMind | 2014-11-10 23:42:34 +0100 |
---|---|---|
committer | MaZderMind | 2014-11-10 23:42:34 +0100 |
commit | bdb6996709369e56b0bae93525fe60a0fdb5124c (patch) | |
tree | 142c2bdc77ce0c5dabfb62f587339b5045ca1453 /lib/helper.php | |
parent | c05b9a49f0b21ec4e1349146efb2ce4a0a67d496 (diff) |
nerd-compatibly explanations to the formats
Diffstat (limited to 'lib/helper.php')
-rw-r--r-- | lib/helper.php | 5 |
1 files changed, 5 insertions, 0 deletions
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'])) |