'.acym_translation('ACYM_MAIN_OPTIONS').'
'; $options = []; $options[] = acym_selectOption('inline', acym_translation('ACYM_MODE_HORIZONTAL')); $options[] = acym_selectOption('vertical', acym_translation('ACYM_MODE_VERTICAL')); $options[] = acym_selectOption('tableless', acym_translation('ACYM_MODE_TABLELESS')); echo '
'; echo acym_Select($options, $this->get_field_name('mode'), $params['mode'], 'class="acym_simple_select2"', 'value', 'text', $this->get_field_id('mode')).'
'; echo ''; echo acym_selectMultiple($lists, $this->get_field_name('hiddenlists'), explode(',', $params['hiddenlists']), ['class' => 'acym_simple_select2', 'id' => $this->get_field_id('hiddenlists')], 'id', 'name'); echo '
'; echo acym_selectMultiple($lists, $this->get_field_name('displists'), explode(',', $params['displists']), ['class' => 'acym_simple_select2', 'id' => $this->get_field_id('displists')], 'id', 'name'); echo '
'; echo acym_selectMultiple($lists, $this->get_field_name('listschecked'), explode(',', $params['listschecked']), ['class' => 'acym_simple_select2', 'id' => $this->get_field_id('listschecked')], 'id', 'name'); $options = []; $options[] = acym_selectOption('before', acym_translation('ACYM_BEFORE_FIELDS')); $options[] = acym_selectOption('after', acym_translation('ACYM_AFTER_FIELDS')); echo '
'; echo acym_select($options, $this->get_field_name('listposition'), $params['listposition'], 'class="acym_simple_select2"', 'value', 'text', $this->get_field_id('listposition')).'
'; echo ''; echo acym_selectMultiple($fields, $this->get_field_name('fields'), explode(',', $params['fields']), ['class' => 'acym_simple_select2', 'id' => $this->get_field_id('fields')]); $options = []; $options[] = acym_selectOption('1', acym_translation('ACYM_TEXT_INSIDE')); $options[] = acym_selectOption('0', acym_translation('ACYM_TEXT_OUTSIDE')); echo '
'; echo acym_select($options, $this->get_field_name('textmode'), $params['textmode'], 'class="acym_simple_select2"', 'value', 'text', $this->get_field_id('textmode')).'
'; echo ''; echo '
'; $options = []; if (!empty($params['termscontent'])) { $options[] = acym_selectOption($params['termscontent'], get_the_title($params['termscontent'])); } echo '
'; echo acym_select($options, $this->get_field_name('termscontent'), $params['termscontent'], 'class="acym_post_select2" title="'.acym_translation('ACYM_PRIVACY_POLICY', true).'"', 'value', 'text', $this->get_field_id('termscontent')).'
'; $options = []; if (!empty($params['privacypolicy'])) { $options[] = acym_selectOption($params['privacypolicy'], get_the_title($params['privacypolicy'])); } echo ''; echo acym_select($options, $this->get_field_name('privacypolicy'), $params['privacypolicy'], 'class="acym_post_select2" title="'.acym_translation('ACYM_PRIVACY_POLICY', true).'"', 'value', 'text', $this->get_field_id('privacypolicy')).'
'; echo '