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:
parent
bc7f1d78df
commit
f94960601e
@ -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')));
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user