Project

General

Profile

Bug #18712 » bug_8270_class.shortcutmenu.diff

Administrator Admin, 2008-04-27 14:50

View differences:

typo3/classes/class.shortcutmenu.php 2008-04-27 00:25:54.000000000 +0200
* @return string workspace selector as HTML select
*/
public function render() {
$title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.shortcut');
$this->addJavascriptToBackend();
$shortcutMenu = array();
$shortcutMenu[] = '<a href="#" class="toolbar-item"><img'.t3lib_iconWorks::skinImg($this->backPath, 'gfx/toolbar_shortcut.png', 'width="16" height="16"').' title="Shortcuts" alt="" /></a>';
$shortcutMenu[] = '<a href="#" class="toolbar-item"><img'.t3lib_iconWorks::skinImg($this->backPath, 'gfx/toolbar_shortcut.png', 'width="16" height="16"').' title="'.htmlspecialchars($title).'" alt="" /></a>';
$shortcutMenu[] = '<div class="toolbar-item-menu" style="display: none;">';
$shortcutMenu[] = $this->renderMenu();
$shortcutMenu[] = '</div>';
(3-3/5)