Monday 08 August 2011 - 12:53
Re: vari errori in flatnux: In include/xmldb_editor.php, alcuni tags img non sono chiusi correttamente:
nella funzione xmldb_view():
if ( $fileimage != "" && file_exists($fileimage) ) { $htmlout .= "\n$st<a href=\"$fileimage\" onclick=\"window.open(this.href);return false;\" ><img alt=\"\""; $htmlout .= tooltip(fn_i18n("_CLICKONTHEPHOTO")); $htmlout .= " border=\"0\" src=\"$filethumb\"></a>$et<br />"; } else { if ( $fileimage != "" && file_exists($fileimage) ) { $htmlout .= "\n$st<a href=\"$fileimage\" onclick=\"window.open(this.href);return false;\" ><img width=\"" . $field['thumbsize'] . "\" alt=\"\" "; $htmlout .= tooltip(fn_i18n("_CLICKONTHEPHOTO")); $htmlout .= " border=\"0\" src=\"$fileimage\"></a>$et<br />"; }
Dovrebbe essere:
if ( $fileimage != "" && file_exists($fileimage) ) { $htmlout .= "\n$st<a href=\"$fileimage\" onclick=\"window.open(this.href);return false;\" ><img alt=\"\""; $htmlout .= tooltip(fn_i18n("_CLICKONTHEPHOTO")); $htmlout .= " border=\"0\" src=\"$filethumb\" /></a>$et<br />"; } else { if ( $fileimage != "" && file_exists($fileimage) ) { $htmlout .= "\n$st<a href=\"$fileimage\" onclick=\"window.open(this.href);return false;\" ><img width=\"" . $field['thumbsize'] . "\" alt=\"\" "; $htmlout .= tooltip(fn_i18n("_CLICKONTHEPHOTO")); $htmlout .= " border=\"0\" src=\"$fileimage\" /></a>$et<br />"; }
____________________________ "The whole of science is nothing more than a refinement of everyday thinking." (Albert Einstein)
|