+
+ /**
+ * Get the HTML data required for a bulk selection of files of the TYPO3 Element Browser.
+ *
+ * @param integer $filesCount: Number of files currently displayed
+ * @return string HTML data required for a bulk selection of files - if $filesCount is 0, nothing is returned
+ */
+ function getBulkSelector($filesCount) {
+ if ($filesCount) {
+ $labelToggleSelection = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_browse_links.php:toggleSelection',1);
+ $labelImportSelection = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_browse_links.php:importSelection',1);
+
+ $out = $this->doc->spacer(15).'<div>' .
+ '<a href="#" onclick="BrowseLinks.Selector.toggle()">' .
+ '<img'.t3lib_iconWorks::skinImg($BACK_PATH,'gfx/clip_select.gif','width="12" height="12"').' title="'.$labelToggleSelection.'" alt="" /> ' .
+ $labelToggleSelection.'</a>'.$this->doc->spacer(5) .
+ '<a href="#" onclick="BrowseLinks.Selector.handle()">' .
+ '<img'.t3lib_iconWorks::skinImg($BACK_PATH,'gfx/import.gif','width="12" height="12"').' title="'.$labelImportSelection.'" alt="" /> ' .
+ $labelImportSelection.'</a>' .
+ '</div>'.$this->doc->spacer(15);
+ }
+ return $out;
+ }