first commit

This commit is contained in:
CHIEFSOFT\ameye
2024-06-08 17:09:23 -04:00
commit df3a033196
17887 changed files with 8637778 additions and 0 deletions
@@ -0,0 +1,25 @@
{**
* templates/frontend/pages/about.tpl
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2003-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @brief Display the page to view a journal's or press's description, contact
* details, policies and more.
*
* @uses $currentContext Journal|Press The current journal or press
*}
{include file="frontend/components/header.tpl" pageTitle="about.aboutContext"}
<div class="page page_about">
{include file="frontend/components/breadcrumbs.tpl" currentTitleKey="about.aboutContext"}
<h1>
{translate key="about.aboutContext"}
</h1>
{include file="frontend/components/editLink.tpl" page="management" op="settings" path="context" anchor="masthead" sectionTitleKey="about.aboutContext"}
{$currentContext->getLocalizedData('about')}
</div><!-- .page -->
{include file="frontend/components/footer.tpl"}
@@ -0,0 +1,23 @@
{**
* templates/frontend/pages/announcements.tpl
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2003-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @brief Display the page which represents a single announcement
*
* @uses $announcement Announcement The announcement to display
*}
{include file="frontend/components/header.tpl" pageTitleTranslated=$announcement->getLocalizedTitle()|escape}
<div class="page page_announcement">
{include file="frontend/components/breadcrumbs_announcement.tpl" currentTitle=$announcement->getLocalizedTitle()|escape}
{* Display book details *}
{include file="frontend/objects/announcement_full.tpl"}
</div><!-- .page -->
{include file="frontend/components/footer.tpl"}
@@ -0,0 +1,26 @@
{**
* templates/frontend/pages/announcements.tpl
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2003-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @brief Display the page to view the latest announcements
*
* @uses $announcements array List of announcements
*}
{include file="frontend/components/header.tpl" pageTitle="announcement.announcements"}
<div class="page page_announcements">
{include file="frontend/components/breadcrumbs.tpl" currentTitleKey="announcement.announcements"}
<h1>
{translate key="announcement.announcements"}
</h1>
{include file="frontend/components/editLink.tpl" page="management" op="settings" path="announcements" anchor="announcements" sectionTitleKey="announcement.announcements"}
{$announcementsIntroduction}
{include file="frontend/components/announcements.tpl"}
</div><!-- .page -->
{include file="frontend/components/footer.tpl"}
@@ -0,0 +1,118 @@
{**
* templates/frontend/pages/contact.tpl
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2003-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @brief Display the page to view the press's contact details.
*
* @uses $currentContext Journal|Press The current journal or press
* @uses $mailingAddress string Mailing address for the journal/press
* @uses $contactName string Primary contact name
* @uses $contactTitle string Primary contact title
* @uses $contactAffiliation string Primary contact affiliation
* @uses $contactPhone string Primary contact phone number
* @uses $contactEmail string Primary contact email address
* @uses $supportName string Support contact name
* @uses $supportPhone string Support contact phone number
* @uses $supportEmail string Support contact email address
*}
{include file="frontend/components/header.tpl" pageTitle="about.contact"}
<div class="page page_contact">
{include file="frontend/components/breadcrumbs.tpl" currentTitleKey="about.contact"}
<h1>
{translate key="about.contact"}
</h1>
{include file="frontend/components/editLink.tpl" page="management" op="settings" path="context" anchor="contact" sectionTitleKey="about.contact"}
{* Contact section *}
<div class="contact_section">
{if $mailingAddress}
<div class="address">
{$mailingAddress|nl2br|strip_unsafe_html}
</div>
{/if}
{* Primary contact *}
{if $contactTitle || $contactName || $contactAffiliation || $contactPhone || $contactEmail}
<div class="contact primary">
<h2>
{translate key="about.contact.principalContact"}
</h2>
{if $contactName}
<div class="name">
{$contactName|escape}
</div>
{/if}
{if $contactTitle}
<div class="title">
{$contactTitle|escape}
</div>
{/if}
{if $contactAffiliation}
<div class="affiliation">
{$contactAffiliation|strip_unsafe_html}
</div>
{/if}
{if $contactPhone}
<div class="phone">
<span class="label">
{translate key="about.contact.phone"}
</span>
<span class="value">
{$contactPhone|escape}
</span>
</div>
{/if}
{if $contactEmail}
<div class="email">
{mailto address=$contactEmail encode='javascript'}
</div>
{/if}
</div>
{/if}
{* Technical contact *}
{if $supportName || $supportPhone || $supportEmail}
<div class="contact support">
<h2>
{translate key="about.contact.supportContact"}
</h2>
{if $supportName}
<div class="name">
{$supportName|escape}
</div>
{/if}
{if $supportPhone}
<div class="phone">
<span class="label">
{translate key="about.contact.phone"}
</span>
<span class="value">
{$supportPhone|escape}
</span>
</div>
{/if}
{if $supportEmail}
<div class="email">
{mailto address=$supportEmail encode='javascript'}
</div>
{/if}
</div>
{/if}
</div>
</div><!-- .page -->
{include file="frontend/components/footer.tpl"}
@@ -0,0 +1,23 @@
{**
* templates/frontend/pages/editorialTeam.tpl
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2003-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @brief Display the page to view the editorial team.
*
* @uses $currentContext Journal|Press The current journal or press
*}
{include file="frontend/components/header.tpl" pageTitle="about.editorialTeam"}
<div class="page page_editorial_team">
{include file="frontend/components/breadcrumbs.tpl" currentTitleKey="about.editorialTeam"}
<h1>
{translate key="about.editorialTeam"}
</h1>
{include file="frontend/components/editLink.tpl" page="management" op="settings" path="context" anchor="masthead" sectionTitleKey="about.editorialTeam"}
{$currentContext->getLocalizedData('editorialTeam')}
</div><!-- .page -->
{include file="frontend/components/footer.tpl"}
@@ -0,0 +1,28 @@
{**
* templates/frontend/pages/error.tpl
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2000-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* Generic error page.
* Displays a simple error message and (optionally) a return link.
*}
{include file="frontend/components/header.tpl"}
<div class="page page_error">
{include file="frontend/components/breadcrumbs.tpl" currentTitleKey=$pageTitle}
<h1>
{translate key=$pageTitle}
</h1>
<div class="description">
{translate key=$errorMsg params=$errorParams}
</div>
{if $backLink}
<div class="cmp_back_link">
<a href="{$backLink}">{translate key=$backLinkLabel}</a>
</div>
{/if}
</div>
{include file="frontend/components/footer.tpl"}
@@ -0,0 +1,29 @@
{**
* templates/frontend/pages/information.tpl
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2003-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* Information page.
*
*}
{if !$contentOnly}
{include file="frontend/components/header.tpl" pageTitle=$pageTitle}
{/if}
<div class="page page_information">
{include file="frontend/components/breadcrumbs.tpl" currentTitleKey=$pageTitle}
<h1>
{translate key=$pageTitle}
</h1>
{include file="frontend/components/editLink.tpl" page="management" op="settings" path="website" anchor="setup/information" sectionTitleKey="manager.website.information"}
<div class="description">
{$content}
</div>
</div>
{if !$contentOnly}
{include file="frontend/components/footer.tpl"}
{/if}
@@ -0,0 +1,32 @@
{**
* templates/frontend/pages/message.tpl
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2000-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* Generic message page.
* Displays a simple message and (optionally) a return link.
*}
{include file="frontend/components/header.tpl"}
<div class="page page_message">
{include file="frontend/components/breadcrumbs.tpl" currentTitleKey=$pageTitle}
<h1>
{translate key=$pageTitle}
</h1>
<div class="description">
{if $messageTranslated}
{$messageTranslated}
{else}
{translate key=$message}
{/if}
</div>
{if $backLink}
<div class="cmp_back_link">
<a href="{$backLink}">{translate key=$backLinkLabel}</a>
</div>
{/if}
</div>
{include file="frontend/components/footer.tpl"}
@@ -0,0 +1,19 @@
{**
* frontend/pages/navigationMenuItemViewContent.tpl
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2003-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* Display NavigationMenuItem content
*}
{include file="frontend/components/header.tpl" pageTitleTranslated=$title}
{include file="frontend/components/breadcrumbs.tpl" currentTitle=$title}
<div class="page">
<h1 class="page_title">{$title|escape}</h1>
{$content}
</div>
{include file="frontend/components/footer.tpl"}
@@ -0,0 +1,22 @@
{**
* templates/frontend/pages/privacy.tpl
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2003-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @brief Display the page to view the privacy policy.
*
* @uses $currentContext Journal|Press The current journal or press
*}
{include file="frontend/components/header.tpl" pageTitle="manager.setup.privacyStatement"}
<div class="page page_privacy">
{include file="frontend/components/breadcrumbs.tpl" currentTitleKey="manager.setup.privacyStatement"}
<h1>
{translate key="manager.setup.privacyStatement"}
</h1>
{$privacyStatement}
</div><!-- .page -->
{include file="frontend/components/footer.tpl"}
@@ -0,0 +1,84 @@
{**
* templates/frontend/pages/submissions.tpl
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2003-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @brief Display the page to view information about submissions.
*
* @uses $currentContext Journal|Press The current journal or press
* @uses $submissionChecklist array List of requirements for submissions
* @uses $submissionChecklistAfterContent string Optional data to include after the checklist
*}
{include file="frontend/components/header.tpl" pageTitle="about.submissions"}
<div class="page page_submissions">
{include file="frontend/components/breadcrumbs.tpl" currentTitleKey="about.submissions"}
<h1>
{translate key="about.submissions"}
</h1>
<div class="cmp_notification">
{if $sections|@count == 0 || $currentContext->getData('disableSubmissions')}
{translate key="author.submit.notAccepting"}
{else}
{if $isUserLoggedIn}
{capture assign="newSubmission"}<a href="{url page="submission"}">{translate key="about.onlineSubmissions.newSubmission"}</a>{/capture}
{capture assign="viewSubmissions"}<a href="{url page="submissions"}">{translate key="about.onlineSubmissions.viewSubmissions"}</a>{/capture}
{translate key="about.onlineSubmissions.submissionActions" newSubmission=$newSubmission viewSubmissions=$viewSubmissions}
{else}
{capture assign="login"}<a href="{url page="login"}">{translate key="about.onlineSubmissions.login"}</a>{/capture}
{capture assign="register"}<a href="{url page="user" op="register"}">{translate key="about.onlineSubmissions.register"}</a>{/capture}
{translate key="about.onlineSubmissions.registrationRequired" login=$login register=$register}
{/if}
{/if}
</div>
{if $currentContext->getLocalizedData('authorGuidelines')}
<div class="author_guidelines" id="authorGuidelines">
<h2>
{translate key="about.authorGuidelines"}
{include file="frontend/components/editLink.tpl" page="management" op="settings" path="workflow" anchor="submission/instructions" sectionTitleKey="about.authorGuidelines"}
</h2>
{$currentContext->getLocalizedData('authorGuidelines')}
</div>
{/if}
{if $submissionChecklist}
<div class="submission_checklist">
<h2>
{translate key="about.submissionPreparationChecklist"}
{include file="frontend/components/editLink.tpl" page="management" op="settings" path="workflow" anchor="submission/instructions" sectionTitleKey="about.submissionPreparationChecklist"}
</h2>
{$submissionChecklist}
</div>
{/if}
{if isset($submissionChecklistAfterContent)}
{$submissionChecklistAfterContent}
{/if}
{if $currentContext->getLocalizedData('copyrightNotice')}
<div class="copyright_notice">
<h2>
{translate key="about.copyrightNotice"}
{include file="frontend/components/editLink.tpl" page="management" op="settings" path="workflow" anchor="submission/authorGuidelines" sectionTitleKey="about.copyrightNotice"}
</h2>
{$currentContext->getLocalizedData('copyrightNotice')}
</div>
{/if}
{if $currentContext->getLocalizedData('privacyStatement')}
<div class="privacy_statement" id="privacyStatement">
<h2>
{translate key="about.privacyStatement"}
{include file="frontend/components/editLink.tpl" page="management" op="settings" path="website" anchor="setup/privacy" sectionTitleKey="about.privacyStatement"}
</h2>
{$currentContext->getLocalizedData('privacyStatement')}
</div>
{/if}
</div><!-- .page -->
{include file="frontend/components/footer.tpl"}
@@ -0,0 +1,108 @@
{**
* templates/frontend/pages/userLogin.tpl
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2000-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* User login form.
*
*}
{include file="frontend/components/header.tpl" pageTitle="user.login"}
<div class="page page_login">
{include file="frontend/components/breadcrumbs.tpl" currentTitleKey="user.login"}
<h1>
{translate key="user.login"}
</h1>
<p>
{translate key="common.requiredField"}
</p>
{* A login message may be displayed if the user was redireceted to the
login page from another request. Examples include if login is required
before dowloading a file. *}
{if $loginMessage}
<p>
{translate key=$loginMessage}
</p>
{/if}
<form class="cmp_form cmp_form login" id="login" method="post" action="{$loginUrl}" role="form">
{csrf}
{if $error}
<div class="pkp_form_error">
{translate key=$error reason=$reason}
</div>
{/if}
<input type="hidden" name="source" value="{$source|default:""|escape}" />
<fieldset class="fields">
<legend class="pkp_screen_reader">{translate key="user.login"}</legend>
<div class="username">
<label>
<span class="label">
{translate key="user.usernameOrEmail"}
<span class="required" aria-hidden="true">*</span>
<span class="pkp_screen_reader">
{translate key="common.required"}
</span>
</span>
<input type="text" name="username" id="username" value="{$username|default:""|escape}" required aria-required="true" autocomplete="username">
</label>
</div>
<div class="password">
<label>
<span class="label">
{translate key="user.password"}
<span class="required" aria-hidden="true">*</span>
<span class="pkp_screen_reader">
{translate key="common.required"}
</span>
</span>
<input type="password" name="password" id="password" value="{$password|default:""|escape}" password="true" maxlength="32" required aria-required="true" autocomplete="current-password">
<a href="{url page="login" op="lostPassword"}">
{translate key="user.login.forgotPassword"}
</a>
</label>
</div>
<div class="remember checkbox">
<label>
<input type="checkbox" name="remember" id="remember" value="1" checked="$remember">
<span class="label">
{translate key="user.login.rememberUsernameAndPassword"}
</span>
</label>
</div>
{* recaptcha spam blocker *}
{if $recaptchaPublicKey}
<fieldset class="recaptcha_wrapper">
<div class="fields">
<div class="recaptcha">
<div class="g-recaptcha" data-sitekey="{$recaptchaPublicKey|escape}">
</div><label for="g-recaptcha-response" style="display:none;" hidden>Recaptcha response</label>
</div>
</div>
</fieldset>
{/if}
<div class="buttons">
<button class="submit" type="submit">
{translate key="user.login"}
</button>
{if !$disableUserReg}
{capture assign=registerUrl}{url page="user" op="register" source=$source}{/capture}
<a href="{$registerUrl}" class="register">
{translate key="user.login.registerNewAccount"}
</a>
{/if}
</div>
</fieldset>
</form>
</div><!-- .page -->
{include file="frontend/components/footer.tpl"}
@@ -0,0 +1,60 @@
{**
* templates/frontend/pages/userLostPassword.tpl
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2000-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* Password reset form.
*
*}
{include file="frontend/components/header.tpl" pageTitle="user.login.resetPassword"}
<div class="page page_lost_password">
{include file="frontend/components/breadcrumbs.tpl" currentTitleKey="user.login.resetPassword"}
<h1>
{translate key="user.login.resetPassword"}
</h1>
<p>{translate key="user.login.resetPasswordInstructions"}</p>
<form class="cmp_form lost_password" id="lostPasswordForm" action="{url page="login" op="requestResetPassword"}" method="post" role="form">
{csrf}
{if $error}
<div class="pkp_form_error">
{translate key=$error reason=$reason}
</div>
{/if}
<div class="fields">
<div class="email">
<label>
<span class="label">
{translate key="user.login.registeredEmail"}
<span class="required" aria-hidden="true">*</span>
<span class="pkp_screen_reader">
{translate key="common.required"}
</span>
</span>
<input type="email" name="email" id="email" value="{$email|escape}" required aria-required="true" autocomplete="email">
</label>
</div>
<div class="buttons">
<button class="submit" type="submit">
{translate key="user.login.resetPassword"}
</button>
{if !$disableUserReg}
{capture assign=registerUrl}{url page="user" op="register" source=$source}{/capture}
<a href="{$registerUrl}" class="register">
{translate key="user.login.registerNewAccount"}
</a>
{/if}
</div>
</div>
</form>
</div><!-- .page -->
{include file="frontend/components/footer.tpl"}
@@ -0,0 +1,170 @@
{**
* templates/frontend/pages/userRegister.tpl
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2003-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* User registration form.
*
* @uses $primaryLocale string The primary locale for this journal/press
*}
{include file="frontend/components/header.tpl" pageTitle="user.register"}
<div class="page page_register">
{include file="frontend/components/breadcrumbs.tpl" currentTitleKey="user.register"}
<h1>
{translate key="user.register"}
</h1>
<p>
{translate key="common.requiredField"}
</p>
<form class="cmp_form register" id="register" method="post" action="{url op="register"}" role="form">
{csrf}
{if $source}
<input type="hidden" name="source" value="{$source|escape}" />
{/if}
{include file="common/formErrors.tpl"}
{include file="frontend/components/registrationForm.tpl"}
{* When a user is registering with a specific journal *}
{if $currentContext}
<fieldset class="consent">
{if $currentContext->getData('privacyStatement')}
{* Require the user to agree to the terms of the privacy policy *}
<legend class="pkp_screen_reader">{translate key="user.register.form.privacyConsentLabel"}</legend>
<div class="fields">
<div class="optin optin-privacy">
<label>
<input type="checkbox" name="privacyConsent" value="1"{if $privacyConsent} checked="checked"{/if}>
{capture assign="privacyUrl"}{url router=\PKP\core\PKPApplication::ROUTE_PAGE page="about" op="privacy"}{/capture}
{translate key="user.register.form.privacyConsent" privacyUrl=$privacyUrl}
</label>
</div>
</div>
{/if}
{* Ask the user to opt into public email notifications *}
<div class="fields">
<div class="optin optin-email">
<label>
<input type="checkbox" name="emailConsent" value="1"{if $emailConsent} checked="checked"{/if}>
{translate key="user.register.form.emailConsent"}
</label>
</div>
</div>
</fieldset>
{* Allow the user to sign up as a reviewer *}
{assign var=contextId value=$currentContext->getId()}
{assign var=userCanRegisterReviewer value=0}
{foreach from=$reviewerUserGroups[$contextId] item=userGroup}
{if $userGroup->getPermitSelfRegistration()}
{assign var=userCanRegisterReviewer value=$userCanRegisterReviewer+1}
{/if}
{/foreach}
{if $userCanRegisterReviewer}
<fieldset class="reviewer">
{if $userCanRegisterReviewer > 1}
<legend>
{translate key="user.reviewerPrompt"}
</legend>
{capture assign="checkboxLocaleKey"}user.reviewerPrompt.userGroup{/capture}
{else}
{capture assign="checkboxLocaleKey"}user.reviewerPrompt.optin{/capture}
{/if}
<div class="fields">
<div id="reviewerOptinGroup" class="optin">
{foreach from=$reviewerUserGroups[$contextId] item=userGroup}
{if $userGroup->getPermitSelfRegistration()}
<label>
{assign var="userGroupId" value=$userGroup->getId()}
<input type="checkbox" name="reviewerGroup[{$userGroupId}]" value="1"{if in_array($userGroupId, $userGroupIds)} checked="checked"{/if}>
{translate key=$checkboxLocaleKey userGroup=$userGroup->getLocalizedName()}
</label>
{/if}
{/foreach}
</div>
<div id="reviewerInterests" class="reviewer_interests">
<label>
<span class="label">
{translate key="user.interests"}
</span>
<input type="text" name="interests" id="interests" value="{$interests|default:""|escape}">
</label>
</div>
</div>
</fieldset>
{/if}
{/if}
{include file="frontend/components/registrationFormContexts.tpl"}
{* When a user is registering for no specific journal, allow them to
enter their reviewer interests *}
{if !$currentContext}
<div class="fields">
<div class="reviewer_nocontext_interests">
<label>
<span class="label">
{translate key="user.register.noContextReviewerInterests"}
</span>
<input type="text" name="interests" id="interests" value="{$interests|default:""|escape}">
</label>
</div>
</div>
{* Require the user to agree to the terms of the privacy policy *}
{if $siteWidePrivacyStatement}
<div class="fields">
<div class="optin optin-privacy">
<label>
<input type="checkbox" name="privacyConsent[{\PKP\core\PKPApplication::CONTEXT_ID_NONE}]" id="privacyConsent[{\PKP\core\PKPApplication::CONTEXT_ID_NONE}]" value="1"{if $privacyConsent[\PKP\core\PKPApplication::CONTEXT_ID_NONE]} checked="checked"{/if}>
{capture assign="privacyUrl"}{url router=\PKP\core\PKPApplication::ROUTE_PAGE page="about" op="privacy"}{/capture}
{translate key="user.register.form.privacyConsent" privacyUrl=$privacyUrl}
</label>
</div>
</div>
{/if}
{* Ask the user to opt into public email notifications *}
<div class="fields">
<div class="optin optin-email">
<label>
<input type="checkbox" name="emailConsent" value="1"{if $emailConsent} checked="checked"{/if}>
{translate key="user.register.form.emailConsent"}
</label>
</div>
</div>
{/if}
{* recaptcha spam blocker *}
{if $recaptchaPublicKey}
<fieldset class="recaptcha_wrapper">
<div class="fields">
<div class="recaptcha">
<div class="g-recaptcha" data-sitekey="{$recaptchaPublicKey|escape}">
</div><label for="g-recaptcha-response" style="display:none;" hidden>Recaptcha response</label>
</div>
</div>
</fieldset>
{/if}
<div class="buttons">
<button class="submit" type="submit">
{translate key="user.register"}
</button>
{capture assign="rolesProfileUrl"}{url page="user" op="profile" path="roles"}{/capture}
<a href="{url page="login" source=$rolesProfileUrl}" class="login">{translate key="user.login"}</a>
</div>
</form>
</div><!-- .page -->
{include file="frontend/components/footer.tpl"}
@@ -0,0 +1,48 @@
{**
* templates/frontend/pages/userRegisterComplete.tpl
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2000-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @brief A landing page displayed to users upon successful registration
*}
{include file="frontend/components/header.tpl"}
<div class="page page_register_complete">
{include file="frontend/components/breadcrumbs.tpl" currentTitleKey=$pageTitle}
<h1>
{translate key=$pageTitle}
</h1>
<p>
{translate key="user.login.registrationComplete.instructions"}
</p>
<ul class="registration_complete_actions">
{if array_intersect(array(\PKP\security\Role::ROLE_ID_MANAGER, \PKP\security\Role::ROLE_ID_SUB_EDITOR, \PKP\security\Role::ROLE_ID_ASSISTANT, \PKP\security\Role::ROLE_ID_REVIEWER), (array)$userRoles)}
<li class="view_submissions">
<a href="{url page="submissions"}">
{translate key="user.login.registrationComplete.manageSubmissions"}
</a>
</li>
{/if}
{if $currentContext}
<li class="new_submission">
<a href="{url page="submission"}">
{translate key="user.login.registrationComplete.newSubmission"}
</a>
</li>
{/if}
<li class="edit_profile">
<a href="{url router=\PKP\core\PKPApplication::ROUTE_PAGE page="user" op="profile"}">
{translate key="user.editMyProfile"}
</a>
</li>
<li class="browse">
<a href="{url page="index"}">
{translate key="user.login.registrationComplete.continueBrowsing"}
</a>
</li>
</ul>
</div>
{include file="frontend/components/footer.tpl"}