admin.theme 748 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * admin: A very limited theme with almost no features, to maximize screen real estate
  4. *
  5. * @version $Id: admin.theme,v 1.1 2007-08-20 19:43:07 marand Exp $
  6. * @copyright 2006-2007 OSI
  7. * @license CeCILL 2.0
  8. */
  9. function admin_settings()
  10. {
  11. $title = t('Extended settings for theme %theme', array('%theme' => 'admin'));
  12. drupal_set_title($title);
  13. $form = array();
  14. $form['admin_background'] = array
  15. (
  16. '#type' => 'textfield',
  17. '#title' => t('background-color'),
  18. '#default_value' => variable_get('admin_background', 'transparent'),
  19. '#description' => t('CSS string for a background color. It will be applied to nodes.'),
  20. );
  21. return system_settings_form('admin_admin_settings', $form);
  22. }