Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/accessible-ids'
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-KM committed Dec 23, 2018
2 parents 7c2a6bd + 66a14b7 commit 0bee3d2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Form/ImportForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public function init()
'attributes' => [
'required' => true,
'class' => 'chosen-select',
'id' => 'library-item-set',
],
]);

Expand Down Expand Up @@ -51,6 +52,7 @@ public function init()
],
'attributes' => [
'required' => true,
'id' => 'library-id',
],
]);

Expand All @@ -61,6 +63,9 @@ public function init()
'label' => 'Collection Key', // @translate
'info' => 'Not required. The collection key can be found on the Zotero library page by looking at the URL when looking at the collection.', // @translate
],
'attributes' => [
'id' => 'collection-key',
],
]);

$this->add([
Expand All @@ -70,6 +75,9 @@ public function init()
'label' => 'API Key', // @translate
'info' => 'Required for non-public libraries and file import.', // @translate
],
'attributes' => [
'id' => 'api-key',
],
]);

$this->add([
Expand All @@ -79,6 +87,9 @@ public function init()
'label' => 'Import Files', // @translate
'info' => 'The API key is required to import files.', // @translate
],
'attributes' => [
'id' => 'import-files',
],
]);

$actionOptions = [
Expand Down Expand Up @@ -109,6 +120,9 @@ public function init()
'label' => 'Added after', // @translate
'info' => 'Only import items that have been added to Zotero after this datetime.', // @translate
],
'attributes' => [
'id' => 'added-after',
],
]);

$inputFilter = $this->getInputFilter();
Expand Down

0 comments on commit 0bee3d2

Please sign in to comment.