[Solved] Duplicate code for emoticons

Do you want to say something about UT99.org?
Post Reply
User avatar
Barbie
Godlike
Posts: 2792
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

[Solved] Duplicate code for emoticons

Post by Barbie »

The code for inserting emoticons has a duplicate:

Code: Select all

<a href="#" onclick="insert_text(':idea:', true); return false;"><img src="./images/smilies/icon_idea.gif" width="15" height="15" alt=":idea:" title="Idea" /></a>
...
 <a href="#" onclick="insert_text(':idea:', true); return false;"><img src="./images/smilies/gecheckt.gif" width="15" height="32" alt=":idea:" title="Idea!" /></a>
So it is not possible to insert images/smilies/gecheckt.gif
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett
User avatar
EvilGrins
Godlike
Posts: 9668
Joined: Thu Jun 30, 2011 8:12 pm
Personal rank: God of Fudge
Location: Palo Alto, CA
Contact:

Re: Duplicate code for emoticons

Post by EvilGrins »

Image Image Image
http://unreal-games.livejournal.com/
Image
medor wrote:Replace Skaarj with EvilGrins :mrgreen:
Smilies · viewtopic.php?f=8&t=13758
User avatar
papercoffee
Godlike
Posts: 10443
Joined: Wed Jul 15, 2009 11:36 am
Personal rank: coffee addicted !!!
Location: Cologne, the city with the big cathedral.
Contact:

Re: Duplicate code for emoticons

Post by papercoffee »

Image <= inserted with [img]-tag

...what exactly is your question?

Edit----------------
Oh... now I see it ...it won't work by clicking the emoji on the smiley menu.
User avatar
UnrealGGecko
Godlike
Posts: 2900
Joined: Wed Feb 01, 2012 11:26 am
Personal rank: GEx the Gecko
Location: Kaunas, Lithuania
Contact:

Re: Duplicate code for emoticons

Post by UnrealGGecko »

Yeah I mentioned this one somewhere before, as instead of this -> Image I get this -> :idea:
Well at least there's another way of putting it there Image Image :P Image Image
User avatar
Shade
Site Admin
Posts: 1480
Joined: Sun Jan 27, 2008 12:03 pm
Personal rank: Founder of UT99.org
Location: Germany
Contact:

Re: Duplicate code for emoticons

Post by Shade »

Fixed.
:idea: :idea2:

Code: Select all

:idea: :idea2:
UT99.org Discord Server: https://discord.gg/6CP2UjZ
UT Server Browser: https://ut99.org/servers
Post Reply