X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Ftext.php;h=f89a64a5706b3e96c73d00874180eab4fdca619f;hb=a67710bc7cca030c74a71d4462c9ab55fa44d783;hp=9a65224af9bfd4e3d8ae19b5f7b97c67734b6038;hpb=26c5c7991af3b27f079b5494def31707bfe1054a;p=friendica.git
diff --git a/include/text.php b/include/text.php
index 9a65224af9..f89a64a570 100644
--- a/include/text.php
+++ b/include/text.php
@@ -970,7 +970,7 @@ function micropro($contact, $redirect = false, $class = '', $textmode = false) {
. (($click) ? ' fakelink' : '') . '" '
. (($redir) ? ' target="redir" ' : '')
. (($url) ? ' href="' . $url . '"' : '') . $click . ' >' . "\r\n";
}
}}
@@ -998,12 +998,15 @@ function search($s,$id='search-box',$url='/search',$save = false, $aside = true)
'$savedsearch' => feature_enabled(local_user(),'savedsearch'),
);
- if (!$aside)
+ if (!$aside) {
$values['$searchoption'] = array(
t("Full Text"),
t("Tags"),
- t("Contacts"),
- t("Forums"));
+ t("Contacts"));
+
+ if (get_config('system','poco_local_search'))
+ $values['$searchoption'][] = t("Forums");
+ }
return replace_macros(get_markup_template('searchbox.tpl'), $values);
}}
@@ -1407,9 +1410,6 @@ function prepare_body(&$item,$attach = false, $preview = false) {
put_item_in_cache($item, true);
$s = $item["rendered-html"];
- require_once("mod/proxy.php");
- $s = proxy_parse_html($s);
-
$prep_arr = array('item' => $item, 'html' => $s, 'preview' => $preview);
call_hooks('prepare_body', $prep_arr);
$s = $prep_arr['html'];
@@ -1502,7 +1502,7 @@ function prepare_body(&$item,$attach = false, $preview = false) {
if($x) {
$s = preg_replace('/\