1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 10:16:36 +02:00

- fixed some bugs

- made sql schemas consistent
- added correct sequences and generators to sql schemas
- extended some rows to hold more data. This solves issues with multibyte characters and too short topic titles, names, etc.
- allow multibyte characters in usernames


git-svn-id: file:///svn/phpbb/trunk@5784 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2006-04-15 14:48:36 +00:00
parent 0562395c27
commit 84738055a2
38 changed files with 3527 additions and 3450 deletions

View File

@@ -145,7 +145,7 @@ class messenger
// assign variables
function assign_vars($vars)
{
$this->vars = (empty($this->vars)) ? $vars : $this->vars . $vars;
$this->vars = (empty($this->vars)) ? $vars : $this->vars + $vars;
}
// Send the mail out to the recipients set previously in var $this->address
@@ -209,14 +209,16 @@ class messenger
{
case NOTIFY_EMAIL:
$result = $this->msg_email();
break;
break;
case NOTIFY_IM:
$result = $this->msg_jabber();
break;
break;
case NOTIFY_BOTH:
$result = $this->msg_email();
$this->msg_jabber();
break;
break;
}
$this->reset();
@@ -394,7 +396,7 @@ class messenger
foreach ($addresses as $address)
{
$this->jabber->send_message($address, 'normal', NULL, array('body' => $this->msg));
$this->jabber->send_message($address, 'normal', NULL, array('body' => htmlentities($this->msg)));
}
sleep(1);
@@ -490,7 +492,7 @@ class queue
unset($this->queue_data['email']);
continue 2;
}
break;
break;
case 'jabber':
if (!$config['jab_enable'])
@@ -520,7 +522,8 @@ class queue
continue 2;
}
$this->jabber->send_presence(NULL, NULL, 'online');
break;
break;
default:
return;
@@ -547,14 +550,14 @@ class queue
messenger::error('EMAIL', $message);
continue 3;
}
break;
break;
case 'jabber':
foreach ($addresses as $address)
{
$this->jabber->send_message($address, 'normal', NULL, array('body' => $msg));
}
break;
break;
}
}
@@ -572,7 +575,7 @@ class queue
// handled, then disconnect
sleep(1);
$this->jabber->disconnect();
break;
break;
}
}