Trean_View_BookmarkList::_getTagTrail PHP Method

_getTagTrail() protected method

Get HTML to represent the currently selected tags.
protected _getTagTrail ( ) : string
return string
    protected function _getTagTrail()
    {
        if ($this->_browser->tagCount() >= 1) {
            $html = '<div class="trean-tags-browsing">' . Horde::img('filter.png') . '<ul class="horde-tags">';
            foreach ($this->_browser->getTags() as $tag => $id) {
                $html .= '<li>' . htmlspecialchars($tag) . $this->_linkRemoveTag($tag)->link() . Horde::img('delete-small.png', _("Remove from search")) . '</a></li>';
            }
            return $html .= '</ul></div>';
        }
        return '';
    }