Add icons to menu item add form in menu list
authorMatthias Schmidt <gravatronics@live.com>
Mon, 2 Nov 2020 13:21:45 +0000 (14:21 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 2 Nov 2020 13:21:45 +0000 (14:21 +0100)
wcfsetup/install/files/acp/templates/menuList.tpl

index 002601bb284e05de9c76419a30932796cd14d18f..d2d865b12654d75b9c54b050b906c2de4025bcc2 100644 (file)
                                        <tr class="jsMenuRow">
                                                <td class="columnIcon">
                                                        <a href="{link controller='MenuEdit' id=$menu->menuID}{/link}" title="{lang}wcf.global.button.edit{/lang}" class="jsTooltip"><span class="icon icon16 fa-pencil"></span></a>
-                                                       <a href="{link controller='MenuItemList' id=$menu->menuID}{/link}" title="{lang}wcf.acp.menu.item.list{/lang}" class="jsTooltip"><span class="icon icon16 fa-list"></span></a>
                                                        {if $menu->canDelete()}
                                                                <span class="icon icon16 fa-times jsDeleteButton jsTooltip pointer" title="{lang}wcf.global.button.delete{/lang}" data-object-id="{@$menu->menuID}" data-confirm-message-html="{lang __encode=true}wcf.acp.menu.delete.confirmMessage{/lang}"></span>
                                                        {else}
                                                                <span class="icon icon16 fa-times disabled" title="{lang}wcf.global.button.delete{/lang}"></span>
                                                        {/if}
+                                                       <a href="{link controller='MenuItemList' id=$menu->menuID}{/link}" title="{lang}wcf.acp.menu.item.list{/lang}" class="jsTooltip"><span class="icon icon16 fa-list"></span></a>
+                                                       <a href="{link controller='MenuItemAdd'}menuID={@$menu->menuID}{/link}" title="{lang}wcf.acp.menu.item.add{/lang}" class="jsTooltip"><span class="icon icon16 fa-plus"></span></a>
                                                        
                                                        {event name='rowButtons'}
                                                </td>