[Solved]: html syntax errors [Solved]: html syntax errors
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: html syntax errors

Started by coopersita, August 20, 2004, 12:18:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

coopersita

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

Joachim Müller

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

coopersita

Thanks GauGau,

As usually, it worked like a charm!