diff --git a/templates/frontend/components/editLink.tpl b/templates/frontend/components/editLink.tpl index 2f14720..d67a27a 100755 --- a/templates/frontend/components/editLink.tpl +++ b/templates/frontend/components/editLink.tpl @@ -15,7 +15,7 @@ * @uses SectionTitleKey string A key that must be translated to get the * $sectionTitle *} -{if in_array(ROLE_ID_MANAGER, (array) $userRoles)} +{if in_array(\PKP\security\Role::ROLE_ID_MANAGER, (array) $userRoles)} {* Render the $sectionTitle if we only have a translation key *} {if $sectionTitleKey} diff --git a/templates/frontend/pages/userRegisterComplete.tpl b/templates/frontend/pages/userRegisterComplete.tpl index 2107fc5..52a8ae1 100644 --- a/templates/frontend/pages/userRegisterComplete.tpl +++ b/templates/frontend/pages/userRegisterComplete.tpl @@ -22,7 +22,7 @@ {translate key="user.login.registrationComplete.instructions"}