[TASK] CGL FunctionCallArgumentSpacingNoSpaceAfterComma in /typo3/
authorRoland Waldner <most.wanted@gmx.at>
Tue, 12 Jun 2012 18:15:37 +0000 (20:15 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 14 Jun 2012 20:54:26 +0000 (22:54 +0200)
Change-Id: I2c01fbf6a18b672eae51e4aea8b65a8182bd770d
Resolves: #37972
Releases: 6.0
Reviewed-on: http://review.typo3.org/12001
Reviewed-by: Stefan Galinski
Tested-by: Stefan Galinski
Reviewed-by: Oliver Klee
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
16 files changed:
typo3/Bootstrap.php
typo3/alt_clickmenu.php
typo3/alt_doc.php
typo3/alt_shortcut.php
typo3/class.browse_links.php
typo3/class.show_rechis.inc
typo3/class.webpagetree.php
typo3/show_item.php
typo3/template.php
typo3/view_help.php
typo3/wizard_colorpicker.php
typo3/wizard_forms.php
typo3/wizard_list.php
typo3/wizard_rte.php
typo3/wizard_table.php
typo3/wizard_tsconfig.php

index 151965e..dd9e79b 100644 (file)
@@ -271,14 +271,14 @@ class Typo3_Bootstrap {
                        if ($GLOBALS['TYPO3_CONF_VARS']['BE']['lockSSL'] == 3) {
                                $requestStr = substr(t3lib_div::getIndpEnv('TYPO3_REQUEST_SCRIPT'), strlen(t3lib_div::getIndpEnv('TYPO3_SITE_URL') . TYPO3_mainDir));
                                if ($requestStr === 'index.php' && !t3lib_div::getIndpEnv('TYPO3_SSL')) {
-                                       list(,$url) = explode('://', t3lib_div::getIndpEnv('TYPO3_REQUEST_URL'), 2);
+                                       list(, $url) = explode('://', t3lib_div::getIndpEnv('TYPO3_REQUEST_URL'), 2);
                                        list($server, $address) = explode('/', $url, 2);
                                        header('Location: https://' . $server . $sslPortSuffix . '/' . $address);
                                        exit;
                                }
                        } elseif (!t3lib_div::getIndpEnv('TYPO3_SSL')) {
                                if (intval($GLOBALS['TYPO3_CONF_VARS']['BE']['lockSSL']) === 2) {
-                                       list(,$url) = explode('://', t3lib_div::getIndpEnv('TYPO3_SITE_URL') . TYPO3_mainDir, 2);
+                                       list(, $url) = explode('://', t3lib_div::getIndpEnv('TYPO3_SITE_URL') . TYPO3_mainDir, 2);
                                        list($server, $address) = explode('/', $url, 2);
                                        header('Location: https://' . $server . $sslPortSuffix . '/' . $address);
                                } else {
index ff1a0d1..8522780 100644 (file)
@@ -913,7 +913,7 @@ class clickMenu {
                $editOnClick = 'if(' . $loc . '){' . $loc . ".location.href=top.TS.PATH_typo3+'".$script.'?target=' . rawurlencode($path) . ($noReturnUrl ? "'" : "&returnUrl='+top.rawurlencode(" . $this->frameLocation($loc . '.document') . '.pathname+' . $this->frameLocation($loc . '.document') . '.search)') . ';}';
                return $this->linkItem(
                        $this->label($type),
-                       $this->excludeIcon('<img'.t3lib_iconWorks::skinImg($this->PH_backPath,'gfx/'.$image, 'width="12" height="12"').' alt="" />'),
+                       $this->excludeIcon('<img' . t3lib_iconWorks::skinImg($this->PH_backPath, 'gfx/' . $image, 'width="12" height="12"') . ' alt="" />'),
                        $editOnClick . 'top.nav.refresh();return hideCM();'
                );
        }
@@ -936,7 +936,7 @@ class clickMenu {
 
                        return $this->linkItem(
                                $this->label($type),
-                               $this->excludeIcon('<img'.t3lib_iconWorks::skinImg($this->PH_backPath,'gfx/'.$image, 'width="12" height="12"').' alt="" />'),
+                               $this->excludeIcon('<img' . t3lib_iconWorks::skinImg($this->PH_backPath, 'gfx/' . $image, 'width="12" height="12"') . ' alt="" />'),
                                $editOnClick . 'return hideCM();'
                                );
                } else {
@@ -1167,10 +1167,10 @@ class clickMenu {
                                        <tr>
 
                                                        <!-- Items: -->
-                                               <td class="c-item">'.
+                                               <td class="c-item">' .
                                                        implode('</td>
-                                               <td><img'.t3lib_iconWorks::skinImg($this->PH_backPath, 'gfx/acm_spacer2.gif', 'width="8" height="12"').' alt="" /></td>
-                                               <td class="c-item">',$this->menuItemsForTopFrame($menuItems)).
+                                               <td><img' . t3lib_iconWorks::skinImg($this->PH_backPath, 'gfx/acm_spacer2.gif', 'width="8" height="12"') . ' alt="" /></td>
+                                               <td class="c-item">', $this->menuItemsForTopFrame($menuItems)) .
                                                '</td>
 
                                                        <!-- Close button: -->
index 24c7763..c9cb99f 100644 (file)
@@ -868,7 +868,7 @@ class SC_alt_doc {
                        if ($this->firstEl['cmd'] != 'new' && t3lib_utility_Math::canBeInterpretedAsInteger($this->firstEl['uid'])) {
 
                                        // Delete:
-                               if ($this->firstEl['deleteAccess'] && !$GLOBALS['TCA'][$this->firstEl['table']]['ctrl']['readOnly'] && !$this->getNewIconMode($this->firstEl['table'],'disableDelete')) {
+                               if ($this->firstEl['deleteAccess'] && !$GLOBALS['TCA'][$this->firstEl['table']]['ctrl']['readOnly'] && !$this->getNewIconMode($this->firstEl['table'], 'disableDelete')) {
                                        $aOnClick = 'return deleteRecord(\''.$this->firstEl['table'].'\',\''.$this->firstEl['uid'].'\', unescape(\''.rawurlencode($this->retUrl).'\'));';
                                        $buttons['delete'] = '<a href="#" onclick="' . htmlspecialchars($aOnClick) . '" title="' . $GLOBALS['LANG']->getLL('deleteItem', TRUE) . '">' .
                                                        t3lib_iconWorks::getSpriteIcon('actions-edit-delete') .
@@ -1000,7 +1000,7 @@ class SC_alt_doc {
                if ($this->returnUrl == 'close.html' || !$GLOBALS['BE_USER']->mayMakeShortcut()) {
                        return '';
                }
-               return $this->doc->makeShortcutIcon('returnUrl,edit,defVals,overrideVals,columnsOnly,returnNewPageId,editRegularContentFromId,disHelp,noView',implode(',', array_keys($this->MOD_MENU)), $this->MCONF['name'], 1);
+               return $this->doc->makeShortcutIcon('returnUrl,edit,defVals,overrideVals,columnsOnly,returnNewPageId,editRegularContentFromId,disHelp,noView', implode(',', array_keys($this->MOD_MENU)), $this->MCONF['name'], 1);
        }
 
        /**
index 64d7e50..79c8eb8 100644 (file)
@@ -383,7 +383,7 @@ class SC_alt_shortcut {
                if (!$this->editLoaded && t3lib_extMgm::isLoaded('cms')) {
                                $editIdCode = '<td nowrap="nowrap">'.$GLOBALS['LANG']->getLL('bookmark_editID', 1).': <input type="text" value="'.($this->editError?htmlspecialchars($this->editPage):'').'" name="editPage"'.$this->doc->formWidth(15).' onchange="submitEditPage(this.value);" />'.
                                        ($this->editError?'&nbsp;<strong><span class="typo3-red">'.htmlspecialchars($this->editError).'</span></strong>':'').
-                                       (is_array($this->theEditRec)?'&nbsp;<strong>'.$GLOBALS['LANG']->getLL('bookmark_loadEdit', 1).' \''.t3lib_BEfunc::getRecordTitle('pages', $this->theEditRec,TRUE).'\'</strong> ('.htmlspecialchars($this->editPath).')':'').
+                                       (is_array($this->theEditRec) ? '&nbsp;<strong>' . $GLOBALS['LANG']->getLL('bookmark_loadEdit', 1) . ' \'' . t3lib_BEfunc::getRecordTitle('pages', $this->theEditRec, TRUE) . '\'</strong> (' . htmlspecialchars($this->editPath) . ')' : '') .
                                        ($this->searchFor?'&nbsp;'.$GLOBALS['LANG']->getLL('bookmark_searchFor', 1).' <strong>\''.htmlspecialchars($this->searchFor).'\'</strong>':'').
                                        '</td>';
                } else $editIdCode = '';
index 476724b..ef93e7f 100644 (file)
@@ -603,7 +603,7 @@ class browse_links {
         * 6: IRRE uniqueness: name of function in opener window that performs some additional(!) action, eg. "inline.setUniqueElement"
         * 7: IRRE uniqueness: name of function in opener window that performs action instead of using addElement/insertElement, eg. "inline.importElement"
         *
-        * $pArr = explode('|',$this->bparams);
+        * $pArr = explode('|', $this->bparams);
         * $formFieldName = $pArr[0];
         * $allowedTablesOrFileTypes = $pArr[3];
         */
@@ -1178,7 +1178,7 @@ class browse_links {
                        // Initializing the action value, possibly removing blinded values etc:
                $allowedItems = array_diff(
                        explode(',', 'page,file,folder,url,mail,spec'),
-                       t3lib_div::trimExplode(',', $this->thisConfig['blindLinkOptions'],1)
+                       t3lib_div::trimExplode(',', $this->thisConfig['blindLinkOptions'], 1)
                );
                $allowedItems = array_diff(
                        $allowedItems,
@@ -1381,7 +1381,14 @@ class browse_links {
                                                                // Adding link to menu of user defined links:
                                                        $subcats[$k2i] = '
                                                                <tr>
-                                                                       <td class="bgColor4">'.$A[0].'<strong>'.htmlspecialchars($title).($this->curUrlInfo['info']==$v[$k2i.'.']['url']?'<img'.t3lib_iconWorks::skinImg($GLOBALS['BACK_PATH'],'gfx/blinkarrow_right.gif','width="5" height="9"').' class="c-blinkArrowR" alt="" />':'').'</strong><br />'.$description.$A[1].'</td>
+                                                                       <td class="bgColor4">' .
+                                                                       $A[0] .
+                                                                       '<strong>' .
+                                                                       htmlspecialchars($title) . ($this->curUrlInfo['info'] == $v[$k2i . '.']['url'] ? '<img' . t3lib_iconWorks::skinImg($GLOBALS['BACK_PATH'], 'gfx/blinkarrow_right.gif', 'width="5" height="9"') . ' class="c-blinkArrowR" alt="" />' : '') .
+                                                                       '</strong><br />' .
+                                                                       $description .
+                                                                       $A[1] .
+                                                                       '</td>
                                                                </tr>';
                                                }
                                        }
@@ -2101,7 +2108,7 @@ class browse_links {
                                }
 
                                        // Put it all together for the file element:
-                               $out.='<img'.t3lib_iconWorks::skinImg($GLOBALS['BACK_PATH'], 'gfx/ol/join'.($c == $totalItems ?'bottom':'').'.gif','width="18" height="16"').' alt="" />'.
+                               $out .= '<img' . t3lib_iconWorks::skinImg($GLOBALS['BACK_PATH'], 'gfx/ol/join' . ($c == $totalItems ? 'bottom' : '') . '.gif', 'width="18" height="16"') . ' alt="" />' .
                                                $arrCol.
                                                '<a href="#" onclick="return link_folder(\'' . $itemUid . '\');">'.
                                                $icon.
@@ -2242,7 +2249,7 @@ class browse_links {
                                                <tr class="file_list_normal">
                                                        <td nowrap="nowrap">'.$filenameAndIcon.'&nbsp;</td>
                                                        <td>' . $ATag . '<img' . t3lib_iconWorks::skinImg($GLOBALS['BACK_PATH'], 'gfx/plusbullet2.gif', 'width="18" height="16"') . ' title="' . $GLOBALS['LANG']->getLL('addToList', 1) . '" alt="" />' . $ATag_e . '</td>
-                                                       <td nowrap="nowrap">' . ($ATag2 . '<img' . t3lib_iconWorks::skinImg($GLOBALS['BACK_PATH'],'gfx/zoom2.gif','width="12" height="12"') . ' title="' . $GLOBALS['LANG']->getLL('info', 1) . '" alt="" /> ' . $GLOBALS['LANG']->getLL('info', 1) . $ATag2_e) . '</td>
+                                                       <td nowrap="nowrap">' . ($ATag2 . '<img' . t3lib_iconWorks::skinImg($GLOBALS['BACK_PATH'], 'gfx/zoom2.gif', 'width="12" height="12"') . ' title="' . $GLOBALS['LANG']->getLL('info', 1) . '" alt="" /> ' . $GLOBALS['LANG']->getLL('info', 1) . $ATag2_e) . '</td>
                                                        <td>&nbsp;</td>
                                                </tr>';
                                }
@@ -2275,7 +2282,7 @@ class browse_links {
 
                        // Create headline (showing number of folders):
                $content .= $this->barheader(
-                       sprintf($GLOBALS['LANG']->getLL('folders').' (%s):',count($folders))
+                       sprintf($GLOBALS['LANG']->getLL('folders') . ' (%s):', count($folders))
                );
 
                $titleLength = intval($GLOBALS['BE_USER']->uc['titleLen']);
@@ -2297,7 +2304,7 @@ class browse_links {
                        $folderIcon = $aTag_alt;
                        $folderIcon .= '<img'.t3lib_iconWorks::skinImg(
                                $GLOBALS['BACK_PATH'],
-                               'gfx/i/_icon_webfolders.gif','width="18" height="16"'
+                               'gfx/i/_icon_webfolders.gif', 'width="18" height="16"'
                        ).' alt="" />';
                        $folderIcon .= htmlspecialchars(
                                t3lib_div::fixed_lgd_cs(basename($baseFolder), $titleLength)
@@ -2316,7 +2323,7 @@ class browse_links {
                                        $pathInfo = pathinfo($folderPath);
 
                                                // Create folder icon:
-                                       $icon = '<img src="clear.gif" width="16" height="16" alt="" /><img'.t3lib_iconWorks::skinImg($GLOBALS['BACK_PATH'], 'gfx/i/_icon_webfolders.gif','width="16" height="16"').' title="'.htmlspecialchars($pathInfo['basename'].$size).'" class="absmiddle" alt="" />';
+                                       $icon = '<img src="clear.gif" width="16" height="16" alt="" /><img' . t3lib_iconWorks::skinImg($GLOBALS['BACK_PATH'], 'gfx/i/_icon_webfolders.gif', 'width="16" height="16"') . ' title="' . htmlspecialchars($pathInfo['basename'] . $size) . '" class="absmiddle" alt="" />';
 
                                                // Create links for adding the folder:
                                        if ($this->P['itemName'] != '' && $this->P['formName'] != '') {
index 69f66db..30d6f76 100644 (file)
@@ -234,7 +234,7 @@ class recordHistory {
                }
 
                        // Removing fields:
-               $data = $this->removeFilefields($rollbackData[0],$data);
+               $data = $this->removeFilefields($rollbackData[0], $data);
 
                        // Writes the data:
                $tce = t3lib_div::makeInstance('t3lib_TCEmain');
@@ -315,7 +315,7 @@ class recordHistory {
                        $displayCode .= '<tr><td>' . $GLOBALS['LANG']->getLL($key, 1) . '</td>';
                        $displayCode .= '<td><select name="settings[' . $key . ']" onChange="document.settings.submit()" style="width:100px">';
                        foreach ($values as $singleKey => $singleVal) {
-                               $caption = $GLOBALS['LANG']->getLL($singleVal,1)?$GLOBALS['LANG']->getLL($singleVal,1):$singleVal;
+                               $caption = ($GLOBALS['LANG']->getLL($singleVal, 1) ? $GLOBALS['LANG']->getLL($singleVal, 1) : $singleVal);
                                $displayCode .= '<option value="' . $singleKey . '"' . (($singleKey == $currentSelection[$key]) ? ' selected="selected"' : '').'> ' . $caption . '</option>';
                        }
                        $displayCode .= '</select></td></tr>';
@@ -337,7 +337,7 @@ class recordHistory {
                $elParts = explode(':', $this->element);
                if ($elParts[0] != 'pages') {
                        $content .= '<strong>' . $GLOBALS['LANG']->getLL('elementHistory', 1) . '</strong><br />';
-                       $pid = t3lib_BEfunc::getRecordRaw($elParts[0],'uid='.intval($elParts[1]));
+                       $pid = t3lib_BEfunc::getRecordRaw($elParts[0], 'uid=' . intval($elParts[1]));
                        $content .= $this->linkPage($GLOBALS['LANG']->getLL('elementHistory_link', 1), array('element' => 'pages:' . $pid['pid']));
                }
                $content .= '<form name="settings" action="' . t3lib_div::getIndpEnv('TYPO3_REQUEST_URL') . '" method="post"><table>' . $displayCode . '</table></form>';
@@ -372,7 +372,7 @@ class recordHistory {
                } else {
                        $pid = $elParts[1];
                }
-               $tmpTsConfig = $GLOBALS['BE_USER']->getTSConfig('TCEMAIN',t3lib_BEfunc::getPagesTSconfig($pid));
+               $tmpTsConfig = $GLOBALS['BE_USER']->getTSConfig('TCEMAIN', t3lib_BEfunc::getPagesTSconfig($pid));
                $expirationTime = isset($tmpTsConfig['properties']['default.']['history.']['maxAgeDays']) ?
                                $tmpTsConfig['properties']['default.']['history.']['maxAgeDays'] : 30;
 
@@ -442,7 +442,7 @@ class recordHistory {
                                        }
                                        $singleLine[] = htmlspecialchars(implode(',', $tmpFieldList));
                                } else {        // Display diff
-                                       $diff = $this->renderDiff($entry,$entry['tablename']);
+                                       $diff = $this->renderDiff($entry, $entry['tablename']);
                                        $singleLine[] = $diff;
                                }
                        }
@@ -454,7 +454,7 @@ class recordHistory {
                                } else {
                                        $image = '<img' . t3lib_iconWorks::skinImg('', 'gfx/markstate.gif') . ' align="top" alt="' . $GLOBALS['LANG']->getLL('markState', 1) . '" title="' . $GLOBALS['LANG']->getLL('markState', 1) . '" />';
                                }
-                               $singleLine[] = $this->linkPage($image,array('highlight' => $entry['uid']));
+                               $singleLine[] = $this->linkPage($image, array('highlight' => $entry['uid']));
                        } else {
                                $singleLine[] = '';
                        }
@@ -503,7 +503,7 @@ class recordHistory {
                $content = '';
 
                        // Get all array keys needed
-               $arrayKeys = array_merge(array_keys($diff['newData']),array_keys($diff['insertsDeletes']), array_keys($diff['oldData']));
+               $arrayKeys = array_merge(array_keys($diff['newData']), array_keys($diff['insertsDeletes']), array_keys($diff['oldData']));
                $arrayKeys = array_unique($arrayKeys);
 
                if ($arrayKeys) {
index 2c18ff0..dc6552c 100644 (file)
@@ -355,7 +355,7 @@ class webPageTree extends t3lib_browseTree {
                        $cmd = $this->bank . '_' . ($isOpen? '0_' : '1_') . $uid . '_' . $this->treeName;
                                // only, if not for uid 0
                        if ($uid) {
-                               $icon = '<img' . t3lib_iconWorks::skinImg($this->backPath,'gfx/ol/' . ($isOpen ? 'minus' :'plus' ) . 'only.gif') . ' alt="" />';
+                               $icon = '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/ol/' . ($isOpen ? 'minus' : 'plus' ) . 'only.gif') . ' alt="" />';
                                $firstHtml = $this->PMiconATagWrap($icon, $cmd, !$isOpen);
                        }
 
index 4668da5..9381591 100644 (file)
@@ -81,7 +81,7 @@ class transferData extends t3lib_transferData {
                                        $content = '';
                                        break;
                                }
-                               if (t3lib_div::inList($config['eval'],'date')) {
+                               if (t3lib_div::inList($config['eval'], 'date')) {
                                        $content = Date($GLOBALS['TYPO3_CONF_VARS']['SYS']['ddmmyy'], $content);
                                }
                        break;
index 0cdeeaf..f9d67b3 100644 (file)
@@ -182,7 +182,7 @@ class template {
                        $this->scriptID = 'typo3/'.substr($this->scriptID, strlen(TYPO3_mainDir));      // This fixes if TYPO3_mainDir has been changed so the script ids are STILL "typo3/..."
                }
 
-               $this->bodyTagId = preg_replace('/[^A-Za-z0-9-]/','-', $this->scriptID);
+               $this->bodyTagId = preg_replace('/[^A-Za-z0-9-]/', '-', $this->scriptID);
 
                        // Individual configuration per script? If so, make a recursive merge of the arrays:
                if (is_array($GLOBALS['TBE_STYLES']['scriptIDindex'][$this->scriptID])) {
index 1041e20..5ce08d7 100644 (file)
@@ -320,7 +320,7 @@ class SC_view_help {
 
 
                                <!-- NEW SECTION: -->
-                               ',$outputSections);
+                               ', $outputSections);
                }
 
                $output .= '<hr /><p class="manual-title">'.t3lib_BEfunc::TYPO3_copyRightNotice().'</p>';
@@ -379,8 +379,8 @@ class SC_view_help {
                                $output.='
                                        <li>'.$GLOBALS['LANG']->getLL('TOC_'.$tocKey, 1).'
                                                <ul>
-                                                       <li>'.implode('</li>
-                                                       <li>',$tocArray[$tocKey]).'</li>
+                                                       <li>' . implode('</li>
+                                                       <li>', $tocArray[$tocKey]) . '</li>
                                                </ul>
                                        </li>';
                        }
index 81e0c2e..5e25ec1 100644 (file)
@@ -345,8 +345,8 @@ class SC_wizard_colorpicker {
                $output = '
                        <p class="c-head">'.$GLOBALS['LANG']->getLL('colorpicker_fromList', 1).'</p>
                        <select onchange="document.colorform.colorValue.value = this.options[this.selectedIndex].value; document.colorform.submit(); return false;">
-                               '.implode('
-                               ',$opt).'
+                               ' . implode('
+                               ', $opt) . '
                        </select><br />';
 
                return $output;
index d1cdf90..d9fdc4d 100644 (file)
@@ -413,8 +413,8 @@ class SC_wizard_forms {
                $tRows[]='
                        <tr class="bgColor2" id="typo3-formWizardHeader">
                                <td>&nbsp;</td>
-                               <td>'.implode('</td>
-                               <td>',$cells).'</td>
+                               <td>' . implode('</td>
+                               <td>', $cells) . '</td>
                        </tr>';
 
                        // Traverse the number of form elements:
@@ -449,8 +449,8 @@ class SC_wizard_forms {
                                        }
                                        $temp_cells[$GLOBALS['LANG']->getLL('forms_type')]='
                                                        <select name="FORMCFG[c]['.(($k+1)*2).'][type]">
-                                                               '.implode('
-                                                               ',$opt).'
+                                                               ' . implode('
+                                                               ', $opt) . '
                                                        </select>';
 
                                                // Title field:
@@ -547,10 +547,10 @@ class SC_wizard_forms {
                                                // Finally, put together the full row from the generated content above:
                                        $bgC = $confData['type']?' class="bgColor5"':'';
                                        $tRows[]='
-                                               <tr'.$bgC.'>
-                                                       <td><a name="ANC_'.(($k+1)*2).'"></a>'.$ctrl.'</td>
-                                                       <td class="bgColor4">'.implode('</td>
-                                                       <td valign="top">',$cells).'</td>
+                                               <tr' . $bgC . '>
+                                                       <td><a name="ANC_' . (($k + 1) * 2) . '"></a>' . $ctrl . '</td>
+                                                       <td class="bgColor4">' . implode('</td>
+                                                       <td valign="top">', $cells) . '</td>
                                                </tr>';
                                }
                        } else {
index e0aedb3..9212483 100644 (file)
@@ -97,7 +97,7 @@ class SC_wizard_list {
                $TSconfig = t3lib_BEfunc::getTCEFORM_TSconfig($this->table, is_array($origRow)?$origRow:array('pid'=>$this->P['pid']));
 
                        // Set [params][pid]
-               if (substr($this->P['params']['pid'],0,3)=='###' && substr($this->P['params']['pid'], -3)=='###') {
+               if (substr($this->P['params']['pid'], 0, 3) == '###' && substr($this->P['params']['pid'], -3) == '###') {
                        $this->pid = intval($TSconfig['_'.substr($this->P['params']['pid'], 3, -3)]);
                } else $this->pid = intval($this->P['params']['pid']);
 
index 31d87b6..da71ce5 100644 (file)
@@ -190,7 +190,7 @@ class SC_wizard_rte {
                                $tceforms->printNeededJSFunctions();
                } else {
                                // ERROR:
-                       $this->content.=$this->doc->section($GLOBALS['LANG']->getLL('forms_title'), '<span class="typo3-red">'.$GLOBALS['LANG']->getLL('table_noData',1).'</span>', 0, 1);
+                       $this->content .= $this->doc->section($GLOBALS['LANG']->getLL('forms_title'), '<span class="typo3-red">' . $GLOBALS['LANG']->getLL('table_noData', 1) . '</span>', 0, 1);
                }
 
                // Setting up the buttons and markers for docheader
index d5a123c..23a60ab 100644 (file)
@@ -139,7 +139,7 @@ class SC_wizard_table {
                if ($this->P['table'] && $this->P['field'] && $this->P['uid']) {
                        $this->content.= $this->doc->section($GLOBALS['LANG']->getLL('table_title'), $this->tableWizard(), 0, 1);
                } else {
-                       $this->content.= $this->doc->section($GLOBALS['LANG']->getLL('table_title'), '<span class="typo3-red">' . $GLOBALS['LANG']->getLL('table_noData',1) . '</span>', 0, 1);
+                       $this->content .= $this->doc->section($GLOBALS['LANG']->getLL('table_title'), '<span class="typo3-red">' . $GLOBALS['LANG']->getLL('table_noData', 1) . '</span>', 0, 1);
                }
 
                // Setting up the buttons and markers for docheader
@@ -365,8 +365,8 @@ class SC_wizard_table {
                                $tRows[]='
                                        <tr class="bgColor4">
                                                <td class="bgColor5"><a name="ANC_'.(($k+1)*2).'"></a><span class="c-wizButtonsV">'.$ctrl.'</span></td>
-                                               <td>'.implode('</td>
-                                               <td>',$cells).'</td>
+                                               <td>' . implode('</td>
+                                               <td>', $cells) . '</td>
                                        </tr>';
 
                                        // Increment counter:
@@ -407,8 +407,8 @@ class SC_wizard_table {
                        }
                        $tRows[]='
                                <tr class="bgColor5">
-                                       <td align="center">'.implode('</td>
-                                       <td align="center">',$cells).'</td>
+                                       <td align="center">' . implode('</td>
+                                       <td align="center">', $cells) . '</td>
                                </tr>';
                }
 
index dfcb4b1..1aff710 100644 (file)
@@ -263,16 +263,16 @@ class SC_wizard_tsconfig {
                $this->content.=$this->doc->section($GLOBALS['LANG']->getLL('tsprop'), $this->browseTSprop($this->mode, $this->show), 0, 1);
 
                        // Adding link to TSref:
-               if ($this->mode=='tsref') {
-                       $this->content.=$this->doc->section($GLOBALS['LANG']->getLL('tsprop_TSref'),'
-                       <a href="'. TYPO3_URL_DOCUMENTATION_TSREF.'" target="_blank">'.$GLOBALS['LANG']->getLL('tsprop_TSref', 1).'</a>
-                       ',0,1);
+               if ($this->mode == 'tsref') {
+                       $this->content .= $this->doc->section($GLOBALS['LANG']->getLL('tsprop_TSref'), '
+                       <a href="' . TYPO3_URL_DOCUMENTATION_TSREF . '" target="_blank">' . $GLOBALS['LANG']->getLL('tsprop_TSref', 1) . '</a>
+                       ', 0, 1);
                }
                        // Adding link to admin guides etc:
-               if ($this->mode=='page' || $this->mode=='beuser') {
-                       $this->content.=$this->doc->section($GLOBALS['LANG']->getLL('tsprop_tsconfig'),'
+               if ($this->mode == 'page' || $this->mode == 'beuser') {
+                       $this->content .= $this->doc->section($GLOBALS['LANG']->getLL('tsprop_tsconfig'), '
                        <a href="' . TYPO3_URL_DOCUMENTATION_TSCONFIG . '" target="_blank">' . $GLOBALS['LANG']->getLL('tsprop_tsconfig', 1) . '</a>
-                       ',0,1);
+                       ', 0, 1);
                }
        }
 
@@ -518,7 +518,7 @@ class SC_wizard_tsconfig {
                                $reg=array();
                                preg_match('/->[[:alnum:]_]*/', $dataType, $reg);
                                if ($reg[0] && is_array($objTree[$reg[0]])) {
-                                       $dataType = str_replace($reg[0],'<a href="'.htmlspecialchars(t3lib_div::linkThisScript(array('show'=>$objTree[$reg[0]][0]['uid'], 'objString'=>$objString.'.'.$lP[0]))).'">'.htmlspecialchars($reg[0]).'</a>', $dataType);
+                                       $dataType = str_replace($reg[0], '<a href="' . htmlspecialchars(t3lib_div::linkThisScript(array('show' => $objTree[$reg[0]][0]['uid'], 'objString' => $objString . '.' . $lP[0]))) . '">' . htmlspecialchars($reg[0]) . '</a>', $dataType);
                                }
 
                                        // stdWrap