| Server IP : 127.0.1.1 / Your IP : 216.73.216.60 Web Server : Apache/2.4.58 (Ubuntu) System : Linux nepub 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/public_html/lib/pkp/templates/form/ |
Upload File : |
{**
* templates/form/checkboxGroup.tpl
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2000-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* form checkboxgroup
*}
{if $FBV_required}{assign var="required" value="required"}{/if}
{foreach name=checkbox from=$FBV_from item=FBV_label key=FBV_value}
{if in_array($FBV_value, $FBV_selected)}
{assign var="FBV_checked" value="checked"}
{else}
{assign var="FBV_checked" value=""}
{/if}
<li{if $FBV_layoutInfo} class="{$FBV_layoutInfo}"{/if}>
{capture assign="FBV_inputMarkup"}
<input type="checkbox" id="{$FBV_id|escape}-{$smarty.foreach.checkbox.index}" name="{$FBV_id|escape}[]"{$FBV_checkboxParams} class="field checkbox{if $FBV_required} required{/if}"{if $FBV_checked} checked="checked"{/if}{if $FBV_validation}{/if} value="{$FBV_value|escape}"{if $FBV_disabled} disabled="disabled"{/if}{if $FBV_required} required aria-required="true"{/if}/>
{/capture}
{if $FBV_label}
<label for="{$FBV_id|escape}-{$smarty.foreach.checkbox.index}">
{$FBV_inputMarkup}
{if $FBV_translate}
{translate key=$FBV_label}
{else}
{$FBV_label|strip_unsafe_html}
{/if}
</label>
{else}
{$FBV_inputMarkup}
{/if}
</li>
{/foreach}