function fckeditor_menu in FCKeditor - WYSIWYG HTML editor 5.2
Same name and namespace in other branches
- 5 fckeditor.module \fckeditor_menu()
- 6.2 fckeditor.module \fckeditor_menu()
- 6 fckeditor.module \fckeditor_menu()
Add link to FCKeditor configuration in "Administer -> Site configuration" section
File
- ./
fckeditor.module, line 306 - FCKeditor - The text editor for Internet - http://www.fckeditor.net Copyright (C) 2003-2007 Frederico Caldeira Knabben
Code
function fckeditor_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array(
'path' => 'admin/settings/fckeditor',
'title' => t('FCKeditor'),
'callback' => 'fckeditor_admin',
'description' => t('Configure the rich editor.'),
'access' => user_access('administer fckeditor'),
);
$items[] = array(
'path' => 'fckeditor/xss',
'title' => t('XSS Filter'),
'description' => t('XSS Filter.'),
'callback' => 'fckeditor_filter_xss',
'access' => user_access('access fckeditor'),
'type' => MENU_CALLBACK,
);
}
else {
drupal_add_css(drupal_get_path('module', 'fckeditor') . '/fckeditor.css');
}
return $items;
}