Line 62 | Line 62 |
---|
}
$bbcode_match = $row['bbcode_match'];
|
}
$bbcode_match = $row['bbcode_match'];
|
$bbcode_tpl = htmlspecialchars($row['bbcode_tpl']);
| $bbcode_tpl = htmlspecialchars($row['bbcode_tpl'], ENT_COMPAT);
|
$display_on_posting = $row['display_on_posting']; $bbcode_helpline = $row['bbcode_helpline']; break;
| $display_on_posting = $row['display_on_posting']; $bbcode_helpline = $row['bbcode_helpline']; break;
|
Line 86 | Line 86 |
---|
$display_on_posting = $request->variable('display_on_posting', 0);
$bbcode_match = $request->variable('bbcode_match', '');
|
$display_on_posting = $request->variable('display_on_posting', 0);
$bbcode_match = $request->variable('bbcode_match', '');
|
$bbcode_tpl = htmlspecialchars_decode($request->variable('bbcode_tpl', '', true));
| $bbcode_tpl = html_entity_decode($request->variable('bbcode_tpl', '', true), ENT_COMPAT);
|
$bbcode_helpline = $request->variable('bbcode_helpline', '', true); break; }
| $bbcode_helpline = $request->variable('bbcode_helpline', '', true); break; }
|
Line 235 | Line 235 |
---|
trigger_error($user->lang['BBCODE_TAG_DEF_TOO_LONG'] . adm_back_link($this->u_action), E_USER_WARNING); }
|
trigger_error($user->lang['BBCODE_TAG_DEF_TOO_LONG'] . adm_back_link($this->u_action), E_USER_WARNING); }
|
if (strlen($bbcode_helpline) > 255)
| if (strlen($bbcode_helpline) > 3000)
|
{ trigger_error($user->lang['BBCODE_HELPLINE_TOO_LONG'] . adm_back_link($this->u_action), E_USER_WARNING); }
| { trigger_error($user->lang['BBCODE_HELPLINE_TOO_LONG'] . adm_back_link($this->u_action), E_USER_WARNING); }
|
Line 334 | Line 334 |
---|
'action' => $action, 'bbcode' => $bbcode_id, 'bbcode_match' => $bbcode_match,
|
'action' => $action, 'bbcode' => $bbcode_id, 'bbcode_match' => $bbcode_match,
|
'bbcode_tpl' => htmlspecialchars($bbcode_tpl),
| 'bbcode_tpl' => htmlspecialchars($bbcode_tpl, ENT_COMPAT),
|
'bbcode_helpline' => $bbcode_helpline, 'display_on_posting' => $display_on_posting, )))
| 'bbcode_helpline' => $bbcode_helpline, 'display_on_posting' => $display_on_posting, )))
|