/**
* template.php
*/
<?php
/*
* Initialize theme settings
*/
if (is_null(theme_get_setting('quem_somos_title'))) { 
  global $theme_key;
  /*
   * The default values for the theme variables. Make sure $defaults exactly
   * matches the $defaults in the theme-settings.php file.
   */
  $defaults = array(             // <-- change this array
    'who_we_are_title' => 'QUEM SOMOS',
    'who_we_are_text' => 'Prestamos o <strong>melhor serviço</strong> na área de seguros com os melhores produtos das <strong>principais seguradoras</strong> do mercado',
    'made_by' => 1,
  );

  // Save theme settings with the defaults
  variable_set(
    str_replace('/', '_', 'theme_'. $theme_key .'_settings'),
    array_merge($defaults, theme_get_settings($theme_key))
  );
  // Force refresh of Drupal internals
  theme_get_setting('', TRUE);
}
function phptemplate_preprocess_page(&$vars) {
  $vars['who_we_are_title'] =  theme_get_setting('who_we_are_title');
  $vars['who_we_are_text'] =  theme_get_setting('who_we_are_text');
  $madeby = 'Desenvolvido por <a href="avante.com">avante.com</a>.';
  $vars['made_by'] = (theme_get_setting('made_by'))? $madeby: '';
}

/**
* theme-settings.php
*/
<?php
function phptemplate_settings($saved_settings) {
  /*
   * The default values for the theme variables. Make sure $defaults exactly
   * matches the $defaults in the template.php file.
   */
  $defaults = array(
    'who_we_are_title' => 'LOL',
    'who_we_are_text' => 'LOL2',
    'made_by' => 1,
  );

  // Merge the saved variables and their default values
  $settings = array_merge($defaults, $saved_settings);

  $form['who_we_are_title'] = array(
    '#type' => 'textfield',
    '#title' => t('Title "QUEM SOMOS"'),
    '#default_value' => 'QUEM SOMOS',
    '#size' => 30,
    '#maxlength' => 64,
    '#description' => t('If is needed, you can change the title "QUEM SOMOS" localized on the front page.'),
  );
  $form['who_we_are_text'] = array(
    '#type' => 'textarea',
    '#title' => t('Text of the title "QUEM SOMOS"'),
    //'#default_value' => 'Prestamos o <strong>melhor serviço</strong> na área de seguros com os melhores produtos das <strong>principais seguradoras</strong> do mercado.',
    '#default_value' => t('Prestamos o <strong>melhor servico</strong> na area de seguros com os melhores produtos das <strong>principais seguradoras</strong> do mercado.'),
    '#size' => 100,
    '#maxlength' => 255,
    '#description' => t('If is needed, you can change the text of the title "QUEM SOMOS" localized on the front page.'),
  ); 
  $form['made_by'] = array(
    '#type' => 'checkbox',
    '#title' => t('Enable link to developer.'),
    '#default_value' => $settings['made_by'],
    '#description' => t('If enabled, the link to developer will appear close of message footer.'),
  );
  return $form;
}
?>