Project

General

Profile

Bug #18712 » bug_8270_class.backendsearch.php.diff

Administrator Admin, 2008-04-27 14:50

View differences:

typo3/classes/class.backendsearchmenu.php 2008-04-27 00:15:43.000000000 +0200
* @return string workspace selector as HTML select
*/
public function render() {
$title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.search');
$this->addJavascriptToBackend();
$searchMenu = array();
$searchMenu[] = '<a href="#" class="toolbar-item"><img'.t3lib_iconWorks::skinImg($this->backPath, 'gfx/magnifier.png', 'width="16" height="16"').' title="Search" alt="" /></a>';
$searchMenu[] = '<a href="#" class="toolbar-item"><img'.t3lib_iconWorks::skinImg($this->backPath, 'gfx/magnifier.png', 'width="16" height="16"').' title="'.htmlspecialchars($title).'" alt="" /></a>';
$searchMenu[] = '<div class="toolbar-item-menu" style="display: none;">';
$searchMenu[] = '<input type="text" id="search-query" name="search-query" value="" />';
(1-1/5)