concrete/src/Legacy/ItemList.php
public function displaySummary($right_content = '')
    {
        if ($this->getTotal() < 1) {
            return false;
        }
        $summary = $this->getSummary();
        if ($summary->currentEnd == -1) {
            $html = '<div class="ccm-paging-top">'. t('Viewing <b>%s</b> to <b>%s</b> (<b>%s</b> Total)', $summary->currentStart, "<span id=\"pagingPageResults\">" . $summary->total . "</span>", "<span id=\"pagingTotalResults\">" . $this->total . "</span>") . ($right_content != '' ? '<span class="ccm-paging-top-content">'. $right_content .'</span>' : '') .'</div>';
        } else {
            $html = '<div class="ccm-paging-top">'. t('Viewing <b>%s</b> to <b>%s</b> (<b>%s</b> Total)', $summary->currentStart, "<span id=\"pagingPageResults\">" . $summary->currentEnd . "</span>", "<span id=\"pagingTotalResults\">" . $this->total . "</span>") . ($right_content != '' ? '<span class="ccm-paging-top-content">'. $right_content .'</span>' : '') .'</div>';
        }
        echo $html;
    }
public function displaySummary($right_content = '')
    {
        if ($this->getTotal() < 1) {
            return false;
        }
        $summary = $this->getSummary();
        if ($summary->currentEnd == -1) {
            $html = '<div class="ccm-paging-top">'. t('Viewing <b>%s</b> to <b>%s</b> (<b>%s</b> Total)', $summary->currentStart, "<span id=\"pagingPageResults\">" . $summary->total . "</span>", "<span id=\"pagingTotalResults\">" . $this->total . "</span>") . ($right_content != '' ? '<span class="ccm-paging-top-content">'. $right_content .'</span>' : '') .'</div>';
        } else {
            $html = '<div class="ccm-paging-top">'. t('Viewing <b>%s</b> to <b>%s</b> (<b>%s</b> Total)', $summary->currentStart, "<span id=\"pagingPageResults\">" . $summary->currentEnd . "</span>", "<span id=\"pagingTotalResults\">" . $this->total . "</span>") . ($right_content != '' ? '<span class="ccm-paging-top-content">'. $right_content .'</span>' : '') .'</div>';
        }
        echo $html;
    }
public function displaySummary ( $ right_content = '' ) { if ( $ this -> getTotal ( ) < 1 ) { return false ; } $ summary = $ this -> getSummary ( ) ; if ( $ summary -> currentEnd == - 1 ) { $ html = '<div class="ccm-paging-top">' . t ( 'Viewing <b>%s</b> to <b>%s</b> (<b>%s</b> Total)' , $ summary -> currentStart , "<span id=\"pagingPageResults\">" . $ summary -> total . "</span>" , "<span id=\"pagingTotalResults\">" . $ this -> total . "</span>" ) . ( $ right_content != '' ? '<span class="ccm-paging-top-content">' . $ right_content . '</span>' : '' ) . '</div>' ; } else { $ html = '<div class="ccm-paging-top">' . t ( 'Viewing <b>%s</b> to <b>%s</b> (<b>%s</b> Total)' , $ summary -> currentStart , "<span id=\"pagingPageResults\">" . $ summary -> currentEnd . "</span>" , "<span id=\"pagingTotalResults\">" . $ this -> total . "</span>" ) . ( $ right_content != '' ? '<span class="ccm-paging-top-content">' . $ right_content . '</span>' : '' ) . '</div>' ; } echo $ html ; }
Displays summary text about a list.
Displays summary text about a list .