Remove outdated template
authorAlexander Ebert <ebert@woltlab.com>
Wed, 31 Aug 2022 19:41:12 +0000 (21:41 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 31 Aug 2022 19:41:12 +0000 (21:41 +0200)
templateListener.xml
templates/__mobileMenuConversation.tpl [deleted file]

index 508f7629b5a3cf9885a4ae8a1d04bc6a72b085c0..bc8b25821b1c17d0638f477e7fc1f65cc2fb83ec 100644 (file)
                        <eventname>menuInteraction</eventname>
                        <templatecode><![CDATA[{include file='__userProfileStartConversation'}]]></templatecode>
                </templatelistener>
-               <templatelistener name="mobileMenuConversation">
-                       <environment>user</environment>
-                       <templatename>pageMenuMobile</templatename>
-                       <eventname>userMenuItems</eventname>
-                       <templatecode><![CDATA[{include file='__mobileMenuConversation'}]]></templatecode>
-               </templatelistener>
                <templatelistener name="userGroupAddCanBeAddedAsConversationParticipant">
                        <environment>admin</environment>
                        <templatename>userGroupAdd</templatename>
                        <templatecode><![CDATA[{include file='__userGroupAddCanBeAddedAsConversationParticipant'}]]></templatecode>
                </templatelistener>
        </import>
+       <delete>
+               <templatelistener name="mobileMenuConversation">
+                       <environment>user</environment>
+                       <templatename>pageMenuMobile</templatename>
+                       <eventname>userMenuItems</eventname>
+                       <templatecode><![CDATA[{include file='__mobileMenuConversation'}]]></templatecode>
+               </templatelistener>
+       </delete>
 </data>
diff --git a/templates/__mobileMenuConversation.tpl b/templates/__mobileMenuConversation.tpl
deleted file mode 100644 (file)
index ce80998..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-{if MODULE_CONVERSATION && $__wcf->user->userID && $__wcf->session->getPermission('user.conversation.canUseConversation')}
-       <li class="menuOverlayItem" data-more="com.woltlab.wcf.conversation">
-               <a href="{link controller='ConversationList'}{/link}" class="menuOverlayItemLink menuOverlayItemBadge box24" data-badge-identifier="unreadConversations">
-                       <span class="icon icon24 fa-comments"></span>
-                       <span class="menuOverlayItemTitle">{lang}wcf.conversation.conversations{/lang}</span>
-                       {if $__wcf->getConversationHandler()->getUnreadConversationCount()}<span class="badge badgeUpdate">{#$__wcf->getConversationHandler()->getUnreadConversationCount()}</span>{/if}
-               </a>
-       </li>
-{/if}