$idAndClass = 'id="more-narrowGroupHidden-'.$this->escapeHtmlAttr($this->title).'" class="facet narrow-toggle"'; ?> $moreClass = 'narrowGroupHidden-'.$this->escapeHtmlAttr($this->title).' hidden'; ?> foreach ($this->cluster['list'] as $i => $thisFacet): ?> if(empty($thisFacet['displayText'])) { $thisFacet['displayText'] = "-"; } ?> /* MORE link */ ?> if ($i == $this->facets_before_more): ?> if ($facetLightbox = $this->options->getFacetListAction()): ?> $moreUrl = $this->url($facetLightbox) . $results->getUrlQuery()->getParams() . '&facet=' . $this->title . '&facetop=' . $thisFacet['operator'] . '&facetexclude=' . ($this->allowExclude ? 1 : 0); ?> else: ?> $moreUrl = '#'; ?> endif; ?> if (($this->showMoreInLightbox && $this->showMoreInLightbox !== 'more') && $facetLightbox): ?> data-lightbox href="=$moreUrl ?>" rel="nofollow">=$this->transEsc('more')?> ... break; ?> endif; ?> href="=$moreUrl ?>" onclick="return moreFacets('narrowGroupHidden-=$this->escapeHtmlAttr($this->title) ?>')" rel="nofollow">=$this->transEsc('more')?> ... endif; ?> $affectiveURL = $thisFacet['isApplied'] ? $this->currentPath() . $results->getUrlQuery()->removeFacet($this->title, $thisFacet['value'], $thisFacet['operator']) : $this->currentPath() . $results->getUrlQuery()->addFacet($this->title, $thisFacet['value'], $thisFacet['operator']); ?> if (!$thisFacet['isApplied'] && $this->allowExclude): ?>