Added template event before a category's title
authorAlexander Ebert <ebert@woltlab.com>
Wed, 28 Jun 2017 11:28:36 +0000 (13:28 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 28 Jun 2017 11:28:36 +0000 (13:28 +0200)
wcfsetup/install/files/acp/templates/categoryList.tpl

index dbd852d106f5a8012745b389f1311c9caa884589..668f09fd2df8d8759663683738f3fcdd763c5623 100644 (file)
                                        <li class="{if $objectType->getProcessor()->canEditCategory()}sortableNode {if $categoryNodeList->getDepth() == $objectType->getProcessor()->getMaximumNestingLevel()}sortableNoNesting {/if}{/if}jsCategory" data-object-id="{@$category->categoryID}"{if $collapsedCategoryIDs|is_array} data-is-open="{if $collapsedCategoryIDs[$category->categoryID]|isset}0{else}1{/if}"{/if}>
                                                <span class="sortableNodeLabel">
                                                        <span class="title">
+                                                               {event name='beforeTitle'}
+                                                               
                                                                {if $objectType->getProcessor()->canEditCategory()}
                                                                        <a href="{link controller=$editController application=$objectType->getProcessor()->getApplication() id=$category->categoryID title=$category->getTitle()}{/link}">{$category->getTitle()}</a>
                                                                {else}