wsLinks::getLinksAndRulersFromFile($this->book_id, $links, $rulers);
+ if ($this->book->parametres->basketManager === 'Puma') {
+ foreach ($links as $k => $init) {
+ if ($init['type'] == 12 && isset($this->config->product_zoom_references[$init['to']]) && count($this->config->product_zoom_references[$init['to']]) > 0 && implode('', $this->config->product_zoom_references[$init['to']]) != '') {
+ $init['infobulle'] = 'Digital information';
+ $init['animation'] = 'reflet-anim.html';
+ $links[$k] = $init;
+ }
+ }
+
+ }
+
// Custom landing page content
if ($this->book->parametres->landingPage != '') {
$d = $this->unzipFile($this->book->parametres->landingPage, false, 'data/landing-page/');
return new actionLink($id, $init, $compiler);
case 12:
if ($compiler->book->parametres->basketManager === 'Puma') {
- if (isset($compiler->config->product_zoom_references[$init['to']]) && count($compiler->config->product_zoom_references[$init['to']]) > 0 && implode('', $compiler->config->product_zoom_references[$init['to']]) != '') {
- $init['infobulle'] = 'Digital information';
- }
return new zoomProductLink($id, $init, $compiler);
}
if ($compiler->book->parametres->product_zoom_references !== '') {