diff --git a/Rocksolid_Light/rocksolid/lib/message.inc.php b/Rocksolid_Light/rocksolid/lib/message.inc.php
index 59a2e92..dc1aacd 100644
--- a/Rocksolid_Light/rocksolid/lib/message.inc.php
+++ b/Rocksolid_Light/rocksolid/lib/message.inc.php
@@ -396,7 +396,7 @@ function show_header($head,$group,$local_poster=false) {
echo '';
}
if ($head->name != "") {
- echo create_name_link($head->name);
+ echo create_name_link($head->name, $head->from);
} else {
if(isset($CONFIG['hide_email']) && $CONFIG['hide_email'] == true) {
echo truncate_email($head->from);
diff --git a/Rocksolid_Light/rocksolid/lib/thread.inc.php b/Rocksolid_Light/rocksolid/lib/thread.inc.php
index 64071b2..e4f7f64 100644
--- a/Rocksolid_Light/rocksolid/lib/thread.inc.php
+++ b/Rocksolid_Light/rocksolid/lib/thread.inc.php
@@ -727,7 +727,7 @@ function thread_format_subject($c,$group,$highlightids=false) {
$started = $fromoutput[0];
}
$return.=' By: '.create_name_link($started).' on '.date("D, j M Y",$newdate).' By: '.create_name_link($started, $c->from).' on '.date("D, j M Y",$newdate).'
'.get_date_interval(date("D, j M Y H:i T",$c->date_thread)).'
'; } - $return.='By: '.create_name_link($poster_name).'
'; -/* - // if the address the anonymous address, only return the name - if($c->from==$anonym_address) - return $c->name; - $return=""; - if($thread_show["authorlink"]) - $return .= ''; - if (trim($c->name)!="") { - $return .= htmlspecialchars(trim($c->name)); - } else { - if (isset($c->username)) { - $s = strpos($c->username,"%"); - if ($s != false) { - $return .= htmlspecialchars(substr($c->username,0,$s)); - } else { - $return .= htmlspecialchars($c->username); - } - } - } - if($thread_show["authorlink"]) - $return .= ""; -*/ + $return.='By: '.create_name_link($poster_name, $name_from).'
'; return($return); } diff --git a/Rocksolid_Light/rocksolid/newsportal.php b/Rocksolid_Light/rocksolid/newsportal.php index e97783f..ae17eb8 100644 --- a/Rocksolid_Light/rocksolid/newsportal.php +++ b/Rocksolid_Light/rocksolid/newsportal.php @@ -679,7 +679,7 @@ function groups_show($gruppen) { $groupdisplay.=get_date_interval(date("D, j M Y H:i T",$lastarticleinfo->date)); $groupdisplay.=''; $groupdisplay.='by: '; - $groupdisplay.=create_name_link($lastarticleinfo->name); + $groupdisplay.=create_name_link($lastarticleinfo->name, $lastarticleinfo->from); $groupdisplay.=' |
Posted: '.$date_interval.' by: '.create_name_link(mb_decode_mimeheader($poster_name)).'
'; + $this_output.= 'Posted: '.$date_interval.' by: '.create_name_link(mb_decode_mimeheader($poster_name), $name_from).'
'; } else { - $this_output.= 'Posted: '.$date_interval.' by: '.create_name_link(mb_decode_mimeheader($poster_name)).'
'; + $this_output.= 'Posted: '.$date_interval.' by: '.create_name_link(mb_decode_mimeheader($poster_name), $name_from).'
'; } # Try to display useful snippet if($stop=strpos($body, "begin 644 ")) diff --git a/Rocksolid_Light/rocksolid/search.php b/Rocksolid_Light/rocksolid/search.php index e8b06ba..d5e48e2 100644 --- a/Rocksolid_Light/rocksolid/search.php +++ b/Rocksolid_Light/rocksolid/search.php @@ -8,6 +8,7 @@ include "newsportal.php"; throttle_hits(); $snippet_size = 100; +//echo $_REQUEST['data']." :: ".base64_decode(urldecode($_REQUEST['data'])); if(!isset($_POST['key']) || !password_verify($CONFIG['thissitekey'], $_POST['key'])) { include "head.inc"; @@ -15,17 +16,7 @@ include "head.inc"; echo ''; - echo ''; - echo ' | '; - } else { -// echo htmlspecialchars($CONFIG['title_full']); - } + echo '