Project

General

Profile

Bug #18228 » 20080217_noshortcut.diff

Administrator Admin, 2008-02-17 13:59

View differences:

typo3/classes/class.shortcutmenu.php (working copy)
$shortcutMenu[] = $shortcutGroup;
}
}
if(count($shortcutMenu) == 1) {
//no shortcut available
$icon = '<img'.t3lib_iconWorks::skinImg($backPath,'gfx/shortcut.gif','width="14" height="14"').' title="shortcut icon" alt="" />';
$shortcutMenu[] = '<tr><td style="padding:1px 2px;"><i>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.php:shortcutDescription').$icon.'</i></td></tr>';
}
$shortcutMenu[] = '</table>';
$compiledShortcutMenu = implode("\n", $shortcutMenu);
return $compiledShortcutMenu;
......
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/classes/class.shortcutmenu.php']);
}
?>
?>
typo3/sysext/lang/locallang_misc.xml (working copy)
</meta>
<data type="array">
<languageKey index="default" type="array">
<label index="shortcutDescription">There are no shortcuts available. You can create a shortcut by clicking on this icon:</label>
<label index="shortcut_edit">Edit</label>
<label index="shortcut_create">Create</label>
<label index="shortcut_editID">Edit/Search</label>
......
<label index="pageTree_filter">Filter</label>
</languageKey>
</data>
</T3locallang>
</T3locallang>
(1-1/2)