coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: MartialArtist on July 22, 2005, 10:36:06 PM

Title: Need help removing URL: when displaying File Information.
Post by: MartialArtist on July 22, 2005, 10:36:06 PM
Nver mind, I figured it out. :)
Title: Re: Need help removing URL: when displaying File Information.
Post by: Nibbler on July 22, 2005, 10:53:12 PM
displayimage.php

$info['URL'] = '<a href="' . $CONFIG["ecards_more_pic_target"] . (substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') .basename($_SERVER['PHP_SELF']) . "?pos=-$CURRENT_PIC_DATA[pid]" . '" >' . $CONFIG["ecards_more_pic_target"] . (substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') . basename($_SERVER['PHP_SELF']) . "?pos=-$CURRENT_PIC_DATA[pid]" . '</a>';
   


Just comment it out.

//$info['URL'] = '<a href="' . $CONFIG["ecards_more_pic_target"] . (substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') .basename($_SERVER['PHP_SELF']) . "?pos=-$CURRENT_PIC_DATA[pid]" . '" >' . $CONFIG["ecards_more_pic_target"] . (substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') . basename($_SERVER['PHP_SELF']) . "?pos=-$CURRENT_PIC_DATA[pid]" . '</a>';
   
Title: Re: Need help removing URL: when displaying File Information.
Post by: Tranz on July 23, 2005, 06:05:40 AM
@MartialArtist: please don't edit posts like that. It renders threads useless... and wastes supporters' time responding to a consequently non-question.