}
}
- $vars = array('titre', 'credits', 'ga', 'style', 'script', 'pagesContents', 'description', 'print', 'hiddenContents', 'splash', 'cache', 'bgcolor', 'message', 'favicon');
+ $svgfiles = array($this->assets . '/images/interface.svg');
+ $svg = '';
+ foreach ($svgfiles as $svgfile) {
+ if (file_exists($svgfile)) {
+ $svg .= file_get_contents($svgfile);
+ }
+ }
+
+
+ $vars = array('titre', 'credits', 'ga', 'style', 'script', 'pagesContents', 'description', 'print', 'hiddenContents', 'splash', 'cache', 'bgcolor', 'message', 'favicon', 'svg');
foreach ($vars as $v) {
$html = str_replace('<!-- $' . $v . ' -->', $$v, $html);
}
$shade .= '}';
$res[] = $shade;
+ // SVG
+
+ $res[] = 'svg .fill-c-menu-back{fill:' . self::colorToCSS($this->theme->parametres->couleurB) . ';}';
+ $res[] = 'svg .fill-c-menu-text{fill:' . self::colorToCSS($this->theme->parametres->subTextColor) . ';}';
+
// Search field
$searchColor = self::colorToCSS($this->theme->parametres->couleurS);
$searchBackColor = self::colorToCSS($this->theme->parametres->searchFieldColor);