{* DO NOT EDIT THIS FILE! Use an override template instead. *}
<div class="block">

<div class="element">
  <label>{'Ini file'|i18n( 'design/standard/class/datatype' )}:</label>
  <p>{$class_attribute.data_text1|wash}</p>
</div>

<div class="element">
  <label>{'Ini Section'|i18n( 'design/standard/class/datatype' )}:</label>
  <p>{$class_attribute.data_text2|wash}</p>
</div>

<div class="element">
  <label>{'Ini Parameter'|i18n( 'design/standard/class/datatype' )}:</label>
  <p>{$class_attribute.data_text3|wash}</p>
</div>

</div>

<div class="block">

<div class="element">
  <label>{'Ini file location'|i18n( 'design/standard/class/datatype' )}:</label>
  <p>
    {let selectedSiteAccess=$class_attribute.data_text4|explode( ';' )}
      {section name=SiteAccess loop=$class_attribute.data_text5|explode( ';' )}
      {section-exclude match=true()}
      {section-include match=$selectedSiteAccess|contains($:key)}
      {$:item|wash}{delimiter}, {/delimiter}{/section}
    {/let}
  </p>
</div>

<div class="element">
  <label>{'Ini setting type'|i18n( 'design/standard/class/datatype' )}:</label>
    <p>
        {switch match=$class_attribute.data_int1}
        {case match=1}{'Text'|i18n( 'design/standard/class/datatype' )}{/case}
        {case match=2}{'Enable/Disable'|i18n( 'design/standard/class/datatype' )}{/case}
        {case match=3}{'True/False'|i18n( 'design/standard/class/datatype' )}{/case}
        {case match=4}{'Integer'|i18n( 'design/standard/class/datatype' )}{/case}
        {case match=5}{'Float'|i18n( 'design/standard/class/datatype' )}{/case}
        {case match=6}{'Array'|i18n( 'design/standard/class/datatype' )}{/case}
        {case}{/case}
        {/switch}
    <p>
</div>

</div>
