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