Fixed bug #14530: Missing icons in new BE skin (sprites) v3
authorSteffen Kamper <info@sk-typo3.de>
Sun, 30 May 2010 20:24:44 +0000 (20:24 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Sun, 30 May 2010 20:24:44 +0000 (20:24 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7767 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_fullsearch.php
t3lib/class.t3lib_tceforms_inline.php
typo3/gfx/legend.gif
typo3/sysext/reports/reports/class.tx_reports_reports_status.php

index ab5b09f..647cf72 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
 
 2010-05-30  Steffen Kamper  <info@sk-typo3.de>
 
+       * Fixed bug #14530: Missing icons in new BE skin (sprites) v3
        * Fixed bug #14530: Missing icons in new BE skin (sprites) v2
        * Fixed bug #14526: page tree filterbox styling fixed in new BE layout (Thanks to Jigal van Hemert)
        * Fixed bug #14533: SpriteIcons: Icons in db_new.php are not replaced (Thanks to Steffen Ritter)
index ad1a38e..04606a5 100644 (file)
@@ -660,7 +660,7 @@ class t3lib_fullsearch {
                $params = '&edit['.$table.']['.$row['uid'].']=edit';
                $out.='<td nowrap>';
                if (!$row['deleted'])   {
-                       $out .= '<a href="#" onClick="top.launchView(\''.$table.'\','.$row['uid'].',\''.$GLOBALS['BACK_PATH'].'\');return false;">' . t3lib_iconWorks::getSpriteIcon('actions-system-search') . '</a>';
+                       $out .= '<a href="#" onClick="top.launchView(\''.$table.'\','.$row['uid'].',\''.$GLOBALS['BACK_PATH'].'\');return false;">' . t3lib_iconWorks::getSpriteIcon('status-dialog-information') . '</a>';
                        $out .= '<a href="#" onClick="'.t3lib_BEfunc::editOnClick($params, $GLOBALS['BACK_PATH'], t3lib_div::getIndpEnv('REQUEST_URI').t3lib_div::implodeArrayForUrl('SET', (array)t3lib_div::_POST('SET'))).'">' . t3lib_iconWorks::getSpriteIcon('actions-document-open') .  '</a>';
                } else {
                        $out.= '<a href="'.t3lib_div::linkThisUrl($GLOBALS['BACK_PATH'].'tce_db.php', array('cmd['.$table.']['.$row['uid'].'][undelete]' => '1', 'redirect' => t3lib_div::linkThisScript(array()))).'">';
index 941535b..bdefbba 100644 (file)
@@ -432,7 +432,7 @@ class t3lib_TCEforms_inline {
                                $appearanceStyleFields = ' style="display: none;"';
                        }
                }
-                               
+
                if ($config['renderFieldsOnly']) {
                        $out = $fields . $combination;
                } else {
@@ -616,7 +616,7 @@ class t3lib_TCEforms_inline {
                        // "Info": (All records)
                if ($enabledControls['info'] && !$isNewItem) {
                        $cells['info']='<a href="#" onclick="'.htmlspecialchars('top.launchView(\''.$foreign_table.'\', \''.$rec['uid'].'\'); return false;').'">'.
-                               t3lib_iconWorks::getSpriteIcon('actions-system-search', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_web_list.xml:showInfo', TRUE))).
+                               t3lib_iconWorks::getSpriteIcon('status-dialog-information', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_web_list.xml:showInfo', TRUE))).
                  '</a>';
                }
                        // If the table is NOT a read-only table, then show these links:
@@ -678,7 +678,7 @@ class t3lib_TCEforms_inline {
                        if ($enabledControls['delete'] && ($isPagesTable && $localCalcPerms&4 || !$isPagesTable && $calcPerms&16)) {
                                $onClick = "inline.deleteRecord('".$nameObjectFtId."');";
                                $cells['delete']='<a href="#" onclick="'.htmlspecialchars('if (confirm('.$GLOBALS['LANG']->JScharCode($GLOBALS['LANG']->getLL('deleteWarning')).')) {   '.$onClick.' } return false;').'">'.
-                                               t3lib_iconWorks::getSpriteIcon('actions-edit-delete', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_web_list.xml:delete', TRUE))) . 
+                                               t3lib_iconWorks::getSpriteIcon('actions-edit-delete', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_web_list.xml:delete', TRUE))) .
                          '</a>';
                        }
                        // If this is a virtual record offer a minimized set of icons for user interaction:
@@ -686,7 +686,7 @@ class t3lib_TCEforms_inline {
                        if ($enabledControls['localize'] && isset($rec['__create'])) {
                                $onClick = "inline.synchronizeLocalizeRecords('".$nameObjectFt."', ".$rec['uid'].");";
                                $cells['localize'] = '<a href="#" onclick="'.htmlspecialchars($onClick).'">' .
-                                       t3lib_iconWorks::getSpriteIcon('actions-localize', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.xml:localize', TRUE))) .
+                                       t3lib_iconWorks::getSpriteIcon('actions-document-localize', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.xml:localize', TRUE))) .
                          '</a>';
                        }
                }
@@ -694,7 +694,7 @@ class t3lib_TCEforms_inline {
                        // If the record is edit-locked by another user, we will show a little warning sign:
                if ($lockInfo=t3lib_BEfunc::isRecordLocked($foreign_table,$rec['uid'])) {
                        $cells['locked']='<a href="#" onclick="'.htmlspecialchars('alert('.$GLOBALS['LANG']->JScharCode($lockInfo['msg']).');return false;').'">'.
-                                       t3lib_iconWorks::getSpriteIcon('status-record-warning', array('title' => htmlspecialchars($lockInfo['msg']))) . 
+                                       t3lib_iconWorks::getSpriteIcon('status-record-warning', array('title' => htmlspecialchars($lockInfo['msg']))) .
                                        '</a>';
                }
 
@@ -979,7 +979,7 @@ class t3lib_TCEforms_inline {
         * @return      void
         */
        public function processAjaxRequest($params, $ajaxObj) {
-               
+
                $ajaxArguments = t3lib_div::_GP('ajax');
                $ajaxIdParts = explode('::', $GLOBALS['ajaxID'], 2);
 
@@ -1319,7 +1319,7 @@ class t3lib_TCEforms_inline {
                        // Return the JSON array:
                return $jsonArray;
        }
-       
+
 
        /**
         * Generates a JSON array which executes the changes and thus updates the forms view.
index 26ab10c..74b1dd9 100644 (file)
Binary files a/typo3/gfx/legend.gif and b/typo3/gfx/legend.gif differ
index 2602661..5c17aec 100644 (file)
@@ -126,7 +126,7 @@ class tx_reports_reports_Status implements tx_reports_Report {
                                tx_reports_reports_status_Status::ERROR   => 'error',
                        );
 
-                       $icon[tx_reports_reports_status_Status::WARNING] = t3lib_iconWorks::getSpriteIcon('status-warning');
+                       $icon[tx_reports_reports_status_Status::WARNING] = t3lib_iconWorks::getSpriteIcon('status-dialog-warning');
                        $icon[tx_reports_reports_status_Status::ERROR] = t3lib_iconWorks::getSpriteIcon('status-dialog-error');
                        $messages = '';
                        $headerIcon = '';
@@ -142,7 +142,7 @@ class tx_reports_reports_Status implements tx_reports_Report {
                                        '###CONTENT###' => $status->getMessage(),
                                ));
                        }
-                       if ($sectionSeverity > 0) {
+                       if ($sectionSeverity > 0) {t3lib_div::debug($sectionSeverity);
                                $headerIcon = $icon[$sectionSeverity];
                        }
                        $content .= '<h2 id="' . $id . '" class="section-header ' . $collapsedClass . '">' . $headerIcon . $provider . '</h2>