X-Git-Url: https://git.mxchange.org/?p=friendica-addons.git;a=blobdiff_plain;f=smiley_pack%2Fsmiley_pack.php;h=258ade767495fd5fea97e6b747a203da4ef8da10;hp=74d1da0699101cdc05dbccbc388fa81240e3a213;hb=d52dccac43f99ebf0b9dd7c0fc3fd3bed3ccabb4;hpb=bef36e1b174e939d707421d2eb6ea8b1bc336030
diff --git a/smiley_pack/smiley_pack.php b/smiley_pack/smiley_pack.php
index 74d1da06..258ade76 100644
--- a/smiley_pack/smiley_pack.php
+++ b/smiley_pack/smiley_pack.php
@@ -2,7 +2,7 @@
/*
* Name: Smiley Pack
* Description: Pack of smileys that make master too AOLish.
- * Version: 1.02
+ * Version: 1.04
* Author: Thomas Willingham (based on Mike Macgirvin's Adult Smile template)
* All smileys from sites offering them as Public Domain
*/
@@ -141,9 +141,6 @@ function smiley_pack_smilies(&$a,&$b) {
$b['texts'][] = ':affro';
$b['icons'][] = '';
- $b['texts'][] = ':cool';
- $b['icons'][] = '';
-
#Devil/Angel Smileys
$b['texts'][] = ':angel';
@@ -181,9 +178,6 @@ function smiley_pack_smilies(&$a,&$b) {
$b['texts'][] = ':fartinbed';
$b['icons'][] = '';
- $b['texts'][] = ':vomit';
- $b['icons'][] = '';
-
$b['texts'][] = ':fartblush';
$b['icons'][] = '';
@@ -228,9 +222,6 @@ function smiley_pack_smilies(&$a,&$b) {
$b['texts'][] = ':fencing';
$b['icons'][] = '';
- $b['texts'][] = ':golf';
- $b['icons'][] = '';
-
$b['texts'][] = ':juggling';
$b['icons'][] = '';
@@ -240,18 +231,12 @@ function smiley_pack_smilies(&$a,&$b) {
$b['texts'][] = ':archery';
$b['icons'][] = '';
- $b['texts'][] = ':football';
- $b['icons'][] = '';
-
$b['texts'][] = ':surfing';
$b['icons'][] = '';
$b['texts'][] = ':snooker';
$b['icons'][] = '';
- $b['texts'][] = ':tennis';
- $b['icons'][] = '';
-
$b['texts'][] = ':horseriding';
$b['icons'][] = '';
@@ -297,9 +282,6 @@ function smiley_pack_smilies(&$a,&$b) {
$b['texts'][] = ':alienfight';
$b['icons'][] = '';
- $b['texts'][] = ':alpha';
- $b['icons'][] = '';
-
$b['texts'][] = ':army';
$b['icons'][] = '';
@@ -333,21 +315,6 @@ function smiley_pack_smilies(&$a,&$b) {
$b['texts'][] = ':machinegun';
$b['icons'][] = '';
- $b['texts'][] = ':marine';
- $b['icons'][] = '';
-
- $b['texts'][] = ':sabre';
- $b['icons'][] = '';
-
- $b['texts'][] = ':tank';
- $b['icons'][] = '';
-
- $b['texts'][] = ':viking';
- $b['icons'][] = '';
-
- $b['texts'][] = ':gangs';
- $b['icons'][] = '';
-
$b['texts'][] = ':acid';
$b['icons'][] = '';
@@ -438,14 +405,9 @@ function smiley_pack_smilies(&$a,&$b) {
#Music smileys
- $b['texts'][] = ':dj';
- $b['icons'][] = '';
-
$b['texts'][] = ':drums';
$b['icons'][] = '';
- $b['texts'][] = ':elvis';
- $b['icons'][] = '';
$b['texts'][] = ':guitar';
$b['icons'][] = '';
@@ -453,9 +415,6 @@ function smiley_pack_smilies(&$a,&$b) {
$b['texts'][] = ':trumpet';
$b['icons'][] = '';
- $b['texts'][] = ':violin';
- $b['icons'][] = '';
-
#Smileys that used to be in core
$b['texts'][] = ':headbang';
@@ -487,7 +446,50 @@ function smiley_pack_smilies(&$a,&$b) {
$b['texts'][] = ':-o';
$b['icons'][] = '';
+# 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';
+ $b['icons'][] = '';
+ $b['texts'][] = ':vomit';
+ $b['icons'][] = '';
+ $b['texts'][] = ':golf';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':football';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':tennis';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':alpha';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':marine';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':sabre';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':tank';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':viking';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':gangs';
+ $b['icons'][] = '';
+
+
+ $b['texts'][] = ':dj';
+ $b['icons'][] = '';
+
+
+ $b['texts'][] = ':elvis';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':violin';
+ $b['icons'][] = '';
}