htmlable t&c

This commit is contained in:
Shish
2010-01-05 19:06:04 +00:00
parent 62862994db
commit 4e7f135024
2 changed files with 6 additions and 3 deletions

View File

@@ -41,9 +41,11 @@ class UserPageTheme extends Themelet {
global $config;
$tac = $config->get_string("login_tac", "");
$tfe = new TextFormattingEvent($tac);
send_event($tfe);
$tac = $tfe->formatted;
if($config->get_bool("login_tac_bbcode")) {
$tfe = new TextFormattingEvent($tac);
send_event($tfe);
$tac = $tfe->formatted;
}
if(empty($tac)) {$html = "";}
else {$html = "<p>$tac</p>";}