Forum->Flatnux->vari errori in flatnux | ||||
Welcome Unknown | Register | Help | 383 Users |
User | Message |
Friday 22 July 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) | |
Friday 22 July 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) | |
Monday 08 August 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> </td> ____________________________ "The whole of science is nothing more than a refinement of everyday thinking." (Albert Einstein) | |
Monday 08 August 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 --> <!-- lista dei campi da modificare in textfields --> E di nuovo intorno alle righe 560-570 (più o meno), un altro tag input non chiuso correttamente: </tbody> </tbody> ____________________________ "The whole of science is nothing more than a refinement of everyday thinking." (Albert Einstein) | |
Monday 08 August 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}" ) Dovrebbe essere: if ( $type == "{color}" ) ____________________________ "The whole of science is nothing more than a refinement of everyday thinking." (Albert Einstein) | |
[1] [2] [3] |