'.l10n('charlies_content.video_time').' : |
'.bool_to_string($plugin_config['video_time']).($plugin_config['video_time']!=='rand' ? ' sec':'om').' |
';
break;
// Actions avant enregistrement
case 'save_config':
if (!is_decimal($_POST['Plugins']['charlies_content']['video_time']) AND $_POST['Plugins']['charlies_content']['video_time'] != 'rand') {
$_POST['Plugins']['charlies_content']['video_time'] = 'rand';
$ERRORS['conf'][] = array(l10n('charlies_content.video_time'), 'must_be_integer');
}
break;
// Formulaire d'édition
case 'edit_config':
$PAGE['content'] .='
';
break;
}
?>