{if MODULE_CONVERSATION && $__wcf->user->userID && $__wcf->session->getPermission('user.conversation.canUseConversation')}
<li id="unreadConversations" data-count="{#$__wcf->getConversationHandler()->getUnreadConversationCount()}">
<a href="{link controller='ConversationList'}{/link}"><span class="icon icon16 icon-comments"></span> <span>{lang}wcf.conversation.conversations{/lang}</span> {if $__wcf->getConversationHandler()->getUnreadConversationCount()}<span class="badge badgeInverse">{#$__wcf->getConversationHandler()->getUnreadConversationCount()}</span>{/if}</a>
- <script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.Conversation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
- <script type="text/javascript">
+ <script src="{@$__wcf->getPath()}js/WCF.Conversation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+ <script>
//<![CDATA[
$(function() {
WCF.Language.addObject({
{include file='headInclude'}
{include file='__signatureMaxImageDimensions'}
- <script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.Conversation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
- <script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.Moderation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
- <script type="text/javascript">
+ <script src="{@$__wcf->getPath()}js/WCF.Conversation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+ <script src="{@$__wcf->getPath()}js/WCF.Moderation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+ <script>
//<![CDATA[
$(function() {
WCF.Language.addObject({
{include file='headInclude'}
- <script type="text/javascript">
+ <script>
//<![CDATA[
$(function() {
new WCF.Search.User('#participants', null, false, [ ], true);
{include file='headInclude'}
<link rel="alternate" type="application/rss+xml" title="{lang}wcf.global.button.rss{/lang}" href="{link controller='ConversationFeed' appendSession=false}at={@$__wcf->getUser()->userID}-{@$__wcf->getUser()->accessToken}{/link}" />
- <script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.Conversation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
- <script type="text/javascript">
+ <script src="{@$__wcf->getPath()}js/WCF.Conversation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+ <script>
//<![CDATA[
$(function() {
WCF.Language.addObject({
{include file='headInclude'}
- <script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.Conversation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
- <script type="text/javascript">
+ <script src="{@$__wcf->getPath()}js/WCF.Conversation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+ <script>
//<![CDATA[
$(function() {
{include file='__messageQuoteManager' wysiwygSelector='text' supportPaste=true}
{include file='headInclude'}
- <script type="text/javascript">
+ <script>
//<![CDATA[
$(function() {
WCF.Message.Submit.registerButton('text', $('#messageContainer > .formSubmit > input[type=submit]'));
<button data-type="cancel">{lang}wcf.global.button.cancel{/lang}</button>
</div>
- <script type="text/javascript">
+ <script>
//<![CDATA[
$(function() {
new WCF.Message.UserMention('messageEditor{@$message->messageID}');
</div>
</article>
- <script type="text/javascript">
+ <script>
//<![CDATA[
$(function() {
new WCF.Message.UserMention('text');