mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-12 12:41:30 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
eeb3422e8a
|
@ -303,7 +303,7 @@ function typeahead() { /* {{{ */
|
||||||
);
|
);
|
||||||
$options = array();
|
$options = array();
|
||||||
foreach ($allUsers as $currUser) {
|
foreach ($allUsers as $currUser) {
|
||||||
if($user->isAdmin() || (!$currUser->isGuest() && (!$currObj->isHidden() || $currObj->getID() == $user->getID())))
|
if($user->isAdmin() || (!$currUser->isGuest() && (!$currUser->isHidden() || $currUser->getID() == $user->getID())))
|
||||||
$options[] = array($currUser->getID(), htmlspecialchars($currUser->getLogin()), in_array($currUser->getID(), $owner), array(array('data-subtitle', htmlspecialchars($currUser->getFullName()))));
|
$options[] = array($currUser->getID(), htmlspecialchars($currUser->getLogin()), in_array($currUser->getID(), $owner), array(array('data-subtitle', htmlspecialchars($currUser->getFullName()))));
|
||||||
}
|
}
|
||||||
$this->formField(
|
$this->formField(
|
||||||
|
@ -537,7 +537,7 @@ function typeahead() { /* {{{ */
|
||||||
if(!isset($facets['owner'])) {
|
if(!isset($facets['owner'])) {
|
||||||
$options = array();
|
$options = array();
|
||||||
foreach ($allUsers as $currUser) {
|
foreach ($allUsers as $currUser) {
|
||||||
if($user->isAdmin() || (!$currUser->isGuest() && (!$currObj->isHidden() || $currObj->getID() == $user->getID())))
|
if($user->isAdmin() || (!$currUser->isGuest() && (!$currUser->isHidden() || $currUser->getID() == $user->getID())))
|
||||||
$options[] = array($currUser->getID(), htmlspecialchars($currUser->getLogin()), in_array($currUser->getID(), $owner), array(array('data-subtitle', htmlspecialchars($currUser->getFullName()))));
|
$options[] = array($currUser->getID(), htmlspecialchars($currUser->getLogin()), in_array($currUser->getID(), $owner), array(array('data-subtitle', htmlspecialchars($currUser->getFullName()))));
|
||||||
}
|
}
|
||||||
$this->formField(
|
$this->formField(
|
||||||
|
@ -631,7 +631,6 @@ foreach($facets as $facetname=>$values) {
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
echo "</div>";
|
|
||||||
$this->columnEnd();
|
$this->columnEnd();
|
||||||
$this->columnStart(8);
|
$this->columnStart(8);
|
||||||
$this->contentHeading(getMLText('search_results'));
|
$this->contentHeading(getMLText('search_results'));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user