From f90fb7bb6f3f5d9571b1514985131134c06a16ee Mon Sep 17 00:00:00 2001 From: Alexander Purr <purr@ub.uni-leipzig.de> Date: Wed, 17 May 2023 17:27:49 +0200 Subject: [PATCH] refs #23930 [finc-accessibility] rename template path comments in formerly moved auth templates * see refs 23395 --- themes/finc-accessibility/templates/Auth/ILS/login.phtml | 4 ++-- .../finc-accessibility/templates/Auth/ILS/loginfields.phtml | 4 ++-- .../finc-accessibility/templates/Auth/ILS/newpassword.phtml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/themes/finc-accessibility/templates/Auth/ILS/login.phtml b/themes/finc-accessibility/templates/Auth/ILS/login.phtml index 7d7d015eb33..87ef7a49570 100644 --- a/themes/finc-accessibility/templates/Auth/ILS/login.phtml +++ b/themes/finc-accessibility/templates/Auth/ILS/login.phtml @@ -1,4 +1,4 @@ -<!-- finc-accessibility: auth - abstractbase - login.phtml --> +<!-- finc-accessibility: auth - ILS - login.phtml --> <?php $account = $this->auth()->getManager(); ?> <?php $sessionInitiator = $account->getSessionInitiator($this->serverUrl($this->url('myresearch-home'))); ?> <?php if (!$sessionInitiator): // display default login form if no login URL provided ?> @@ -20,4 +20,4 @@ <?php else: ?> <a href="<?=$this->escapeHtmlAttr($sessionInitiator)?>" class="btn btn-link" data-lightbox-ignore><?=$this->transEsc("Institutional Login")?></a> <?php endif; ?> -<!-- finc-accessibility: auth - abstractbase - login.phtml - END --> +<!-- finc-accessibility: auth - ILS - login.phtml - END --> diff --git a/themes/finc-accessibility/templates/Auth/ILS/loginfields.phtml b/themes/finc-accessibility/templates/Auth/ILS/loginfields.phtml index abf0b581742..747421cb7ec 100644 --- a/themes/finc-accessibility/templates/Auth/ILS/loginfields.phtml +++ b/themes/finc-accessibility/templates/Auth/ILS/loginfields.phtml @@ -1,4 +1,4 @@ -<!-- finc-accessibility: auth - abstractbase - loginfields.phtml --> +<!-- finc-accessibility: auth - ILS - loginfields.phtml --> <?php /* copied /themes/bootstrap3/templates/myresearch/loginfields.phtml to add autocomplete */ ?> <div class="form-group"> <label class="control-label" for="login_<?=$this->escapeHtmlAttr($topClass)?>_username"><?=$this->transEsc('Username')?>:</label> @@ -9,4 +9,4 @@ <?php /* finc adds 'autocomplete' for accessibility */ ?> <input type="password" name="password" id="login_<?=$this->escapeHtmlAttr($topClass)?>_password" class="form-control" autocomplete="current-password"/> </div> -<!-- finc-accessibility: auth - abstractbase - loginfields.phtml - END --> +<!-- finc-accessibility: auth - ILS - loginfields.phtml - END --> diff --git a/themes/finc-accessibility/templates/Auth/ILS/newpassword.phtml b/themes/finc-accessibility/templates/Auth/ILS/newpassword.phtml index d8535cac4d0..54c603e8950 100644 --- a/themes/finc-accessibility/templates/Auth/ILS/newpassword.phtml +++ b/themes/finc-accessibility/templates/Auth/ILS/newpassword.phtml @@ -1,4 +1,4 @@ -<!-- finc-accessibility: Auth - AbstractBase - newpassword --> +<!-- finc-accessibility: Auth - ILS - newpassword --> <?php /* copied /themes/bootstrap3/templates/Auth/AbstractBase/newpassword.phtml to add autocomplete */ ?> <?php if (isset($this->username)): ?> <div class="form-group"> @@ -48,4 +48,4 @@ <input id="password2" type="password" name="password2" class="form-control" required aria-required="true" data-match="#password" data-match-error="<?=$this->transEscAttr('Passwords do not match')?>" autocomplete="new-password" aria-describedby="password2-error"/> <div id="password2-error" class="help-block with-errors"></div> </div> -<!-- finc-accessibility: Auth - AbstractBase - newpassword - END --> \ No newline at end of file +<!-- finc-accessibility: Auth - ILS - newpassword - END --> \ No newline at end of file -- GitLab