'select', '#title' => t('image_bouton'), '#multiple' => FALSE, '#description' => t('Select the imageCache preset which will be choose for image bouton.'), '#options' => $presetsname, '#default_value' => array_search(variable_get('nouveaute_bouton_ic_presetid', 0), $presetsid), ); $form['hidden'] = array('#type' => 'value', '#value' => $presetsid); return system_settings_form($form); } */ } function jqplug_admin_submit($form_id, $form_values){ /* print('
'); print_r($form_values); print(''); */ // /* foreach($form_values['nouveautes'] as $var => $pos){ variable_set($var, $form_values['hidden'][$pos]); } drupal_set_message(t('nouveaute configuration has been saved.')); */ }