#set($chatterboxhome = $page.chatterboxhome) $context.putPageValue("chatterboxhome", $chatterboxhome) #set($moduleid = $module.getId()) #ifnull($moduleid) #set($moduleid = $page.module) #end #ifnull($collectionid) #set($collectionid = $librarycol.getId()) #end #ifnull($cansendchat) #set($cansendchat = false) #end #if ($currentchannel.teamproject == "true") #if($caneditcollection) #set($cansendchat = true) #end #else #if($page.openchat || ($user && $permissions && $permissions.canModule($module, "chat_send_messages"))) #set($cansendchat = true) #end #end
$pages.include("${chatterboxhome}/messages.html", $context) #if($cansendchat) $pages.include("${chatterboxhome}/editarea.html", $context) #end