aboutsummaryrefslogtreecommitdiff
path: root/lib/helper.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/helper.php5
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']))