function _markdown_settings in Markdown 5
Same name and namespace in other branches
- 6 markdown.module \_markdown_settings()
Filter settings callback. Just provides a version overview.
1 call to _markdown_settings()
- markdown_filter in ./
markdown.module - Implementation of hook_filter().
File
- ./
markdown.module, line 117
Code
function _markdown_settings($format) {
include_once drupal_get_path('module', 'markdown') . '/markdown.php';
$form['markdown_wrapper'] = array(
'#type' => 'fieldset',
'#title' => t('Markdown'),
);
$links = array(
'Markdown PHP Version: <a href="http://www.michelf.com/projects/php-markdown/">' . MARKDOWN_VERSION . '</a>',
'Markdown Extra Version: <a href="http://www.michelf.com/projects/php-markdown/">' . MARKDOWNEXTRA_VERSION . '</a>',
);
$form['markdown_wrapper']['markdown_status'] = array(
'#title' => t('Versions'),
'#type' => 'item',
'#value' => theme('item_list', $links),
);
return $form;
}