1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

- some fixes/changes

git-svn-id: file:///svn/phpbb/trunk@5035 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2004-12-19 17:59:15 +00:00
parent 3c6c673476
commit 5ac4556ef1
9 changed files with 31 additions and 66 deletions

View File

@@ -11,13 +11,6 @@
//
// -------------------------------------------------------------
/*
TODO list for M-3:
- add other languages to syntax highlighter
- better (and unified, wrt other pages such as registration) validation for urls, emails, etc...
- need size limit checks on img/flash tags ... probably warrants some discussion
*/
if (!defined('IN_PHPBB'))
{
exit;
@@ -718,6 +711,7 @@ class parse_message extends bbcode_firstpass
if ($config['max_' . $mode . '_urls'] && $num_urls > $config['max_' . $mode . '_urls'])
{
$this->warn_msg[] = sprintf($user->lang['TOO_MANY_URLS'], $config['max_' . $mode . '_urls']);
return $this->warn_msg;
}
if (!$update_this_message)
@@ -729,7 +723,6 @@ class parse_message extends bbcode_firstpass
$this->message_status = 'parsed';
return;
//return implode('<br />', $this->warn_msg);
}
// Formatting text for display