mirror of
https://github.com/FriendsOfTYPO3/feedit.git
synced 2024-11-09 17:26:09 +01:00
[BUGFIX] Reduce spacing CGL violations in /typo3/sysext/
There were a lot spacing CGL violations in /typo3/sysext/. These will be reduced by this commit. Change-Id: Iae4dc7bfbca79f5e71446d850eebfceeb20e4a18 Resolves: #37310 Releases: 6.0 Reviewed-on: http://review.typo3.org/11311 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
This commit is contained in:
parent
354d3ed9ad
commit
82fd45bf17
1 changed files with 4 additions and 4 deletions
|
@ -79,7 +79,7 @@ class tx_feedit_editpanel {
|
||||||
$theCmd =$TSFE_EDIT['cmd'];
|
$theCmd =$TSFE_EDIT['cmd'];
|
||||||
}
|
}
|
||||||
|
|
||||||
switch($theCmd) {
|
switch($theCmd) {
|
||||||
case 'edit':
|
case 'edit':
|
||||||
case 'new':
|
case 'new':
|
||||||
$finalOut = $this->editContent($formTag, $formName, $theCmd, $newUID, $dataArr, $table, $currentRecord, $blackLine);
|
$finalOut = $this->editContent($formTag, $formName, $theCmd, $newUID, $dataArr, $table, $currentRecord, $blackLine);
|
||||||
|
@ -225,7 +225,7 @@ class tx_feedit_editpanel {
|
||||||
* @return string A <a> tag wrapped string.
|
* @return string A <a> tag wrapped string.
|
||||||
* @see editPanel(), editIcons(), t3lib_tsfeBeUserAuth::extEditAction()
|
* @see editPanel(), editIcons(), t3lib_tsfeBeUserAuth::extEditAction()
|
||||||
*/
|
*/
|
||||||
protected function editPanelLinkWrap($string, $formName, $cmd, $currentRecord='', $confirm='', $nPid='') {
|
protected function editPanelLinkWrap($string, $formName, $cmd, $currentRecord='', $confirm='', $nPid='') {
|
||||||
// Editing forms on page only supported in Live workspace (because of incomplete implementation)
|
// Editing forms on page only supported in Live workspace (because of incomplete implementation)
|
||||||
$editFormsOnPage = $GLOBALS['BE_USER']->uc['TSFE_adminConfig']['edit_editFormsOnPage'] && $GLOBALS['BE_USER']->workspace === 0;
|
$editFormsOnPage = $GLOBALS['BE_USER']->uc['TSFE_adminConfig']['edit_editFormsOnPage'] && $GLOBALS['BE_USER']->workspace === 0;
|
||||||
$nV=t3lib_div::_GP('ADMCMD_view') ? 1 : 0;
|
$nV=t3lib_div::_GP('ADMCMD_view') ? 1 : 0;
|
||||||
|
@ -245,7 +245,7 @@ class tx_feedit_editpanel {
|
||||||
$out = $this->editPanelLinkWrap_doWrap($string, $adminURL . 'alt_doc.php?edit[' . $rParts[0] . '][' . $nPid . ']=new&noView=' . $nV, $currentRecord);
|
$out = $this->editPanelLinkWrap_doWrap($string, $adminURL . 'alt_doc.php?edit[' . $rParts[0] . '][' . $nPid . ']=new&noView=' . $nV, $currentRecord);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if ($confirm && $GLOBALS['BE_USER']->jsConfirmation(8)) {
|
if ($confirm && $GLOBALS['BE_USER']->jsConfirmation(8)) {
|
||||||
// Gets htmlspecialchared later
|
// Gets htmlspecialchared later
|
||||||
$cf1 = 'if (confirm(' . t3lib_div::quoteJSvalue($confirm, TRUE) . ')) {';
|
$cf1 = 'if (confirm(' . t3lib_div::quoteJSvalue($confirm, TRUE) . ')) {';
|
||||||
$cf2 = '}';
|
$cf2 = '}';
|
||||||
|
@ -269,7 +269,7 @@ class tx_feedit_editpanel {
|
||||||
* @return string A <a> tag wrapped string.
|
* @return string A <a> tag wrapped string.
|
||||||
* @see editPanelLinkWrap()
|
* @see editPanelLinkWrap()
|
||||||
*/
|
*/
|
||||||
protected function editPanelLinkWrap_doWrap($string, $url, $currentRecord) {
|
protected function editPanelLinkWrap_doWrap($string, $url, $currentRecord) {
|
||||||
if ($GLOBALS['BE_USER']->uc['TSFE_adminConfig']['edit_editNoPopup'] || $GLOBALS['BE_USER']->extAdminConfig['module.']['edit.']['forceNoPopup']) {
|
if ($GLOBALS['BE_USER']->uc['TSFE_adminConfig']['edit_editNoPopup'] || $GLOBALS['BE_USER']->extAdminConfig['module.']['edit.']['forceNoPopup']) {
|
||||||
$retUrl = t3lib_div::getIndpEnv('REQUEST_URI');
|
$retUrl = t3lib_div::getIndpEnv('REQUEST_URI');
|
||||||
$rParts = explode(':', $currentRecord);
|
$rParts = explode(':', $currentRecord);
|
||||||
|
|
Loading…
Reference in a new issue