Project

General

Profile

Bug #24819 ยป 17321.patch

Administrator Admin, 2011-01-26 01:05

View differences:

t3lib/class.t3lib_tsstyleconfig.php (revision )
* @param string $extKey
* @return string the form
*/
function ext_getForm($cat, $theConstants, $script = "", $addFields = "", $extKey = "") {
function ext_getForm($cat, $theConstants, $script = "", $addFields = "", $extKey = "", $addFormTag = TRUE) {
$this->ext_makeHelpInformationForCategory($cat);
$printFields = trim($this->ext_printFields($theConstants, $cat));
......
document.' . $this->ext_CEformName . '.action = "' . t3lib_div::linkThisScript() . '#"+aname;
}
');
if ($addFormTag) {
$content .= '<form action="' . htmlspecialchars($script ? $script : t3lib_div::linkThisScript()) . '" name="' . $this->ext_CEformName . '" method="post" enctype="' . $GLOBALS['TYPO3_CONF_VARS']['SYS']['form_enctype'] . '">';
$content .= '<form action="' . htmlspecialchars($script ? $script : t3lib_div::linkThisScript()) . '" name="' . $this->ext_CEformName . '" method="post" enctype="' . $GLOBALS['TYPO3_CONF_VARS']['SYS']['form_enctype'] . '">';
}
$content .= $addFields;
$content .= $printFields;
$content .= '<input type="Submit" name="submit" value="' .
$content .= '<input type="submit" name="submit" value="' .
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_tsfe.xml:update', TRUE) . '" id="configuration-submit-' . htmlspecialchars($extKey) . '" />';
$example = $this->ext_displayExample();
    (1-1/1)