Moin moin,
nachdem ich den SafeModePatch installiert habe bekomme ich auf der Seite für modulesInstall bei nach der Checkbox "Use FTP Assist" nur noch HTML/PHP Quellcode:
enable) ? 'Checked' : '' ?> onClick="myForm=document.forms['adminForm_install']; myTextBoxes = document.getElementById('ftpTextBoxes'); if (this.checked) {myTextBoxes.style.color='black';myForm.ftpHostNam e.disabled=false;myForm.ftpUserName.disabled=false ;myForm.ftpPassword.disabled=false; myForm.ftpPassword.value='ftpPassword ?>' } else {myTextBoxes.style.color='gray';myForm.ftpHostName .disabled=true;myForm.ftpUserName.disabled=true;my Form.ftpPassword.disabled=true;myForm.ftpPassword. value='';}return true;" /> '> User Name enable ? '' : 'Disabled' ?> /> Password enable ? '' : 'Disabled' ?> /> Host enable ? '' : 'Disabled' ?> />
ich hab schon probiert irgendwelche Klammern zu schließen, aber nix hat richtig geholfen, da ich auch irgendwie bei der PHP-Syntax nicht so ganz durchblicke...
naja vielleicht weiß ja jemand rat.
der ganze teil in der HTML_installer.html sieht so aus:
<td align="Left">Use FTP Assist <input class="checkbox" name="ftpUse" type="checkbox" <?= ($ftpDB->enable) ? 'Checked' : '' ?> <?= !$ftpIsAvailable ? 'Disabled':'' ?> onClick="myForm=document.forms['adminForm_install'];
myTextBoxes = document.getElementById('ftpTextBoxes');
if (this.checked)
{myTextBoxes.style.color='black';myForm.ftpHostNam e.disabled=false;myForm.ftpUserName.disabled=false ;myForm.ftpPassword.disabled=false; myForm.ftpPassword.value='<?= $ftpDB->ftpPassword ?>' }
else {myTextBoxes.style.color='gray';myForm.ftpHostName .disabled=true;myForm.ftpUserName.disabled=true;my Form.ftpPassword.disabled=true;myForm.ftpPassword. value='';}return true;" />
<span id='ftpTextBoxes' style='color: <?= $ftpDB->enable ? 'black;' : 'gray;' ?>'> User Name <input style='color:inherit;' class="inputbox" name="ftpUserName" type="text" value="<?= $ftpDB->ftpUserName ?>" <?= $ftpDB->enable ? '' : 'Disabled' ?> /> Password
<input style='color:inherit;' class="inputbox" name="ftpPassword" type="password" value="<?= $ftpDB->ftpPassword ?>" <?= $ftpDB->enable ? '' : 'Disabled' ?> /> Host
<input style='color:inherit;' class="inputbox" name="ftpHostName" type="text" value="<?= $ftpDB->ftpHostName ?>" <?= $ftpDB->enable ? '' : 'Disabled' ?> /></span></td>
ciao maestro


LinkBack URL
About LinkBacks
Zitieren
Lesezeichen