I've realized that if the name of a defined link has an apostrophe in it (like in Lilja's Library) The html file generated by the liks.js.php file is corrupted, as this program doesn't use stripslashes function...
To fix it:
Open links.js.php
Find
$links_logo .= (''<a href="' . append_sid("links.$phpEx?action=go&link_id=" . $row['link_id']) . '" target="_blank"><img src="' . $row['link_logo_src'] . '" alt="' . $row['link_title'] . '" width="' . $site_logo_width . '" height="' . $site_logo_height . '" border="0" hspace="1" /></a>',' . "n");
Replace with
$link_title == stripslashes ($row[link_title]);
$links_logo .= (''<a href="' . append_sid("links.$phpEx?action=go&link_id=" . $row['link_id']) . '" target="_blank"><img src="' . $row['link_logo_src'] . '" alt="' . $link_title . '" width="' . $site_logo_width . '" height="' . $site_logo_height . '" border="0" hspace="1" /></a>',' . "n");
$links_logo .= (''<a href="' . append_sid("links.$phpEx?action=go&link_id=" . $row['link_id']) . '" target="_blank"><img src="' . $row['link_logo_src'] . '" alt="' . $link_title . '" width="' . $site_logo_width . '" height="' . $site_logo_height . '" border="0" hspace="1" /></a>',' . "n");
That's the way I fixed in my forum. Don't know if it's a good solution, but it works, so I would like to know the opinion of an expert in php programming to see if there's any better way to do that!
Greetz!!