|
|
@ -179,12 +179,14 @@ class IslandoraBook { |
|
|
|
// This will be the content of the tab. |
|
|
|
// This will be the content of the tab. |
|
|
|
'#content' => fedora_ilives_create_book_view($this->pid), |
|
|
|
'#content' => fedora_ilives_create_book_view($this->pid), |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
$tabset['add_pages'] = array( |
|
|
|
if (user_access('ingest new fedora objects')) { |
|
|
|
'#type' => 'tabpage', |
|
|
|
$tabset['add_pages'] = array( |
|
|
|
'#title' => t('Add pages'), |
|
|
|
'#type' => 'tabpage', |
|
|
|
'#content' => drupal_get_form('book_add_pages_form', $this->pid), |
|
|
|
'#title' => t('Add pages'), |
|
|
|
); |
|
|
|
'#content' => drupal_get_form('book_add_pages_form', $this->pid), |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
} |
|
|
|
return $tabset; |
|
|
|
return $tabset; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|