]> git.mxchange.org Git - friendica.git/commitdiff
add bbcode support for the page register textfield (Bug #871)
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 12 Jan 2014 07:40:52 +0000 (08:40 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 12 Jan 2014 07:40:52 +0000 (08:40 +0100)
mod/register.php

index 1370eb42f1d9c7542bcd055009a0025e37b34d8d..c00d2315ceef4a637fc2f9e755a86a875110cf32 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 
 require_once('include/email.php');
+require_once('include/bbcode.php');
 
 if(! function_exists('register_post')) {
 function register_post(&$a) {
@@ -263,7 +264,7 @@ function register_content(&$a) {
                '$realpeople' => $realpeople,
                '$regtitle'  => t('Registration'),
                '$registertext' =>((x($a->config,'register_text'))
-                       ? '<div class="error-message">' . $a->config['register_text'] . '</div>'
+                       ? '<div class="error-message">' . bbcode($a->config['register_text']) . '</div>'
                        : "" ),
                '$fillwith'  => $fillwith,
                '$fillext'   => $fillext,