Project

General

Profile

Bug #17932 » 20080114_csh_popup-bug7028.diff

Administrator Admin, 2008-01-14 10:44

View differences:

t3lib/class.t3lib_tceforms.php 2008-01-14 10:36:16.000000000 +0100
/**
* Contains TYPO3 Core Form generator - AKA "TCEforms"
*
* $Id: class.t3lib_tceforms.php 2875 2008-01-09 10:06:33Z bennimack $
* $Id$
* Revised for TYPO3 3.6 August/2003 by Kasper Skaarhoj
* XHTML compliant
*
......
'title' => $fieldTitle
)));
$aOnClick = 'vHWin=window.open(\''.$this->backPath.'view_help.php?ffID=' . $params . '\',\'viewFieldHelp\',\'height=400,width=600,status=0,menubar=0,scrollbars=1\');vHWin.focus();return false;';
return '<span><a class="typo3-csh-link" href="#" onclick="'.htmlspecialchars($aOnClick).'">'.'<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/helpbubble.gif','width="14" height="14"').' hspace="2" border="0" class="typo3-csh-icon absmiddle"'.($GLOBALS['CLIENT']['FORMSTYLE']?' style="cursor:help;"':'').' alt="" /><span class="typo3-csh-inline">'.$value.'</span></a></span>';
return '<a href="#" onclick="'.htmlspecialchars($aOnClick).'">'.
'<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/helpbubble.gif','width="14" height="14"').' hspace="2" border="0" class="absmiddle"'.($GLOBALS['CLIENT']['FORMSTYLE']?' style="cursor:help;"':'').' alt="" />'.
'</a>';
}
}
return '';
(2-2/3)