From dd40809adf28b762ad4ab1b91909b60b178e1cc1 Mon Sep 17 00:00:00 2001 From: spirit Date: Tue, 5 Nov 2019 15:58:13 +0800 Subject: [PATCH] fix search --- inc/theme_plus.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/theme_plus.php b/inc/theme_plus.php index 3f5e7f3..afd4490 100644 --- a/inc/theme_plus.php +++ b/inc/theme_plus.php @@ -308,7 +308,7 @@ function the_headPattern(){ $t .= ' '.$des.''; }elseif(is_search()){ $full_image_url = get_random_bg_url(); - $t .= '

'.printf( __( "Search results for \" %s \"","sakura" ), get_search_query()) ./*关于“ '.get_search_query().' ”的搜索结果*/'

'; + $t .= '

'.sprintf( __( "Search results for \" %s \"","sakura" ), get_search_query()) ./*关于“ '.get_search_query().' ”的搜索结果*/'

'; } if(akina_option('patternimg')) $full_image_url = false; if(!is_home() && $full_image_url) : ?> @@ -366,7 +366,7 @@ function the_video_headPattern_hls(){ }elseif(is_search()){ $full_image_url = get_random_bg_url(); $thubm_image_url = 'https://cdn.jsdelivr.net/gh/moezx/cdn@3.0.1/img/svg/loader/orange.progress-bar-stripe-loader.svg'; - $t .= '

'.printf( __( "Search results for \" %s \"","sakura" ), get_search_query()) ./*关于“ '.get_search_query().' ”的搜索结果*/'

'; + $t .= '

'.sprintf( __( "Search results for \" %s \"","sakura" ), get_search_query()) ./*关于“ '.get_search_query().' ”的搜索结果*/'

'; } $thubm_image_url = $thubm_image_url . "#lazyload-blur"; $thubm_image_url = str_replace(akina_option('qiniu_cdn'),'https://cdn.2heng.xin/',$thubm_image_url); @@ -434,7 +434,7 @@ function the_video_headPattern_normal(){ }elseif(is_search()){ $full_image_url = get_random_bg_url(); $thubm_image_url = 'https://cdn.jsdelivr.net/gh/moezx/cdn@3.0.1/img/svg/loader/orange.progress-bar-stripe-loader.svg'; - $t .= '

'.printf( __( "Search results for \" %s \"","sakura" ), get_search_query()) ./*关于“ '.get_search_query().' ”的搜索结果*/'

'; + $t .= '

'.sprintf( __( "Search results for \" %s \"","sakura" ), get_search_query()) ./*关于“ '.get_search_query().' ”的搜索结果*/'

'; } $thubm_image_url = $thubm_image_url . "#lazyload-blur"; $thubm_image_url = str_replace(akina_option('qiniu_cdn'),'https://cdn.2heng.xin/',$thubm_image_url);