diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/DifferenceEngine.php | 2 | ||||
-rw-r--r-- | inc/fulltext.php | 2 | ||||
-rw-r--r-- | inc/html.php | 6 | ||||
-rw-r--r-- | inc/search.php | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/inc/DifferenceEngine.php b/inc/DifferenceEngine.php index a885b1094..50bc0b79a 100644 --- a/inc/DifferenceEngine.php +++ b/inc/DifferenceEngine.php @@ -847,7 +847,7 @@ class _HWLDF_WordAccumulator { function _flushGroup ($new_tag) { if ($this->_group !== '') { if ($this->_tag == 'mark') - $this->_line .= '<span class="diffchange">'.$this->_group.'</span>'; + $this->_line .= '<strong>'.$this->_group.'</strong>'; else $this->_line .= $this->_group; } diff --git a/inc/fulltext.php b/inc/fulltext.php index 4049a753a..7cb1153fb 100644 --- a/inc/fulltext.php +++ b/inc/fulltext.php @@ -257,7 +257,7 @@ function ft_snippet($id,$poswords){ $m = "\1"; $snippets = preg_replace('#'.$re.'#iu',$m.'$1'.$m,$snippets); - $snippet = preg_replace('#'.$m.'([^'.$m.']*?)'.$m.'#iu','<span class="search_hit">$1</span>',hsc(join('... ',$snippets))); + $snippet = preg_replace('#'.$m.'([^'.$m.']*?)'.$m.'#iu','<strong class="search_hit">$1</strong>',hsc(join('... ',$snippets))); return $snippet; } diff --git a/inc/html.php b/inc/html.php index fa3e4c95d..3da238f5d 100644 --- a/inc/html.php +++ b/inc/html.php @@ -305,7 +305,7 @@ function html_hilight($html,$query){ function html_hilight_callback($m) { $hlight = unslash($m[0]); if ( !isset($m[2])) { - $hlight = '<span class="search_hit">'.$hlight.'</span>'; + $hlight = '<strong class="search_hit">'.$hlight.'</strong>'; } return $hlight; } @@ -654,9 +654,9 @@ function html_list_index($item){ $base = ':'.$item['id']; $base = substr($base,strrpos($base,':')+1); if($item['type']=='d'){ - $ret .= '<a href="'.wl($ID,'idx='.$item['id']).'" class="idx_dir">'; + $ret .= '<a href="'.wl($ID,'idx='.$item['id']).'" class="idx_dir"><strong>'; $ret .= $base; - $ret .= '</a>'; + $ret .= '</strong></a>'; }else{ $ret .= html_wikilink(':'.$item['id']); } diff --git a/inc/search.php b/inc/search.php index eac70cd05..eea70f7e0 100644 --- a/inc/search.php +++ b/inc/search.php @@ -465,7 +465,7 @@ function search_regex(&$data,$base,$file,$reg,$words){ htmlspecialchars(utf8_substr($text,$f,$l)). '<span class="search_sep"> ... </span>'; $mark = '('.join('|', $words).')'; - $snippet = preg_replace('#'.$mark.'#si','<span class="search_hit">\\1</span>',$snippet); + $snippet = preg_replace('#'.$mark.'#si','<strong class="search_hit">\\1</strong>',$snippet); $data[] = array( 'id' => pathID($file), |