diff --git a/themes/fid/templates/RecordTab/worldcat.phtml b/themes/fid/templates/RecordTab/worldcat.phtml index 38fb7af17c352a3f38213e8f216a792f6555a65b..a267b5f628c3643a174bd3178b3c850344792b4c 100644 --- a/themes/fid/templates/RecordTab/worldcat.phtml +++ b/themes/fid/templates/RecordTab/worldcat.phtml @@ -1,5 +1,5 @@ <!-- fid: recordtab - worldcat --> -<? $script = <<<JS +<?php $script = <<<JS $(document).ready(function() { var recordId = $('.hiddenId').val(); var recordSource = $('.hiddenSource').val(); diff --git a/themes/fid/templates/ajax/resolverLinks-button.phtml b/themes/fid/templates/ajax/resolverLinks-button.phtml index a25b35b62b382b11112b1717b9b8f6d8253742fa..62873ca852716d5f40de4fb2eb9503a3b9b4dbde 100644 --- a/themes/fid/templates/ajax/resolverLinks-button.phtml +++ b/themes/fid/templates/ajax/resolverLinks-button.phtml @@ -11,7 +11,7 @@ $controllerClass = 'controller:SolrMarcFincPDA'; <a class="btn btn-primary pda-button <?=$controllerClass?> full-order" data-lightbox href="<?=$this->url('record-fidsubitoarticle', array('id' => $this->recordId))?>" rel="nofollow"> <?=$this->transEsc('getit_order')?> </a> - <? $script = <<<JS + <?php $script = <<<JS $(document).ready(function() { // Use to register new lightbox window pda form VuFind.lightbox.bind(); diff --git a/themes/fid/templates/ajax/resolverLinks-print.phtml b/themes/fid/templates/ajax/resolverLinks-print.phtml index 45af2536d54f5ae8fb14f5e6376035dcfd4c569a..211079c3e742e1995389cfc3673b84d5ae37f128 100644 --- a/themes/fid/templates/ajax/resolverLinks-print.phtml +++ b/themes/fid/templates/ajax/resolverLinks-print.phtml @@ -18,7 +18,7 @@ $user = $account->isLoggedIn(); $url = '<a href="'.$this->url('myresearch-account').'?auth_method='.$account->getAuthMethod().'" target="_blank" data-lightbox>'.$this->transEsc('getit_text_3_2').'</a>'; ?> <?=sprintf($this->translate('getit_text_10'), $url)?> - <? $script = <<<JS + <?php $script = <<<JS $(document).ready(function() { // Use to register new lightbox window pda form VuFind.lightbox.bind(); @@ -52,7 +52,7 @@ JS; <?php /* finc-specific change #9274 - END */ ?> </div> <?php /* #17831 */ ?> -<? $script = <<<JS +<?php $script = <<<JS $(document).ready(function() { if ($(window).width() >= 1200) { var contentHeight = $('.media').height(); diff --git a/themes/fid/templates/fid/admin/edit.phtml b/themes/fid/templates/fid/admin/edit.phtml index e5451a2ecc335154914041286cfd38b360952c83..1acfdfedafe072d339aa6aebd29d8485f0df8d54 100644 --- a/themes/fid/templates/fid/admin/edit.phtml +++ b/themes/fid/templates/fid/admin/edit.phtml @@ -59,10 +59,10 @@ $this->headTitle($title = $this->translate("fid::user_edit_form_title", [ <?= $this->form()->openTag($form) ?> <br/> -<? /* id */ ?> +<?php /* id */ ?> <?= $this->formElement($form->get('id')) ?> -<? /* salutation */ ?> +<?php /* salutation */ ?> <?php /** @var Element\Select $elemSalutation */ $elemSalutation = $form->get('salutation'); @@ -74,7 +74,7 @@ $elemSalutation->setAttributes(['class' => 'form-control']); <?= $this->formSelect($elemSalutation) ?> </div> -<? /* academic title */ ?> +<?php /* academic title */ ?> <?php /** @var Element\Text $elemAcademicTitle */ $elemAcademicTitle = $form->get('academic_title'); @@ -86,7 +86,7 @@ $elemAcademicTitle->setAttributes(['class' => 'form-control']); <?= $this->formElement($elemAcademicTitle) ?> </div> -<? /* firstname */ ?> +<?php /* firstname */ ?> <?php /** @var Element\Text $elemFirstname */ $elemFirstname = $form->get('firstname'); @@ -99,7 +99,7 @@ $elemFirstname->setAttributes(['class' => 'form-control']); <?= $this->formElementErrors($elemFirstname) ?> </div> -<? /* lastname */ ?> +<?php /* lastname */ ?> <?php /** @var Element\Text $elemLastname */ $elemLastname = $form->get('lastname'); @@ -112,7 +112,7 @@ $elemLastname->setAttributes(['class' => 'form-control']); <?= $this->formElementErrors($elemLastname) ?> </div> -<? /* home library */ ?> +<?php /* home library */ ?> <?php /** @var Element\Select $elemHomeLibrary */ $elemHomeLibrary = $form->get('home_library'); @@ -125,7 +125,7 @@ $elemHomeLibrary->setAttributes(['class' => 'form-control']); <?= $this->formElementErrors($elemHomeLibrary) ?> </div> -<? /* user group */ ?> +<?php /* user group */ ?> <?php /** @var Element\Radio $elemJobTitle */ $elemJobTitle = $form->get('job_title'); @@ -142,7 +142,7 @@ $elemJobTitle = $form->get('job_title'); </div> </div> -<? /* Permissions */ ?> +<?php /* Permissions */ ?> <?php /** @var Element\Collection $elemPermissions */ /** @var Element\Select[] $elemPermissionsElems */ @@ -166,10 +166,10 @@ foreach ($permissions as $permission) { </div> <?php endforeach; ?> -<? /* addresses */ ?> +<?php /* addresses */ ?> <?= $this->render('fid/user/address-collection.phtml') ?> -<? /* submit button */ ?> +<?php /* submit button */ ?> <?php /** @var Submit $elemSubmit */ $elemSubmit = $form->get('submit'); diff --git a/themes/fid/templates/fid/record/acquisition-pda.phtml b/themes/fid/templates/fid/record/acquisition-pda.phtml index a2b8db2e49575c862593c16b5bd39377a73e22bb..a5bc87b75cbaaada52ad39fc78f08c5dee238ca4 100644 --- a/themes/fid/templates/fid/record/acquisition-pda.phtml +++ b/themes/fid/templates/fid/record/acquisition-pda.phtml @@ -70,7 +70,7 @@ $form->setAttribute('class','fid-acquisition-form'); <div class="row confirmation"> <div class="col col-xs-12"> - <? /* submit button */ ?> + <?php /* submit button */ ?> <?php /** @var Element\Submit $elemSubmit */ $elemSubmit = $form->get('submit'); diff --git a/themes/fid/templates/fid/record/acquisition-subito-article.phtml b/themes/fid/templates/fid/record/acquisition-subito-article.phtml index 4743cbe09cdbbc9034360d8f5c208b7afeccc5a1..99612d70c71cf688692db30df042b094861f769e 100644 --- a/themes/fid/templates/fid/record/acquisition-subito-article.phtml +++ b/themes/fid/templates/fid/record/acquisition-subito-article.phtml @@ -69,7 +69,7 @@ $form->setAttribute('class','fid-acquisition-form'); <div class="row confirmation"> <div class="col col-xs-12"> - <? /* submit button */ ?> + <?php /* submit button */ ?> <?php /** @var Element\Submit $elemSubmit */ $elemSubmit = $form->get('submit'); diff --git a/themes/fid/templates/fid/record/acquisition-subito-partial-copy.phtml b/themes/fid/templates/fid/record/acquisition-subito-partial-copy.phtml index 264ff343009baa684bceb435ae45f0be6f295cb1..ddaf79bf8710641f061906237e76cf28f56407d3 100644 --- a/themes/fid/templates/fid/record/acquisition-subito-partial-copy.phtml +++ b/themes/fid/templates/fid/record/acquisition-subito-partial-copy.phtml @@ -59,7 +59,7 @@ $form->setAttribute('class','fid-acquisition-form'); </div> </div> -<? /* pages */ ?> +<?php /* pages */ ?> <?php /** @var Element\Text $elemPages */ $elemPages = $form->get('pages'); @@ -67,7 +67,7 @@ $elemPages->setLabelAttributes(['class' => 'control-label']); $elemPages->setAttributes(['class' => 'form-control']); ?> -<? /* comments */ ?> +<?php /* comments */ ?> <?php /** @var Element\Text $elemComment */ $elemComment = $form->get('comment'); @@ -108,7 +108,7 @@ $elemComment->setAttributes(['class' => 'form-control']); <div class="row confirmation"> <div class="col col-xs-12"> - <? /* submit button */ ?> + <?php /* submit button */ ?> <?php /** @var Element\Submit $elemSubmit */ $elemSubmit = $form->get('submit'); diff --git a/themes/fid/templates/fid/user/address-fieldset.phtml b/themes/fid/templates/fid/user/address-fieldset.phtml index 865287dfcacaa0a5062fa8bc7895ecd1bca9a7da..8d50ee05190ed45fa79cad9fa23dd0210c99bcf9 100644 --- a/themes/fid/templates/fid/user/address-fieldset.phtml +++ b/themes/fid/templates/fid/user/address-fieldset.phtml @@ -27,7 +27,7 @@ use Zend\Form\Element; $address = $this->address; ?> -<? /* id */ ?> +<?php /* id */ ?> <?php $elemId = $address->get('id'); if ($elemId->getValue()) { @@ -35,7 +35,7 @@ if ($elemId->getValue()) { } ?> -<? /* first line */ ?> +<?php /* first line */ ?> <?php /** @var Element\Text $elemLine1 */ $elemLine1 = $address->get('line1'); @@ -48,7 +48,7 @@ $elemLine1->setAttributes(['class' => 'form-control']); <?= $this->formElementErrors($elemLine1) ?> </div> -<? /* second line */ ?> +<?php /* second line */ ?> <?php /** @var Element\Text $elemLine2 */ $elemLine2 = $address->get('line2'); @@ -61,7 +61,7 @@ $elemLine2->setAttributes(['class' => 'form-control']); <?= $this->formElementErrors($elemLine2) ?> </div> -<? /* address zip */ ?> +<?php /* address zip */ ?> <?php /** @var Element\Text $elemZip */ $elemZip = $address->get('zip'); @@ -74,7 +74,7 @@ $elemZip->setAttributes(['class' => 'form-control']); <?= $this->formElementErrors($elemZip) ?> </div> -<? /* city */ ?> +<?php /* city */ ?> <?php /** @var Element\Text $elemCity */ $elemCity = $address->get('city'); @@ -87,7 +87,7 @@ $elemCity->setAttributes(['class' => 'form-control']); <?= $this->formElementErrors($elemCity) ?> </div> -<? /* country */ ?> +<?php /* country */ ?> <?php /** @var Element\Text $elemCountry */ $elemCountry = $address->get('country'); diff --git a/themes/fid/templates/fid/user/create.phtml b/themes/fid/templates/fid/user/create.phtml index 0db9f72cf4591ddfbff01dba0f2b3ffc52b2b255..e0433323de836ee83b0dfd50abb666e0b5569032 100644 --- a/themes/fid/templates/fid/user/create.phtml +++ b/themes/fid/templates/fid/user/create.phtml @@ -56,7 +56,7 @@ $this->headTitle($title = $this->translate("fid::user_create_form_title")); <?= $this->form()->openTag($form) ?> <br/> -<? /* username */ ?> +<?php /* username */ ?> <?php /** @var Element\Text $elemUsername */ $elemUsername = $form->get('username'); @@ -74,7 +74,7 @@ $elemUsername->setAttributes(['class' => 'form-control', 'disabled' => 1]); <?= $this->formElement($elemUsername) ?> </div> -<? /* password */ ?> +<?php /* password */ ?> <?php /** @var Element\Password $elemPassword */ $elemPassword = $form->get('password'); @@ -87,7 +87,7 @@ $elemPassword->setAttributes(['class' => 'form-control']); <?= $this->formElementErrors($elemPassword) ?> </div> -<? /* password confirmation */ ?> +<?php /* password confirmation */ ?> <?php /** @var Element\Password $elemPasswordConfirmation */ $elemPasswordConfirmation = $form->get('password_confirmation'); @@ -100,7 +100,7 @@ $elemPasswordConfirmation->setAttributes(['class' => 'form-control']); <?= $this->formElementErrors($elemPasswordConfirmation) ?> </div> -<? /* salutation */ ?> +<?php /* salutation */ ?> <?php /** @var Element\Select $elemSalutation */ $elemSalutation = $form->get('salutation'); @@ -112,7 +112,7 @@ $elemSalutation->setAttributes(['class' => 'form-control']); <?= $this->formSelect($elemSalutation) ?> </div> -<? /* academic title */ ?> +<?php /* academic title */ ?> <?php /** @var Element\Text $elemAcademicTitle */ $elemAcademicTitle = $form->get('academic_title'); @@ -124,7 +124,7 @@ $elemAcademicTitle->setAttributes(['class' => 'form-control']); <?= $this->formElement($elemAcademicTitle) ?> </div> -<? /* firstname */ ?> +<?php /* firstname */ ?> <?php /** @var Element\Text $elemFirstname */ $elemFirstname = $form->get('firstname'); @@ -137,7 +137,7 @@ $elemFirstname->setAttributes(['class' => 'form-control']); <?= $this->formElementErrors($elemFirstname) ?> </div> -<? /* lastname */ ?> +<?php /* lastname */ ?> <?php /** @var Element\Text $elemLastname */ $elemLastname = $form->get('lastname'); @@ -150,7 +150,7 @@ $elemLastname->setAttributes(['class' => 'form-control']); <?= $this->formElementErrors($elemLastname) ?> </div> -<? /* home library */ ?> +<?php /* home library */ ?> <?php /** @var Element\Select $elemHomeLibrary */ $elemHomeLibrary = $form->get('home_library'); @@ -163,7 +163,7 @@ $elemHomeLibrary->setAttributes(['class' => 'form-control']); <?= $this->formElementErrors($elemHomeLibrary) ?> </div> -<? /* user group */ ?> +<?php /* user group */ ?> <?php /** @var Element\Radio $elemJobTitle */ $elemJobTitle = $form->get('job_title'); @@ -178,7 +178,7 @@ $elemJobTitle = $form->get('job_title'); <?= $this->formElementErrors($elemJobTitle) ?> </div> -<? /* college */ ?> +<?php /* college */ ?> <?php /** @var Element\Text $elemCollege */ $elemCollege = $form->get('college'); @@ -191,10 +191,10 @@ $elemCollege->setAttributes(['class' => 'form-control']); <?= $this->formElementErrors($elemCollege) ?> </div> -<? /* addresses */ ?> +<?php /* addresses */ ?> <?= $this->render('address-collection.phtml') ?> -<? /* eula privacy policy */ ?> +<?php /* eula privacy policy */ ?> <?php /** @var Checkbox $elemEulaAccepted */ $elemEulaAccepted = $form->get('eula_accepted'); @@ -217,7 +217,7 @@ $elemEulaAccepted->setAttribute('id', 'eula-accepted'); <?= $this->formElementErrors($elemEulaAccepted) ?> </div> -<? /* submit button */ ?> +<?php /* submit button */ ?> <?php /** @var Submit $elemSubmit */ $elemSubmit = $form->get('submit'); diff --git a/themes/fid/templates/fid/user/init.phtml b/themes/fid/templates/fid/user/init.phtml index 956fc87bf8de62668ee078a9355df280de38580c..9f1354b38623930bf85334fc424ff07c1e86192f 100644 --- a/themes/fid/templates/fid/user/init.phtml +++ b/themes/fid/templates/fid/user/init.phtml @@ -46,7 +46,7 @@ $this->headTitle($title = $this->translate("fid::user_init_form_title")); <?= $this->form()->openTag($form) ?> <br/> -<? /* username */ ?> +<?php /* username */ ?> <?php /** @var Element\Text $elemUsername */ $elemUsername = $form->get('username'); @@ -59,7 +59,7 @@ $elemUsername->setAttributes(['class' => 'form-control']); <?= $this->formElementErrors($elemUsername) ?> </div> -<? /* username confirmation */ ?> +<?php /* username confirmation */ ?> <?php /** @var Element\Text $elemUsernameConfirmation */ $elemUsernameConfirmation = $form->get('username_confirmation'); @@ -72,7 +72,7 @@ $elemUsernameConfirmation->setAttributes(['class' => 'form-control']); <?= $this->formElementErrors($elemUsernameConfirmation) ?> </div> -<? /* firstname */ ?> +<?php /* firstname */ ?> <?php /** @var Element\Text $elemFirstname */ $elemFirstname = $form->get('firstname'); @@ -85,7 +85,7 @@ $elemFirstname->setAttributes(['class' => 'form-control']); <?= $this->formElementErrors($elemFirstname) ?> </div> -<? /* lastname */ ?> +<?php /* lastname */ ?> <?php /** @var Element\Text $elemLastname */ $elemLastname = $form->get('lastname'); @@ -98,7 +98,7 @@ $elemLastname->setAttributes(['class' => 'form-control']); <?= $this->formElementErrors($elemLastname) ?> </div> -<? /* eula privacy policy */ ?> +<?php /* eula privacy policy */ ?> <?php /** @var Element\Checkbox $elemEulaAccepted */ $elemEulaAccepted = $form->get('eula_accepted'); @@ -108,18 +108,18 @@ $elemEulaAccepted->setAttribute('id', 'eula-accepted'); <?= $this->formElement($elemEulaAccepted) ?> <?= $this->formLabel()->openTag($elemEulaAccepted) ?> <?= $this->translate("fid::policy_text") ?> - <? $url = $this->url('fid/user/policy') ?> + <?php $url = $this->url('fid/user/policy') ?> <a target="_blank" href="<?= $url ?>"> <?= $this->translate("fid::policy") ?> </a> <?= $this->translate("fid::terms_text") ?> - <? $url = $this->url('fid/user/terms') ?> + <?php $url = $this->url('fid/user/terms') ?> <a target="_blank" href="<?= $url ?>"> <?= $this->translate("fid::terms") ?></a>. <?= $this->formLabel()->closeTag($elemEulaAccepted) ?> <?= $this->formElementErrors($elemEulaAccepted) ?> </div> -<? /* submit button */ ?> +<?php /* submit button */ ?> <?php /** @var Element\Submit $elemSubmit */ $elemSubmit = $form->get('submit'); diff --git a/themes/fid/templates/fid/user/policy.phtml b/themes/fid/templates/fid/user/policy.phtml index e96cbc303f56bf16c28ee453f3afc9f5e03e3b48..0c7e00bbb9ec458cbcbd81f829d4dffea6d60e44 100644 --- a/themes/fid/templates/fid/user/policy.phtml +++ b/themes/fid/templates/fid/user/policy.phtml @@ -1,5 +1,5 @@ <!-- fid - policy begin --> -<? $lang = $this->layout()->userLang; ?> +<?php $lang = $this->layout()->userLang; ?> <?php if (isset($backUrl) && $this->layout()->getTemplate() == 'layout/lightbox') $backButton = '<div class="form-group"> <a class="back-to-login btn btn-primary" href="'.$backUrl.'"> diff --git a/themes/fid/templates/fid/user/terms.phtml b/themes/fid/templates/fid/user/terms.phtml index 2362b9271bad69769ddc8a8dc2d36b5ca2e34123..43abf76dd9eee770f640633dd245b0aa983ee6b4 100644 --- a/themes/fid/templates/fid/user/terms.phtml +++ b/themes/fid/templates/fid/user/terms.phtml @@ -1,6 +1,6 @@ <!-- fid - terms begin --> -<? $lang = $this->layout()->userLang; ?> -<? $fileExists = file_exists(dirname(__FILE__) . '/terms-'.$lang.'.phtml'); ?> +<?php $lang = $this->layout()->userLang; ?> +<?php $fileExists = file_exists(dirname(__FILE__) . '/terms-'.$lang.'.phtml'); ?> <?php if (isset($backUrl) && $this->layout()->getTemplate() == 'layout/lightbox') $backButton = '<div class="form-group"> <a class="back-to-login btn btn-primary" href="'.$backUrl.'"> diff --git a/themes/fid/templates/fid/user/update.phtml b/themes/fid/templates/fid/user/update.phtml index 3daf9ccf9a8be6ba8aab2e671d4c332aeab67d2c..31d6932cf00a015c0bdf422e8473f619b2c2a67a 100644 --- a/themes/fid/templates/fid/user/update.phtml +++ b/themes/fid/templates/fid/user/update.phtml @@ -55,10 +55,10 @@ $this->headTitle($title = $this->translate("fid::user_update_form_title")); <?= $this->form()->openTag($form) ?> <br/> -<? /* id */ ?> +<?php /* id */ ?> <?= $this->formElement($form->get('id')) ?> -<? /* salutation */ ?> +<?php /* salutation */ ?> <?php /** @var Element\Select $elemSalutation */ $elemSalutation = $form->get('salutation'); @@ -70,7 +70,7 @@ $elemSalutation->setAttributes(['class' => 'form-control']); <?= $this->formSelect($elemSalutation) ?> </div> -<? /* academic title */ ?> +<?php /* academic title */ ?> <?php /** @var Element\Text $elemAcademicTitle */ $elemAcademicTitle = $form->get('academic_title'); @@ -82,7 +82,7 @@ $elemAcademicTitle->setAttributes(['class' => 'form-control']); <?= $this->formElement($elemAcademicTitle) ?> </div> -<? /* firstname */ ?> +<?php /* firstname */ ?> <?php /** @var Element\Text $elemFirstname */ $elemFirstname = $form->get('firstname'); @@ -95,7 +95,7 @@ $elemFirstname->setAttributes(['class' => 'form-control']); <?= $this->formElementErrors($elemFirstname) ?> </div> -<? /* lastname */ ?> +<?php /* lastname */ ?> <?php /** @var Element\Text $elemLastname */ $elemLastname = $form->get('lastname'); @@ -108,7 +108,7 @@ $elemLastname->setAttributes(['class' => 'form-control']); <?= $this->formElementErrors($elemLastname) ?> </div> -<? /* home library */ ?> +<?php /* home library */ ?> <?php /** @var Element\Select $elemHomeLibrary */ $elemHomeLibrary = $form->get('home_library'); @@ -121,7 +121,7 @@ $elemHomeLibrary->setAttributes(['class' => 'form-control']); <?= $this->formElementErrors($elemHomeLibrary) ?> </div> -<? /* college */ ?> +<?php /* college */ ?> <?php /** @var Element\Text $elemCollege */ $elemCollege = $form->get('college'); @@ -134,10 +134,10 @@ $elemCollege->setAttributes(['class' => 'form-control']); <?= $this->formElementErrors($elemCollege) ?> </div> -<? /* addresses */ ?> +<?php /* addresses */ ?> <?= $this->render('address-collection.phtml') ?> -<? /* submit button */ ?> +<?php /* submit button */ ?> <?php /** @var Submit $elemSubmit */ $elemSubmit = $form->get('submit'); diff --git a/themes/fid/templates/fid/user/username-change.phtml b/themes/fid/templates/fid/user/username-change.phtml index c103e36f48ca1c5161b6655fea2a2d0bd46f088e..4f7830436e7c9822dc8caf38d97516437fadbdd1 100644 --- a/themes/fid/templates/fid/user/username-change.phtml +++ b/themes/fid/templates/fid/user/username-change.phtml @@ -58,7 +58,7 @@ $this->headTitle($this->translate("fid::username_change_form_title")); <?= $this->translate("fid::username_change_form_information") ?> <?= $this->form()->openTag($form) ?> <br/> -<? /* username */ ?> +<?php /* username */ ?> <?php /** @var Element\Text $elemUsername */ $elemUsername = $form->get('username'); @@ -71,7 +71,7 @@ $elemUsername->setAttributes(['class' => 'form-control']); <?= $this->formElementErrors($elemUsername) ?> </div> -<? /* username confirmation */ ?> +<?php /* username confirmation */ ?> <?php /** @var Element\Text $elemUsernameConfirmation */ $elemUsernameConfirmation = $form->get('usernameConfirmation'); @@ -84,7 +84,7 @@ $elemUsernameConfirmation->setAttributes(['class' => 'form-control']); <?= $this->formElementErrors($elemUsernameConfirmation) ?> </div> -<? /* submit button */ ?> +<?php /* submit button */ ?> <?php /** @var Element\Submit $elemSubmit */ $elemSubmit = $form->get('submit'); diff --git a/themes/finc/templates/RecordDriver/DefaultRecord/data-additionalAuthors.phtml b/themes/finc/templates/RecordDriver/DefaultRecord/data-additionalAuthors.phtml index 17ba1d06e62465f9c5e57c4dafaf26329d3fed73..88e85350234143aa2ebe142baeb50a484d81b021 100644 --- a/themes/finc/templates/RecordDriver/DefaultRecord/data-additionalAuthors.phtml +++ b/themes/finc/templates/RecordDriver/DefaultRecord/data-additionalAuthors.phtml @@ -2,11 +2,11 @@ <?php if (!empty($data)): ?> <?php if (is_array($data)): ?> <?php foreach ($data as $author): ?> - <? if(isset($author['name'])): ?> + <?php if(isset($author['name'])): ?> <a href="<?=$this->record($this->driver)->getLink('author', $author['name'])?>"> <?= $author['name'] ?> </a> - <? endif; ?> + <?php endif; ?> <?php if(isset($author['dates'])): ?> <?= $author['dates'] ?> <?php endif; ?> diff --git a/themes/finc/templates/RecordDriver/DefaultRecord/data-bk.phtml b/themes/finc/templates/RecordDriver/DefaultRecord/data-bk.phtml index d7b19e2baabb7bac815b1b162a44df6b6b7fbdac..7a2d568a59dde4f2be3ed01903270a3bb6ba8d43 100644 --- a/themes/finc/templates/RecordDriver/DefaultRecord/data-bk.phtml +++ b/themes/finc/templates/RecordDriver/DefaultRecord/data-bk.phtml @@ -1,6 +1,6 @@ <!-- finc: RecordDriver - SolrMarc - data-bk --> -<? if (!(empty($data))): ?> -<? $i = 0; foreach ($data as $item): ?> +<?php if (!(empty($data))): ?> +<?php $i = 0; foreach ($data as $item): ?> <?= ($i++ == 0) ? '' : '<br>'; ?> <?php //ToDo: add link to embed bk notation search via search type on upcoming solr field /* @@ -21,6 +21,6 @@ echo $output; } ?> -<? endforeach; ?> -<? endif; ?> +<?php endforeach; ?> +<?php endif; ?> <!-- finc: RecordDriver - SolrMarc - data-bk - END --> \ No newline at end of file diff --git a/themes/finc/templates/RecordDriver/DefaultRecord/format-list.phtml b/themes/finc/templates/RecordDriver/DefaultRecord/format-list.phtml index 584cc603b7f6337fc11f4bad2d056d328c724d2a..b70be7192cb570010bced119d1eb8391fb35ca14 100644 --- a/themes/finc/templates/RecordDriver/DefaultRecord/format-list.phtml +++ b/themes/finc/templates/RecordDriver/DefaultRecord/format-list.phtml @@ -21,6 +21,6 @@ foreach ($formats as $format): ?> ?> <span class="format"><?=$translated_genre?></span> <?php endif; ?> - <? endforeach; ?> + <?php endforeach; ?> <?php endif; ?> <?php endif; */ ?> diff --git a/themes/finc/templates/RecordTab/holdingsils.phtml b/themes/finc/templates/RecordTab/holdingsils.phtml index 90f4cd7d4eb475ccf493af3f106b895297376861..2a1b7d38980faea8decad659732d774738ea151a 100644 --- a/themes/finc/templates/RecordTab/holdingsils.phtml +++ b/themes/finc/templates/RecordTab/holdingsils.phtml @@ -155,7 +155,7 @@ if (!empty($holdingTitleHold)): ?> </td> </tr> <?php endforeach; endif; ?> - <? /* finc: we use call numbers after "Notes" - END */ ?> + <?php /* finc: we use call numbers after "Notes" - END */ ?> <?php if (!empty($holding['purchase_history'])): ?> <tr> <th><?=$this->transEsc("Most Recent Received Issues")?>:</th> diff --git a/themes/finc/templates/RecordTab/holdingsils/standard.phtml b/themes/finc/templates/RecordTab/holdingsils/standard.phtml index 5c1c993c792ce7817738e48ab2ff6f808a0f5156..edfcdba974eed2d95c2dd55a7b5729b135ca917a 100644 --- a/themes/finc/templates/RecordTab/holdingsils/standard.phtml +++ b/themes/finc/templates/RecordTab/holdingsils/standard.phtml @@ -51,7 +51,7 @@ <i class="fa fa-flag"></i> <?= $this->transEsc($checkEmailHold ? "EmailHold::email_hold_check_text" : "EmailHold::email_hold_place_text") ?> </a> <?php endif; ?> - <? /* finc-specific insert - #6096 - END */ ?> + <?php /* finc-specific insert - #6096 - END */ ?> <?php else: ?> <?php /* Begin Unavailable Items (Recalls) */ ?> <?php /* finc: use empty status and transEsc 'Unavailable', CK */ ?> diff --git a/themes/finc/templates/admin/i18n/home.phtml b/themes/finc/templates/admin/i18n/home.phtml index 754d5e61924cd7329055872eb5abddeefeadfb5a..1742553be46f6279e424f9c0e88134fbd2287e4d 100644 --- a/themes/finc/templates/admin/i18n/home.phtml +++ b/themes/finc/templates/admin/i18n/home.phtml @@ -1,5 +1,5 @@ <!-- finc: admin - i18n - home --> -<? $this->headTitle($this->translate('admin_i18n_menu_entry')); ?> +<?php $this->headTitle($this->translate('admin_i18n_menu_entry')); ?> <div class="<?= ($this->layoutClass('mainbody') . (!$this->config()->get('config')->Site->admin_enabled ? ' solo' : '')) ?>"> <h1><?= $this->transEsc('admin_i18n_menu_entry') ?></h1> @@ -13,22 +13,22 @@ <form id="change-language-form" action="<?= $this->url('admin/i18n') ?>"> <div class="form-group"> <p><strong><?= $this->transEsc('admin_i18n_select_languages') ?>:</strong></p> - <? foreach ($this->languages as $language): ?> - <? $checked = $language['selected'] ? 'checked' : ''; ?> + <?php foreach ($this->languages as $language): ?> + <?php $checked = $language['selected'] ? 'checked' : ''; ?> <label class="checkbox-inline"> <input type="radio" name="locale" <?= $checked ?> value="<?= $language['locale'] ?>"> <?= $language['name'] ?> </label> - <? endforeach; ?> + <?php endforeach; ?> </div> <div class="form-group"> <p><strong><?= $this->transEsc('admin_i18n_select_domains') ?>:</strong></p> - <? foreach ($domains as $domain): ?> + <?php foreach ($domains as $domain): ?> <label class="checkbox-inline"> <input type="radio" name="domain" value="<?= $domain['name'] ?>"<?= $domain['selected'] ? 'checked' : '' ?>> <?= $domain['name'] ?> </label> - <? endforeach; ?> + <?php endforeach; ?> </div> <button type="submit" form="change-language-form" class="btn btn-primary"> @@ -76,11 +76,11 @@ </table> </div> -<? if ($this->config()->get('config')->Site->admin_enabled): ?> +<?php if ($this->config()->get('config')->Site->admin_enabled): ?> <div class="<?= $this->layoutClass('sidebar') ?>"> <?= $this->render("admin/menu.phtml") ?> </div> -<? endif; ?> +<?php endif; ?> <?php $script = <<<JS @@ -108,9 +108,9 @@ $script = <<<JS JS; ?> <?=$this->inlineScript(\Zend\View\Helper\HeadScript::SCRIPT, $script, 'SET'); ?> -<? $this->headScript() +<?php $this->headScript() ->appendFile("vendor/datatables/jquery.dataTables.min.js"); ?> -<? $this->headScript() +<?php $this->headScript() ->appendFile("vendor/datatables/dataTables.bootstrap.min.js"); ?> <!-- finc: admin - i18n - home - END --> diff --git a/themes/finc/templates/error/RuntimeException.phtml b/themes/finc/templates/error/RuntimeException.phtml index 949ab27f13ea71980dfb49962497f0c72683d996..bbafe06af26110f42247b726b843bc74290f68e9 100644 --- a/themes/finc/templates/error/RuntimeException.phtml +++ b/themes/finc/templates/error/RuntimeException.phtml @@ -1,5 +1,5 @@ <!-- finc: RuntimeException --> -<?/* largely copied from /bootstrap3/templates/error/index.phtml #17035 - RL */?> +<?php /* largely copied from /bootstrap3/templates/error/index.phtml #17035 - RL */?> <?php // Set page title. $this->headTitle($this->translate('An error has occurred')); diff --git a/themes/finc/templates/error/TimeoutException.phtml b/themes/finc/templates/error/TimeoutException.phtml index 70da72eacaf59df2a23c950fa8b096ea6f92a026..d2f8a14686bd5aa9870db051e4471fa07d08a3a3 100644 --- a/themes/finc/templates/error/TimeoutException.phtml +++ b/themes/finc/templates/error/TimeoutException.phtml @@ -1,5 +1,5 @@ <!-- finc: TimeoutException --> -<?/* largely copied from /bootstrap3/templates/error/index.phtml #17035 - RL */?> +<?php /* largely copied from /bootstrap3/templates/error/index.phtml #17035 - RL */?> <?php // Set page title. $this->headTitle($this->translate('An error has occurred'));