| 290 |
{ |
{ |
| 291 |
return TRUE; |
return TRUE; |
| 292 |
} |
} |
| 293 |
|
|
| 294 |
} |
} |
| 295 |
if ($op == 'download') { |
if ($op == 'download') { |
| 296 |
// Only users with permission to do so may see download links to attached files. |
// Only users with permission to do so may see download links to attached files. |
| 528 |
'access arguments' => array('edit_author'), |
'access arguments' => array('edit_author'), |
| 529 |
'file' => 'biblio.admin.inc', |
'file' => 'biblio.admin.inc', |
| 530 |
'type' => MENU_CALLBACK); |
'type' => MENU_CALLBACK); |
| 531 |
$items["$base/keyword/%/edit"] = array( |
$items["$base/keywords/%/edit"] = array( |
| 532 |
'title' => '', |
'title' => '', |
| 533 |
'page callback' => 'drupal_get_form', |
'page callback' => 'drupal_get_form', |
| 534 |
'page arguments' => array('biblio_admin_keyword_edit_form', 2), |
'page arguments' => array('biblio_admin_keyword_edit_form', 2), |
| 626 |
'page arguments' => array('biblio_admin_types_edit_form'), |
'page arguments' => array('biblio_admin_types_edit_form'), |
| 627 |
'access arguments' => array('administer biblio'), |
'access arguments' => array('administer biblio'), |
| 628 |
'file' => 'biblio.admin.inc', |
'file' => 'biblio.admin.inc', |
| 629 |
'type' => MENU_LOCAL_TASK |
'type' => MENU_CALLBACK |
| 630 |
); |
); |
| 631 |
$items['admin/settings/biblio/fields/type/delete'] = array( |
$items['admin/settings/biblio/fields/type/delete'] = array( |
| 632 |
'title' => '', |
'title' => '', |
| 685 |
'type' => MENU_DEFAULT_LOCAL_TASK, |
'type' => MENU_DEFAULT_LOCAL_TASK, |
| 686 |
'weight' => -7 |
'weight' => -7 |
| 687 |
); |
); |
| 688 |
$items['admin/settings/biblio/author/list/%/edit'] = array( |
$items['admin/settings/biblio/author/%/edit'] = array( |
| 689 |
'title' => t('Edit author information'), |
'title' => t('Edit author information'), |
| 690 |
'page callback' => 'drupal_get_form', |
'page callback' => 'drupal_get_form', |
| 691 |
'page arguments' => array('biblio_admin_author_edit_form',5), |
'page arguments' => array('biblio_admin_author_edit_form',4), |
| 692 |
'access callback' => 'biblio_access', |
'access callback' => 'biblio_access', |
| 693 |
'access arguments' => array('edit_author'), |
'access arguments' => array('edit_author'), |
| 694 |
'file' => 'biblio.admin.inc', |
'file' => 'biblio.admin.inc', |
| 695 |
'type' => MENU_LOCAL_TASK, |
'type' => MENU_CALLBACK, |
| 696 |
'weight' => -6 |
'weight' => -6 |
| 697 |
); |
); |
| 698 |
$items['admin/settings/biblio/author/orphans'] = array( |
$items['admin/settings/biblio/author/orphans'] = array( |
| 730 |
'page arguments' => array('biblio_admin_author_types_form_edit', 'edit', 5), |
'page arguments' => array('biblio_admin_author_types_form_edit', 'edit', 5), |
| 731 |
'access arguments' => array('administer biblio'), |
'access arguments' => array('administer biblio'), |
| 732 |
'file' => 'biblio.admin.inc', |
'file' => 'biblio.admin.inc', |
| 733 |
'type' => MENU_LOCAL_TASK, |
'type' => MENU_CALLBACK, |
| 734 |
'weight' => -9 |
'weight' => -9 |
| 735 |
); |
); |
| 736 |
$items['admin/settings/biblio/author/type/%/delete'] = array( |
$items['admin/settings/biblio/author/type/%/delete'] = array( |
| 741 |
'access arguments' => array('administer biblio'), |
'access arguments' => array('administer biblio'), |
| 742 |
'file' => 'biblio.admin.inc', |
'file' => 'biblio.admin.inc', |
| 743 |
'weight' => 1, |
'weight' => 1, |
| 744 |
'type' => MENU_LOCAL_TASK |
'type' => MENU_CALLBACK |
| 745 |
); |
); |
| 746 |
$items['admin/settings/biblio/keyword'] = array( |
$items['admin/settings/biblio/keywords'] = array( |
| 747 |
'title' => t('Keywords'), |
'title' => t('Keywords'), |
| 748 |
'page callback' => 'biblio_keyword_page', |
'page callback' => 'biblio_keyword_page', |
| 749 |
'access callback' => 'user_access', |
'access callback' => 'user_access', |
| 752 |
'type' => MENU_LOCAL_TASK, |
'type' => MENU_LOCAL_TASK, |
| 753 |
'weight' => -7 |
'weight' => -7 |
| 754 |
); |
); |
| 755 |
$items['admin/settings/biblio/keyword/list'] = array( |
$items['admin/settings/biblio/keywords/list'] = array( |
| 756 |
'title' => t('List'), |
'title' => t('List'), |
| 757 |
'page callback' => 'biblio_keyword_page', |
'page callback' => 'biblio_keyword_page', |
| 758 |
'access callback' => 'user_access', |
'access callback' => 'user_access', |
| 761 |
'type' => MENU_DEFAULT_LOCAL_TASK, |
'type' => MENU_DEFAULT_LOCAL_TASK, |
| 762 |
'weight' => -7 |
'weight' => -7 |
| 763 |
); |
); |
| 764 |
$items['admin/settings/biblio/keyword/list/%/edit'] = array( |
$items['admin/settings/biblio/keywords/%/edit'] = array( |
| 765 |
'title' => t('Edit keyword information'), |
'title' => t('Edit keyword information'), |
| 766 |
'page callback' => 'drupal_get_form', |
'page callback' => 'drupal_get_form', |
| 767 |
'page arguments' => array('biblio_admin_keyword_edit_form',5), |
'page arguments' => array('biblio_admin_keyword_edit_form',4), |
| 768 |
'access callback' => 'user_access', |
'access callback' => 'user_access', |
| 769 |
'access arguments' => array('administer biblio'), |
'access arguments' => array('administer biblio'), |
| 770 |
'file' => 'biblio.admin.inc', |
'file' => 'biblio.admin.inc', |
| 771 |
'type' => MENU_LOCAL_TASK, |
'type' => MENU_CALLBACK, |
| 772 |
'weight' => -6 |
'weight' => -6 |
| 773 |
); |
); |
| 774 |
$items['admin/settings/biblio/keyword/orphans'] = array( |
$items['admin/settings/biblio/keywords/orphans'] = array( |
| 775 |
'title' => t('Orphaned Keywords'), |
'title' => t('Orphaned Keywords'), |
| 776 |
'page callback' => 'drupal_get_form', |
'page callback' => 'drupal_get_form', |
| 777 |
'page arguments' => array('biblio_admin_keyword_orphans_form'), |
'page arguments' => array('biblio_admin_keyword_orphans_form'), |