diff --git a/.gitignore b/.gitignore new file mode 100755 index 000000000..88dec63de --- /dev/null +++ b/.gitignore @@ -0,0 +1,23 @@ +favicon.* +.htconfig.php +\#* +include/jquery-1.4.2.min.js +*.log +*.out +*.version* +#favicon.* +#home.html +#addon +*~ + +#ignore documentation, it should be newly built +#doc/api + +#ignore reports, should be generted with every build +report/ + +#ignore config files from eclipse, we don't want IDE files in our repository +.project +.buildpath +.externalToolBuilders +.settings diff --git a/smiley_pack/.smiley_pack.php.kate-swp b/smiley_pack/.smiley_pack.php.kate-swp new file mode 100644 index 000000000..73a77b3af Binary files /dev/null and b/smiley_pack/.smiley_pack.php.kate-swp differ diff --git a/smiley_pack/icons/animals/elephant.gif b/smiley_pack/icons/animals/elephant.gif new file mode 100644 index 000000000..4311e97da Binary files /dev/null and b/smiley_pack/icons/animals/elephant.gif differ diff --git a/smiley_pack/icons/animals/fish.gif b/smiley_pack/icons/animals/fish.gif new file mode 100644 index 000000000..3a7a584b3 Binary files /dev/null and b/smiley_pack/icons/animals/fish.gif differ diff --git a/smiley_pack/icons/animals/giraffe.gif b/smiley_pack/icons/animals/giraffe.gif new file mode 100644 index 000000000..4c95ea4cf Binary files /dev/null and b/smiley_pack/icons/animals/giraffe.gif differ diff --git a/smiley_pack/icons/animals/pig.gif b/smiley_pack/icons/animals/pig.gif new file mode 100644 index 000000000..bdc68e836 Binary files /dev/null and b/smiley_pack/icons/animals/pig.gif differ diff --git a/smiley_pack/icons/confused/dazed.gif b/smiley_pack/icons/confused/dazed.gif new file mode 100644 index 000000000..f5e7ec264 Binary files /dev/null and b/smiley_pack/icons/confused/dazed.gif differ diff --git a/smiley_pack/icons/disgust/fart.gif b/smiley_pack/icons/disgust/fart.gif new file mode 100644 index 000000000..4160a1fc5 Binary files /dev/null and b/smiley_pack/icons/disgust/fart.gif differ diff --git a/smiley_pack/icons/food/fryegg.gif b/smiley_pack/icons/food/fryegg.gif new file mode 100644 index 000000000..bd1b4ff04 Binary files /dev/null and b/smiley_pack/icons/food/fryegg.gif differ diff --git a/smiley_pack/icons/oldcore/laughing.gif b/smiley_pack/icons/oldcore/laughing.gif new file mode 100755 index 000000000..1bf29de79 Binary files /dev/null and b/smiley_pack/icons/oldcore/laughing.gif differ diff --git a/smiley_pack/icons/oldcore/surprised.gif b/smiley_pack/icons/oldcore/surprised.gif new file mode 100755 index 000000000..b07465326 Binary files /dev/null and b/smiley_pack/icons/oldcore/surprised.gif differ diff --git a/smiley_pack/smiley_pack.php b/smiley_pack/smiley_pack.php index 4cfcc95d7..d85f9b5ed 100644 --- a/smiley_pack/smiley_pack.php +++ b/smiley_pack/smiley_pack.php @@ -21,6 +21,15 @@ function smiley_pack__uninstall() { 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. + $b['texts'][] = ':bunnyflowers'; $b['icons'][] = '' . ':bunnyflowers' . ''; @@ -84,6 +93,21 @@ function smiley_pack_smilies(&$a,&$b) { $b['texts'][] = ':dog'; $b['icons'][] = '' . ':dog' . ''; + $b['texts'][] = ':elephant'; + $b['icons'][] = '' . ':elephant' . ''; + + $b['texts'][] = ':fish'; + $b['icons'][] = '' . ':fish' . ''; + + $b['texts'][] = ':giraffe'; + $b['icons'][] = '' . ':giraffe' . ''; + + $b['texts'][] = ':pig'; + $b['icons'][] = '' . ':pig' . ''; + + + +#Baby Smileys $b['texts'][] = ':baby'; $b['icons'][] = '' . ':baby' . ''; @@ -98,7 +122,8 @@ function smiley_pack_smilies(&$a,&$b) { $b['texts'][] = ':stork'; $b['icons'][] = '' . ':stork' . ''; - + +#Confused Smileys $b['texts'][] = ':confused'; $b['icons'][] = '' . ':confused' . ''; @@ -108,12 +133,20 @@ function smiley_pack_smilies(&$a,&$b) { $b['texts'][] = ':stupid'; $b['icons'][] = '' . ':stupid' . ''; + $b['texts'][] = ':dazed'; + $b['icons'][] = '' . ':dazed' . ''; + + +#Cool Smileys + $b['texts'][] = ':affro'; $b['icons'][] = '' . ':affro' . ''; $b['texts'][] = ':cool'; $b['icons'][] = '' . ':cool' . ''; +#Devil/Angel Smileys + $b['texts'][] = ':angel'; $b['icons'][] = '' . ':angel' . ''; @@ -141,6 +174,8 @@ function smiley_pack_smilies(&$a,&$b) { $b['texts'][] = ':graveside'; $b['icons'][] = '' . ':graveside' . ''; +#Unpleasent smileys. + $b['texts'][] = ':toilet'; $b['icons'][] = '' . ':toilet' . ''; @@ -150,21 +185,32 @@ function smiley_pack_smilies(&$a,&$b) { $b['texts'][] = ':vomit'; $b['icons'][] = '' . ':vomit' . ''; + $b['texts'][] = ':fartblush'; + $b['icons'][] = '' . ':fartblush' . ''; + +#Drinks + $b['texts'][] = ':tea'; $b['icons'][] = '' . ':tea' . ''; $b['texts'][] = ':drool'; $b['icons'][] = '' . ':drool' . ''; +#Sad smileys + $b['texts'][] = ':crying'; $b['icons'][] = '' . ':crying' . ''; $b['texts'][] = ':prisoner'; $b['icons'][] = '' . ':prisoner' . ''; +#Smoking - only one smiley in here, maybe it needs moving elsewhere? + $b['texts'][] = ':smoking'; $b['icons'][] = '' . ':smoking' . ''; +#Sport smileys + $b['texts'][] = ':basketball'; $b['icons'][] = '' . ':basketball' . ''; @@ -207,6 +253,7 @@ function smiley_pack_smilies(&$a,&$b) { $b['texts'][] = ':horseriding'; $b['icons'][] = '' . ':horseriding' . ''; +#Love smileys $b['texts'][] = ':iloveyou'; $b['icons'][] = '' . ':iloveyou' . ''; @@ -226,6 +273,8 @@ function smiley_pack_smilies(&$a,&$b) { $b['texts'][] = ':loveheart'; $b['icons'][] = '' . ':loveheart' . ''; +#Tired/Sleep smileys + $b['texts'][] = ':countsheep'; $b['icons'][] = '' . ':countsheep' . ''; @@ -235,6 +284,8 @@ function smiley_pack_smilies(&$a,&$b) { $b['texts'][] = ':pillow'; $b['icons'][] = '' . ':pillow' . ''; +#Fight/Flame/Violent smileys + $b['texts'][] = ':2guns'; $b['icons'][] = '' . ':2guns' . ''; @@ -292,6 +343,8 @@ function smiley_pack_smilies(&$a,&$b) { $b['texts'][] = ':acid'; $b['icons'][] = '' . ':acid' . ''; +#Fantasy smileys - monsters and dragons fantasy. The other type of fantasy belongs in adult smileys + $b['texts'][] = ':alienmonster'; $b['icons'][] = '' . ':alienmonster' . ''; @@ -313,6 +366,8 @@ function smiley_pack_smilies(&$a,&$b) { $b['texts'][] = ':mummy'; $b['icons'][] = '' . ':mummy' . ''; +#Food smileys + $b['texts'][] = ':apple'; $b['icons'][] = '' . ':apple' . ''; @@ -337,6 +392,10 @@ function smiley_pack_smilies(&$a,&$b) { $b['texts'][] = ':cooking'; $b['icons'][] = '' . ':cooking' . ''; + $b['texts'][] = ':fryegg'; + $b['icons'][] = '' . ':fryegg' . ''; + +#Happy smileys $b['texts'][] = ':cloud9'; $b['icons'][] = '' . ':cloud9' . ''; @@ -344,6 +403,8 @@ function smiley_pack_smilies(&$a,&$b) { $b['texts'][] = ':tearsofjoy'; $b['icons'][] = '' . ':tearsofjoy' . ''; +#Repsect smileys + $b['texts'][] = ':bow'; $b['icons'][] = '' . ':bow' . ''; @@ -356,6 +417,8 @@ function smiley_pack_smilies(&$a,&$b) { $b['texts'][] = ':number1'; $b['icons'][] = '' . ':number1' . ''; +#Laugh smileys + $b['texts'][] = ':hahaha'; $b['icons'][] = '' . ':hahaha' . ''; @@ -365,6 +428,8 @@ function smiley_pack_smilies(&$a,&$b) { $b['texts'][] = ':rofl'; $b['icons'][] = '' . ':rofl' . ''; +#Music smileys + $b['texts'][] = ':dj'; $b['icons'][] = '' . ':dj' . ''; @@ -383,6 +448,8 @@ function smiley_pack_smilies(&$a,&$b) { $b['texts'][] = ':violin'; $b['icons'][] = '' . ':violin' . ''; +#Smileys that used to be in core + $b['texts'][] = ':headbang'; $b['icons'][] = '' . ':headbang' . ''; @@ -404,5 +471,15 @@ function smiley_pack_smilies(&$a,&$b) { $b['texts'][] = ':headdesk'; $b['icons'][] = '' . ':headdesk' . ''; +#These two are still in core, so oldcore isn't strictly right, but we don't want too many directories + + $b['texts'][] = ':-d'; + $b['icons'][] = '' . ':-d' . ''; + + $b['texts'][] = ':-o'; + $b['icons'][] = '' . ':-o' . ''; + + + }