Subversion Repositories Sites.tela-botanica.org

Compare Revisions

Ignore whitespace Rev 7 → Rev 576

/trunk/api/fragmenteur/FRAG_Fragmenteur.class.php
114,8 → 114,8
$this->curr_page = $current_page;
$this->nb_grp = ceil(($this->nb_pages) / ($this->max_fg_pages));
$this->curr_grp = floor( ($tableau['pstart'] + (($this->max_fg_pages) * $tableau['step']) ) / (($this->max_fg_pages) * $tableau['step'])) - 1;
$this->curr_grp = floor(($tableau['pstart'] + ($this->max_fg_pages * $tableau['step'])) / ($this->max_fg_pages * $tableau['step'])) - 1;
 
// 1- Altération des données de tmpTab pour passer les paramètres de saut de page
// 1-a- tmpTab de la page précédente
199,8 → 199,8
}
// Bouton pour groupes de pages suivants
if ( ( ($this->nb_grp) > 1) && (($this->curr_grp) < (($this->nb_grp) - 1) ) ) {
$txt_fin = (($this->max_fg_pages) * $tableau['step']).' données suivantes';
if ( $this->nb_grp > 1 && ($this->curr_grp < ($this->nb_grp - 1))) {
$txt_fin = ($this->max_fg_pages * $tableau['step']).' données suivantes';
$var_fragmenteur .= ' <a class="frag_fin" href="'.$this->url.'&amp;TransTab='.$stockagevar.'pstart,'.
((($this->curr_grp) + 1) * ($this->max_fg_pages) * $tableau['step']).'!'.$tableau['args'].'" title="'.$txt_fin.'">'.
'<span>'.$txt_fin.'</span>'.