function date_tools_help in Date 7
Same name and namespace in other branches
- 8 date_tools/date_tools.module \date_tools_help()
- 6.2 date_tools/date_tools.module \date_tools_help()
- 7.3 date_tools/date_tools.module \date_tools_help()
- 7.2 date_tools/date_tools.module \date_tools_help()
Implementation of hook_help().
File
- date_tools/
date_tools.module, line 6
Code
function date_tools_help($section, $arg) {
switch ($section) {
case 'admin/structure/date':
return '<p>' . t('Tools for creating and importing dates and calendars.') . '</p>';
case 'admin/structure/date/change':
return '<p>' . t('Change a date field from one type to another. Very experimental, use at your own risk!') . '</p>';
case 'admin/structure/date/date_wizard':
$output = t('Fill out the following form to auto-create a date content type, with a datetime field and matching pre-configured calendar. A calendar and upcoming events block will be created, an ical feed will be added to the calendar, and the mini calendar, calendar legend, and upcoming events blocks will be added to the sidebar of the default theme. Nodes created from this new content type will include a link to the calendar, and the calendar will have a link to the \'add new date\' form. You can also add new date fields to an existing content type by entering the existing content type name instead of creating a new one.') . '</p><p>' . t('Only a limited set of options are displayed here to make this easy to set up. Once the date has been created you will be able to make other changes to the date settings and add other fields to your new content type on the Manage fields screen, and make changes to the calendar on the Views edit page.') . '</p>';
return $output;
}
}