forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: coopersita on August 20, 2004, 12:18:59 am
-
I've found some html syntax errors I've been trying to fix, but I just can't find where to fix them:
1- the url on links on the breadcrum are not quoted (eg <a href=index.php>Home</a> instead of <a href="index.php">Home</a>)
2- thumbnail images have an extra " after class="images" and before height: <img src="albums/userpics/10001/thumb_1.jpg" class="image" " height="100" border="0" alt="...>
Does anyone know where to change that?
Thanks
-
edit include/functionsinc.php, find
$breadcrumb = '<a href=index.php>'.$lang_list_categories['home'].'</a>';
and replace with$breadcrumb = '<a href="index.php">'.$lang_list_categories['home'].'</a>';
Then find$link = "<a href=index.php?cat={$category[0]}>{$category[1]}</a>";
and replace with$link = "<a href=\"index.php?cat={$category[0]}\">{$category[1]}</a>";
Next, find$breadcrumb = '<a href=index.php>'.$lang_list_categories['home'].'</a>';
and replace with$breadcrumb = '<a href="index.php">'.$lang_list_categories['home'].'</a>';
After that, find$link = "<a href=thumbnails.php?album=".$CURRENT_ALBUM_DATA['aid'].">".$CURRENT_ALBUM_DATA['title']."</a>";
and replace with$link = "<a href=\"thumbnails.php?album=".$CURRENT_ALBUM_DATA['aid']."\">".$CURRENT_ALBUM_DATA['title']."</a>";
To fix the surplus quote, find$image_size['geom'] = '" height="'.$image_size['height'].'"';
and replace with$image_size['geom'] = ' height="'.$image_size['height'].'"';
@devs: fixed this in stable branch of the cvs, the devel branch already had the fix
GauGau
-
Thanks GauGau,
As usually, it worked like a charm!