You are here

function sweaver_update_7101 in Sweaver 7

File

./sweaver.install, line 60
Sweaver install file.

Code

function sweaver_update_7101() {
  $editor_form_configuration = array(
    'one' => array(
      'title' => t('Font'),
      'properties' => array(
        0 => 'font-family',
        1 => 'font-properties-wrapper',
      ),
    ),
    'two' => array(
      'title' => t('Background'),
      'properties' => array(
        0 => 'background-color',
        1 => 'background-image',
        2 => 'background-repeat',
        3 => 'background-attachment',
        4 => 'background-position',
      ),
    ),
    'three' => array(
      'title' => t('Borders & Spacing'),
      'properties' => array(
        0 => 'position-settings',
        1 => 'border-style',
        2 => 'border-color',
        3 => 'border-collapse',
        4 => 'border-spacing',
        5 => 'vertical-align',
      ),
    ),
    'four' => array(
      'title' => t('Other'),
      'properties' => array(
        0 => 'height',
        1 => 'width',
        2 => 'create-custom-code',
      ),
    ),
  );
  variable_set('sweaver_editor_form_configuration', $editor_form_configuration);
}