{** * templates/form/keywordInput.tpl * * Copyright (c) 2013-2015 Simon Fraser University Library * Copyright (c) 2000-2015 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Generic keyword input control *} {assign var="uniqId" value="-"|uniqid|escape} {if $FBV_multilingual && count($formLocales) > 1} {foreach from=$formLocales key=thisFormLocale item=thisFormLocaleName} {/foreach} {if $FBV_label_content}{$FBV_label_content}{/if}
{foreach from=$formLocales key=thisFormLocale item=thisFormLocaleName}{if $formLocale != $thisFormLocale}
    {if $FBV_currentKeywords}{foreach from=$FBV_currentKeywords.$thisFormLocale item=currentKeyword}
  • {$currentKeyword|escape}
  • {/foreach}{/if}
{/if}{/foreach}
{else} {* this is not a multilingual keyword field or there is only one locale available *} {if $FBV_label_content}{$FBV_label_content}{/if}
{/if}