Subversion Repositories Sites.tela-botanica.org

Rev

Rev 4 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4 Rev 576
Line 112... Line 112...
112
        
112
        
113
        $this->nb_pages = $how_pages;
113
        $this->nb_pages = $how_pages;
Line 114... Line 114...
114
        $this->curr_page = $current_page;
114
        $this->curr_page = $current_page;
115
        
115
        
116
        $this->nb_grp = ceil(($this->nb_pages) / ($this->max_fg_pages));
116
        $this->nb_grp = ceil(($this->nb_pages) / ($this->max_fg_pages));
117
        $this->curr_grp = floor( ($tableau['pstart'] + (($this->max_fg_pages) * $tableau['step']) ) / (($this->max_fg_pages) * $tableau['step'])) - 1;
117
        $this->curr_grp = floor(($tableau['pstart'] + ($this->max_fg_pages * $tableau['step'])) / ($this->max_fg_pages * $tableau['step'])) - 1;
Line 118... Line 118...
118
        
118
 
119
        // 1- Altération des données de tmpTab pour passer les paramètres de saut de page
119
        // 1- Altération des données de tmpTab pour passer les paramètres de saut de page
120
        
120
        
Line 197... Line 197...
197
                                    '<span>'.$txt_suivant.'</span>'.
197
                                    '<span>'.$txt_suivant.'</span>'.
198
                                '</a>'."\n";
198
                                '</a>'."\n";
199
        }
199
        }
Line 200... Line 200...
200
        
200
        
201
        // Bouton pour groupes de pages suivants
201
        // Bouton pour groupes de pages suivants
202
        if ( ( ($this->nb_grp) > 1) && (($this->curr_grp) < (($this->nb_grp) - 1) ) ) {
202
        if ( $this->nb_grp > 1 && ($this->curr_grp < ($this->nb_grp - 1))) {
203
            $txt_fin = (($this->max_fg_pages) * $tableau['step']).' données suivantes';
203
        	$txt_fin = ($this->max_fg_pages * $tableau['step']).' données suivantes';
204
            $var_fragmenteur .= ' <a class="frag_fin" href="'.$this->url.'&amp;TransTab='.$stockagevar.'pstart,'.
204
            $var_fragmenteur .= ' <a class="frag_fin" href="'.$this->url.'&amp;TransTab='.$stockagevar.'pstart,'.
205
                                    ((($this->curr_grp) + 1) * ($this->max_fg_pages) * $tableau['step']).'!'.$tableau['args'].'" title="'.$txt_fin.'">'.
205
                                    ((($this->curr_grp) + 1) * ($this->max_fg_pages) * $tableau['step']).'!'.$tableau['args'].'" title="'.$txt_fin.'">'.
206
                                    '<span>'.$txt_fin.'</span>'.
206
                                    '<span>'.$txt_fin.'</span>'.
207
                                '</a>'."\n";
207
                                '</a>'."\n";