Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: CPG 1.4 validation errors  (Read 4323 times)

0 Members and 1 Guest are viewing this topic.

cryogenic

  • Tester
  • Coppermine regular visitor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 79
    • the cynic says...
CPG 1.4 validation errors
« on: August 30, 2004, 09:58:40 pm »

I updated to the latest version of 1.4 from devel CVS and it doesn't validate because of 3 img tags that aren't closed properly. According to Dreamweaver MX2004, the errors are on lines 186, 381, & 674 in index.php.

Line 186 reads:
Code: [Select]
get_subcat_data($subcat['cid'], $cat_data, $album_set_array, $level -1, $ident . "</td><td><img src=\"images/spacer.gif\" width=\"20\" height=\"1\"></td><td>");and should read
Code: [Select]
get_subcat_data($subcat['cid'], $cat_data, $album_set_array, $level -1, $ident . "</td><td><img src=\"images/spacer.gif\" width=\"20\" height=\"1\"/></td><td>");
Line 381 reads:
Code: [Select]
$user_thumb = "<img src=\"" . $pic_url . "\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"\">";and should read
Code: [Select]
$user_thumb = "<img src=\"" . $pic_url . "\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"\"/>";
Line 674 reads:
Code: [Select]
$alb_list[$alb_idx]['thumb_pic'] = "<img src=\"" . $pic_url . "\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"{$picture['filename']}\">";and should read
Code: [Select]
$alb_list[$alb_idx]['thumb_pic'] = "<img src=\"" . $pic_url . "\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"{$picture['filename']}\"/>";
I've also attatched the corrected index for those of you that don't want to manually edit the code. :) Just change the extension to .php
« Last Edit: August 31, 2004, 09:55:55 am by GauGau »
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.