function fckeditor_menu in FCKeditor - WYSIWYG HTML editor 6.2
Same name and namespace in other branches
- 5.2 fckeditor.module \fckeditor_menu()
- 5 fckeditor.module \fckeditor_menu()
- 6 fckeditor.module \fckeditor_menu()
Implementation of hook_menu().
File
- ./
fckeditor.module, line 326 - 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 text editor.',
'page callback' => 'fckeditor_admin_main',
'file' => 'fckeditor.admin.inc',
'access arguments' => array(
'administer fckeditor',
),
'type' => MENU_NORMAL_ITEM,
);
$items['admin/settings/fckeditor/add'] = array(
'title' => 'Add new FCKeditor profile',
'description' => 'Configure the rich text editor.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'fckeditor_admin_profile_form',
),
'file' => 'fckeditor.admin.inc',
'access arguments' => array(
'administer fckeditor',
),
'type' => MENU_CALLBACK,
);
$items['admin/settings/fckeditor/clone/%fckeditor_profile'] = array(
'title' => 'Clone FCKeditor profile',
'description' => 'Configure the rich text editor.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'fckeditor_admin_profile_clone_form',
4,
),
'file' => 'fckeditor.admin.inc',
'access arguments' => array(
'administer fckeditor',
),
'type' => MENU_CALLBACK,
);
$items['admin/settings/fckeditor/edit/%fckeditor_profile'] = array(
'title' => 'Edit FCKeditor profile',
'description' => 'Configure the rich text editor.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'fckeditor_admin_profile_form',
4,
),
'file' => 'fckeditor.admin.inc',
'access arguments' => array(
'administer fckeditor',
),
'type' => MENU_CALLBACK,
);
$items['admin/settings/fckeditor/delete/%fckeditor_profile'] = array(
'title' => 'Delete FCKeditor profile',
'description' => 'Configure the rich text editor.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'fckeditor_admin_profile_delete_form',
4,
),
'file' => 'fckeditor.admin.inc',
'access arguments' => array(
'administer fckeditor',
),
'type' => MENU_CALLBACK,
);
$items['admin/settings/fckeditor/addg'] = array(
'title' => 'Add FCKeditor Global profile',
'description' => 'Configure the rich text editor.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'fckeditor_admin_global_profile_form',
'add',
),
'file' => 'fckeditor.admin.inc',
'access arguments' => array(
'administer fckeditor',
),
'type' => MENU_CALLBACK,
);
$items['admin/settings/fckeditor/editg'] = array(
'title' => 'Edit FCKeditor Global profile',
'description' => 'Configure the rich text editor.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'fckeditor_admin_global_profile_form',
'edit',
),
'file' => 'fckeditor.admin.inc',
'access arguments' => array(
'administer fckeditor',
),
'type' => MENU_CALLBACK,
);
// img_assist integration
$items['img_assist/load/fckeditor'] = array(
'title' => 'Image assist',
'page callback' => 'fckeditor_wrapper_img_assist_loader',
'file' => 'fckeditor.user.inc',
'access arguments' => array(
'access img_assist',
),
'type' => MENU_CALLBACK,
);
return $items;
}