robotstxt.admin.inc in RobotsTxt 6
Same filename and directory in other branches
Administrative page callbacks for the robotstxt module.
File
robotstxt.admin.incView source
<?php
/**
* @file
* Administrative page callbacks for the robotstxt module.
*/
/**
* Administration settings form.
*
* @see system_settings_form()
*/
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);
}
Functions
Name | Description |
---|---|
robotstxt_admin_settings | Administration settings form. |