1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Disable wrapping of username in stream

This commit is contained in:
Tim Düsterhus 2013-04-21 20:32:30 +02:00
parent bc7f1d78df
commit f94960601e
2 changed files with 2 additions and 1 deletions

View File

@ -63,7 +63,7 @@ public function validateSend() {
$this->parameters['enableHTML'] = false; $this->parameters['enableHTML'] = false;
// validate text // validate text
if (StringUtil::length($this->parameters['text']) > CHAT_MAX_LENGTH) throw new UserInputException('text', 'tooLong'); if (\wcf\util\StringUtil::length($this->parameters['text']) > CHAT_MAX_LENGTH) throw new UserInputException('text', 'tooLong');
// search for disallowed bbcodes // search for disallowed bbcodes
$disallowedBBCodes = \wcf\system\bbcode\BBCodeParser::getInstance()->validateBBCodes($this->parameters['text'], explode(',', WCF::getSession()->getPermission('user.chat.allowedBBCodes'))); $disallowedBBCodes = \wcf\system\bbcode\BBCodeParser::getInstance()->validateBBCodes($this->parameters['text'], explode(',', WCF::getSession()->getPermission('user.chat.allowedBBCodes')));

View File

@ -64,6 +64,7 @@
text-align: right; text-align: right;
min-width: 100px; min-width: 100px;
padding: 0px 5px; padding: 0px 5px;
white-space: nowrap;
} }
} }