|  | @@ -156,7 +156,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'page callback' => 'drupal_get_form',
 |  |      'page callback' => 'drupal_get_form',
 | 
											
												
													
														|  |      'page arguments' => array('tripal_chado_publish_form'),
 |  |      'page arguments' => array('tripal_chado_publish_form'),
 | 
											
												
													
														|  |      'type' => MENU_NORMAL_ITEM,
 |  |      'type' => MENU_NORMAL_ITEM,
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('publish tripal content'),
 | 
											
												
													
														|  |      'file' => 'includes/tripal_chado.publish.inc',
 |  |      'file' => 'includes/tripal_chado.publish.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
												
													
														|  |      'weight' => -99
 |  |      'weight' => -99
 | 
											
										
											
												
													
														|  | @@ -170,7 +170,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |          earlier this was refered to as "syncing".'),
 |  |          earlier this was refered to as "syncing".'),
 | 
											
												
													
														|  |      'page callback' => 'drupal_get_form',
 |  |      'page callback' => 'drupal_get_form',
 | 
											
												
													
														|  |      'page arguments' => array('tripal_chado_publish_form'),
 |  |      'page arguments' => array('tripal_chado_publish_form'),
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('publish tripal content'),
 | 
											
												
													
														|  |      'file' => 'includes/tripal_chado.publish.inc',
 |  |      'file' => 'includes/tripal_chado.publish.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
												
													
														|  |      'type' => MENU_LOCAL_ACTION,
 |  |      'type' => MENU_LOCAL_ACTION,
 | 
											
										
											
												
													
														|  | @@ -183,7 +183,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |          earlier this was refered to as "syncing".'),
 |  |          earlier this was refered to as "syncing".'),
 | 
											
												
													
														|  |      'page callback' => 'drupal_get_form',
 |  |      'page callback' => 'drupal_get_form',
 | 
											
												
													
														|  |      'page arguments' => array('tripal_chado_publish_form'),
 |  |      'page arguments' => array('tripal_chado_publish_form'),
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('publish tripal content'),
 | 
											
												
													
														|  |      'file' => 'includes/tripal_chado.publish.inc',
 |  |      'file' => 'includes/tripal_chado.publish.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
												
													
														|  |      'type' => MENU_LOCAL_ACTION,
 |  |      'type' => MENU_LOCAL_ACTION,
 | 
											
										
											
												
													
														|  | @@ -198,7 +198,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'title' => 'Materialized Views',
 |  |      'title' => 'Materialized Views',
 | 
											
												
													
														|  |      'description' => t('Materialized views are used to improve speed of large or complex queries.'),
 |  |      'description' => t('Materialized views are used to improve speed of large or complex queries.'),
 | 
											
												
													
														|  |      'page callback' => 'tripal_mview_admin_view',
 |  |      'page callback' => 'tripal_mview_admin_view',
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('administer chado mviews'),
 | 
											
												
													
														|  |      'type' => MENU_NORMAL_ITEM,
 |  |      'type' => MENU_NORMAL_ITEM,
 | 
											
												
													
														|  |      'file' => 'includes/tripal_chado.mviews.inc',
 |  |      'file' => 'includes/tripal_chado.mviews.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
										
											
												
													
														|  | @@ -209,7 +209,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'description' => t('Help for the materialized views management system'),
 |  |      'description' => t('Help for the materialized views management system'),
 | 
											
												
													
														|  |      'page callback' => 'theme',
 |  |      'page callback' => 'theme',
 | 
											
												
													
														|  |      'page arguments' => array('tripal_mviews_help'),
 |  |      'page arguments' => array('tripal_mviews_help'),
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('administer chado mviews'),
 | 
											
												
													
														|  |      'type' => MENU_LOCAL_TASK,
 |  |      'type' => MENU_LOCAL_TASK,
 | 
											
												
													
														|  |      'file' => 'includes/tripal_chado.mviews.inc',
 |  |      'file' => 'includes/tripal_chado.mviews.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
										
											
												
													
														|  | @@ -220,7 +220,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'description' => t('Materialized views are used to improve speed of large or complex queries. These are database views as compared to Drupal views.'),
 |  |      'description' => t('Materialized views are used to improve speed of large or complex queries. These are database views as compared to Drupal views.'),
 | 
											
												
													
														|  |      'page callback' => 'tripal_mview_report',
 |  |      'page callback' => 'tripal_mview_report',
 | 
											
												
													
														|  |      'page arguments' => array(6),
 |  |      'page arguments' => array(6),
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('administer chado mviews'),
 | 
											
												
													
														|  |      'type' => MENU_CALLBACK,
 |  |      'type' => MENU_CALLBACK,
 | 
											
												
													
														|  |      'file' => 'includes/tripal_chado.mviews.inc',
 |  |      'file' => 'includes/tripal_chado.mviews.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
										
											
												
													
														|  | @@ -230,7 +230,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'description' => t('Create a new materialized view.'),
 |  |      'description' => t('Create a new materialized view.'),
 | 
											
												
													
														|  |      'page callback' => 'drupal_get_form',
 |  |      'page callback' => 'drupal_get_form',
 | 
											
												
													
														|  |      'page arguments' => array('tripal_mviews_form'),
 |  |      'page arguments' => array('tripal_mviews_form'),
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('administer chado mviews'),
 | 
											
												
													
														|  |      'type' => MENU_CALLBACK,
 |  |      'type' => MENU_CALLBACK,
 | 
											
												
													
														|  |      'file' => 'includes/tripal_chado.mviews.inc',
 |  |      'file' => 'includes/tripal_chado.mviews.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
										
											
												
													
														|  | @@ -239,7 +239,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'title' => 'Edit Materialized View',
 |  |      'title' => 'Edit Materialized View',
 | 
											
												
													
														|  |      'page callback' => 'drupal_get_form',
 |  |      'page callback' => 'drupal_get_form',
 | 
											
												
													
														|  |      'page arguments' => array('tripal_mviews_form', 6),
 |  |      'page arguments' => array('tripal_mviews_form', 6),
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('administer chado mviews'),
 | 
											
												
													
														|  |      'type' => MENU_CALLBACK,
 |  |      'type' => MENU_CALLBACK,
 | 
											
												
													
														|  |      'file' => 'includes/tripal_chado.mviews.inc',
 |  |      'file' => 'includes/tripal_chado.mviews.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
										
											
												
													
														|  | @@ -249,7 +249,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'description' => t('Materialized views are used to improve speed of large or complex queries.'),
 |  |      'description' => t('Materialized views are used to improve speed of large or complex queries.'),
 | 
											
												
													
														|  |      'page callback' => 'tripal_mviews_add_populate_job',
 |  |      'page callback' => 'tripal_mviews_add_populate_job',
 | 
											
												
													
														|  |      'page arguments' => array(6),
 |  |      'page arguments' => array(6),
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('administer chado mviews'),
 | 
											
												
													
														|  |      'type' => MENU_CALLBACK,
 |  |      'type' => MENU_CALLBACK,
 | 
											
												
													
														|  |      'file' => 'includes/tripal_chado.mviews.inc',
 |  |      'file' => 'includes/tripal_chado.mviews.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
										
											
												
													
														|  | @@ -259,7 +259,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'description' => t('Materialized views are used to improve speed of large or complex queries.'),
 |  |      'description' => t('Materialized views are used to improve speed of large or complex queries.'),
 | 
											
												
													
														|  |      'page callback' => 'drupal_get_form',
 |  |      'page callback' => 'drupal_get_form',
 | 
											
												
													
														|  |      'page arguments' => array('tripal_mviews_delete_form', 5),
 |  |      'page arguments' => array('tripal_mviews_delete_form', 5),
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('administer chado mviews'),
 | 
											
												
													
														|  |      'type' => MENU_CALLBACK,
 |  |      'type' => MENU_CALLBACK,
 | 
											
												
													
														|  |      'file' => 'includes/tripal_chado.mviews.inc',
 |  |      'file' => 'includes/tripal_chado.mviews.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
										
											
												
													
														|  | @@ -271,7 +271,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'description' => 'Import a materialized view from another Tripal instance.',
 |  |      'description' => 'Import a materialized view from another Tripal instance.',
 | 
											
												
													
														|  |      'page callback' => 'drupal_get_form',
 |  |      'page callback' => 'drupal_get_form',
 | 
											
												
													
														|  |      'page arguments' => array('tripal_mviews_import_form'),
 |  |      'page arguments' => array('tripal_mviews_import_form'),
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('administer chado mviews'),
 | 
											
												
													
														|  |      'type' => MENU_CALLBACK,
 |  |      'type' => MENU_CALLBACK,
 | 
											
												
													
														|  |      'file' => 'includes/tripal_chado.mviews.inc',
 |  |      'file' => 'includes/tripal_chado.mviews.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
										
											
												
													
														|  | @@ -281,7 +281,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'description' => 'Export a materialized view for use by another Tripal instance.',
 |  |      'description' => 'Export a materialized view for use by another Tripal instance.',
 | 
											
												
													
														|  |      'page callback' => 'drupal_get_form',
 |  |      'page callback' => 'drupal_get_form',
 | 
											
												
													
														|  |      'page arguments' => array('tripal_mviews_export_form', 5),
 |  |      'page arguments' => array('tripal_mviews_export_form', 5),
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('administer chado mviews'),
 | 
											
												
													
														|  |      'type' => MENU_CALLBACK,
 |  |      'type' => MENU_CALLBACK,
 | 
											
												
													
														|  |      'file' => 'includes/tripal_chado.mviews.inc',
 |  |      'file' => 'includes/tripal_chado.mviews.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
										
											
												
													
														|  | @@ -294,7 +294,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'title' => 'Custom Tables',
 |  |      'title' => 'Custom Tables',
 | 
											
												
													
														|  |      'description' => t('Creation of custom tables that are added to Chado database.'),
 |  |      'description' => t('Creation of custom tables that are added to Chado database.'),
 | 
											
												
													
														|  |      'page callback' => 'tripal_custom_table_admin_view',
 |  |      'page callback' => 'tripal_custom_table_admin_view',
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('administer chado custom tables'),
 | 
											
												
													
														|  |      'type' => MENU_NORMAL_ITEM,
 |  |      'type' => MENU_NORMAL_ITEM,
 | 
											
												
													
														|  |      'file' => 'includes/tripal_chado.custom_tables.inc',
 |  |      'file' => 'includes/tripal_chado.custom_tables.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
										
											
												
													
														|  | @@ -305,7 +305,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'description' => t('Help for the tripal job management system'),
 |  |      'description' => t('Help for the tripal job management system'),
 | 
											
												
													
														|  |      'page callback' => 'theme',
 |  |      'page callback' => 'theme',
 | 
											
												
													
														|  |      'page arguments' => array('tripal_job_help'),
 |  |      'page arguments' => array('tripal_job_help'),
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('administer chado custom tables'),
 | 
											
												
													
														|  |      'type' => MENU_LOCAL_TASK,
 |  |      'type' => MENU_LOCAL_TASK,
 | 
											
												
													
														|  |      'file' => 'includes/tripal_chado.custom_tables.inc',
 |  |      'file' => 'includes/tripal_chado.custom_tables.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
										
											
												
													
														|  | @@ -316,7 +316,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'description' => t('Custom tables are added to Chado.'),
 |  |      'description' => t('Custom tables are added to Chado.'),
 | 
											
												
													
														|  |      'page callback' => 'tripal_custom_table_view',
 |  |      'page callback' => 'tripal_custom_table_view',
 | 
											
												
													
														|  |      'page arguments' => array(6),
 |  |      'page arguments' => array(6),
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('administer chado custom tables'),
 | 
											
												
													
														|  |      'file' => 'includes/tripal_chado.custom_tables.inc',
 |  |      'file' => 'includes/tripal_chado.custom_tables.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
												
													
														|  |      'type' => MENU_CALLBACK,
 |  |      'type' => MENU_CALLBACK,
 | 
											
										
											
												
													
														|  | @@ -325,7 +325,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'title' => 'Create Custom Table',
 |  |      'title' => 'Create Custom Table',
 | 
											
												
													
														|  |      'description' => t('An interface for creating your own custom tables.'),
 |  |      'description' => t('An interface for creating your own custom tables.'),
 | 
											
												
													
														|  |      'page callback' => 'tripal_custom_table_new_page',
 |  |      'page callback' => 'tripal_custom_table_new_page',
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('administer chado custom tables'),
 | 
											
												
													
														|  |      'file' => 'includes/tripal_chado.custom_tables.inc',
 |  |      'file' => 'includes/tripal_chado.custom_tables.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
												
													
														|  |      'type' => MENU_CALLBACK,
 |  |      'type' => MENU_CALLBACK,
 | 
											
										
											
												
													
														|  | @@ -334,7 +334,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'title' => 'Edit Custom Table',
 |  |      'title' => 'Edit Custom Table',
 | 
											
												
													
														|  |      'page callback' => 'drupal_get_form',
 |  |      'page callback' => 'drupal_get_form',
 | 
											
												
													
														|  |      'page arguments' => array('tripal_custom_tables_form', 6),
 |  |      'page arguments' => array('tripal_custom_tables_form', 6),
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('administer chado custom tables'),
 | 
											
												
													
														|  |      'file' => 'includes/tripal_chado.custom_tables.inc',
 |  |      'file' => 'includes/tripal_chado.custom_tables.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
												
													
														|  |      'type' => MENU_CALLBACK,
 |  |      'type' => MENU_CALLBACK,
 | 
											
										
											
												
													
														|  | @@ -344,7 +344,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'description' => t('Custom tables are added to Chado.'),
 |  |      'description' => t('Custom tables are added to Chado.'),
 | 
											
												
													
														|  |      'page callback' => 'drupal_get_form',
 |  |      'page callback' => 'drupal_get_form',
 | 
											
												
													
														|  |      'page arguments' => array('tripal_custom_tables_delete_form', 6),
 |  |      'page arguments' => array('tripal_custom_tables_delete_form', 6),
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('administer chado custom tables'),
 | 
											
												
													
														|  |      'file' => 'includes/tripal_chado.custom_tables.inc',
 |  |      'file' => 'includes/tripal_chado.custom_tables.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
												
													
														|  |      'type' => MENU_CALLBACK,
 |  |      'type' => MENU_CALLBACK,
 | 
											
										
											
												
													
														|  | @@ -353,7 +353,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'title' => 'Enable Custom Tables Administrative View',
 |  |      'title' => 'Enable Custom Tables Administrative View',
 | 
											
												
													
														|  |      'page callback' => 'tripal_enable_view',
 |  |      'page callback' => 'tripal_enable_view',
 | 
											
												
													
														|  |      'page arguments' => array('tripal_admin_custom_table', 'admin/tripal/storage/chado/custom_tables'),
 |  |      'page arguments' => array('tripal_admin_custom_table', 'admin/tripal/storage/chado/custom_tables'),
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('administer chado custom tables'),
 | 
											
												
													
														|  |      'file' => 'includes/tripal_chado.custom_tables.inc',
 |  |      'file' => 'includes/tripal_chado.custom_tables.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
												
													
														|  |      'type' => MENU_CALLBACK,
 |  |      'type' => MENU_CALLBACK,
 | 
											
										
											
												
													
														|  | @@ -363,23 +363,6 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |    //////////////////////////////////////////////////////////////////////////////
 |  |    //////////////////////////////////////////////////////////////////////////////
 | 
											
												
													
														|  |    //                           Data Loaders
 |  |    //                           Data Loaders
 | 
											
												
													
														|  |    //////////////////////////////////////////////////////////////////////////////
 |  |    //////////////////////////////////////////////////////////////////////////////
 | 
											
												
													
														|  | -  $items['admin/tripal/loaders'] = array(
 |  | 
 | 
											
												
													
														|  | -    'title' => 'Data Loaders',
 |  | 
 | 
											
												
													
														|  | -    'description' => t('Tools facilitating data import.'),
 |  | 
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | -    'type' => MENU_NORMAL_ITEM,
 |  | 
 | 
											
												
													
														|  | -    'weight' => 6
 |  | 
 | 
											
												
													
														|  | -  );
 |  | 
 | 
											
												
													
														|  | -  $items['admin/tripal/loaders/ncbi_taxonomy_loader'] = array(
 |  | 
 | 
											
												
													
														|  | -    'title' => 'Chado NCBI Taxonomy Loader',
 |  | 
 | 
											
												
													
														|  | -    'description' => 'Loads taxonomic details about installed organisms.',
 |  | 
 | 
											
												
													
														|  | -    'page callback' => 'drupal_get_form',
 |  | 
 | 
											
												
													
														|  | -    'page arguments' => array('tripal_chado_taxonomy_load_form'),
 |  | 
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | -    'file' => 'includes/loaders/tripal_chado.taxonomy_importer.inc',
 |  | 
 | 
											
												
													
														|  | -    'file path' => drupal_get_path('module', 'tripal_chado'),
 |  | 
 | 
											
												
													
														|  | -    'type' => MENU_NORMAL_ITEM,
 |  | 
 | 
											
												
													
														|  | -  );
 |  | 
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |    // Data Loaders
 |  |    // Data Loaders
 | 
											
												
													
														|  |    $items['admin/tripal/loaders/newic_phylotree_loader'] = array(
 |  |    $items['admin/tripal/loaders/newic_phylotree_loader'] = array(
 | 
											
										
											
												
													
														|  | @@ -387,7 +370,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'description' => 'Loads phylogenetic trees in Newic format.',
 |  |      'description' => 'Loads phylogenetic trees in Newic format.',
 | 
											
												
													
														|  |      'page callback' => 'drupal_goto',
 |  |      'page callback' => 'drupal_goto',
 | 
											
												
													
														|  |      'page arguments' => array('node/add/chado-phylotree'),
 |  |      'page arguments' => array('node/add/chado-phylotree'),
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('load tripal data'),
 | 
											
												
													
														|  |      'type' => MENU_NORMAL_ITEM,
 |  |      'type' => MENU_NORMAL_ITEM,
 | 
											
												
													
														|  |    );
 |  |    );
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -395,7 +378,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'title' => t('Chado Publication Importers'),
 |  |      'title' => t('Chado Publication Importers'),
 | 
											
												
													
														|  |      'description' => t('Create and modify importers that can connect to and retreive publications from remote databases.'),
 |  |      'description' => t('Create and modify importers that can connect to and retreive publications from remote databases.'),
 | 
											
												
													
														|  |      'page callback' => 'tripal_pub_importers_list',
 |  |      'page callback' => 'tripal_pub_importers_list',
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('load tripal data'),
 | 
											
												
													
														|  |      'file' => 'includes/loaders/tripal_chado.pub_importers.inc',
 |  |      'file' => 'includes/loaders/tripal_chado.pub_importers.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
												
													
														|  |      'type' => MENU_NORMAL_ITEM,
 |  |      'type' => MENU_NORMAL_ITEM,
 | 
											
										
											
												
													
														|  | @@ -406,7 +389,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'title' => t('Add an Importer'),
 |  |      'title' => t('Add an Importer'),
 | 
											
												
													
														|  |      'description' => t('Add a new publication importer.'),
 |  |      'description' => t('Add a new publication importer.'),
 | 
											
												
													
														|  |      'page callback' => 'tripal_pub_importer_setup_page',
 |  |      'page callback' => 'tripal_pub_importer_setup_page',
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('load tripal data'),
 | 
											
												
													
														|  |      'type ' => MENU_CALLBACK,
 |  |      'type ' => MENU_CALLBACK,
 | 
											
												
													
														|  |      'file' => 'includes/loaders/tripal_chado.pub_importers.inc',
 |  |      'file' => 'includes/loaders/tripal_chado.pub_importers.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
										
											
												
													
														|  | @@ -414,7 +397,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |    $items['admin/tripal/loaders/pub/edit/%'] = array(
 |  |    $items['admin/tripal/loaders/pub/edit/%'] = array(
 | 
											
												
													
														|  |      'page callback' => 'tripal_pub_importer_setup_page',
 |  |      'page callback' => 'tripal_pub_importer_setup_page',
 | 
											
												
													
														|  |      'page arguments' => array(5),
 |  |      'page arguments' => array(5),
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('load tripal data'),
 | 
											
												
													
														|  |      'type ' => MENU_CALLBACK,
 |  |      'type ' => MENU_CALLBACK,
 | 
											
												
													
														|  |      'file' => 'includes/loaders/tripal_chado.pub_importers.inc',
 |  |      'file' => 'includes/loaders/tripal_chado.pub_importers.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
										
											
												
													
														|  | @@ -422,7 +405,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |    $items['admin/tripal/loaders/pub/raw/%'] = array(
 |  |    $items['admin/tripal/loaders/pub/raw/%'] = array(
 | 
											
												
													
														|  |      'page callback' => 'tripal_get_remote_pub_raw_page',
 |  |      'page callback' => 'tripal_get_remote_pub_raw_page',
 | 
											
												
													
														|  |      'page arguments' => array(5),
 |  |      'page arguments' => array(5),
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('load tripal data'),
 | 
											
												
													
														|  |      'type ' => MENU_CALLBACK,
 |  |      'type ' => MENU_CALLBACK,
 | 
											
												
													
														|  |      'file' => 'includes/loaders/tripal_chado.pub_importers.inc',
 |  |      'file' => 'includes/loaders/tripal_chado.pub_importers.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
										
											
												
													
														|  | @@ -431,7 +414,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |    // add a second link for the importer on the data loaders page
 |  |    // add a second link for the importer on the data loaders page
 | 
											
												
													
														|  |    $items['admin/tripal/loaders/pub/import'] = array(
 |  |    $items['admin/tripal/loaders/pub/import'] = array(
 | 
											
												
													
														|  |      'page callback' => 'tripal_pub_importers_list',
 |  |      'page callback' => 'tripal_pub_importers_list',
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('load tripal data'),
 | 
											
												
													
														|  |      'type' => MENU_CALLBACK,
 |  |      'type' => MENU_CALLBACK,
 | 
											
												
													
														|  |      'file' => 'includes/loaders/tripal_chado.pub_importers.inc',
 |  |      'file' => 'includes/loaders/tripal_chado.pub_importers.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
										
											
												
													
														|  | @@ -440,7 +423,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |    $items['admin/tripal/loaders/pub/submit/%'] = array(
 |  |    $items['admin/tripal/loaders/pub/submit/%'] = array(
 | 
											
												
													
														|  |      'page callback' => 'tripal_pub_importer_submit_job',
 |  |      'page callback' => 'tripal_pub_importer_submit_job',
 | 
											
												
													
														|  |      'page arguments' => array(5),
 |  |      'page arguments' => array(5),
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('load tripal data'),
 | 
											
												
													
														|  |      'type ' => MENU_CALLBACK,
 |  |      'type ' => MENU_CALLBACK,
 | 
											
												
													
														|  |      'file' => 'includes/loaders/tripal_chado.pub_importers.inc',
 |  |      'file' => 'includes/loaders/tripal_chado.pub_importers.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
										
											
												
													
														|  | @@ -449,7 +432,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |    $items['admin/tripal/loaders/pub/delete/%'] = array(
 |  |    $items['admin/tripal/loaders/pub/delete/%'] = array(
 | 
											
												
													
														|  |      'page callback' => 'tripal_pub_importer_delete',
 |  |      'page callback' => 'tripal_pub_importer_delete',
 | 
											
												
													
														|  |      'page arguments' => array(5),
 |  |      'page arguments' => array(5),
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('load tripal data'),
 | 
											
												
													
														|  |      'type ' => MENU_CALLBACK,
 |  |      'type ' => MENU_CALLBACK,
 | 
											
												
													
														|  |      'file' => 'includes/loaders/tripal_chado.pub_importers.inc',
 |  |      'file' => 'includes/loaders/tripal_chado.pub_importers.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
										
											
												
													
														|  | @@ -457,7 +440,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |    $items['admin/tripal/loaders/pub/changedb'] = array(
 |  |    $items['admin/tripal/loaders/pub/changedb'] = array(
 | 
											
												
													
														|  |      'page callback' => 'tripal_pub_importer_setup_page_update_remotedb',
 |  |      'page callback' => 'tripal_pub_importer_setup_page_update_remotedb',
 | 
											
												
													
														|  |      'page arguments' => array(),
 |  |      'page arguments' => array(),
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('load tripal data'),
 | 
											
												
													
														|  |      'type ' => MENU_CALLBACK,
 |  |      'type ' => MENU_CALLBACK,
 | 
											
												
													
														|  |      'file' => 'includes/loaders/tripal_chado.pub_importers.inc',
 |  |      'file' => 'includes/loaders/tripal_chado.pub_importers.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
										
											
												
													
														|  | @@ -466,7 +449,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |    $items['admin/tripal/loaders/pub/criteria/%/%'] = array(
 |  |    $items['admin/tripal/loaders/pub/criteria/%/%'] = array(
 | 
											
												
													
														|  |      'page callback' => 'tripal_pub_importer_setup_page_update_criteria',
 |  |      'page callback' => 'tripal_pub_importer_setup_page_update_criteria',
 | 
											
												
													
														|  |      'page arguments' => array(5, 6),
 |  |      'page arguments' => array(5, 6),
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('load tripal data'),
 | 
											
												
													
														|  |      'type ' => MENU_CALLBACK,
 |  |      'type ' => MENU_CALLBACK,
 | 
											
												
													
														|  |      'file' => 'includes/loaders/tripal_chado.pub_importers.inc',
 |  |      'file' => 'includes/loaders/tripal_chado.pub_importers.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
										
											
												
													
														|  | @@ -497,7 +480,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'page callback' => 'drupal_get_form',
 |  |      'page callback' => 'drupal_get_form',
 | 
											
												
													
														|  |      'page arguments' => array('tripal_chado_semweb_form'),
 |  |      'page arguments' => array('tripal_chado_semweb_form'),
 | 
											
												
													
														|  |      'type' => MENU_NORMAL_ITEM,
 |  |      'type' => MENU_NORMAL_ITEM,
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('administer chado semantic web'),
 | 
											
												
													
														|  |      'file' => 'includes/tripal_chado.semweb.inc',
 |  |      'file' => 'includes/tripal_chado.semweb.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
												
													
														|  |      'weight' => 10
 |  |      'weight' => 10
 | 
											
										
											
												
													
														|  | @@ -508,7 +491,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'page callback' => 'drupal_get_form',
 |  |      'page callback' => 'drupal_get_form',
 | 
											
												
													
														|  |      'page arguments' => array('tripal_chado_semweb_edit_form', 6, 7),
 |  |      'page arguments' => array('tripal_chado_semweb_edit_form', 6, 7),
 | 
											
												
													
														|  |      'type' => MENU_CALLBACK,
 |  |      'type' => MENU_CALLBACK,
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('administer chado semantic web'),
 | 
											
												
													
														|  |      'file' => 'includes/tripal_chado.semweb.inc',
 |  |      'file' => 'includes/tripal_chado.semweb.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
												
													
														|  |    );
 |  |    );
 | 
											
										
											
												
													
														|  | @@ -518,7 +501,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'page callback' => 'drupal_get_form',
 |  |      'page callback' => 'drupal_get_form',
 | 
											
												
													
														|  |      'page arguments' => array('tripal_chado_semweb_reset_form', 6, 7),
 |  |      'page arguments' => array('tripal_chado_semweb_reset_form', 6, 7),
 | 
											
												
													
														|  |      'type' => MENU_CALLBACK,
 |  |      'type' => MENU_CALLBACK,
 | 
											
												
													
														|  | -    'access arguments' => array('administer tripal'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('administer chado semantic web'),
 | 
											
												
													
														|  |      'file' => 'includes/tripal_chado.semweb.inc',
 |  |      'file' => 'includes/tripal_chado.semweb.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
												
													
														|  |    );
 |  |    );
 | 
											
										
											
												
													
														|  | @@ -579,16 +562,24 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |    //////////////////////////////////////////////////////////////////////////////
 |  |    //////////////////////////////////////////////////////////////////////////////
 | 
											
												
													
														|  |    //                          Controlled Vocabularies
 |  |    //                          Controlled Vocabularies
 | 
											
												
													
														|  |    //////////////////////////////////////////////////////////////////////////////
 |  |    //////////////////////////////////////////////////////////////////////////////
 | 
											
												
													
														|  | -  $items['admin/tripal/loaders/chado_cv'] = array(
 |  | 
 | 
											
												
													
														|  | -    'title' => 'Chado Controlled Vocabularies',
 |  | 
 | 
											
												
													
														|  | -    'description' => 'Controlled Vocabularies control the terms available for various chado fields.',
 |  | 
 | 
											
												
													
														|  | 
 |  | +  $items['admin/tripal/loaders/chado_vocabs'] = array(
 | 
											
												
													
														|  | 
 |  | +    'title' => 'Chado Vocabularies',
 | 
											
												
													
														|  | 
 |  | +    'description' => t('Tools facilitating management (including import) of controlled
 | 
											
												
													
														|  | 
 |  | +      vocabularies and their terms into Chado.'),
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('administer controlled vocabularies'),
 | 
											
												
													
														|  | 
 |  | +    'type' => MENU_NORMAL_ITEM,
 | 
											
												
													
														|  | 
 |  | +    'weight' => 6
 | 
											
												
													
														|  | 
 |  | +  );
 | 
											
												
													
														|  | 
 |  | +  $items['admin/tripal/loaders/chado_vocabs/chado_cv'] = array(
 | 
											
												
													
														|  | 
 |  | +    'title' => 'Manage Controlled Vocabularies',
 | 
											
												
													
														|  | 
 |  | +    'description' => 'View, edit and add controlled vocabularies used by this site.',
 | 
											
												
													
														|  |      'page callback' => 'tripal_cv_admin_cv_listing',
 |  |      'page callback' => 'tripal_cv_admin_cv_listing',
 | 
											
												
													
														|  |      'access arguments' => array('administer controlled vocabularies'),
 |  |      'access arguments' => array('administer controlled vocabularies'),
 | 
											
												
													
														|  |      'file' => 'includes/tripal_chado.cv.inc',
 |  |      'file' => 'includes/tripal_chado.cv.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
												
													
														|  |      'type' => MENU_NORMAL_ITEM,
 |  |      'type' => MENU_NORMAL_ITEM,
 | 
											
												
													
														|  |    );
 |  |    );
 | 
											
												
													
														|  | -  $items['admin/tripal/loaders/chado_cv/edit/%'] = array(
 |  | 
 | 
											
												
													
														|  | 
 |  | +  $items['admin/tripal/loaders/chado_vocabs/chado_cv/edit/%'] = array(
 | 
											
												
													
														|  |      'title' => 'Edit a Controlled Vocabulary',
 |  |      'title' => 'Edit a Controlled Vocabulary',
 | 
											
												
													
														|  |      'description' => 'Edit the details such as name and description for an existing controlled vocabulary.',
 |  |      'description' => 'Edit the details such as name and description for an existing controlled vocabulary.',
 | 
											
												
													
														|  |      'page callback' => 'drupal_get_form',
 |  |      'page callback' => 'drupal_get_form',
 | 
											
										
											
												
													
														|  | @@ -599,7 +590,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
												
													
														|  |      'type' => MENU_CALLBACK,
 |  |      'type' => MENU_CALLBACK,
 | 
											
												
													
														|  |    );
 |  |    );
 | 
											
												
													
														|  | -  $items['admin/tripal/loaders/chado_cv/add'] = array(
 |  | 
 | 
											
												
													
														|  | 
 |  | +  $items['admin/tripal/loaders/chado_vocabs/chado_cv/add'] = array(
 | 
											
												
													
														|  |      'title' => 'Add a Controlled Vocabulary',
 |  |      'title' => 'Add a Controlled Vocabulary',
 | 
											
												
													
														|  |      'description' => 'Manually a new controlled vocabulary.',
 |  |      'description' => 'Manually a new controlled vocabulary.',
 | 
											
												
													
														|  |      'page callback' => 'drupal_get_form',
 |  |      'page callback' => 'drupal_get_form',
 | 
											
										
											
												
													
														|  | @@ -610,7 +601,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
												
													
														|  |      'type' => MENU_CALLBACK,
 |  |      'type' => MENU_CALLBACK,
 | 
											
												
													
														|  |    );
 |  |    );
 | 
											
												
													
														|  | -  $items['admin/tripal/loaders/chado_cv/%/cvterm/add'] = array(
 |  | 
 | 
											
												
													
														|  | 
 |  | +  $items['admin/tripal/loaders/chado_vocabs/chado_cv/%/cvterm/add'] = array(
 | 
											
												
													
														|  |      'title' => 'Add a Controlled Vocabulary Term',
 |  |      'title' => 'Add a Controlled Vocabulary Term',
 | 
											
												
													
														|  |      'description' => 'Add a new controlled vocabulary term.',
 |  |      'description' => 'Add a new controlled vocabulary term.',
 | 
											
												
													
														|  |      'page callback' => 'drupal_get_form',
 |  |      'page callback' => 'drupal_get_form',
 | 
											
										
											
												
													
														|  | @@ -620,7 +611,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
												
													
														|  |      'type' => MENU_CALLBACK,
 |  |      'type' => MENU_CALLBACK,
 | 
											
												
													
														|  |    );
 |  |    );
 | 
											
												
													
														|  | -  $items['admin/tripal/loaders/chado_cv/cvterm/add'] = array(
 |  | 
 | 
											
												
													
														|  | 
 |  | +  $items['admin/tripal/loaders/chado_vocabs/chado_cv/cvterm/add'] = array(
 | 
											
												
													
														|  |      'title' => 'Add a Controlled Vocabulary Term',
 |  |      'title' => 'Add a Controlled Vocabulary Term',
 | 
											
												
													
														|  |      'description' => 'Add a new controlled vocabulary term.',
 |  |      'description' => 'Add a new controlled vocabulary term.',
 | 
											
												
													
														|  |      'page callback' => 'drupal_get_form',
 |  |      'page callback' => 'drupal_get_form',
 | 
											
										
											
												
													
														|  | @@ -630,7 +621,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
												
													
														|  |      'type' => MENU_CALLBACK,
 |  |      'type' => MENU_CALLBACK,
 | 
											
												
													
														|  |    );
 |  |    );
 | 
											
												
													
														|  | -  $items['admin/tripal/loaders/chado_cv/%/cvterm/edit/%'] = array(
 |  | 
 | 
											
												
													
														|  | 
 |  | +  $items['admin/tripal/loaders/chado_vocabs/chado_cv/%/cvterm/edit/%'] = array(
 | 
											
												
													
														|  |      'title' => 'Edit a Controlled Vocabulary Term',
 |  |      'title' => 'Edit a Controlled Vocabulary Term',
 | 
											
												
													
														|  |      'description' => 'Edit an existing controlled vocabulary term.',
 |  |      'description' => 'Edit an existing controlled vocabulary term.',
 | 
											
												
													
														|  |      'page callback' => 'drupal_get_form',
 |  |      'page callback' => 'drupal_get_form',
 | 
											
										
											
												
													
														|  | @@ -641,9 +632,14 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'type' => MENU_CALLBACK,
 |  |      'type' => MENU_CALLBACK,
 | 
											
												
													
														|  |    );
 |  |    );
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -  $items['admin/tripal/storage/chado/cvtermpath'] = array(
 |  | 
 | 
											
												
													
														|  | -    'title' => 'Update Chado cvtermpath table',
 |  | 
 | 
											
												
													
														|  | -    'description' => 'The Chado cvtermpath table provides lineage for terms and is useful for quickly finding any ancestor parent of a term.  However, this table must be populated.  This page allows for populating of this table one vocabulary at a time',
 |  | 
 | 
											
												
													
														|  | 
 |  | +  $items['admin/tripal/loaders/chado_vocabs/cvtermpath'] = array(
 | 
											
												
													
														|  | 
 |  | +    'title' => 'Update CV Term Paths',
 | 
											
												
													
														|  | 
 |  | +    'description' => 'The Chado cvtermpath table provides lineage for
 | 
											
												
													
														|  | 
 |  | +      controlled vocabulary terms and is useful for quickly finding any
 | 
											
												
													
														|  | 
 |  | +      ancestor parent of a term.  If controlled vocabularies are loaded
 | 
											
												
													
														|  | 
 |  | +      using the OBO Importer then the vocabulary is automatically added to
 | 
											
												
													
														|  | 
 |  | +      the cvtermpath table.  However, if it is needed, the addition of terms
 | 
											
												
													
														|  | 
 |  | +      to the cvtermpath table can be manually executed here.',
 | 
											
												
													
														|  |      'page callback' => 'drupal_get_form',
 |  |      'page callback' => 'drupal_get_form',
 | 
											
												
													
														|  |      'page arguments' => array('tripal_cv_cvtermpath_form'),
 |  |      'page arguments' => array('tripal_cv_cvtermpath_form'),
 | 
											
												
													
														|  |      'access arguments' => array('administer controlled vocabularies'),
 |  |      'access arguments' => array('administer controlled vocabularies'),
 | 
											
										
											
												
													
														|  | @@ -656,7 +652,10 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |    //////////////////////////////////////////////////////////////////////////////
 |  |    //////////////////////////////////////////////////////////////////////////////
 | 
											
												
													
														|  |    $items['admin/tripal/loaders/chado_db'] = array(
 |  |    $items['admin/tripal/loaders/chado_db'] = array(
 | 
											
												
													
														|  |      'title' => 'Chado Databases',
 |  |      'title' => 'Chado Databases',
 | 
											
												
													
														|  | -    'description' => 'References to External Database sites such as NCBI',
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'description' => 'View, edit and add external databases.  When data originates
 | 
											
												
													
														|  | 
 |  | +       from a remote online resource (or database) then that database must
 | 
											
												
													
														|  | 
 |  | +       be added in order to cross link records in this site to records in
 | 
											
												
													
														|  | 
 |  | +       the remote site.',
 | 
											
												
													
														|  |      'page callback' => 'tripal_chado_admin_db_listing',
 |  |      'page callback' => 'tripal_chado_admin_db_listing',
 | 
											
												
													
														|  |      'access arguments' => array('administer db cross-references'),
 |  |      'access arguments' => array('administer db cross-references'),
 | 
											
												
													
														|  |      'file' => 'includes/tripal_chado.db.inc',
 |  |      'file' => 'includes/tripal_chado.db.inc',
 | 
											
										
											
												
													
														|  | @@ -704,7 +703,7 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |      'description' => 'Download a file of sequences',
 |  |      'description' => 'Download a file of sequences',
 | 
											
												
													
														|  |      'page callback' => 'drupal_get_form',
 |  |      'page callback' => 'drupal_get_form',
 | 
											
												
													
														|  |      'page arguments' => array('tripal_chado_feature_seq_extract_form'),
 |  |      'page arguments' => array('tripal_chado_feature_seq_extract_form'),
 | 
											
												
													
														|  | -    'access arguments' => array('access chado_feature content'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('access content'),
 | 
											
												
													
														|  |      'file' =>  'includes/tripal_chado.seq_extract.inc',
 |  |      'file' =>  'includes/tripal_chado.seq_extract.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
												
													
														|  |      'type' => MENU_CALLBACK,
 |  |      'type' => MENU_CALLBACK,
 | 
											
										
											
												
													
														|  | @@ -712,12 +711,72 @@ function tripal_chado_menu() {
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |    $items['find/sequences/download'] = array(
 |  |    $items['find/sequences/download'] = array(
 | 
											
												
													
														|  |      'page callback' => 'tripal_chado_feature_seq_extract_download',
 |  |      'page callback' => 'tripal_chado_feature_seq_extract_download',
 | 
											
												
													
														|  | -    'access arguments' => array('access chado_feature content'),
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('access content'),
 | 
											
												
													
														|  |      'file' =>  'includes/tripal_chado.seq_extract.inc',
 |  |      'file' =>  'includes/tripal_chado.seq_extract.inc',
 | 
											
												
													
														|  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 |  |      'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
												
													
														|  |      'type' => MENU_CALLBACK,
 |  |      'type' => MENU_CALLBACK,
 | 
											
												
													
														|  |    );
 |  |    );
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | 
 |  | +  //////////////////////////////////////////////////////////////////////////////
 | 
											
												
													
														|  | 
 |  | +  //                           Publications
 | 
											
												
													
														|  | 
 |  | +  //////////////////////////////////////////////////////////////////////////////
 | 
											
												
													
														|  | 
 |  | +  $items['find/publications' ]= array(
 | 
											
												
													
														|  | 
 |  | +    'title' => 'Publication Search',
 | 
											
												
													
														|  | 
 |  | +    'description' => ('Search for publications'),
 | 
											
												
													
														|  | 
 |  | +    'page callback' => 'tripal_chado_pub_search_page',
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('access content'),
 | 
											
												
													
														|  | 
 |  | +    'file' =>  'includes/tripal_chado.pub_search.inc',
 | 
											
												
													
														|  | 
 |  | +    'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
												
													
														|  | 
 |  | +    'type' => MENU_CALLBACK
 | 
											
												
													
														|  | 
 |  | +  );
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +  $items['find/publications/criteria/%/%'] = array(
 | 
											
												
													
														|  | 
 |  | +    'page callback' => 'tripal_chado_pub_search_page_update_criteria',
 | 
											
												
													
														|  | 
 |  | +    'page arguments' => array(5, 6),
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('access content'),
 | 
											
												
													
														|  | 
 |  | +    'file' =>  'includes/tripal_chado.pub_search.inc',
 | 
											
												
													
														|  | 
 |  | +    'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
												
													
														|  | 
 |  | +    'type ' => MENU_CALLBACK,
 | 
											
												
													
														|  | 
 |  | +  );
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +  $items['admin/tripal/storage/chado/pub-search-config'] = array(
 | 
											
												
													
														|  | 
 |  | +    'title' => 'Publication Search Settings',
 | 
											
												
													
														|  | 
 |  | +    'description' => 'Configure the settings for the publication search.',
 | 
											
												
													
														|  | 
 |  | +    'page callback' => 'drupal_get_form',
 | 
											
												
													
														|  | 
 |  | +    'page arguments' => array('tripal_chado_pub_search_admin_form'),
 | 
											
												
													
														|  | 
 |  | +    'file' =>  'includes/tripal_chado.pub_search.inc',
 | 
											
												
													
														|  | 
 |  | +    'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
												
													
														|  | 
 |  | +    'type' => MENU_NORMAL_ITEM,
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('administer tripal'),
 | 
											
												
													
														|  | 
 |  | +  );
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +  //////////////////////////////////////////////////////////////////////////////
 | 
											
												
													
														|  | 
 |  | +  //                           Phylogeny
 | 
											
												
													
														|  | 
 |  | +  //////////////////////////////////////////////////////////////////////////////
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +  // create a route for viewing json of all phylonodes having this phylotree_id
 | 
											
												
													
														|  | 
 |  | +  $items['phylotree/%'] = array(
 | 
											
												
													
														|  | 
 |  | +    'page callback' => 'tripal_phylogeny_ajax_get_tree_json',
 | 
											
												
													
														|  | 
 |  | +    'page arguments' => array(1),
 | 
											
												
													
														|  | 
 |  | +    // allow all anonymous http clients
 | 
											
												
													
														|  | 
 |  | +    'access callback' => TRUE,
 | 
											
												
													
														|  | 
 |  | +    'file' =>  'includes/tripal_chado.phylotree.inc',
 | 
											
												
													
														|  | 
 |  | +    'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
												
													
														|  | 
 |  | +  );
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +  $items['admin/tripal/storage/chado/phylogeny'] = array(
 | 
											
												
													
														|  | 
 |  | +    'title' => 'Phylogeny and Taxonomy',
 | 
											
												
													
														|  | 
 |  | +    'description' => 'Settings for display of phylogenetic and taxonomic trees.',
 | 
											
												
													
														|  | 
 |  | +    'page callback' => 'drupal_get_form',
 | 
											
												
													
														|  | 
 |  | +    'page arguments' => array('tripal_phylogeny_default_plots_form'),
 | 
											
												
													
														|  | 
 |  | +    'access arguments' => array('administer tripal'),
 | 
											
												
													
														|  | 
 |  | +    'type' => MENU_NORMAL_ITEM,
 | 
											
												
													
														|  | 
 |  | +    'weight' => 2,
 | 
											
												
													
														|  | 
 |  | +    'file' =>  'includes/tripal_chado.phylotree.inc',
 | 
											
												
													
														|  | 
 |  | +    'file path' => drupal_get_path('module', 'tripal_chado'),
 | 
											
												
													
														|  | 
 |  | +  );
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |    return $items;
 |  |    return $items;
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -746,7 +805,28 @@ function tripal_chado_permission() {
 | 
											
												
													
														|  |            be useful for site developers who might want these IDs when working
 |  |            be useful for site developers who might want these IDs when working
 | 
											
												
													
														|  |            with the underlying database.'),
 |  |            with the underlying database.'),
 | 
											
												
													
														|  |        'restrict access' => TRUE,
 |  |        'restrict access' => TRUE,
 | 
											
												
													
														|  | -    )
 |  | 
 | 
											
												
													
														|  | 
 |  | +    ),
 | 
											
												
													
														|  | 
 |  | +    'administer chado mviews' => array(
 | 
											
												
													
														|  | 
 |  | +      'title' => t('Administer Chado Materialized Views'),
 | 
											
												
													
														|  | 
 |  | +      'description' => t('Allows the user to create, edit and populate materialized views in the Chado databse.'),
 | 
											
												
													
														|  | 
 |  | +    ),
 | 
											
												
													
														|  | 
 |  | +    'administer chado custom tables' => array(
 | 
											
												
													
														|  | 
 |  | +      'title' => t('Administer Chado Custom Tables'),
 | 
											
												
													
														|  | 
 |  | +      'description' => t('Allows the user to create, edit and delete custom tables in the Chado database.'),
 | 
											
												
													
														|  | 
 |  | +    ),
 | 
											
												
													
														|  | 
 |  | +    'administer db cross-references' => array(
 | 
											
												
													
														|  | 
 |  | +      'title' => t('Administer Chado Databases'),
 | 
											
												
													
														|  | 
 |  | +      'description' => t('Allows the user to create, edit and delete database records in the Chado database.')
 | 
											
												
													
														|  | 
 |  | +    ),
 | 
											
												
													
														|  | 
 |  | +    'administer controlled vocabularies' => array(
 | 
											
												
													
														|  | 
 |  | +      'title' => t('Administer Chado Controlled Vocabularies'),
 | 
											
												
													
														|  | 
 |  | +      'description' => t('Allows the user to create, edit and delete controlled vocabularies in the Chado database.')
 | 
											
												
													
														|  | 
 |  | +    ),
 | 
											
												
													
														|  | 
 |  | +    'administer chado semantic web' => array(
 | 
											
												
													
														|  | 
 |  | +      'title' => t('Administer Semantic Web and Chado Integration'),
 | 
											
												
													
														|  | 
 |  | +      'description' => t('Allows the user to assign controlled vocabulary terms to tables and table columns in Chado.')
 | 
											
												
													
														|  | 
 |  | +    ),
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |    );
 |  |    );
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -770,10 +850,14 @@ function tripal_chado_theme($existing, $type, $theme, $path) {
 | 
											
												
													
														|  |        'render element' => 'form',
 |  |        'render element' => 'form',
 | 
											
												
													
														|  |        'file' => 'includes/loaders/tripal_chado.pub_importers.inc',
 |  |        'file' => 'includes/loaders/tripal_chado.pub_importers.inc',
 | 
											
												
													
														|  |      ),
 |  |      ),
 | 
											
												
													
														|  | -    'tripal_pub_search_setup_form_elements' => array(
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'tripal_chado_pub_search_setup_form_elements' => array(
 | 
											
												
													
														|  |        'render element' => 'form',
 |  |        'render element' => 'form',
 | 
											
												
													
														|  | -      'file' => 'includes/loaders/tripal_chado.pub_importers.inc',
 |  | 
 | 
											
												
													
														|  | 
 |  | +      'file' => 'includes/tripal_chado.pub_search.inc',
 | 
											
												
													
														|  |      ),
 |  |      ),
 | 
											
												
													
														|  | 
 |  | +    'tripal_phylogeny_admin_org_color_tables' => array(
 | 
											
												
													
														|  | 
 |  | +      'render element' => 'element',
 | 
											
												
													
														|  | 
 |  | +    )
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |    );
 |  |    );
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |    // Override the theme for each entity to use the legacy modules
 |  |    // Override the theme for each entity to use the legacy modules
 |