Index: t3lib/class.t3lib_tsstyleconfig.php =================================================================== --- t3lib/class.t3lib_tsstyleconfig.php (revision 8742) +++ t3lib/class.t3lib_tsstyleconfig.php (revision ) @@ -1,29 +1,29 @@ tt_track = 0; // Do not log time-performance information + $this->tt_track = 0; // Do not log time-performance information - $this->constants=array($configTemplate,""); + $this->constants = array($configTemplate, ""); - $theConstants = $this->generateConfig_constants(); // The editable constants are returned in an array. + $theConstants = $this->generateConfig_constants(); // The editable constants are returned in an array. - $this->ext_localGfxPrefix=$pathAbs; + $this->ext_localGfxPrefix = $pathAbs; - $this->ext_localWebGfxPrefix=$backPath.$pathRel; + $this->ext_localWebGfxPrefix = $backPath . $pathRel; $this->ext_backPath = $backPath; return $theConstants; @@ -114,23 +104,23 @@ * @param [type] $valueArray: ... * @return [type] ... */ - function ext_setValueArray($theConstants,$valueArray) { + function ext_setValueArray($theConstants, $valueArray) { $temp = $this->flatSetup; - $this->flatSetup = Array(); + $this->flatSetup = array(); - $this->flattenSetup($valueArray,"",""); + $this->flattenSetup($valueArray, "", ""); $this->objReg = $this->ext_realValues = $this->flatSetup; $this->flatSetup = $temp; foreach ($theConstants as $k => $p) { - if (isset($this->objReg[$k])) { + if (isset($this->objReg[$k])) { $theConstants[$k]["value"] = $this->ext_realValues[$k]; } } - $this->categories=array(); // Reset the default pool of categories. + $this->categories = array(); // Reset the default pool of categories. - $this->ext_categorizeEditableConstants($theConstants); // The returned constants are sorted in categories, that goes into the $this->categories array + $this->ext_categorizeEditableConstants($theConstants); // The returned constants are sorted in categories, that goes into the $this->categories array return $theConstants; } @@ -140,7 +130,7 @@ * * @return [type] ... */ - function ext_getCategoriesForModMenu() { + function ext_getCategoriesForModMenu() { return $this->ext_getCategoryLabelArray(); } @@ -150,7 +140,7 @@ * @param [type] $cat: ... * @return [type] ... */ - function ext_makeHelpInformationForCategory($cat) { + function ext_makeHelpInformationForCategory($cat) { return $this->ext_getTSCE_config($cat); } @@ -163,23 +153,23 @@ * @param [type] $addFields: ... * @return [type] ... */ - function ext_getForm($cat,$theConstants,$script="",$addFields="") { + function ext_getForm($cat, $theConstants, $script = "", $addFields = "") { $this->ext_makeHelpInformationForCategory($cat); - $printFields = trim($this->ext_printFields($theConstants,$cat)); + $printFields = trim($this->ext_printFields($theConstants, $cat)); - $content=''; + $content = ''; $content .= t3lib_div::wrapJS(' function uFormUrl(aname) { document.' . $this->ext_CEformName . '.action = "' . t3lib_div::linkThisScript() . '#"+aname; } '); $content .= '