mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00:00
git-svn-id: file:///svn/phpbb/trunk@6434 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c4d8c23357
commit
71c30b8157
2 changed files with 3 additions and 3 deletions
|
@ -53,7 +53,7 @@ class acp_bbcodes
|
||||||
$bbcode_match = $row['bbcode_match'];
|
$bbcode_match = $row['bbcode_match'];
|
||||||
$bbcode_tpl = htmlspecialchars($row['bbcode_tpl']);
|
$bbcode_tpl = htmlspecialchars($row['bbcode_tpl']);
|
||||||
$display_on_posting = $row['display_on_posting'];
|
$display_on_posting = $row['display_on_posting'];
|
||||||
$bbcode_helpline = html_entity_decode($row['bbcode_helpline']);
|
$bbcode_helpline = $row['bbcode_helpline'];
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'modify':
|
case 'modify':
|
||||||
|
@ -76,7 +76,7 @@ class acp_bbcodes
|
||||||
|
|
||||||
$bbcode_match = request_var('bbcode_match', '');
|
$bbcode_match = request_var('bbcode_match', '');
|
||||||
$bbcode_tpl = html_entity_decode(request_var('bbcode_tpl', ''));
|
$bbcode_tpl = html_entity_decode(request_var('bbcode_tpl', ''));
|
||||||
$bbcode_helpline = htmlspecialchars(request_var('bbcode_helpline', ''));
|
$bbcode_helpline = request_var('bbcode_helpline', '');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -971,7 +971,7 @@ function display_custom_bbcodes()
|
||||||
'BBCODE_NAME' => "'[{$row['bbcode_tag']}]', '[/" . str_replace('=', '', $row['bbcode_tag']) . "]'",
|
'BBCODE_NAME' => "'[{$row['bbcode_tag']}]', '[/" . str_replace('=', '', $row['bbcode_tag']) . "]'",
|
||||||
'BBCODE_ID' => $num_predefined_bbcodes + ($i * 2),
|
'BBCODE_ID' => $num_predefined_bbcodes + ($i * 2),
|
||||||
'BBCODE_TAG' => $row['bbcode_tag'],
|
'BBCODE_TAG' => $row['bbcode_tag'],
|
||||||
'BBCODE_HELPLINE' => $row['bbcode_helpline'])
|
'BBCODE_HELPLINE' => str_replace(array('&', '"', ''', '<', '>'), array('\&', '\"', '\\\'', '<', '>'), $row['bbcode_helpline']))
|
||||||
);
|
);
|
||||||
|
|
||||||
$i++;
|
$i++;
|
||||||
|
|
Loading…
Add table
Reference in a new issue