function _putpages()
{
$nb = $this->page;
if (!empty($this->PageGroups)) {
// do page number replacement
foreach ($this->PageGroups as $k => $v) {
for ($n = 1; $n <= $nb; $n++) {
$this->pages[$n] = str_replace($k, $v, $this->pages[$n]);
}
}
}
parent::_putpages();
}