function advpoll_convert_form in Advanced Poll 6.3
Same name and namespace in other branches
- 5 advpoll_convert.module \advpoll_convert_form()
- 6 advpoll_convert.module \advpoll_convert_form()
- 6.2 advpoll_convert.module \advpoll_convert_form()
2 string references to 'advpoll_convert_form'
- advpoll_convert_menu in ./
advpoll_convert.module - Implementation of hook_menu().
- advpoll_convert_view in ./
advpoll_convert.module
File
- ./
advpoll_convert.module, line 44 - Converts a site's standard Drupal polls into Advanced Poll polls.
Code
function advpoll_convert_form() {
$form = array();
$form['note'] = array(
'#value' => '<p>' . t('This will convert all standard Drupal polls into Advanced Poll polls.') . '</p><div class="messages warning">' . t('Warning: this action cannot be reversed. Please backup your database before converting.') . '</div>',
);
$form['convert'] = array(
'#type' => 'submit',
'#value' => t('Convert'),
);
return $form;
}