function contact_select($selname, $selclass, $preselected = false, $size = 4, $privmail = false, $celeb = false, $privatenet = false, $tabindex = null) {
-
- require_once "include/bbcode.php";
-
$a = get_app();
$o = '';
use Friendica\Util\Network;
use Friendica\Util\XML;
-require_once 'include/bbcode.php';
require_once 'include/conversation.php';
require_once 'include/html2plain.php';
require_once 'mod/share.php';
require_once 'include/event.php';
require_once 'include/html2bbcode.php';
-require_once 'include/bbcode.php';
/**
* @brief Callback function to replace a Diaspora style mention in a mention for Friendica
use Friendica\Util\Temporal;
use Friendica\Util\XML;
-require_once "include/bbcode.php";
require_once "include/acl_selectors.php";
function item_extract_images($body) {
*
*/
function conversation(App $a, $items, $mode, $update, $preview = false) {
- require_once 'include/bbcode.php';
require_once 'mod/proxy.php';
$ssl_state = ((local_user()) ? true : false);
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Emailer;
-require_once 'include/bbcode.php';
require_once 'include/html2bbcode.php';
/**
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Map;
-require_once 'include/bbcode.php';
require_once 'include/conversation.php';
function format_event_html($ev, $simple = false) {
function event_store($arr) {
require_once 'include/items.php';
- require_once 'include/bbcode.php';
$a = get_app();
use Friendica\Util\ParseUrl;
use Friendica\Util\Temporal;
-require_once 'include/bbcode.php';
require_once 'include/text.php';
require_once 'mod/share.php';
require_once 'include/enotify.php';
* @return string Formattet HTML.
*/
function prepare_text($text) {
-
- require_once 'include/bbcode.php';
-
if (stristr($text, '[nosmile]')) {
$s = BBCode::convert($text);
} else {
use Friendica\Content\Text\Markdown;
use Friendica\Core\L10n;
-require_once 'include/bbcode.php';
require_once 'include/bb2diaspora.php';
require_once 'include/html2bbcode.php';
$o .= '<h2>' . L10n::t("bbcode \x28raw HTML\x28: ") . '</h2>' . EOL . EOL;
$o .= htmlspecialchars($html) . EOL . EOL;
- //$html = bbcode($text);
$o .= '<h2>' . L10n::t('bbcode: ') . '</h2>' . EOL . EOL;
$o .= $html . EOL . EOL;
}
}
- require_once 'include/bbcode.php';
require_once 'include/security.php';
require_once 'include/conversation.php';
$o .= conversation($a, $items, 'display', $update_uid);
// Preparing the meta header
- require_once 'include/bbcode.php';
require_once 'include/html2plain.php';
+
$description = trim(html2plain(BBCode::convert($s[0]["body"], false), 0, true));
$title = trim(html2plain(BBCode::convert($s[0]["title"], false), 0, true));
$author_name = $s[0]["author-name"];
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Temporal;
-require_once 'include/bbcode.php';
require_once 'include/event.php';
require_once 'include/items.php';
use Friendica\Core\PConfig;
require_once 'include/security.php';
-require_once 'include/bbcode.php';
require_once 'include/items.php';
function filer_content(App $a)
use Friendica\Model\Item;
require_once 'include/security.php';
-require_once 'include/bbcode.php';
require_once 'include/items.php';
function like_content(App $a) {
intval(local_user())
);
- require_once("include/bbcode.php");
-
$tpl = get_markup_template('msg-header.tpl');
$a->page['htmlhead'] .= replace_macros($tpl, [
'$baseurl' => System::baseUrl(true),
return;
}
- require_once 'include/bbcode.php';
require_once 'include/security.php';
require_once 'include/conversation.php';
require_once 'include/acl_selectors.php';
$notif_tpl = get_markup_template('notifications.tpl');
$not_tpl = get_markup_template('notify.tpl');
- require_once('include/bbcode.php');
$r = $nm->getAll(['seen'=>0]);
if (DBM::is_result($r) > 0) {
require_once 'include/items.php';
require_once 'include/acl_selectors.php';
-require_once 'include/bbcode.php';
require_once 'include/security.php';
function photos_init(App $a) {
return;
}
- require_once 'include/bbcode.php';
require_once 'include/security.php';
require_once 'include/conversation.php';
use Friendica\Util\Temporal;
use Friendica\Util\XML;
-require_once 'include/bbcode.php';
require_once 'mod/proxy.php';
require_once 'include/enotify.php';
}
$about = Cache::get("about:" . $contact['updated'] . ":" . $contact['nurl']);
if (is_null($about)) {
- require_once 'include/bbcode.php';
$about = BBCode::convert($contact['about'], false);
Cache::set("about:" . $contact['updated'] . ":" . $contact['nurl'], $about);
}
use Friendica\Model\Item;
require_once 'include/security.php';
-require_once 'include/bbcode.php';
require_once 'include/items.php';
function poke_init(App $a) {
return Login::form();
}
- require_once 'include/bbcode.php';
require_once 'include/security.php';
require_once 'include/conversation.php';
require_once 'include/acl_selectors.php';
use Friendica\Util\DateTimeFormat;
require_once 'include/enotify.php';
-require_once 'include/bbcode.php';
function register_post(App $a)
{
use Friendica\Core\System;
use Friendica\Database\DBM;
-require_once "include/bbcode.php";
require_once 'include/security.php';
require_once 'include/conversation.php';
require_once 'mod/dirfind.php';
use Friendica\Model\Item;
require_once 'include/security.php';
-require_once 'include/bbcode.php';
require_once 'include/items.php';
function subthread_content(App $a) {
use Friendica\Model\Item;
require_once 'include/security.php';
-require_once 'include/bbcode.php';
require_once 'include/items.php';
function tagger_content(App $a) {
use Friendica\Database\DBM;
use Friendica\Model\Item;
-require_once 'include/bbcode.php';
-
function tagrm_post(App $a) {
if (!local_user()) {
require_once 'include/items.php';
require_once 'include/acl_selectors.php';
-require_once 'include/bbcode.php';
require_once 'include/security.php';
function videos_init(App $a) {
return;
}
-
- require_once('include/bbcode.php');
require_once('include/security.php');
require_once('include/conversation.php');
use Friendica\Util\Network;
use Friendica\Util\ParseUrl;
-require_once "include/bbcode.php";
require_once "include/event.php";
require_once "include/html2plain.php";
require_once "mod/proxy.php";
require_once 'include/dba.php';
require_once 'include/html2plain.php';
-require_once 'include/bbcode.php';
/**
* @brief Methods for read and write notifications from/to database
use dba;
require_once 'include/dba.php';
-require_once 'include/bbcode.php';
require_once 'mod/proxy.php';
class Profile
public static function getEvents()
{
- require_once 'include/bbcode.php';
-
$a = get_app();
$o = '';
require_once "include/event.php";
require_once "include/text.php";
require_once "include/html2bbcode.php";
-require_once "include/bbcode.php";
/**
* @brief This class contain functions to create and send DFRN XML files
require_once 'include/dba.php';
require_once 'include/html2bbcode.php';
-require_once 'include/bbcode.php';
require_once 'include/items.php';
require_once 'mod/share.php';
require_once 'include/enotify.php';
require_once 'include/html2plain.php';
require_once 'include/items.php';
-require_once 'include/bbcode.php';
/// @todo This is some ugly code that needs to be split into several methods
require_once 'include/dba.php';
require_once 'include/html2plain.php';
require_once 'include/items.php';
-require_once 'include/bbcode.php';
/*
* This file was at one time responsible for doing all deliveries, but this caused
require_once 'include/dba.php';
require_once 'include/items.php';
-require_once 'include/bbcode.php';
class Queue
{