roundcubemail/plugins/enigma/lib/enigma_ui.php
private function get_rowcount_text($all=0, $curr_count=0, $page=1)
    {
        if (!$curr_count) {
            $out = $this->enigma->gettext('nokeysfound');
        }
        else {
            $pagesize = $this->rc->config->get('pagesize', 100);
            $first    = ($page - 1) * $pagesize;

            $out = $this->enigma->gettext(array(
                'name' => 'keysfromto',
                'vars' => array(
                    'from'  => $first + 1,
                    'to'    => $first + $curr_count,
                    'count' => $all)
            ));
        }

        return $out;
    }
private function get_rowcount_text($all=0, $curr_count=0, $page=1)
    {
        if (!$curr_count) {
            $out = $this->enigma->gettext('nokeysfound');
        }
        else {
            $pagesize = $this->rc->config->get('pagesize', 100);
            $first    = ($page - 1) * $pagesize;

            $out = $this->enigma->gettext(array(
                'name' => 'keysfromto',
                'vars' => array(
                    'from'  => $first + 1,
                    'to'    => $first + $curr_count,
                    'count' => $all)
            ));
        }

        return $out;
    }
private function get_rowcount_text ( $ all = 0 , $ curr_count = 0 , $ page = 1 ) { if ( ! $ curr_count ) { $ out = $ this -> enigma -> gettext ( 'nokeysfound' ) ; } else { $ pagesize = $ this -> rc -> config -> get ( 'pagesize' , 100 ) ; $ first = ( $ page - 1 ) * $ pagesize ; $ out = $ this -> enigma -> gettext ( array ( 'name' => 'keysfromto' , 'vars' => array ( 'from' => $ first + 1 , 'to' => $ first + $ curr_count , 'count' => $ all ) ) ) ; } return $ out ; }
Returns text representation of list records counter
Returns text representation of list records counter