Re: xoops config array | Titre du sujet : Re: xoops config array par JJDai sur 25/11/2011 16:49:20
Bonjour Quelque chose comme ça:
$i++;
$modversion['config'][$i]['name'] = 'extcal_view';
$modversion['config'][$i]['title'] = '_MI_CAB_AGENDA_DEFAUT';
$modversion['config'][$i]['description'] = '_MI_CAB_AGENDA_DEFAUT_DSC';
$modversion['config'][$i]['formtype'] = 'select';
$modversion['config'][$i]['valuetype'] = 'string';
$modversion['config'][$i]['default'] = 'view_agenda-week';
$modversion['config'][$i]['options'] = array('view_calendar-month' => 'view_calendar-month',
'view_calendar-week' => 'view_calendar-week',
'view_year' => 'view_year',
'view_month' => 'view_month',
'view_week' => 'view_week',
'view_day' => 'view_day',
'view_agenda-week' => 'view_agenda-week',
'view_agenda-day' => 'view_agenda-day');
JJDai
|
|