* replaced german variable name with english equivalent

This commit is contained in:
vga256 2023-07-02 12:09:39 -06:00 committed by Retro_Guy
parent 8e1fe5de65
commit 09a1eb340d
3 changed files with 6 additions and 6 deletions

View File

@ -206,7 +206,7 @@ function thread_overview_interpret($line,$overviewformat,$groupname) {
$article->date=getTimestamp($over[$i+1]); $article->date=getTimestamp($over[$i+1]);
} }
if ($overviewfmt[$i]=="From:") { if ($overviewfmt[$i]=="From:") {
$fromline=address_decode(headerDecode($over[$i+1]),"nirgendwo"); $fromline=address_decode(headerDecode($over[$i+1]),"nowhere");
$article->from=$fromline[0]["mailbox"]."@".$fromline[0]["host"]; $article->from=$fromline[0]["mailbox"]."@".$fromline[0]["host"];
$article->username=$fromline[0]["mailbox"]; $article->username=$fromline[0]["mailbox"];
if (!isset($fromline[0]["personal"])) { if (!isset($fromline[0]["personal"])) {
@ -844,7 +844,7 @@ function thread_format_lastmessage($c,$group='') {
}; };
$dbh = null; $dbh = null;
} }
$fromline = address_decode(headerDecode($found['name']),"nirgendwo"); $fromline = address_decode(headerDecode($found['name']),"nowhere");
if (!isset($fromline[0]["host"])) $fromline[0]["host"]=""; if (!isset($fromline[0]["host"])) $fromline[0]["host"]="";
$name_from=$fromline[0]["mailbox"]."@".$fromline[0]["host"]; $name_from=$fromline[0]["mailbox"]."@".$fromline[0]["host"];
$name_username=$fromline[0]["mailbox"]; $name_username=$fromline[0]["mailbox"];

View File

@ -802,7 +802,7 @@ function parse_header($hdr,$number="") {
$value=trim(substr($hdr[$count],strpos($hdr[$count]," ")+1)); $value=trim(substr($hdr[$count],strpos($hdr[$count]," ")+1));
switch (strtolower($variable)) { switch (strtolower($variable)) {
case "from:": case "from:":
$fromline=address_decode(headerDecode($value),"nirgendwo"); $fromline=address_decode(headerDecode($value),"nowhere");
if (!isset($fromline[0]["host"])) $fromline[0]["host"]=""; if (!isset($fromline[0]["host"])) $fromline[0]["host"]="";
$header->from=$fromline[0]["mailbox"]."@".$fromline[0]["host"]; $header->from=$fromline[0]["mailbox"]."@".$fromline[0]["host"];
$header->username=$fromline[0]["mailbox"]; $header->username=$fromline[0]["mailbox"];
@ -1550,7 +1550,7 @@ function np_get_db_article($article, $group, $makearray=1, $dbh=null) {
} }
function get_poster_name($name) { function get_poster_name($name) {
$fromline = address_decode($name,"nirgendwo"); $fromline = address_decode($name,"nowhere");
if (!isset($fromline[0]["host"])) $fromline[0]["host"]=""; if (!isset($fromline[0]["host"])) $fromline[0]["host"]="";
$name_from=$fromline[0]["mailbox"]."@".$fromline[0]["host"]; $name_from=$fromline[0]["mailbox"]."@".$fromline[0]["host"];
$name_username=$fromline[0]["mailbox"]; $name_username=$fromline[0]["mailbox"];

View File

@ -189,7 +189,7 @@ $results=0;
unset($ts); unset($ts);
$fromline=address_decode(headerDecode($overviewline['name']),"nirgendwo"); $fromline=address_decode(headerDecode($overviewline['name']),"nowhere");
if (!isset($fromline[0]["personal"])) { if (!isset($fromline[0]["personal"])) {
$lastname=$fromline[0]["mailbox"];; $lastname=$fromline[0]["mailbox"];;
@ -209,7 +209,7 @@ $results=0;
echo '<a href="'.$groupurl.'">'.$overviewline['newsgroup'].'</a>'; echo '<a href="'.$groupurl.'">'.$overviewline['newsgroup'].'</a>';
echo '</p>'; echo '</p>';
$fromline = address_decode($overviewline['name'],"nirgendwo"); $fromline = address_decode($overviewline['name'],"nowhere");
if (!isset($fromline[0]["host"])) $fromline[0]["host"]=""; if (!isset($fromline[0]["host"])) $fromline[0]["host"]="";
$name_from=$fromline[0]["mailbox"]."@".$fromline[0]["host"]; $name_from=$fromline[0]["mailbox"]."@".$fromline[0]["host"];
$name_username=$fromline[0]["mailbox"]; $name_username=$fromline[0]["mailbox"];