function robotstxt_admin_settings in RobotsTxt 7
Same name and namespace in other branches
- 5 robotstxt.module \robotstxt_admin_settings()
- 6 robotstxt.admin.inc \robotstxt_admin_settings()
Administration settings form.
See also
1 string reference to 'robotstxt_admin_settings'
- robotstxt_menu in ./
robotstxt.module - Implements 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' => variable_get('robotstxt', ''),
'#cols' => 60,
'#rows' => 20,
'#wysiwyg' => FALSE,
);
return system_settings_form($form);
}