+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/chrome/content/zotero/publicationsDialog.xul b/chrome/content/zotero/publicationsDialog.xul
deleted file mode 100644
index b9aec78a99..0000000000
--- a/chrome/content/zotero/publicationsDialog.xul
+++ /dev/null
@@ -1,109 +0,0 @@
-
-
- %zoteroDTD;
- %publicationsDTD;
-]>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- &zotero.publications.intro;
-
-
-
-
- &zotero.publications.include.adjustAtAnyTime;
-
-
-
-
-
-
-
-
-
-
- &zotero.publications.sharing.text;
-
- &zotero.publications.sharing.prompt;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- &zotero.publications.chooseLicense.text;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js
index c4f6f2882a..8a86bd5f14 100644
--- a/chrome/content/zotero/zoteroPane.js
+++ b/chrome/content/zotero/zoteroPane.js
@@ -4752,7 +4752,7 @@ var ZoteroPane = new function()
}
}
io.hasRights = allItemsHaveRights ? 'all' : (noItemsHaveRights ? 'none' : 'some');
- window.openDialog('chrome://zotero/content/publicationsDialog.xul','','chrome,modal', io);
+ window.openDialog('chrome://zotero/content/publicationsDialog.xhtml','','chrome,modal', io);
return io.license ? io : false;
};
diff --git a/chrome/locale/en-US/zotero/zotero.ftl b/chrome/locale/en-US/zotero/zotero.ftl
index 0ac9e41b3d..309ab55edd 100644
--- a/chrome/locale/en-US/zotero/zotero.ftl
+++ b/chrome/locale/en-US/zotero/zotero.ftl
@@ -111,3 +111,68 @@ integration-prefs-footnotes =
.label = Footnotes
integration-prefs-endnotes =
.label = Endnotes
+
+
+publications-intro-page =
+ .label = My Publications
+
+publications-intro = Items you add to My Publications will be shown on your profile page on zotero.org. If you choose to include attached files, they will be made publicly available under the license you specify. Only add work you yourself have created, and only include files if you have the rights to distribute them and wish to do so.
+publications-include-checkbox-files =
+ .label = Include files
+publications-include-checkbox-notes =
+ .label = Include notes
+
+publications-include-adjust-at-any-time = You can adjust what to show at any time from the My Publications collection.
+publications-intro-authorship =
+ .label = I created this work.
+publications-intro-authorship-files =
+ .label = I created this work and have the rights to distribute included files.
+
+publications-sharing-page =
+ .label = Choose how your work may be shared
+
+publications-sharing-keep-rights-field =
+ .label = Keep the existing Rights field
+publications-sharing-keep-rights-field-where-available =
+ .label = Keep the existing Rights field where available
+publications-sharing-text = You can reserve all rights to your work, license it under a Creative Commons license, or dedicate it to the public domain. In all cases, the work will be made publicly available via zotero.org.
+publications-sharing-prompt = Would you like to allow your work to be shared by others?
+publications-sharing-reserved =
+ .label = No, only publish my work on zotero.org
+publications-sharing-cc =
+ .label = Yes, under a Creative Commons license
+publications-sharing-cc0 =
+ .label = Yes, and place my work in the public domain
+
+publications-license-page =
+ .label = Choose a Creative Commons license
+publications-choose-license-text = A Creative Commons license allows others to copy and redistribute your work as long as they give appropriate credit, provide a link to the license, and indicate if changes were made. Additional conditions can be specified below.
+publications-choose-license-adaptations-prompt = Allow adaptations of your work to be shared?
+
+publications-choose-license-yes =
+ .label = Yes
+ .accesskey = Y
+publications-choose-license-no =
+ .label = No
+ .accesskey = N
+publications-choose-license-sharealike =
+ .label = Yes, as long as others share alike
+ .accesskey = S
+
+publications-choose-license-commercial-prompt = Allow commercial uses of your work?
+publications-buttons-add-to-my-publications =
+ .label = Add to My Publications
+publications-buttons-next-sharing =
+ .label = Next: Sharing
+publications-buttons-next-choose-license =
+ .label = Choose a License
+
+licenses-cc-0 = CC0 1.0 Universal Public Domain Dedication
+licenses-cc-by = Creative Commons Attribution 4.0 International License
+licenses-cc-by-nd = Creative Commons Attribution-NoDerivatives 4.0 International License
+licenses-cc-by-sa = Creative Commons Attribution-ShareAlike 4.0 International License
+licenses-cc-by-nc = Creative Commons Attribution-NonCommercial 4.0 International License
+licenses-cc-by-nc-nd = Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License
+licenses-cc-by-nc-sa = Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
+licenses-cc-more-info = Be sure you have read the Creative Commons Considerations for licensors before placing your work under a CC license. Note that the license you apply cannot be revoked, even if you later choose different terms or cease publishing the work.
+licenses-cc0-more-info = Be sure you have read the Creative Commons CC0 FAQ before applying CC0 to your work. Please note that dedicating your work to the public domain is irreversible, even if you later choose different terms or cease publishing the work.
\ No newline at end of file
diff --git a/scss/_zotero-react-client.scss b/scss/_zotero-react-client.scss
index 450bfcc016..05aaa4d01a 100644
--- a/scss/_zotero-react-client.scss
+++ b/scss/_zotero-react-client.scss
@@ -37,6 +37,7 @@
@import "components/mainWindow";
@import "components/notesList";
@import "components/progressMeter";
+@import "components/publications-dialog.scss";
@import "components/rtfScan.scss";
@import "components/search";
@import "components/syncButtonTooltip";
diff --git a/scss/components/_publications-dialog.scss b/scss/components/_publications-dialog.scss
new file mode 100644
index 0000000000..72868e229a
--- /dev/null
+++ b/scss/components/_publications-dialog.scss
@@ -0,0 +1,46 @@
+.publications-dialog-wizard {
+ font-size: 12px;
+
+ div {
+ display: block;
+ }
+
+ h2 {
+ margin: 1em 0 0;
+ padding: 0;
+ font-size: 13px;
+ font-weight: normal;
+ }
+
+ h2 + radiogroup {
+ margin-top: 0;
+ }
+
+ p.description {
+ display: block;
+ margin: 1em 0;
+ }
+
+ checkbox {
+ margin-left: 4px; // indent required for correct focus ring rendering
+ }
+
+ radiogroup {
+ font-size: 12px;
+ margin-top: 1em;
+
+ radio:first-child {
+ margin-top: 9px;
+ }
+ }
+
+ wizardpage {
+ display: flex;
+ flex-direction: column;
+ }
+
+ #include-files,
+ #include-notes {
+ margin-top: 5px;
+ }
+}
\ No newline at end of file
diff --git a/scss/elements/license-info.scss b/scss/elements/license-info.scss
new file mode 100644
index 0000000000..6ec74e099a
--- /dev/null
+++ b/scss/elements/license-info.scss
@@ -0,0 +1,50 @@
+@import "../abstracts/variables";
+@import "../abstracts/functions";
+@import "../abstracts/mixins";
+@import "../abstracts/placeholders";
+@import "../abstracts/utilities";
+@import "../themes/light";
+
+:host {
+ display: block;
+ width: 100%;
+}
+
+.license-info {
+ display: flex;
+ padding: var(--license-info-padding, 0 20px);
+ margin: var(--license-info-margin, 1em 0 0 0);
+
+ .license-icon {
+ flex: 0 1 auto;
+
+ > img {
+ max-width: var(--license-icon-max-width, 88px);
+ }
+ }
+
+ .license-name {
+ margin-left: var(--license-info-name-margin-left, 12px);
+ flex: 1 1 auto;
+ display: flex;
+ align-items: center;
+ }
+}
+
+.license-more-info {
+ margin: var(--license-more-info-margin, 1.5em 0 0 0);
+ font-size: var(--license-more-info-font-size, 11px);
+}
+
+a {
+ display: inline;
+ color: var(--license-info-link-color, -moz-nativehyperlinktext);
+ text-decoration: var(--license-info-link-decoration, none);
+
+ &:hover,
+ &:active,
+ &:focus {
+ outline: none;
+ text-decoration: var(--license-info-link-decoration-hover, $link-hover-decoration);
+ }
+}
\ No newline at end of file