mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Facebook and App.net is removed from nearly all places (#5581)
* Facebook is removed from nearly all places * Remove app.net as well - it's dead for some time now
This commit is contained in:
parent
e62c1c3f81
commit
8c2efa6df4
12 changed files with 12 additions and 41 deletions
|
@ -1003,16 +1003,13 @@ class BBCode extends BaseObject
|
|||
case 5:
|
||||
$text = $preshare . html_entity_decode("♲ ", ENT_QUOTES, 'UTF-8') . ' ' . $userid_compact . ": <br />" . $share[3];
|
||||
break;
|
||||
case 6: // app.net
|
||||
$text = $preshare . ">> @" . $userid_compact . ": <br />" . $share[3];
|
||||
break;
|
||||
case 7: // statusnet/GNU Social
|
||||
$text = $preshare . html_entity_decode("♲ ", ENT_QUOTES, 'UTF-8') . " @" . $userid_compact . ": " . $share[3];
|
||||
break;
|
||||
case 8: // twitter
|
||||
$text = $preshare . "RT @" . $userid_compact . ": " . $share[3];
|
||||
break;
|
||||
case 9: // Google+/Facebook
|
||||
case 9: // Google+
|
||||
$text = $preshare . html_entity_decode("♲ ", ENT_QUOTES, 'UTF-8') . ' ' . $userid_compact . ": <br />" . $share[3];
|
||||
|
||||
if ($link != "") {
|
||||
|
@ -1189,11 +1186,11 @@ class BBCode extends BaseObject
|
|||
* Simple HTML values meaning:
|
||||
* - 0: Friendica display
|
||||
* - 1: Unused
|
||||
* - 2: Used for Facebook, Google+, Windows Phone push, Friendica API
|
||||
* - 2: Used for Google+, Windows Phone push, Friendica API
|
||||
* - 3: Used before converting to Markdown in bb2diaspora.php
|
||||
* - 4: Used for WordPress, Libertree (before Markdown), pump.io and tumblr
|
||||
* - 5: Unused
|
||||
* - 6: Used for Appnet
|
||||
* - 6: Unused
|
||||
* - 7: Used for dfrn, OStatus
|
||||
* - 8: Used for WP backlink text setting
|
||||
*
|
||||
|
|
|
@ -520,7 +520,7 @@ class HTML
|
|||
|
||||
// A list of some links that should be ignored
|
||||
$list = ["/user/", "/tag/", "/group/", "/profile/", "/search?search=", "/search?tag=", "mailto:", "/u/", "/node/",
|
||||
"//facebook.com/profile.php?id=", "//plus.google.com/", "//twitter.com/"];
|
||||
"//plus.google.com/", "//twitter.com/"];
|
||||
foreach ($list as $listitem) {
|
||||
if (strpos($treffer[1], $listitem) !== false) {
|
||||
$ignore = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue