props; $customSlug = str_replace($field . '-', '', $block); ?>
0, 'hide_empty' => 0, 'orderby' => 'name', 'order' => 'asc', ); $terms = WaicFrame::_()->getModule('workspace')->getTaxonomyHierarchy($customSlug, $args); WaicHtml::selectlist($block, array( 'options' => $terms, 'value' => WaicUtils::getArrayValue($data, 'r', ''), 'class' => 'no-chosen', )); } else { WaicHtml::text($block, array( 'value' => empty($data['s']) ? $props['loading_text'] : ( 2 == $data['s'] ? WaicUtils::getArrayValue($data, 'm', $props['error_text']) : WaicUtils::getArrayValue($data, 'r', $props['loading_text']) ), 'attrs' => 'class="waic-results-' . $data['s'] . '"', )); } ?>