summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorAnika Henke <a.c.henke@arcor.de>2007-05-15 00:25:27 +0200
committerAnika Henke <a.c.henke@arcor.de>2007-05-15 00:25:27 +0200
commited7ecb791be76223682b576af6242134cdca9496 (patch)
tree1404092ffc8eae1e3dd86209e374b8a9de2ae324 /inc
parentcc25c90054c868d8085d5e5c3b765a48acc824a8 (diff)
downloadrpg-ed7ecb791be76223682b576af6242134cdca9496.tar.gz
rpg-ed7ecb791be76223682b576af6242134cdca9496.tar.bz2
FS#744 (template developers, heed the changes)
darcs-hash:20070514222527-d5083-53ed619daf07d0a84c52161465d163abf1400529.gz
Diffstat (limited to 'inc')
-rw-r--r--inc/DifferenceEngine.php2
-rw-r--r--inc/fulltext.php2
-rw-r--r--inc/html.php6
-rw-r--r--inc/search.php2
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),