X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Facl_selectors.php;h=668544b0bcf8df71afd51cc7628a466078157e4c;hb=1cd1f7587c8dadc9368e0089613d75988d7e3d53;hp=0a9b2c90aeeb6ab522d8fc5ba6db32b78ca39eb9;hpb=1a5da0ae60b2be930e4cd76b28e34aeb550935f0;p=friendica.git
diff --git a/include/acl_selectors.php b/include/acl_selectors.php
index 0a9b2c90ae..668544b0bc 100644
--- a/include/acl_selectors.php
+++ b/include/acl_selectors.php
@@ -2,13 +2,14 @@
require_once("include/contact_selectors.php");
require_once("include/features.php");
+require_once("mod/proxy.php");
/**
- *
+ *
*/
/**
- * @package acl_selectors
+ * @package acl_selectors
*/
function group_select($selname,$selclass,$preselected = false,$size = 4) {
@@ -35,11 +36,12 @@ function group_select($selname,$selclass,$preselected = false,$size = 4) {
$selected = " selected=\"selected\" ";
else
$selected = '';
+
$trimmed = mb_substr($rr['name'],0,12);
$o .= "\r\n";
}
-
+
}
$o .= "\r\n";
@@ -89,13 +91,13 @@ function contact_selector($selname, $selclass, $preselected = false, $options) {
$networks = array('dfrn','mail','dspr');
else
$networks = array('dfrn','face','mail','dspr','stat');
- break;
+ break;
default:
break;
}
}
}
-
+
$x = array('options' => $options, 'size' => $size, 'single' => $single, 'mutual' => $mutual, 'exclude' => $exclude, 'networks' => $networks);
call_hooks('contact_select_options', $x);
@@ -117,15 +119,15 @@ function contact_selector($selname, $selclass, $preselected = false, $options) {
$str_nets = implode(',',$x['networks']);
$sql_extra .= " AND `network` IN ( $str_nets ) ";
}
-
+
$tabindex = (x($options, 'tabindex') ? "tabindex=\"" . $options["tabindex"] . "\"" : "");
if($x['single'])
$o .= "