if ($options['signatureKey'] && isset($message[$options['signatureKey']]))
{
if ($options['showSignature'])
{
$userModel = XenForo_Model::create('XenForo_Model_User');
$noFollow = !$userModel->isMemberOfUserGroup($message, 11);
// note: signatures are always nofollow'd by default
$message[$options['signatureHtmlKey']] = new XenForo_BbCode_TextWrapper(
$message[$options['signatureKey']], $parser, array('lightBox' => false, 'noFollowDefault' => $noFollow)
);
}
else
{
$message[$options['signatureHtmlKey']] = '';
}
}