|
@@ -32,7 +32,7 @@
|
|
|
<script src="<?php $this->options->themeUrl('assets/js/uikit.js'); ?>"></script>
|
|
|
<?php $this->header('commentReply=1&description=&pingback=0&xmlrpc=0&wlw=0&generator=&template=&atom='); ?>
|
|
|
<script>
|
|
|
- window.searchApi = "<?php echo General::apiRet('search');?>";
|
|
|
+ window.searchApi = "";
|
|
|
</script>
|
|
|
<?php if(General::Options('headerColorChoose') == true):?>
|
|
|
<style>
|
|
@@ -231,7 +231,7 @@ $currentUrl = $_SERVER['REQUEST_URI'];
|
|
|
?>';
|
|
|
|
|
|
// 构建目标URL
|
|
|
- var targetUrl = '/index.php/search/' + encodeURIComponent(searchQuery) + '/?category=' + category;
|
|
|
+ var targetUrl = '/search/' + encodeURIComponent(searchQuery) + '/?category=' + category;
|
|
|
|
|
|
// 跳转到目标URL
|
|
|
window.location.href = targetUrl;
|