Copyright icon in "description" Copyright icon in "description"
 

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]

Main Menu

Copyright icon in "description"

Started by cgc0202, November 04, 2006, 06:45:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cgc0202

Hi,

I tried to search for a thread here, if someone already asked about how to include the "copyright icon" and I did not find any.  Obviously, the © does not work.

Is there a way to add the copyright icon in the photo description?

Thanks.

Cornelio


Nibbler


cgc0202

Thanks Nibbler,

That seemed to work, with the various browsers I use in Mac -- Camino, Safari, Netscape and Firefox.  I am not sure if they show properly in Windows or other Operating sytems.

CGC

Nibbler

If it doesn't it's not too hard to add a bbcode for ©

cgc0202

Quote from: Nibbler on November 04, 2006, 08:12:56 PM
If it doesn't it's not too hard to add a bbcode for ©
That was what I was trying to find out, Nibbler.  I cannot find a site that describes the conversion.
CGC

Nibbler

$text = str_replace("[copyright]", '©', $text);

Just add that into the bb_decode() function in include/functions.inc.php Use whatever name you like for the new tag.

cgc0202

Thanks very much Nibbler, it worked.  I guess I can use that now as a template on how to convert many html symbols into bbCode.

CGC