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'));