Replaces all IconUtility::getSpriteIcon calls for the icon
actions-document-select with the new IconFactory.
Change-Id: Ibbaef99faf0b3103ce526ad849d677162e8ce7f3
Resolves: #68870
Releases: master
Reviewed-on: http://review.typo3.org/42418
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
'actions-document-new' => array(
'provider' => FontawesomeIconProvider::class,
'options' => array(
'actions-document-new' => array(
'provider' => FontawesomeIconProvider::class,
'options' => array(
'name' => 'clipboard',
)
),
'name' => 'clipboard',
)
),
+ 'actions-document-select' => array(
+ 'provider' => FontawesomeIconProvider::class,
+ 'options' => array(
+ 'name' => 'check-square-o',
+ )
+ ),
'actions-document-view' => array(
'provider' => FontawesomeIconProvider::class,
'options' => array(
'actions-document-view' => array(
'provider' => FontawesomeIconProvider::class,
'options' => array(
'actions-document-paste-after',
'actions-document-paste-into',
'actions-document-save',
'actions-document-paste-after',
'actions-document-paste-into',
'actions-document-save',
- 'actions-document-save-cleartranslationcache',
+ 'actions-document-save-cleartranslationcache', // Not used in core!
'actions-document-save-close',
'actions-document-save-new',
'actions-document-save-close',
'actions-document-save-new',
- 'actions-document-save-translation',
+ 'actions-document-save-translation', // Not used in core!
'actions-document-save-view',
'actions-document-select',
'actions-document-synchronize',
'actions-document-save-view',
'actions-document-select',
'actions-document-synchronize',
$cells[] = $this->linkClipboardHeaderIcon(IconUtility::getSpriteIcon('actions-edit-copy', array('title' => $this->getLanguageService()->getLL('clip_selectMarked', TRUE))), $table, 'setCB');
$cells[] = $this->linkClipboardHeaderIcon(IconUtility::getSpriteIcon('actions-edit-delete', array('title' => $this->getLanguageService()->getLL('clip_deleteMarked'))), $table, 'delete', $this->getLanguageService()->getLL('clip_deleteMarkedWarning'));
$onClick = 'checkOffCB(\'' . implode(',', $this->CBnames) . '\', this); return false;';
$cells[] = $this->linkClipboardHeaderIcon(IconUtility::getSpriteIcon('actions-edit-copy', array('title' => $this->getLanguageService()->getLL('clip_selectMarked', TRUE))), $table, 'setCB');
$cells[] = $this->linkClipboardHeaderIcon(IconUtility::getSpriteIcon('actions-edit-delete', array('title' => $this->getLanguageService()->getLL('clip_deleteMarked'))), $table, 'delete', $this->getLanguageService()->getLL('clip_deleteMarkedWarning'));
$onClick = 'checkOffCB(\'' . implode(',', $this->CBnames) . '\', this); return false;';
- $cells[] = '<a class="btn btn-default" rel="" href="#" onclick="' . htmlspecialchars($onClick) . '" title="' . $this->getLanguageService()->getLL('clip_markRecords', TRUE) . '">' . IconUtility::getSpriteIcon('actions-document-select') . '</a>';
+ $cells[] = '<a class="btn btn-default" rel="" href="#" onclick="' . htmlspecialchars($onClick) . '" title="' . $this->getLanguageService()->getLL('clip_markRecords', TRUE) . '">' . $this->iconFactory->getIcon('actions-document-select', Icon::SIZE_SMALL) . '</a>';
}
$theData[$v] = implode('', $cells);
} else {
}
$theData[$v] = implode('', $cells);
} else {
. 'title="' . $labelImportSelection . '">'
. $this->iconFactory->getIcon('actions-document-import-t3d', Icon::SIZE_SMALL)
. $labelImportSelection . '</a> '
. 'title="' . $labelImportSelection . '">'
. $this->iconFactory->getIcon('actions-document-import-t3d', Icon::SIZE_SMALL)
. $labelImportSelection . '</a> '
- . '<a href="#" onclick="BrowseLinks.Selector.toggle()">'
- . IconUtility::getSpriteIcon('actions-document-select', array('title' => $labelToggleSelection))
+ . '<a href="#" onclick="BrowseLinks.Selector.toggle()" title="' . $labelToggleSelection . '">'
+ . $this->iconFactory->getIcon('actions-document-select', Icon::SIZE_SMALL)
. $labelToggleSelection . '</a>' . '</div>';
if (!$noThumbsInEB && $this->selectedFolder) {
// MENU-ITEMS, fetching the setting for thumbnails from File>List module:
. $labelToggleSelection . '</a>' . '</div>';
if (!$noThumbsInEB && $this->selectedFolder) {
// MENU-ITEMS, fetching the setting for thumbnails from File>List module:
$onClick = htmlspecialchars(('checkOffCB(\'' . implode(',', $this->CBnames) . '\', this); return false;'));
$cells['markAll'] = '<a class="btn btn-default" rel="" href="#" onclick="' . $onClick . '" title="'
. $lang->getLL('clip_markRecords', TRUE) . '">'
$onClick = htmlspecialchars(('checkOffCB(\'' . implode(',', $this->CBnames) . '\', this); return false;'));
$cells['markAll'] = '<a class="btn btn-default" rel="" href="#" onclick="' . $onClick . '" title="'
. $lang->getLL('clip_markRecords', TRUE) . '">'
- . IconUtility::getSpriteIcon('actions-document-select') . '</a>';
+ . $this->iconFactory->getIcon('actions-document-select', Icon::SIZE_SMALL) . '</a>';
} else {
$cells['empty'] = '';
}
} else {
$cells['empty'] = '';
}
// Header row
$table[] =
'<thead><tr>'
// Header row
$table[] =
'<thead><tr>'
- . '<th><a href="#" id="checkall" title="' . $this->getLanguageService()->getLL('label.checkAll', TRUE) . '" class="icon">' . IconUtility::getSpriteIcon('actions-document-select') . '</a></th>'
+ . '<th><a href="#" id="checkall" title="' . $this->getLanguageService()->getLL('label.checkAll', TRUE) . '" class="icon">' . $this->iconFactory->getIcon('actions-document-select', Icon::SIZE_SMALL) . '</a></th>'
. '<th>' . $this->getLanguageService()->getLL('label.id', TRUE). '</th>'
. '<th>' . $this->getLanguageService()->getLL('task', TRUE). '</th>'
. '<th>' . $this->getLanguageService()->getLL('label.type', TRUE). '</th>'
. '<th>' . $this->getLanguageService()->getLL('label.id', TRUE). '</th>'
. '<th>' . $this->getLanguageService()->getLL('task', TRUE). '</th>'
. '<th>' . $this->getLanguageService()->getLL('label.type', TRUE). '</th>'