Closed (fixed)
Project:
RobotsTxt
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
20 Mar 2006 at 09:43 UTC
Updated:
9 Apr 2006 at 17:11 UTC
Here's a 4.7 FAPI for you:
return array('robotstxt' => array('#type' => 'textarea',
'#title' => t('Value for robots.txt'),
'#default_value' => variable_get('robotstxt', ''),
'#cols' => 60, '#rows' => 20, '#required' => false));
The default value from 4.6 was an unset $robotstxt var, so I switched it here since init() looks like it takes care of making sure it's set all the time.
Comments
Comment #1
robertdouglass commentedThanks! I'll open up a 4-7 branch asap.
Comment #2
deekayen commentedCVS version 1.1.4.2 is stable on my 4.7 site.