[TASK] Click menu icons as icon font 97/34497/3
authorFrank Nägler <typo3@naegler.net>
Sun, 23 Nov 2014 17:15:06 +0000 (18:15 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Sun, 23 Nov 2014 20:59:21 +0000 (21:59 +0100)
follow up patch to change the last icons

Resolves: #63199
Resolves: #63137
Releases: master
Change-Id: I2e07f072ed6345e8209eeb8388e3cd6bcb038cfa
Reviewed-on: http://review.typo3.org/34497
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/js/extjs/components/pagetree/javascript/contextmenu.js
typo3/sysext/backend/Classes/ClickMenu/ClickMenu.php
typo3/sysext/backend/Classes/Utility/IconUtility.php
typo3/sysext/t3skin/Classes/Slot/IconStyleModifier.php
typo3/sysext/t3skin/ext_localconf.php

index 6ebe9f8..e00f4e2 100644 (file)
@@ -156,7 +156,6 @@ TYPO3.Components.PageTree.ContextMenu = Ext.extend(Ext.menu.Menu, {
                                                'callbackAction': contextMenuConfiguration[singleAction]['callbackAction'],
                                                'customAttributes': contextMenuConfiguration[singleAction]['customAttributes']
                                        };
-
                                        component.itemTpl = Ext.menu.Item.prototype.itemTpl = new Ext.XTemplate(
                                                '<a id="{id}" class="{cls}" hidefocus="true" unselectable="on" href="{href}">',
                                                        '<span class="{hrefTarget}">',
index f7a7ccd..2d85ab2 100644 (file)
@@ -682,7 +682,6 @@ class ClickMenu {
                $addParam = '';
                $theIcon = 'actions-document-open';
                if ($this->iParts[0] === 'pages' && $this->iParts[1] && $this->backendUser->check('modules', $pageModule)) {
-                       $theIcon = 'fa-desktop';
                        $this->editPageIconSet = TRUE;
                        if ($this->backendUser->uc['classicPageEditMode']) {
                                $addParam = '&editRegularContentFromId=' . (int)$this->iParts[1];
index dc269be..8ca6043 100644 (file)
@@ -1003,7 +1003,7 @@ class IconUtility {
         * is usually called by the methods that are responsible for fetching the names
         * out of the file name, or the record type
         *
-        * @param string $name Iconname like 'actions-document-new'
+        * @param string $iconName Iconname like 'actions-document-new'
         * @return string A list of all CSS classes needed for the HTML tag
         */
        static public function getSpriteIconClasses($iconName) {
index b1b4aa0..c27949f 100644 (file)
@@ -26,6 +26,7 @@ class IconStyleModifier {
                't3-icon t3-icon-actions t3-icon-actions-document t3-icon-document-export-t3d' => 'fa-download',
                't3-icon t3-icon-actions t3-icon-actions-document t3-icon-document-history-open' => 'fa-history',
                't3-icon t3-icon-actions t3-icon-actions-document t3-icon-document-import-t3d' => 'fa-upload',
+               't3-icon t3-icon-actions t3-icon-actions-document t3-icon-document-edit-access' => 'fa-clock-o',
                't3-icon t3-icon-actions t3-icon-actions-document t3-icon-document-info' => 'fa-info-circle',
                't3-icon t3-icon-actions t3-icon-actions-document t3-icon-document-move c-inputButton' => 'fa-arrows',
                't3-icon t3-icon-actions t3-icon-actions-document t3-icon-document-move' => 'fa-arrows',
@@ -40,6 +41,7 @@ class IconStyleModifier {
                't3-icon t3-icon-actions t3-icon-actions-edit t3-icon-edit-cut-release' => 'fa-cut danger',
                't3-icon t3-icon-actions t3-icon-actions-edit t3-icon-edit-delete' => 'fa-trash',
                't3-icon t3-icon-actions t3-icon-actions-edit t3-icon-edit-download' => 'fa-download',
+               't3-icon t3-icon-actions t3-icon-actions-edit t3-icon-edit-edit' => 'fa-pencil',
                't3-icon t3-icon-actions t3-icon-actions-edit t3-icon-edit-hide' => 'fa-toggle-on',
                't3-icon t3-icon-actions t3-icon-actions-edit t3-icon-edit-paste' => 'fa-paste',
                't3-icon t3-icon-actions t3-icon-actions-document t3-icon-document-paste-after' => 'fa-caret-square-o-down',
@@ -71,12 +73,14 @@ class IconStyleModifier {
                't3-icon t3-icon-actions t3-icon-actions-system t3-icon-system-backend-user-switch' => 'fa-sign-out',
                't3-icon t3-icon-actions t3-icon-actions-system t3-icon-system-cache-clear' => 'fa-bolt',
                't3-icon t3-icon-actions t3-icon-actions-system t3-icon-system-extension-configure' => 'fa-gear',
+               't3-icon t3-icon-actions t3-icon-actions-system t3-icon-system-extension-documentation' => 'fa-anchor',
                't3-icon t3-icon-actions t3-icon-actions-system t3-icon-system-extension-download ' => 'fa-cloud-download',
                't3-icon t3-icon-actions t3-icon-actions-system t3-icon-system-extension-download' => 'fa-download',
                't3-icon t3-icon-actions t3-icon-actions-system t3-icon-system-extension-install' => 'fa-plus-circle',
                't3-icon t3-icon-actions t3-icon-actions-system t3-icon-system-extension-sqldump' => 'fa-database',
                't3-icon t3-icon-actions t3-icon-actions-system t3-icon-system-extension-uninstall' => 'fa-minus-square',
                't3-icon t3-icon-actions t3-icon-actions-system t3-icon-system-help-open' => 'fa-question-circle',
+               't3-icon t3-icon-actions t3-icon-actions-system t3-icon-system-list-open' => 'fa-list-alt',
                't3-icon t3-icon-actions t3-icon-actions-system t3-icon-system-refresh' => 'fa-refresh',
                't3-icon t3-icon-actions t3-icon-actions-system t3-icon-system-shortcut-new' => 'fa-star',
                't3-icon t3-icon-actions t3-icon-actions-system t3-icon-system-tree-search-open' => 'fa-search',
@@ -94,6 +98,7 @@ class IconStyleModifier {
                't3-icon t3-icon-actions t3-icon-actions-view t3-icon-view-table-collapse' => 'fa-chevron-left',
                't3-icon t3-icon-actions t3-icon-actions-window t3-icon-window-open' => 'fa-arrows-alt',
                't3-icon t3-icon-actions t3-icon-system-extension-import' => 'fa-cloud-download',
+               't3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-mountpoint' => 'fa-anchor',
                't3-icon t3-icon-apps t3-icon-apps-toolbar t3-icon-toolbar-menu-actions' => 'fa-cog',
                't3-icon t3-icon-apps t3-icon-apps-toolbar t3-icon-toolbar-menu-cache' => 'fa-bolt',
                't3-icon t3-icon-apps t3-icon-apps-toolbar t3-icon-toolbar-menu-opendocs' => 'fa-file',
index 856a532..e5453f7 100644 (file)
@@ -18,4 +18,3 @@ defined('TYPO3_MODE') or die();
        'TYPO3\\CMS\\T3skin\\Slot\\IconStyleModifier',
        'buildSpriteIconClasses'
 );
-