[TYPO3-dev] Edit panel icons and languages from my own extension

tapio tapio.markula at dnainternet.net
Wed Jan 11 09:54:28 CET 2006


Hi

I would like to get language labels from my
own extension to two core files

class.ux_tslib_cobj.php (XCLASS for class.tslib_content.php)

edit panel

if (isset($allow['edit']))	{
						if($tmpTSc0['properties']['textMode']==0)
						$link='<img class="button-edit2" 
src="t3lib/gfx/fe-icons/edit2.gif" border="0" 
title="'.$BE_USER->extGetLL('p_editRecord').'" align="top" alt="" 
title="" />';else
						$link= '<span 
class="text-edit2">'.what_function_here('LLL:EXT:tm_contentaccess/locallang.php:p_editRecord').'</span>';
						
					 
$panel.=$this->editPanelLinkWrap($link,$formName,'edit',$currentRecord);

and exactly the same way to class.ux_t3lib_tsfebeuserauth.php.

But $BE_USER->extGetLL didn't work.

The purpose is to give text alternatives for links in edit panels.
					
						




More information about the TYPO3-dev mailing list