mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 21:38:54 +00:00
*** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@6247 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
cbd65ca2c9
commit
b789628c57
2 changed files with 6 additions and 0 deletions
|
@ -133,6 +133,11 @@ class acp_bbcodes
|
|||
}
|
||||
}
|
||||
|
||||
if (strlen($data['first_pass_match']) >= 255 || strlen($data['first_pass_replace']) >= 255 || strlen($data['second_pass_match']) >= 255)
|
||||
{
|
||||
trigger_error('BBCODE_TAG_TOO_LONG');
|
||||
}
|
||||
|
||||
$sql_ary = array(
|
||||
'bbcode_tag' => $data['bbcode_tag'],
|
||||
'bbcode_match' => $bbcode_match,
|
||||
|
|
|
@ -42,6 +42,7 @@ $lang = array_merge($lang, array(
|
|||
'BBCODE_HELPLINE_EXPLAIN' => 'This field contains the mouseover text of the BBCode',
|
||||
'BBCODE_HELPLINE_TEXT' => 'Helpline text',
|
||||
'BBCODE_TAG' => 'Tag',
|
||||
'BBCODE_TAG_TOO_LONG' => 'The tag definition that you have entered is too long, please shorten your tag definition.',
|
||||
'BBCODE_USAGE' => 'BBCode usage',
|
||||
'BBCODE_USAGE_EXAMPLE' => '[colour={COLOR}]{TEXT}[/colour]<br /><br />[font={TEXT1}]{TEXT2}[/font]',
|
||||
'BBCODE_USAGE_EXPLAIN' => 'Here you define how to use the bbcode. Replace any variable input by the corresponding token (%ssee below%s)',
|
||||
|
|
Loading…
Add table
Reference in a new issue