add bbcode support for the page register textfield (Bug #871)
This commit is contained in:
parent
964f2bc4b1
commit
c52ae17df4
|
@ -1,6 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
require_once('include/email.php');
|
require_once('include/email.php');
|
||||||
|
require_once('include/bbcode.php');
|
||||||
|
|
||||||
if(! function_exists('register_post')) {
|
if(! function_exists('register_post')) {
|
||||||
function register_post(&$a) {
|
function register_post(&$a) {
|
||||||
|
@ -263,7 +264,7 @@ function register_content(&$a) {
|
||||||
'$realpeople' => $realpeople,
|
'$realpeople' => $realpeople,
|
||||||
'$regtitle' => t('Registration'),
|
'$regtitle' => t('Registration'),
|
||||||
'$registertext' =>((x($a->config,'register_text'))
|
'$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,
|
'$fillwith' => $fillwith,
|
||||||
'$fillext' => $fillext,
|
'$fillext' => $fillext,
|
||||||
|
|
Loading…
Reference in a new issue