[Solved] Duplicate code for emoticons

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

[Solved] Duplicate code for emoticons

Post by Barbie » Sat Sep 03, 2016 10:42 pm

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: 8079
Joined: Thu Jun 30, 2011 8:12 pm
Personal rank: God of Fudge
Location: Palo Alto, CA

Re: Duplicate code for emoticons

Post by EvilGrins » Sat Sep 03, 2016 11:20 pm

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: 9935
Joined: Wed Jul 15, 2009 11:36 am
Personal rank: coffee addicted !!!
Location: Cologne, the city with the big cathedral.

Re: Duplicate code for emoticons

Post by papercoffee » Sun Sep 04, 2016 1:43 am

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: 2455
Joined: Wed Feb 01, 2012 11:26 am
Personal rank: GEx the Gecko
Location: Kaunas, Lithuania

Re: Duplicate code for emoticons

Post by UnrealGGecko » Sun Sep 04, 2016 5:54 am

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: 1425
Joined: Sun Jan 27, 2008 12:03 pm
Personal rank: Founder of UT99.org
Location: Germany

Re: Duplicate code for emoticons

Post by Shade » Sun Oct 02, 2016 10:38 am

Fixed.
:idea: :idea2:

Code: Select all

:idea: :idea2: