friendica-addons/smiley_pack/smiley_pack.php

499 lines
26 KiB
PHP
Raw Normal View History

2012-03-18 18:04:53 -04:00
<?php
/*
* Name: Smiley Pack
* Description: Pack of smileys that make master too AOLish.
* Version: 1.04
2012-03-18 18:04:53 -04:00
* Author: Thomas Willingham (based on Mike Macgirvin's Adult Smile template)
* All smileys from sites offering them as Public Domain
*/
/**
*/
2012-03-18 18:04:53 -04:00
function smiley_pack_install() {
register_hook('smilie', 'addon/smiley_pack/smiley_pack.php', 'smiley_pack_smilies');
}
function smiley_pack_uninstall() {
2012-03-18 18:04:53 -04:00
unregister_hook('smilie', 'addon/smiley_pack/smiley_pack.php', 'smiley_pack_smilies');
}
function smiley_pack_smilies(&$a,&$b) {
#Smileys are split into various directories by the intended range of emotions. This is in case we get too big and need to modularise things. We can then cut and paste the right lines, move the right directory, and just change the name of the addon to happy_smilies or whatever.
#Be careful with invocation strings. If you have a smiley called foo, and another called foobar, typing :foobar will call foo. Avoid this with clever naming, using ~ instead of :
#when all else fails.
#Animal smileys.
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':bunnyflowers';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/animals/bunnyflowers.gif' . '" alt="' . ':bunnyflowers' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':chick';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/animals/chick.gif' . '" alt="' . ':chick' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':bumblebee';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/animals/bee.gif' . '" alt="' . ':bee' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':ladybird';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/animals/ladybird.gif' . '" alt="' . ':ladybird' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':bigspider';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/animals/bigspider.gif' . '" alt="' . ':bigspider' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':cat';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/animals/cat.gif' . '" alt="' . ':cat' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':bunny';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/animals/bunny.gif' . '" alt="' . ':bunny' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':cow';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/animals/cow.gif' . '" alt="' . ':cow' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':crab';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/animals/crab.gif' . '" alt="' . ':crab' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':dolphin';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/animals/dolphin.gif' . '" alt="' . ':dolphin' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':dragonfly';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/animals/dragonfly.gif' . '" alt="' . ':dragonfly' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':frog';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/animals/frog.gif' . '" alt="' . ':frog' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':hamster';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/animals/hamster.gif' . '" alt="' . ':hamster' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':monkey';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/animals/monkey.gif' . '" alt="' . ':monkey' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':horse';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/animals/horse.gif' . '" alt="' . ':horse' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':parrot';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/animals/parrot.gif' . '" alt="' . ':parrot' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':tux';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/animals/tux.gif' . '" alt="' . ':tux' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':snail';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/animals/snail.gif' . '" alt="' . ':snail' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':sheep';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/animals/sheep.gif' . '" alt="' . ':sheep' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':dog';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/animals/dog.gif' . '" alt="' . ':dog' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':elephant';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/animals/elephant.gif' . '" alt="' . ':elephant' . '" />';
$b['texts'][] = ':fish';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/animals/fish.gif' . '" alt="' . ':fish' . '" />';
$b['texts'][] = ':giraffe';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/animals/giraffe.gif' . '" alt="' . ':giraffe' . '" />';
$b['texts'][] = ':pig';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/animals/pig.gif' . '" alt="' . ':pig' . '" />';
#Baby Smileys
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':baby';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/babies/baby.gif' . '" alt="' . ':baby' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':babycot';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/babies/babycot.gif' . '" alt="' . ':babycot' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':pregnant';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/babies/pregnant.gif' . '" alt="' . ':pregnant' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':stork';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/babies/stork.gif' . '" alt="' . ':stork' . '" />';
2012-03-18 18:04:53 -04:00
#Confused Smileys
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':confused';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/confused/confused.gif' . '" alt="' . ':confused' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':shrug';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/confused/shrug.gif' . '" alt="' . ':shrug' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':stupid';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/confused/stupid.gif' . '" alt="' . ':stupid' . '" />';
2012-03-18 18:04:53 -04:00
2012-03-24 20:00:37 -04:00
$b['texts'][] = ':dazed';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/confused/dazed.gif' . '" alt="' . ':dazed' . '" />';
2012-03-24 20:00:37 -04:00
#Cool Smileys
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':affro';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/cool/affro.gif' . '" alt="' . ':affro' . '" />';
2012-03-18 18:04:53 -04:00
#Devil/Angel Smileys
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':angel';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/devilangel/angel.gif' . '" alt="' . ':angel' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':cherub';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/devilangel/cherub.gif' . '" alt="' . ':cherub' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':devilangel';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/devilangel/blondedevil.gif' . '" alt="' . ':devilangel' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':catdevil';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/devilangel/catdevil.gif' . '" alt="' . ':catdevil' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':devillish';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/devilangel/devil.gif' . '" alt="' . ':devillish' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':daseesaw';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/devilangel/daseesaw.gif' . '" alt="' . ':daseesaw' . '" />';
$b['texts'][] = ':turnevil';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/devilangel/turnevil.gif' . '" alt="' . ':turnevil' . '" />';
$b['texts'][] = ':saint';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/devilangel/saint.gif' . '" alt="' . ':saint' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':graveside';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/devilangel/graveside.gif' . '" alt="' . ':graveside' . '" />';
2012-03-18 18:04:53 -04:00
#Unpleasent smileys.
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':toilet';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/disgust/toilet.gif' . '" alt="' . ':toilet' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':fartinbed';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/disgust/fartinbed.gif' . '" alt="' . ':fartinbed' . '" />';
2012-03-18 18:04:53 -04:00
2012-03-24 20:00:37 -04:00
$b['texts'][] = ':fartblush';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/disgust/fartblush.gif' . '" alt="' . ':fartblush' . '" />';
2012-03-24 20:00:37 -04:00
#Drinks
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':tea';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/drink/tea.gif' . '" alt="' . ':tea' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':drool';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/drool/drool.gif' . '" alt="' . ':drool' . '" />';
2012-03-18 18:04:53 -04:00
#Sad smileys
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':crying';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/sad/crying.png' . '" alt="' . ':crying' . '" />';
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':prisoner';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/sad/prisoner.gif' . '" alt="' . ':prisoner' . '" />';
2012-03-18 18:04:53 -04:00
2012-05-19 20:25:43 -04:00
$b['texts'][] = ':sigh';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/sad/sigh.gif' . '" alt="' . ':sigh' . '" />';
2012-05-19 20:25:43 -04:00
#Smoking - only one smiley in here, maybe it needs moving elsewhere?
2012-03-18 18:04:53 -04:00
$b['texts'][] = ':smoking';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/smoking/smoking.gif' . '" alt="' . ':smoking' . '" />';
2012-03-18 22:42:14 -04:00
#Sport smileys
2012-03-18 22:42:14 -04:00
$b['texts'][] = ':basketball';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/sport/basketball.gif' . '" alt="' . ':basketball' . '" />';
2012-03-18 22:42:14 -04:00
$b['texts'][] = '~bowling';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/sport/bowling.gif' . '" alt="' . '~bowling' . '" />';
2012-03-18 22:42:14 -04:00
$b['texts'][] = ':cycling';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/sport/cycling.gif' . '" alt="' . ':cycling' . '" />';
2012-03-18 22:42:14 -04:00
$b['texts'][] = ':darts';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/sport/darts.gif' . '" alt="' . ':darts' . '" />';
2012-03-18 22:42:14 -04:00
$b['texts'][] = ':fencing';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/sport/fencing.gif' . '" alt="' . ':fencing' . '" />';
2012-03-18 22:42:14 -04:00
$b['texts'][] = ':juggling';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/sport/juggling.gif' . '" alt="' . ':juggling' . '" />';
2012-03-18 22:42:14 -04:00
$b['texts'][] = ':skipping';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/sport/skipping.gif' . '" alt="' . ':skipping' . '" />';
2012-03-18 22:42:14 -04:00
2012-03-19 17:00:26 -04:00
$b['texts'][] = ':archery';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/sport/archery.gif' . '" alt="' . ':archery' . '" />';
2012-03-19 17:00:26 -04:00
$b['texts'][] = ':surfing';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/sport/surfing.gif' . '" alt="' . ':surfing' . '" />';
2012-03-19 17:00:26 -04:00
$b['texts'][] = ':snooker';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/sport/snooker.gif' . '" alt="' . ':snooker' . '" />';
2012-03-19 17:00:26 -04:00
$b['texts'][] = ':horseriding';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/sport/horseriding.gif' . '" alt="' . ':horseriding' . '" />';
2012-03-19 17:00:26 -04:00
#Love smileys
2012-03-19 17:00:26 -04:00
2012-03-18 22:47:18 -04:00
$b['texts'][] = ':iloveyou';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/love/iloveyou.gif' . '" alt="' . ':iloveyou' . '" />';
2012-03-18 22:47:18 -04:00
$b['texts'][] = ':inlove';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/love/inlove.gif' . '" alt="' . ':inlove' . '" />';
2012-03-18 22:47:18 -04:00
$b['texts'][] = '~love';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/love/love.gif' . '" alt="' . ':love' . '" />';
2012-03-18 22:47:18 -04:00
$b['texts'][] = ':lovebear';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/love/lovebear.gif' . '" alt="' . ':lovebear' . '" />';
2012-03-18 22:47:18 -04:00
$b['texts'][] = ':lovebed';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/love/lovebed.gif' . '" alt="' . ':lovebed' . '" />';
2012-03-18 22:47:18 -04:00
$b['texts'][] = ':loveheart';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/love/loveheart.gif' . '" alt="' . ':loveheart' . '" />';
2012-03-18 22:47:18 -04:00
#Tired/Sleep smileys
2012-03-18 22:55:23 -04:00
$b['texts'][] = ':countsheep';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/tired/countsheep.gif' . '" alt="' . ':countsheep' . '" />';
2012-03-18 22:55:23 -04:00
$b['texts'][] = ':hammock';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/tired/hammock.gif' . '" alt="' . ':hammock' . '" />';
2012-03-18 22:55:23 -04:00
$b['texts'][] = ':pillow';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/tired/pillow.gif' . '" alt="' . ':pillow' . '" />';
$b['texts'][] = ':yawn';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/tired/yawn.gif' . '" alt="' . ':yawn' . '" />';
#Fight/Flame/Violent smileys
$b['texts'][] = ':2guns';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fight/2guns.gif' . '" alt="' . ':2guns' . '" />';
$b['texts'][] = ':alienfight';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fight/alienfight.gif' . '" alt="' . ':alienfight' . '" />';
$b['texts'][] = ':army';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fight/army.gif' . '" alt="' . ':army' . '" />';
$b['texts'][] = ':arrowhead';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fight/arrowhead.gif' . '" alt="' . ':arrowhead' . '" />';
$b['texts'][] = ':bfg';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fight/bfg.gif' . '" alt="' . ':bfg' . '" />';
$b['texts'][] = ':bowman';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fight/bowman.gif' . '" alt="' . ':bowman' . '" />';
$b['texts'][] = ':chainsaw';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fight/chainsaw.gif' . '" alt="' . ':chainsaw' . '" />';
$b['texts'][] = ':crossbow';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fight/crossbow.gif' . '" alt="' . ':crossbow' . '" />';
$b['texts'][] = ':crusader';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fight/crusader.gif' . '" alt="' . ':crusader' . '" />';
$b['texts'][] = ':dead';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fight/dead.gif' . '" alt="' . ':dead' . '" />';
$b['texts'][] = ':hammersplat';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fight/hammersplat.gif' . '" alt="' . ':hammersplat' . '" />';
$b['texts'][] = ':lasergun';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fight/lasergun.gif' . '" alt="' . ':lasergun' . '" />';
$b['texts'][] = ':machinegun';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fight/machinegun.gif' . '" alt="' . ':machinegun' . '" />';
$b['texts'][] = ':acid';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fight/acid.gif' . '" alt="' . ':acid' . '" />';
#Fantasy smileys - monsters and dragons fantasy. The other type of fantasy belongs in adult smileys
$b['texts'][] = ':alienmonster';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fantasy/alienmonster.gif' . '" alt="' . ':alienmonster' . '" />';
$b['texts'][] = ':barbarian';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fantasy/barbarian.gif' . '" alt="' . ':barbarian' . '" />';
$b['texts'][] = ':dinosaur';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fantasy/dinosaur.gif' . '" alt="' . ':dinosaur' . '" />';
$b['texts'][] = ':dragon';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fantasy/dragon.gif' . '" alt="' . ':dragon' . '" />';
$b['texts'][] = ':draco';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fantasy/dragonwhelp.gif' . '" alt="' . ':draco' . '" />';
$b['texts'][] = ':ghost';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fantasy/ghost.gif' . '" alt="' . ':ghost' . '" />';
$b['texts'][] = ':mummy';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fantasy/mummy.gif' . '" alt="' . ':mummy' . '" />';
#Food smileys
$b['texts'][] = ':apple';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/food/apple.gif' . '" alt="' . ':apple' . '" />';
$b['texts'][] = ':broccoli';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/food/broccoli.gif' . '" alt="' . ':brocolli' . '" />';
$b['texts'][] = ':cake';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/food/cake.gif' . '" alt="' . ':cake' . '" />';
$b['texts'][] = ':carrot';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/food/carrot.gif' . '" alt="' . ':carrot' . '" />';
$b['texts'][] = ':popcorn';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/food/popcorn.gif' . '" alt="' . ':popcorn' . '" />';
$b['texts'][] = ':tomato';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/food/tomato.gif' . '" alt="' . ':tomato' . '" />';
$b['texts'][] = ':banana';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/food/banana.gif' . '" alt="' . ':banana' . '" />';
2012-03-19 17:00:26 -04:00
$b['texts'][] = ':cooking';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/food/cooking.gif' . '" alt="' . ':cooking' . '" />';
2012-03-19 17:00:26 -04:00
2012-03-24 20:00:37 -04:00
$b['texts'][] = ':fryegg';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/food/fryegg.gif' . '" alt="' . ':fryegg' . '" />';
2012-11-11 14:41:26 -05:00
$b['texts'][] = ':birthdaycake';
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/food/birthdaycake.gif' . '" alt="' . ':birthdaycake' . '" />';
#Happy smileys
2012-03-18 23:32:34 -04:00
$b['texts'][] = ':cloud9';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/happy/cloud9.gif' . '" alt="' . ':cloud9' . '" />';
2012-03-18 23:32:34 -04:00
$b['texts'][] = ':tearsofjoy';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/happy/tearsofjoy.gif' . '" alt="' . ':tearsofjoy' . '" />';
#Repsect smileys
2012-03-19 13:29:46 -04:00
$b['texts'][] = ':bow';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/respect/bow.gif' . '" alt="' . ':bow' . '" />';
2012-03-19 13:29:46 -04:00
$b['texts'][] = ':bravo';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/respect/bravo.gif' . '" alt="' . ':bravo' . '" />';
2012-03-19 13:29:46 -04:00
$b['texts'][] = ':hailking';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/respect/hailking.gif' . '" alt="' . ':hailking' . '" />';
2012-03-19 13:29:46 -04:00
$b['texts'][] = ':number1';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/respect/number1.gif' . '" alt="' . ':number1' . '" />';
2012-03-19 13:29:46 -04:00
#Laugh smileys
2012-03-19 16:51:08 -04:00
$b['texts'][] = ':hahaha';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/laugh/hahaha.gif' . '" alt="' . ':hahaha' . '" />';
2012-03-19 16:51:08 -04:00
$b['texts'][] = ':loltv';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/laugh/loltv.gif' . '" alt="' . ':loltv' . '" />';
2012-03-19 16:51:08 -04:00
$b['texts'][] = ':rofl';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/laugh/rofl.gif' . '" alt="' . ':rofl' . '" />';
2012-03-19 16:51:08 -04:00
#Music smileys
2012-03-19 17:04:36 -04:00
$b['texts'][] = ':drums';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/music/drums.gif' . '" alt="' . ':drums' . '" />';
2012-03-19 17:04:36 -04:00
$b['texts'][] = ':guitar';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/music/guitar.gif' . '" alt="' . ':guitar' . '" />';
2012-03-19 17:04:36 -04:00
$b['texts'][] = ':trumpet';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/music/trumpet.gif' . '" alt="' . ':trumpet' . '" />';
2012-03-19 17:04:36 -04:00
#Smileys that used to be in core
$b['texts'][] = ':headbang';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/oldcore/headbang.gif' . '" alt="' . ':headbang' . '" />';
$b['texts'][] = ':beard';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/oldcore/beard.png' . '" alt="' . ':beard' . '" />';
$b['texts'][] = ':whitebeard';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/oldcore/whitebeard.png' . '" alt="' . ':whitebeard' . '" />';
$b['texts'][] = ':shaka';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/oldcore/shaka.gif' . '" alt="' . ':shaka' . '" />';
$b['texts'][] = ':\\.../';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/oldcore/shaka.gif' . '" alt="' . ':\\.../' . '" />';
$b['texts'][] = ':\\ooo/';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/oldcore/shaka.gif' . '" alt="' . ':\\ooo/' . '" />';
2012-03-19 16:51:08 -04:00
$b['texts'][] = ':headdesk';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/oldcore/headbang.gif' . '" alt="' . ':headdesk' . '" />';
2012-03-19 16:51:08 -04:00
#These two are still in core, so oldcore isn't strictly right, but we don't want too many directories
$b['texts'][] = ':-d';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/oldcore/laughing.gif' . '" alt="' . ':-d' . '" />';
$b['texts'][] = ':-o';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/oldcore/surprised.gif' . '" alt="' . ':-o' . '" />';
# Regex killers - stick these at the bottom so they appear at the end of the English and
# at the start of $OtherLanguage.
$b['texts'][] = ':cool';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/cool/cool.gif' . '" alt="' . ':cool' . '" />';
$b['texts'][] = ':vomit';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/disgust/vomit.gif' . '" alt="' . ':vomit' . '" />';
$b['texts'][] = ':golf';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/sport/golf.gif' . '" alt="' . ':golf' . '" />';
$b['texts'][] = ':football';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/sport/football.gif' . '" alt="' . ':football' . '" />';
$b['texts'][] = ':tennis';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/sport/tennis.gif' . '" alt="' . ':tennis' . '" />';
$b['texts'][] = ':alpha';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fight/alpha.png' . '" alt="' . ':alpha' . '" />';
$b['texts'][] = ':marine';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fight/marine.gif' . '" alt="' . ':marine' . '" />';
$b['texts'][] = ':sabre';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fight/sabre.gif' . '" alt="' . ':sabre' . '" />';
$b['texts'][] = ':tank';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fight/tank.gif' . '" alt="' . ':tank' . '" />';
$b['texts'][] = ':viking';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fight/viking.gif' . '" alt="' . ':viking' . '" />';
$b['texts'][] = ':gangs';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/fight/gangs.gif' . '" alt="' . ':gangs' . '" />';
$b['texts'][] = ':dj';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/music/dj.gif' . '" alt="' . ':dj' . '" />';
$b['texts'][] = ':elvis';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/music/elvis.gif' . '" alt="' . ':elivs' . '" />';
$b['texts'][] = ':violin';
2012-06-28 19:41:33 -04:00
$b['icons'][] = '<img class="smiley" src="' . $a->get_baseurl() . '/addon/smiley_pack/icons/music/violin.gif' . '" alt="' . ':violin' . '" />';
2012-03-18 18:04:53 -04:00
}