Index: typo3/sysext/install/mod/class.tx_install.php
===================================================================
--- typo3/sysext/install/mod/class.tx_install.php (revision 5563)
+++ typo3/sysext/install/mod/class.tx_install.php (working copy)
@@ -371,15 +371,15 @@
$this->silent=0;
$content = '
';
- $out.=$this->wrapInCells('Site name:', '');
+ $out.=$this->wrapInCells('Site name:', '');
$out.=$this->wrapInCells('', '
');
- $out.=$this->wrapInCells('Encryption key:', '
');
+ $out.=$this->wrapInCells('Encryption key:', '
');
$out.=$this->wrapInCells('', '
');
// Other
@@ -2090,11 +2089,11 @@
}
}
}
- $out.=$this->wrapInCells('[GFX][TTFdpi]=', '');
+ $out.=$this->wrapInCells('[GFX][TTFdpi]=', '');
}
- $out.=$this->wrapInCells('', '
+ $out.=$this->wrapInCells('', '
NOTICE: By clicking this button, localconf.php is updated with new values for the parameters listed above!');
$out.='
@@ -2313,7 +2312,7 @@
}
$out.='
';
} else {
- $out.='';
+ $out.='';
}
return $out.'
';
}
@@ -3158,16 +3157,16 @@
$verifyFile = t3lib_extMgm::extPath('install').'verify_imgs/'.basename($imageFile);
#debug(array($imageFile,$this->backPath.'../'.substr($imageFile,strlen(PATH_site))),1);
$destImg = @getImageSize($imageFile);
- $destImgCode ='';
+ $destImgCode = '';
$verifyImg = @getImageSize($verifyFile);
- $verifyImgCode = '';
+ $verifyImgCode = '';
if (!$verifyImg) {
$gifVersion=1;
$verifyFile_alt = substr($verifyFile,0,-3).'gif';
$verifyImg = @getImageSize($verifyFile_alt);
if ($verifyImg) {
// FIXME what is that? old code? t3lib/install/verify_imgs/ do not exist
- $verifyImgCode = '';
+ $verifyImgCode = '';
$verifyImgCode= ''.$verifyImgCode.' '.$this->fw('NO REFERENCE FOUND!
GIF version looks like this.').' |
';
} else {
$verifyImgCode= ''.$this->fw('NO REFERENCE FOUND!
'.basename($verifyFile)).' |
';
@@ -3181,7 +3180,7 @@
$ex_rows.='';
$ex_rows.=''.$destImgCode.' | ';
- $ex_rows.=' | ';
+ $ex_rows .= ' | ';
$ex_rows.=''.$verifyImgCode.' | ';
$ex_rows.='
';
@@ -3722,13 +3721,13 @@
$out='';
while(list($table,$definition)=each($statements_table)) {
$exist=isset($whichTables[$table]);
- $out.='
- |
- |
- |
- '.$this->fw($insertCount[$table]?"Rows: ".$insertCount[$table]:"").' |
- |
- '.($exist?''.$this->fw('Table exists!'):'').' |
+ $out .= '
+ |
+ |
+ |
+ ' . $this->fw($insertCount[$table] ? "Rows: " . $insertCount[$table] : "") . ' |
+ |
+ ' . ($exist ? '' . $this->fw('Table exists!') : '') . ' |
';
}
@@ -3738,7 +3737,7 @@
';
}
- $content.='mode=="123"||t3lib_div::_GP('presetWholeTable')?' checked="checked"':'').'>
+ $content .= 'mode == "123" || t3lib_div::_GP('presetWholeTable') ? ' checked="checked"' : '') . ' />
';
$form = $this->getUpdateDbFormWrap($action_type, $content);
@@ -3814,8 +3813,8 @@
}
}
$content = '
- username - unique, no space, lowercase
- password
+ username - unique, no space, lowercase
+ password
';
$form = $this->getUpdateDbFormWrap($action_type, $content);
$this->message($headCode,'Create admin user',"
@@ -3838,7 +3837,7 @@
$this->message($headCode,'Clearing be_users.uc','Done.',1);
}
$content = '
-
+
';
$form = $this->getUpdateDbFormWrap($action_type, $content);
$this->message($headCode,'Clear user preferences',"
@@ -3906,7 +3905,7 @@
if ($whichTables[$table_c]) {
$countEntries[$table] = $GLOBALS['TYPO3_DB']->exec_SELECTcountRows('*', $table);
// Checkboxes:
- $checkBoxes[]= 'INSTALL['database_clearcache'][$table]||$_GET['PRESET']['database_clearcache'][$table]?' checked="checked"':'').'> ';
+ $checkBoxes[] = 'INSTALL['database_clearcache'][$table] || $_GET['PRESET']['database_clearcache'][$table] ? ' checked="checked"' : '') . ' /> ';
}
} else {
$checkBoxes[]= '
';
@@ -3975,11 +3974,11 @@
if (method_exists($tmpObj,'checkForUpdate')) {
$explanation = '';
if ($tmpObj->checkForUpdate($explanation)) {
- $updateWizardBoxes.= '
+ $updateWizardBoxes .= '
-
'.$identifier.'
-
'.str_replace(chr(10),'
',$explanation).'
-
+
' . $identifier . '
+
' . str_replace(chr(10), '
', $explanation) . '
+
';
}
}
@@ -3988,9 +3987,9 @@
if ($updateWizardBoxes) {
$updateWizardBoxes = '';
$content = '
- ';
+ ';
} else {
$content = 'No updates to perform!';
}
@@ -4008,7 +4007,7 @@
$tmpObj = $this->getUpgradeObjInstance($className, $identifier);
- $formContent .= ''.$identifier.'
';
+ $formContent .= '
' . $identifier . '
';
if (method_exists($tmpObj,'getUserInput')) {
$formContent .= $tmpObj->getUserInput('TYPO3_INSTALL[update]['.$identifier.']');
}
@@ -4175,7 +4174,7 @@
* @return [type] ...
*/
function getUpdateDbFormWrap($action_type, $content, $label='Write to database') {
- $form = '