Bug #19998 » bug_10410_v2.diff
typo3/sysext/install/mod/install.js (working copy) | ||
---|---|---|
parameters: '?eID=' + this.eID,
|
||
onComplete: function(xhr) {
|
||
document.getElementsByName('TYPO3_INSTALL[localconf.php][encryptionKey]').item(0).value=xhr.responseText;
|
||
}.bind(this),
|
||
}.bind(this)
|
||
});
|
||
},
|
||
};
|
||
}
|
||
};
|
typo3/sysext/install/mod/class.tx_install.php (working copy) | ||
---|---|---|
$out.=$this->wrapInCells('', '<br />');
|
||
if ($this->mode!='123') {
|
||
$this->headerStyle .= chr(10) . '
|
||
<script type="text/javascript" src="' . t3lib_div::getIndpEnv('TYPO3_SITE_URL') . TYPO3_mainDir . 'contrib/prototype/prototype.js"></script>
|
||
<script type="text/javascript" src="' . t3lib_div::getIndpEnv('TYPO3_SITE_URL') . TYPO3_mainDir . 'sysext/install/mod/install.js"></script>
|
||
';
|
||
$out.=$this->wrapInCells('Site name:', '<input type="text" name="TYPO3_INSTALL[localconf.php][sitename]" value="'.htmlspecialchars($GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename']).'">');
|
||
$out.=$this->wrapInCells('', '<br />');
|
||
$out.='<script type="text/javascript" src="../sysext/install/mod/install.js"></script>';
|
||
$out.='<script type="text/javascript" src="../contrib/prototype/prototype.js"></script>';
|
||
$out.=$this->wrapInCells('Encryption key:', '<a name="set_encryptionKey"></a><input type="text" name="TYPO3_INSTALL[localconf.php][encryptionKey]" value="'.htmlspecialchars($GLOBALS['TYPO3_CONF_VARS']['SYS']['encryptionKey']).'"><br /><input type="button" onclick="EncryptionKey.load(this)" value="Generate random key">');
|
||
$out.=$this->wrapInCells('', '<br />');
|
||