| Lunedì 08 Agosto 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)
|
| Lunedì 08 Agosto 2011 - 14:18
Re: vari errori in flatnux: In include/functions.php:
nella funzione write_static_index(), intorno alla riga 767, c'è un tag img non chiuso correttamente:
foreach ( $sections as $section ) { $str .= "\n<br /><img alt=\"{$section['title']}\" src=\"" . fromtheme("images/section.png") . "\"> <a accesskey=\"{$section['accesskey']}\" href=\"{$_FN['siteurl']}/index.php?mod={$section['link']}$l\">{$section['title']}</a>"; }
Dovrebbe essere:
foreach ( $sections as $section ) { $str .= "\n<br /><img alt=\"{$section['title']}\" src=\"" . fromtheme("images/section.png") . "\" /> <a accesskey=\"{$section['accesskey']}\" href=\"{$_FN['siteurl']}/index.php?mod={$section['link']}$l\">{$section['title']}</a>"; }
____________________________ "The whole of science is nothing more than a refinement of everyday thinking." (Albert Einstein)
|
| Martedì 09 Agosto 2011 - 09:33
Re: vari errori in flatnux: in 2011 dovrei averli corretti tutti, alcuni sono ancora presenti n NEXT.
Alessandro
|