mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +00:00
use getAttributeTypeText() and getAttributeObjectTypeText()
This commit is contained in:
parent
12a9762c96
commit
23bd194007
|
@ -644,7 +644,7 @@ if(($kkk = $this->callHook('getFullSearchEngine')) && is_array($kkk))
|
||||||
echo "<option value=\"".$rec->getID()."\"";
|
echo "<option value=\"".$rec->getID()."\"";
|
||||||
if(in_array($rec->getID(), $selections))
|
if(in_array($rec->getID(), $selections))
|
||||||
echo " selected";
|
echo " selected";
|
||||||
echo ">".htmlspecialchars($rec->getName())."</option>";
|
echo " data-subtitle=\"".htmlspecialchars(getAttributeObjectTypeText($rec).", ".getAttributeTypeText($rec))."\">".htmlspecialchars($rec->getName())."</option>";
|
||||||
}
|
}
|
||||||
echo "</select>";
|
echo "</select>";
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user