Browse Source

:coffee extended smilie

tags/2.38
friendica 8 years ago
parent
commit
c506bb42a9
2 changed files with 2 additions and 1 deletions
  1. BIN
      images/coffee.gif
  2. +2
    -1
      include/text.php

BIN
images/coffee.gif View File

Before After
Width: 16  |  Height: 16  |  Size: 231 B

+ 2
- 1
include/text.php View File

@@ -679,7 +679,7 @@ function smilies($s) {

$s = str_replace(
array( '<3', '</3', '<\\3', ':-)', ':)', ';-)', ':-(', ':(', ':-P', ':P', ':-"', ':-x', ':-X', ':-D', '8-|', '8-O', '\\o/', 'o.O', 'O.o', '\\.../', '\\ooo/',
':beer', ':homebrew',
':beer', ':homebrew', ':coffee',
'~friendika', '~friendica', 'Diaspora*' ),
array(
'<img src="' . $a->get_baseurl() . '/images/smiley-heart.gif" alt="<3" />',
@@ -705,6 +705,7 @@ function smilies($s) {
'<img src="' . $a->get_baseurl() . '/images/smiley-shaka.gif" alt="\\ooo/" />',
'<img src="' . $a->get_baseurl() . '/images/beer_mug.gif" alt=":beer" />',
'<img src="' . $a->get_baseurl() . '/images/beer_mug.gif" alt=":homebrew" />',
'<img src="' . $a->get_baseurl() . '/images/coffee.gif" alt=":coffee" />',

'<a href="http://project.friendika.com">~friendika <img src="' . $a->get_baseurl() . '/images/friendika-16.png" alt="~friendika" /></a>',
'<a href="http://friendica.com">~friendica <img src="' . $a->get_baseurl() . '/images/friendika-16.png" alt="~friendica" /></a>',


Loading…
Cancel
Save