/* Icones */\r
$this->fields['iconSet'] = array('type' => 'combo', 'default' => '15', 'editable' => true,\r
'label' => __("Jeu d'icônes"), 'datas' => $iconSets);\r
+ $this->fields['symbols'] = array('type' => 'file', 'default' => '', 'editable' => true,\r
+ 'label' => __('Symbols'),\r
+ 'path' => $themeRoot,\r
+ 'uploadURL' => $uploadThemeURL . '&fieldname=symbols');\r
$this->fields['couleurI'] = array('type' => 'couleur', 'default' => '$couleurA', 'editable' => true,\r
'label' => __("Couleur des icônes"));\r
\r
$this->forms['icones'] = array('label' => __('Personnalisation des icônes'),\r
- 'fieldsnames' => array('iconSet', 'couleurI'));\r
+ 'fieldsnames' => array('iconSet','symbols', 'couleurI'));\r
\r
/* Book */\r
$this->fields['interfaceFont'] = ['type' => 'combo', 'default' => 'OpenSans', 'datas' => wsBookParametres::$fonts, 'editable' => true, 'label' => __('Police de l\'interface')];\r
if ($this->theme->parametres->iconSet > 15) {
$this->svgfiles[] = WS_ICONS . '/' . $this->theme->parametres->iconSet . '/interface.svg';
}
+ if ($this->theme->parametres->symbols !== '') {
+ $this->svgfiles[] = $this->themeRoot . '/' . $this->theme->parametres->symbols;
+ }
if ($this->book->parametres->zoomMode == 1 || $this->isMobileFirst()) {
$this->multiply = $this->pdf2htmlRatio * $this->scale * $this->cssOneScale;