| Venerdì 22 Luglio 2011 - 12:25
Re: vari errori in flatnux: C'erano anche alcuni elementi "img" che non erano chiusi correttamente con "/" finale, c'era un "select" che era chiuso con "/" finale che non doveva invece avere, c'erano alcuni attributi non separati correttamente con uno spazio dagli attributi precedenti (tipo <img title="nnn"src="nnn.jpg" />)...
Dovrei andare a vedere il punto preciso in cui ho fatto queste correzioni, sono tutti piccoli accorgimenti che possano avere effetto sulla qualità e il performance di un sito flatnux, soprattutto se si desidera utilizzare doctype di tipo strict (ultimamente sto cercando di utilizzare html5 servito come application/xhtml+xml, che è molto strict)...
____________________________ "The whole of science is nothing more than a refinement of everyday thinking." (Albert Einstein)
|
| Venerdì 22 Luglio 2011 - 12:26
Re: vari errori in flatnux: Intendo nella versione 2011.
____________________________ "The whole of science is nothing more than a refinement of everyday thinking." (Albert Einstein)
|
| Lunedì 08 Agosto 2011 - 12:00
Re: vari errori in flatnux: Altro piccolo errore in "include/functions_editors.php", sempre riferita alla prima flatnux:
Nella funzione fn_editconffile(), intorno alle righe 556-560 (potrebbero non corrispondere con precisione per svariati motivi) c'è un <tr> che non è chiuso correttamente:
</td> </tbody> </table>
</td> </tr> </tbody> </table>
____________________________ "The whole of science is nothing more than a refinement of everyday thinking." (Albert Einstein)
|
| Lunedì 08 Agosto 2011 - 12:09
Re: vari errori in flatnux: Ancora in include/functions_editors.php, nella funzione fn_editconffile():
Intorno alle righe 260-270 (potrebbero non corrispondere esattamente), c'è un tag input non chiuso correttamente:
<!-- lista dei campi da modificare in textfields --> <form action=\"verify.php\" method=\"post\"><input type=\"hidden\" name=\"mod\" value=\"modconfig\" /> <input type=\"hidden\" name=\"conf_file\" value=\"$file\">
<!-- lista dei campi da modificare in textfields --> <form action=\"verify.php\" method=\"post\"><input type=\"hidden\" name=\"mod\" value=\"modconfig\" /> <input type=\"hidden\" name=\"conf_file\" value=\"$file\" />
E di nuovo intorno alle righe 560-570 (più o meno), un altro tag input non chiuso correttamente:
</tbody> </table> <br /> <input type="hidden" name="conf_num" value="<?php echo $j ?>"> <!-- numero di campi totali da modificare --> </form>
</tbody> </table> <br /> <input type="hidden" name="conf_num" value="<?php echo $j ?>" /> <!-- numero di campi totali da modificare --> </form>
____________________________ "The whole of science is nothing more than a refinement of everyday thinking." (Albert Einstein)
|
| Lunedì 08 Agosto 2011 - 12:36
Re: vari errori in flatnux: In include/extra/fck3/config.php, il colore del background è indicato come valore hex ma senza "#" iniziale.
Il che significa che in "include/functions_editors.php", bisogna tenere conto che si deve scrivere un "#".
Nella funzione fn_editconffile(), riga 297 (più o meno), abbiamo:
$onchange = "onchange='try{document.getElementById(\"cc_conf_$i\").style.backgroundColor=this.value}catch(e){}'";
Dovrebbe essere:
$onchange = "onchange='try{document.getElementById(\"cc_conf_$i\").style.backgroundColor=\"#\"+this.value}catch(e){}'";
Similmente intorno alle righe 525-530, abbiamo:
if ( $type == "{color}" ) { echo "<span id=\"cc_conf_$i\" style=\"border:#000000 1px solid; background-color:$v\"> </span>"; }
Dovrebbe essere:
if ( $type == "{color}" ) { echo "<span id=\"cc_conf_$i\" style=\"border:#000000 1px solid;background-color:#$v\"> </span>"; }
____________________________ "The whole of science is nothing more than a refinement of everyday thinking." (Albert Einstein)
|