60 $this->constants = array($configTemplate,
'');
62 $theConstants = $this->generateConfig_constants();
63 $this->ext_localGfxPrefix = $pathAbs;
64 $this->ext_localWebGfxPrefix = $backPath . $pathRel;
65 $this->ext_backPath = $backPath;
79 $this->flatSetup = array();
82 $this->flatSetup = $temp;
83 foreach ($theConstants as $k => $p) {
84 if (isset($this->objReg[$k])) {
85 $theConstants[$k][
'value'] = $this->ext_realValues[$k];
89 $this->categories = array();
128 public function ext_getForm($cat, $theConstants, $script =
'', $addFields =
'', $extKey =
'', $addFormTag = TRUE) {
133 function uFormUrl(aname) { 138 $content .=
'<form action="' . htmlspecialchars(($script ?: \
TYPO3\CMS\Core\Utility\
GeneralUtility::linkThisScript())) .
'" name="' . $this->ext_CEformName .
'" method="post" enctype="' .
$GLOBALS[
'TYPO3_CONF_VARS'][
'SYS'][
'form_enctype'] .
'">';
140 $content .= $addFields;
141 $content .= $printFields;
142 $content .=
'<input type="submit" name="submit" value="' .
$GLOBALS[
'LANG']->sL(
'LLL:EXT:lang/locallang_tsfe.xlf:update', TRUE) .
'" id="configuration-submit-' . htmlspecialchars($extKey) .
'" />';
144 $content .= $example ?
'<hr/>' . $example :
'';
155 if ($this->helpConfig[
'imagetag'] || $this->helpConfig[
'description'] || $this->helpConfig[
'header']) {
156 $out =
'<div align="center">' . $this->helpConfig[
'imagetag'] .
'</div><BR>' . ($this->helpConfig[
'description'] ? implode(explode(
'//', $this->helpConfig[
'description']),
'<BR>') .
'<BR>' :
'') . ($this->helpConfig[
'bulletlist'] ?
'<ul><li>' . implode(explode(
'//', $this->helpConfig[
'bulletlist']),
'<li>') .
'</ul>' :
'<BR>');
170 $parseObj->parse(implode(LF, $this->ext_incomingValues));
171 $arr2 = $parseObj->setup;
192 $iFile = $this->ext_localGfxPrefix . $imgConf;
193 $tFile = $this->ext_localWebGfxPrefix . $imgConf;
194 $imageInfo = @getImagesize($iFile);
195 return '<img src="' . $tFile .
'" ' . $imageInfo[3] .
'>';
206 $fN =
'data[' . $params[
'name'] .
']';
207 $fV = ($params[
'value'] = isset($this->ext_realValues[$params[
'name']]) ? $this->ext_realValues[$params[
'name']] : $params[
'default_value']);
210 if (preg_match(
'/^\\{[\\$][a-zA-Z0-9\\.]*\\}$/', trim($fV), $reg)) {
213 $fV = htmlspecialchars($fV);
214 return array($fN, $fV, $params);
226 $this->ext_incomingValues[$key] = $key .
'=' . $var;
flattenSetup($setupArray, $prefix, $resourceFlag)
static mergeRecursiveWithOverrule(array &$original, array $overrule, $addKeys=TRUE, $includeEmptyValues=TRUE, $enableUnsetFeature=TRUE)
static skinImg($backPath, $src, $wHattribs='', $outputMode=0)
ext_categorizeEditableConstants($editConstArray)
static quoteJSvalue($value)
static makeInstance($className)
ext_getCategoryLabelArray()
static linkThisScript(array $getParams=array())
ext_printFields($theConstants, $category)
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]
ext_getTSCE_config($category)
static wrapJS($string, $linebreak=TRUE)