function robotstxt_admin_settings in RobotsTxt 6
Same name and namespace in other branches
- 5 robotstxt.module \robotstxt_admin_settings()
- 7 robotstxt.admin.inc \robotstxt_admin_settings()
Administration settings form.
See also
1 string reference to 'robotstxt_admin_settings'
- robotstxt_menu in ./robotstxt.module 
- Implementation of hook_menu().
File
- ./robotstxt.admin.inc, line 13 
- Administrative page callbacks for the robotstxt module.
Code
function robotstxt_admin_settings() {
  $form['robotstxt'] = array(
    '#type' => 'textarea',
    '#title' => t('Contents of robots.txt'),
    '#default_value' => _robotstxt_get_content(),
    '#cols' => 60,
    '#rows' => 20,
    '#wysiwyg' => FALSE,
  );
  return system_settings_form($form);
}