function get_i18n_tags($params = null) { require_once GSPLUGINPATH . 'i18n_search/viewer.class.php'; return I18nSearchViewer::displayTags($params); }
$mark = true && $data->mark; } ?> <form action="<?php echo $url; ?> " method="<?php echo $method; ?> " class="search"> <?php if ($showTags && $minTagSizePercent && $maxTagSizePercent && $minTagSizePercent > 0 && $minTagSizePercent <= $maxTagSizePercent) { ?> <div class="tags" style="display:none"> <?php I18nSearchViewer::displayTagsImpl($minTagSizePercent, $maxTagSizePercent, $params); ?> </div> <input type="hidden" name="tags" value="<?php echo htmlspecialchars(@$_REQUEST['tags']); ?> "/> <script type="text/javascript"> $(function() { var $live = $('ul.search-results.search-live'); $('.tags').show(); $('.tags .tag').click(function(e) { var $form = $(e.target).closest('form'); var tags = <?php echo json_encode($addTags); ?>