[TASK] Remove unused refresh/edit/required icons from gfx/ 32/40732/2
authorBenjamin Mack <benni@typo3.org>
Mon, 29 Jun 2015 20:58:36 +0000 (22:58 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 29 Jun 2015 21:29:53 +0000 (23:29 +0200)
Releases: master
Resolves: #67823
Change-Id: I819844c20d1bac0070a66e6bfaf91ba9e72cb4cd
Reviewed-on: http://review.typo3.org/40732
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/gfx/edit2_d.gif [deleted file]
typo3/gfx/edit2_h.gif [deleted file]
typo3/gfx/refresh.gif [deleted file]
typo3/gfx/refresh_h.gif [deleted file]
typo3/gfx/refresh_n.gif [deleted file]
typo3/gfx/required_h.gif [deleted file]
typo3/sysext/backend/Classes/Controller/Wizard/TableController.php
typo3/sysext/backend/Classes/Form/FormEngine.php
typo3/sysext/compatibility6/Classes/Controller/Wizard/FormsController.php
typo3/sysext/lowlevel/Classes/View/DatabaseIntegrityView.php

diff --git a/typo3/gfx/edit2_d.gif b/typo3/gfx/edit2_d.gif
deleted file mode 100644 (file)
index 89e12d7..0000000
Binary files a/typo3/gfx/edit2_d.gif and /dev/null differ
diff --git a/typo3/gfx/edit2_h.gif b/typo3/gfx/edit2_h.gif
deleted file mode 100644 (file)
index d3c5bda..0000000
Binary files a/typo3/gfx/edit2_h.gif and /dev/null differ
diff --git a/typo3/gfx/refresh.gif b/typo3/gfx/refresh.gif
deleted file mode 100644 (file)
index 880ea85..0000000
Binary files a/typo3/gfx/refresh.gif and /dev/null differ
diff --git a/typo3/gfx/refresh_h.gif b/typo3/gfx/refresh_h.gif
deleted file mode 100644 (file)
index 3f6f772..0000000
Binary files a/typo3/gfx/refresh_h.gif and /dev/null differ
diff --git a/typo3/gfx/refresh_n.gif b/typo3/gfx/refresh_n.gif
deleted file mode 100644 (file)
index b481560..0000000
Binary files a/typo3/gfx/refresh_n.gif and /dev/null differ
diff --git a/typo3/gfx/required_h.gif b/typo3/gfx/required_h.gif
deleted file mode 100644 (file)
index ae87ca9..0000000
Binary files a/typo3/gfx/required_h.gif and /dev/null differ
index 685b380..7d970ca 100644 (file)
@@ -196,7 +196,7 @@ class TableController extends AbstractWizardController {
                        // Save & Close
                        $buttons['save_close'] = '<input type="image" class="c-inputButton" name="saveandclosedok"' . IconUtility::skinImg($this->doc->backPath, 'gfx/saveandclosedok.gif') . ' title="' . $this->getLanguageService()->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveCloseDoc', TRUE) . '" />';
                        // Reload
-                       $buttons['reload'] = '<input type="image" class="c-inputButton" name="_refresh"' . IconUtility::skinImg($this->doc->backPath, 'gfx/refresh_n.gif') . ' title="' . $this->getLanguageService()->getLL('forms_refresh', TRUE) . '" />';
+                       $buttons['reload'] = '<button class="c-inputButton" name="_refresh">' . IconUtility::getSpriteIcon('actions-system-refresh', array('title' => $this->getLanguageService()->getLL('forms_refresh', TRUE))) . '</button>';
                }
                return $buttons;
        }
index 565cc77..b5756e1 100644 (file)
@@ -1283,9 +1283,6 @@ class FormEngine {
                        ';
 
                        $out .= '
-                       TBE_EDITOR.images.req.src = "' . IconUtility::skinImg('', 'gfx/required_h.gif', '', 1) . '";
-                       TBE_EDITOR.images.clear.src = "clear.gif";
-
                        TBE_EDITOR.formname = "' . $formname . '";
                        TBE_EDITOR.formnameUENC = "' . rawurlencode($formname) . '";
                        TBE_EDITOR.backPath = "";
index 207405f..9d34407 100644 (file)
@@ -248,7 +248,7 @@ class FormsController extends \TYPO3\CMS\Backend\Controller\Wizard\AbstractWizar
                        // Save & Close
                        $buttons['save_close'] = '<input type="image" class="c-inputButton" name="saveandclosedok"' . IconUtility::skinImg($this->doc->backPath, 'gfx/saveandclosedok.gif') . ' title="' . $this->getLanguageService()->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveCloseDoc', TRUE) . '" />';
                        // Reload
-                       $buttons['reload'] = '<input type="image" class="c-inputButton" name="_refresh"' . IconUtility::skinImg('', 'gfx/refresh_n.gif') . ' title="' . $this->getLanguageService()->getLL('forms_refresh', TRUE) . '" />';
+                       $buttons['reload'] = '<button class="c-inputButton" name="_refresh">' . IconUtility::getSpriteIcon('actions-system-refresh', array('title' => $this->getLanguageService()->getLL('forms_refresh', TRUE))) . '</button>';
                }
                return $buttons;
        }
index 00b8f6f..a9f8aba 100644 (file)
@@ -391,7 +391,7 @@ class DatabaseIntegrityView extends BaseScriptClass {
                                if (is_array($admin->lRecords[$t])) {
                                        foreach ($admin->lRecords[$t] as $data) {
                                                if (!GeneralUtility::inList($admin->lostPagesList, $data['pid'])) {
-                                                       $lr .= '<div class="record"><a href="' . htmlspecialchars((BackendUtility::getModuleUrl('system_dbint') . '&SET[function]=records&fixLostRecords_table=' . $t . '&fixLostRecords_uid=' . $data['uid'])) . '"><img src="' . $GLOBALS['BACK_PATH'] . 'gfx/required_h.gif" width="10" height="10" title="' . $lang->getLL('fixLostRecord') . '"></a>uid:' . $data['uid'] . ', pid:' . $data['pid'] . ', ' . htmlspecialchars(GeneralUtility::fixed_lgd_cs(strip_tags($data['title']), 20)) . '</div>';
+                                                       $lr .= '<div class="record"><a href="' . htmlspecialchars((BackendUtility::getModuleUrl('system_dbint') . '&SET[function]=records&fixLostRecords_table=' . $t . '&fixLostRecords_uid=' . $data['uid'])) . '">' . IconUtility::getSpriteIcon('status-dialog-error', array('title' => $lang->getLL('fixLostRecord'))) . '</a>uid:' . $data['uid'] . ', pid:' . $data['pid'] . ', ' . htmlspecialchars(GeneralUtility::fixed_lgd_cs(strip_tags($data['title']), 20)) . '</div>';
                                                } else {
                                                        $lr .= '<div class="record-noicon">uid:' . $data['uid'] . ', pid:' . $data['pid'] . ', ' . htmlspecialchars(GeneralUtility::fixed_lgd_cs(strip_tags($data['title']), 20)) . '</div>';
                                                }