protected static function _fixV2TooltipLinks(&$links)
{
foreach ($links as $k => $link) {
- if ($link['type'] == Link::TOOLTIP && (!$link['inline'] || $link['inline']==='popup')) {
+ if ($link['type'] == Link::TOOLTIP && (!$link['inline'] || $link['inline'] === 'popup')) {
$links[$k]['type'] = Link::TEXT_POPUP;
$links[$k]['to'] = $link['infobulle'];
$links[$k]['infobulle'] = $links[$k]['tooltip'] = '';
}
$link = [];
- $cols = array('page' => '', 'left' => '', 'top' => '', 'width' => '', 'height' => '', 'type' => '', 'to' => '', 'target' => '_blank', 'video_loop' => true, 'video_auto_start' => true, 'video_controls' => true, 'video_sound_on' => true, 'tooltip' => '', 'numerotation' => 'physical', "inline" => 'inline', 'pdfjs' => 'normal');
+ $cols = ['page' => '',
+ 'left' => '',
+ 'top' => '',
+ 'width' => '',
+ 'height' => '',
+ 'type' => '',
+ 'to' => '',
+ 'target' => '_blank',
+ 'video_loop' => true,
+ 'video_auto_start' => true,
+ 'video_controls' => true,
+ 'video_sound_on' => true,
+ 'tooltip' => '',
+ 'numerotation' => 'physical',
+ "inline" => 'inline',
+ 'pdfjs' => 'normal'];
+
$k = 0;
foreach ($cols as $col => $default) {
if (isset($line[$k])) {
@font-face {
font-family: 'Montserrat';
font-style: normal;
- font-weight: 600;
- url('600.woff2') format('woff2');
+ font-weight: 700;
+ src: url('700.woff2') format('woff2');
}
@font-face {
font-family: 'Montserrat';
font-style: normal;
- font-weight: 900;
- url('900.woff2') format('woff2');
+ font-weight: 800;
+ src: url('800.woff2') format('woff2');
}
@font-face {
font-family: 'Montserrat';
- font-style: italic;
- font-weight: 200;
- url('200italic.woff2') format('woff2');
+ font-style: normal;
+ font-weight: 100;
+ src: url('100.woff2') format('woff2');
}
@font-face {
font-family: 'Montserrat';
- font-style: normal;
- font-weight: 100;
- url('100.woff2') format('woff2');
+ font-style: italic;
+ font-weight: 800;
+ src: url('800italic.woff2') format('woff2');
}
@font-face {
font-family: 'Montserrat';
- font-style: italic;
- font-weight: 500;
- url('500italic.woff2') format('woff2');
+ font-style: normal;
+ font-weight: 200;
+ src: url('200.woff2') format('woff2');
}
@font-face {
font-family: 'Montserrat';
- font-style: italic;
- font-weight: 600;
- url('600italic.woff2') format('woff2');
+ font-style: normal;
+ font-weight: 500;
+ src: url('500.woff2') format('woff2');
}
@font-face {
font-family: 'Montserrat';
- font-style: italic;
- font-weight: 400;
- url('italic.woff2') format('woff2');
+ font-style: normal;
+ font-weight: 900;
+ src: url('900.woff2') format('woff2');
}
@font-face {
font-family: 'Montserrat';
font-style: normal;
- font-weight: 200;
- url('200.woff2') format('woff2');
+ font-weight: 300;
+ src: url('300.woff2') format('woff2');
}
@font-face {
font-family: 'Montserrat';
font-style: italic;
- font-weight: 300;
- url('300italic.woff2') format('woff2');
+ font-weight: 400;
+ src: url('italic.woff2') format('woff2');
}
@font-face {
font-family: 'Montserrat';
font-style: italic;
- font-weight: 900;
- url('900italic.woff2') format('woff2');
+ font-weight: 700;
+ src: url('700italic.woff2') format('woff2');
}
@font-face {
font-family: 'Montserrat';
- font-style: normal;
- font-weight: 800;
- url('800.woff2') format('woff2');
+ font-style: italic;
+ font-weight: 200;
+ src: url('200italic.woff2') format('woff2');
}
@font-face {
font-family: 'Montserrat';
font-style: italic;
- font-weight: 800;
- url('800italic.woff2') format('woff2');
+ font-weight: 100;
+ src: url('100italic.woff2') format('woff2');
}
@font-face {
font-family: 'Montserrat';
font-style: normal;
- font-weight: 700;
- url('700.woff2') format('woff2');
+ font-weight: 600;
+ src: url('600.woff2') format('woff2');
}
@font-face {
font-family: 'Montserrat';
- font-style: normal;
+ font-style: italic;
font-weight: 300;
- url('300.woff2') format('woff2');
+ src: url('300italic.woff2') format('woff2');
}
@font-face {
font-family: 'Montserrat';
- font-style: normal;
+ font-style: italic;
font-weight: 500;
- url('500.woff2') format('woff2');
+ src: url('500italic.woff2') format('woff2');
}
@font-face {
font-family: 'Montserrat';
font-style: italic;
- font-weight: 100;
- url('100italic.woff2') format('woff2');
+ font-weight: 900;
+ src: url('900italic.woff2') format('woff2');
}
@font-face {
font-family: 'Montserrat';
font-style: italic;
- font-weight: 700;
- url('700italic.woff2') format('woff2');
+ font-weight: 600;
+ src: url('600italic.woff2') format('woff2');
}
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 400;
- url('regular.woff2') format('woff2');
+ src: url('regular.woff2') format('woff2');
}
font-family: 'Open Sans';
font-style: italic;
font-weight: 700;
- url('700italic.woff2') format('woff2');
+ src: url('700italic.woff2') format('woff2');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
- url('regular.woff2') format('woff2');
+ src: url('regular.woff2') format('woff2');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 500;
- url('500.woff2') format('woff2');
+ src: url('500.woff2') format('woff2');
}
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 800;
- url('800italic.woff2') format('woff2');
+ src: url('800italic.woff2') format('woff2');
}
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 300;
- url('300italic.woff2') format('woff2');
+ src: url('300italic.woff2') format('woff2');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
- url('300.woff2') format('woff2');
+ src: url('300.woff2') format('woff2');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 800;
- url('800.woff2') format('woff2');
+ src: url('800.woff2') format('woff2');
}
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 600;
- url('600italic.woff2') format('woff2');
+ src: url('600italic.woff2') format('woff2');
}
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 500;
- url('500italic.woff2') format('woff2');
+ src: url('500italic.woff2') format('woff2');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
- url('600.woff2') format('woff2');
+ src: url('600.woff2') format('woff2');
}
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 400;
- url('italic.woff2') format('woff2');
+ src: url('italic.woff2') format('woff2');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
- url('700.woff2') format('woff2');
+ src: url('700.woff2') format('woff2');
}
font-family: 'Source Sans 3';
font-style: normal;
font-weight: 600;
- url('600.woff2') format('woff2');
+ src: url('600.woff2') format('woff2');
}
@font-face {
font-family: 'Source Sans 3';
font-style: normal;
font-weight: 200;
- url('200.woff2') format('woff2');
+ src: url('200.woff2') format('woff2');
}
@font-face {
font-family: 'Source Sans 3';
font-style: italic;
font-weight: 700;
- url('700italic.woff2') format('woff2');
+ src: url('700italic.woff2') format('woff2');
}
@font-face {
font-family: 'Source Sans 3';
font-style: normal;
font-weight: 800;
- url('800.woff2') format('woff2');
+ src: url('800.woff2') format('woff2');
}
@font-face {
font-family: 'Source Sans 3';
font-style: italic;
font-weight: 600;
- url('600italic.woff2') format('woff2');
+ src: url('600italic.woff2') format('woff2');
}
@font-face {
font-family: 'Source Sans 3';
font-style: italic;
font-weight: 200;
- url('200italic.woff2') format('woff2');
+ src: url('200italic.woff2') format('woff2');
}
@font-face {
font-family: 'Source Sans 3';
font-style: normal;
font-weight: 400;
- url('regular.woff2') format('woff2');
+ src: url('regular.woff2') format('woff2');
}
@font-face {
font-family: 'Source Sans 3';
font-style: italic;
font-weight: 800;
- url('800italic.woff2') format('woff2');
+ src: url('800italic.woff2') format('woff2');
}
@font-face {
font-family: 'Source Sans 3';
font-style: normal;
font-weight: 700;
- url('700.woff2') format('woff2');
+ src: url('700.woff2') format('woff2');
}
@font-face {
font-family: 'Source Sans 3';
font-style: italic;
font-weight: 900;
- url('900italic.woff2') format('woff2');
+ src: url('900italic.woff2') format('woff2');
}
@font-face {
font-family: 'Source Sans 3';
font-style: normal;
font-weight: 900;
- url('900.woff2') format('woff2');
+ src: url('900.woff2') format('woff2');
}
@font-face {
font-family: 'Source Sans 3';
font-style: italic;
font-weight: 500;
- url('500italic.woff2') format('woff2');
+ src: url('500italic.woff2') format('woff2');
}
@font-face {
font-family: 'Source Sans 3';
font-style: normal;
font-weight: 300;
- url('300.woff2') format('woff2');
+ src: url('300.woff2') format('woff2');
}
@font-face {
font-family: 'Source Sans 3';
font-style: italic;
font-weight: 300;
- url('300italic.woff2') format('woff2');
+ src: url('300italic.woff2') format('woff2');
}
@font-face {
font-family: 'Source Sans 3';
font-style: italic;
font-weight: 400;
- url('italic.woff2') format('woff2');
+ src: url('italic.woff2') format('woff2');
}
@font-face {
font-family: 'Source Sans 3';
font-style: normal;
font-weight: 500;
- url('500.woff2') format('woff2');
+ src: url('500.woff2') format('woff2');
}