You are here

function link_css_admin in Link CSS 7

Settings form.

1 string reference to 'link_css_admin'
link_css_menu in ./link_css.module
Implements hook_menu().

File

./link_css.admin.inc, line 10
Admin form for Link CSS module.

Code

function link_css_admin() {
  $form = array();
  $form['link_css_skip_system'] = array(
    '#type' => 'checkbox',
    '#title' => t('Skip system links'),
    '#default_value' => variable_get('link_css_skip_system', TRUE),
    '#description' => t('Leave core CSS files loaded with @import. This helps
      avoid hitting IE\'s limit and saves any live refresh scripts monitoring
      files which are unlikely to change'),
  );
  $form['link_css_warn_ie_limit'] = array(
    '#type' => 'checkbox',
    '#title' => t('Warn if IE limit exceeded'),
    '#default_value' => variable_get('link_css_warn_ie_limit', TRUE),
    '#description' => t('Internet Explorer <=7 will not load more than 31 linked
      styelsheets. Display a warning if this limit is exceeded.'),
  );
  return system_settings_form($form);
}