__('Classique') => 'classic',
__("Papier épais") => 'heavy',
__("Papier fin") => 'light',
- __("Silencieux") => 'silent'));
+ __("Silencieux") => 'silent',
+ __('Woosh') => 'woosh'));
$this->fields['soundOn'] = array('type' => 'boolean', 'default' => true, 'editable' => true, 'label' => __("Activer les effets sonores à l'ouverture"));
$this->forms['sound'] = array('label' => __('Effets sonores'),
'fieldsnames' => array('soundTheme', 'soundOn', '|', 'ambientSound', 'ambientSoundVolume'));
if ($this->book->parametres->soundTheme == '') {
return;
}
+ $this->config->simpleSoundTheme=file_exists(WS_SOUNDS . '/' . $this->book->parametres->soundTheme.'/flip.mp3');
$this->vdir->copyDirectory(WS_SOUNDS . '/' . $this->book->parametres->soundTheme, 'data/sounds');
}