Fix missing custom confirm messages when deleting categories
authorMarcel Werk <burntime@woltlab.com>
Mon, 6 Mar 2023 15:29:01 +0000 (16:29 +0100)
committerMarcel Werk <burntime@woltlab.com>
Mon, 6 Mar 2023 15:29:01 +0000 (16:29 +0100)
wcfsetup/install/files/acp/templates/categoryList.tpl

index ad8da0d806e01d96e87f3090628d2a2f33cb0b1f..e7868f993395425b58e9243ad782fa448f1af2cd 100644 (file)
                                                                {/if}
                                                                
                                                                {if $objectType->getProcessor()->canDeleteCategory()}
-                                                                       {objectAction action="delete" objectTitle=$category->getTitle()}
+                                                                       <span class="icon icon16 fa-times jsObjectAction jsTooltip pointer" title="{lang}wcf.global.button.delete{/lang}" data-object-action="delete" data-confirm-message="{@$objectType->getProcessor()->getLanguageVariable('delete.sure')}"></span>
                                                                {/if}
                                                                
                                                                {event name='itemButtons'}
        <p class="info">{@$objectType->getProcessor()->getLanguageVariable('noneAvailable')}</p>
 {/hascontent}
 
-{include file='footer'}
\ No newline at end of file
+{include file='footer'}