Project

General

Profile

Bug #18712 » bug_8270_class.clearcachemenu.diff

Administrator Admin, 2008-04-27 14:50

View differences:

typo3/classes/class.clearcachemenu.php 2008-04-27 00:13:13.000000000 +0200
* @return string workspace selector as HTML select
*/
public function render() {
$title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:rm.clearCache_clearCache');
$this->addJavascriptToBackend();
$cacheMenu = array();
$cacheMenu[] = '<a href="#" class="toolbar-item"><img'.t3lib_iconWorks::skinImg($this->backPath, 'gfx/lightning.png', 'width="16" height="16"').' title="Clear Cache" alt="" /></a>';
$cacheMenu[] = '<a href="#" class="toolbar-item"><img'.t3lib_iconWorks::skinImg($this->backPath, 'gfx/lightning.png', 'width="16" height="16"').' title="'.htmlspecialchars($title).'" alt="" /></a>';
$cacheMenu[] = '<ul class="toolbar-item-menu" style="display: none;">';
(2-2/5)