/[drupal]/contributions/modules/tablemanager/modules/css/tablemanager_css.module
ViewVC logotype

Diff of /contributions/modules/tablemanager/modules/css/tablemanager_css.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1, Sun Apr 20 17:39:30 2008 UTC revision 1.2, Wed Apr 23 08:25:17 2008 UTC
# Line 52  function tablemanager_css_styling($form_ Line 52  function tablemanager_css_styling($form_
52      '#attributes' => array('class' => 'table-styles'),      '#attributes' => array('class' => 'table-styles'),
53    );    );
54    $form['tabs']['#tree'] = TRUE;    $form['tabs']['#tree'] = TRUE;
55      $form['tabs']['table']['width-custom'] = array(
56        '#type' => 'textfield',
57        '#size' => 8,
58        '#value' => '25px',
59        '#name' => 'tabs[table][width-custom]', // set our own name tag as we're using drupal_render
60      );
61      $form['tabs']['table']['width'] = array(
62        '#type' => 'radios',
63        '#options' => array('auto' => 'auto', '100%' => '100%', '75%' => '75%', '50%' => '50%', 'custom' => drupal_render($form['tabs']['table']['width-custom'])),
64        '#title' => t('width'),
65        '#default_value' => '75%',
66        '#attributes' => array('class' => 'table-options'),
67      );
68      $form['tabs']['table']['overflow'] = array(
69        '#type' => 'radios',
70        '#options' => array('visible' => 'visible', 'hidden' => 'hidden', 'scroll' => 'scroll', 'auto' => 'auto'),
71        '#title' => t('overflow'),
72        '#default_value' => 'auto',
73        '#attributes' => array('class' => 'table-options'),
74      );
75    $form['tabs']['table']['border-width'] = array(    $form['tabs']['table']['border-width'] = array(
76      '#type' => 'radios',      '#type' => 'radios',
77      '#options' => array('1px' => '1px', '2px' => '2px', '3px' => '3px', '4px' => '4px', '5px' => '5px', 'thin' => 'thin', 'medium' => 'medium', 'thick' => 'thick', '0px' => '0px'),      '#options' => array('1px' => '1px', '2px' => '2px', '3px' => '3px', '4px' => '4px', '5px' => '5px', 'thin' => 'thin', 'medium' => 'medium', 'thick' => 'thick', '0px' => '0px'),

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.2