From 8084dda1278d495bc675d1c0d4cde050ec45fd6e Mon Sep 17 00:00:00 2001 From: Nate Wright Date: Tue, 25 Feb 2020 17:18:41 +0000 Subject: [PATCH] Update copyright dates --- HealthSciencesThemePlugin.inc.php | 4 +- index.php | 4 +- js/main.js | 50 +++++++++---------- locale/cs_CZ/locale.xml | 4 +- locale/da_DK/locale.xml | 4 +- locale/en_US/locale.xml | 4 +- locale/es_ES/locale.xml | 4 +- locale/fr_CA/locale.xml | 4 +- locale/fr_FR/locale.xml | 4 +- locale/nb_NO/locale.xml | 4 +- locale/uk_UA/locale.xml | 4 +- styles/index.less | 4 +- styles/pages/page-announcement.less | 4 +- styles/pages/page-author-details.less | 22 ++++---- styles/pages/page-common.less | 4 +- styles/pages/page-contact.less | 4 +- styles/pages/page-home.less | 4 +- styles/pages/page-issue.less | 4 +- styles/pages/page-search.less | 4 +- styles/pages/page-section.less | 4 +- styles/pages/page-site.less | 4 +- styles/pages/page-submission.less | 4 +- styles/pages/page-view-html.less | 4 +- styles/pages/page-view-pdf.less | 4 +- styles/rtl.less | 4 +- styles/typography.less | 4 +- styles/variables.less | 4 +- templates/common/formErrors.tpl | 2 +- templates/frontend/components/editLink.tpl | 4 +- templates/frontend/components/loginForm.tpl | 4 +- .../frontend/components/navigationMenu.tpl | 4 +- .../navigationMenus/dashboardMenuItem.tpl | 4 +- .../frontend/components/notification.tpl | 4 +- templates/frontend/components/pagination.tpl | 4 +- .../frontend/components/registrationForm.tpl | 4 +- .../components/registrationFormContexts.tpl | 4 +- .../components/subscriptionContact.tpl | 4 +- .../frontend/objects/announcement_summary.tpl | 4 +- .../frontend/objects/article_details.tpl | 4 +- .../frontend/objects/article_summary.tpl | 4 +- templates/frontend/objects/galley_link.tpl | 4 +- templates/frontend/objects/issue_summary.tpl | 4 +- templates/frontend/objects/issue_toc.tpl | 4 +- templates/frontend/pages/about.tpl | 4 +- .../pages/aboutThisPublishingSystem.tpl | 4 +- templates/frontend/pages/announcement.tpl | 4 +- templates/frontend/pages/announcements.tpl | 4 +- templates/frontend/pages/article.tpl | 4 +- templates/frontend/pages/contact.tpl | 4 +- templates/frontend/pages/editorialTeam.tpl | 4 +- templates/frontend/pages/error.tpl | 4 +- templates/frontend/pages/indexJournal.tpl | 4 +- templates/frontend/pages/indexSite.tpl | 4 +- templates/frontend/pages/information.tpl | 4 +- templates/frontend/pages/issue.tpl | 4 +- templates/frontend/pages/issueArchive.tpl | 4 +- .../frontend/pages/issueInterstitial.tpl | 4 +- templates/frontend/pages/message.tpl | 4 +- .../pages/navigationMenuItemViewContent.tpl | 4 +- templates/frontend/pages/privacy.tpl | 4 +- .../pages/purchaseIndividualSubscription.tpl | 2 +- .../purchaseInstitutionalSubscription.tpl | 4 +- templates/frontend/pages/search.tpl | 4 +- .../frontend/pages/searchAuthorDetails.tpl | 4 +- .../frontend/pages/searchAuthorIndex.tpl | 4 +- templates/frontend/pages/submissions.tpl | 4 +- templates/frontend/pages/subscriptions.tpl | 2 +- templates/frontend/pages/userLogin.tpl | 2 +- templates/frontend/pages/userLostPassword.tpl | 2 +- templates/frontend/pages/userRegister.tpl | 4 +- .../frontend/pages/userRegisterComplete.tpl | 2 +- .../frontend/pages/userSubscriptions.tpl | 4 +- .../htmlArticleGalley/templates/display.tpl | 4 +- .../generic/staticPages/templates/content.tpl | 4 +- .../manual/templates/paymentForm.tpl | 4 +- version.xml | 4 +- 76 files changed, 178 insertions(+), 178 deletions(-) diff --git a/HealthSciencesThemePlugin.inc.php b/HealthSciencesThemePlugin.inc.php index 33aa4e0..2ea3828 100644 --- a/HealthSciencesThemePlugin.inc.php +++ b/HealthSciencesThemePlugin.inc.php @@ -3,8 +3,8 @@ /** * @file plugins/themes/healthSciences/HealthSciencesThemePlugin.inc.php * - * Copyright (c) 2014-2018 Simon Fraser University - * Copyright (c) 2003-2018 John Willinsky + * Copyright (c) 2014-2020 Simon Fraser University + * Copyright (c) 2003-2020 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * @class HealthSciencesThemePlugin diff --git a/index.php b/index.php index 7796a64..0a0d535 100644 --- a/index.php +++ b/index.php @@ -7,8 +7,8 @@ /** * @file plugins/themes/healthSciences/index.php * - * Copyright (c) 2014-2018 Simon Fraser University - * Copyright (c) 2003-2018 John Willinsky + * Copyright (c) 2014-2020 Simon Fraser University + * Copyright (c) 2003-2020 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * @ingroup plugins_themes_healthSciences diff --git a/js/main.js b/js/main.js index e4cd918..323eb86 100644 --- a/js/main.js +++ b/js/main.js @@ -1,7 +1,7 @@ /** * @file /js/main.js * - * Copyright (c) 2014-2018 Simon Fraser University + * Copyright (c) 2014-2020 Simon Fraser University * Copyright (c) 2000-2017 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * @@ -17,21 +17,21 @@ })(jQuery); (function ($) { - + // Show author affiliation under authors list (for large screen only) var authorString = $('.author-string-href'); $(authorString).click(function(event) { event.preventDefault(); var elementId = $(this).attr('href').replace('#', ''); $('.article-details-author').each(function () { - + // Show only targeted author's affiliation on click if ($(this).attr('id') === elementId && $(this).hasClass('hideAuthor')) { $(this).removeClass('hideAuthor'); } else { $(this).addClass('hideAuthor'); } - + // Add specifiers to the clicked author's link $(authorString).each(function () { if ($(this).attr('href') === ('#' + elementId) && !$(this).hasClass('active')){ @@ -73,49 +73,49 @@ $(document).ready(function() { // change article's blocks logic for small screens (function () { - + var mainArticleContent = $("#mainArticleContent"); - + if (mainArticleContent.length === 0) return false; - + var articleDetailsWrapper = $("#articleDetailsWrapper"); var articleDetails = $("#articleDetails"); var articleDetailsChildren = articleDetails.children(); - + var articleMainWrapper = $("#articleMainWrapper"); var articleMain = $("#articleMain"); var articleMainChildren = articleMain.children(); - + var dataForMobilesMark = "data-for-mobiles"; - + function reorganizeArticleBlocks() { if (mainArticleContent && !mainArticleContent.hasClass(dataForMobilesMark) && window.innerWidth < 992) { $("#articleDetails").unwrap(); $("#articleMain").unwrap(); - + articleDetailsChildren.unwrap(); articleMainChildren.unwrap(); - + mainArticleContent.children().wrapAll("
"); - + mainArticleContent.addClass(dataForMobilesMark); - + } else if (mainArticleContent && mainArticleContent.hasClass(dataForMobilesMark) && window.innerWidth >= 992) { $('#mainArticleContent > *').children().unwrap(); - + articleDetailsChildren.wrapAll(articleDetails); articleMainChildren.wrapAll(articleMain); - + $("#articleDetails").wrap(articleDetailsWrapper); $("#articleMain").wrap(articleMainWrapper); - - + + mainArticleContent.removeClass(dataForMobilesMark); } } - + reorganizeArticleBlocks(); - + window.addEventListener("resize", function () { reorganizeArticleBlocks(); }); @@ -125,24 +125,24 @@ $(document).ready(function() { (function () { var journalDescription = document.getElementById('homepageDescription'); - + if (!journalDescription) return false; - + var moreButton = document.getElementById('homepageDescriptionMore'); var lessButton = document.getElementById('homepageDescriptionLess'); var descriptionButtons = document.getElementById('homepageDescriptionButtons'); - + if (journalDescription.offsetHeight < journalDescription.scrollHeight) { moreButton.classList.remove('hidden'); descriptionButtons.classList.remove('hidden'); } - + moreButton.onclick = function () { journalDescription.classList.remove('long-text'); this.classList.add('hidden'); lessButton.classList.remove('hidden'); }; - + lessButton.onclick = function () { journalDescription.classList.add('long-text'); this.classList.add('hidden'); diff --git a/locale/cs_CZ/locale.xml b/locale/cs_CZ/locale.xml index e79a27b..2097582 100644 --- a/locale/cs_CZ/locale.xml +++ b/locale/cs_CZ/locale.xml @@ -4,8 +4,8 @@