[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnuheter-dev] pollbooth-bug och mer "av av"
From: |
Ulf Harnhammar |
Subject: |
[Gnuheter-dev] pollbooth-bug och mer "av av" |
Date: |
Thu, 15 Aug 2002 18:54:15 +0200 (CEST) |
Hej,
jag har commitat några till småpatchar:
* pollbooth använde translate() utan att inkludera lang-filen
* pollcomments hade samma "av av"-fel som vanliga comments
* min förra comments-fix var dumt skriven
// Ulf
--- comments.php.old 2002-08-15 17:59:26.000000000 +0200
+++ comments.php 2002-08-15 18:01:23.000000000 +0200
@@ -67,8 +67,6 @@
$datetime = formatTimestamp($date);
if ($name != $anonymous)
$name = "<a
href=\"user.php?op=userinfo&uname=$name\">$name</a>";
- else
- $name = "$name";
return "· <a
href=\"comments.php?op=showreply&tid=$tid&sid=$sid&pid=$pid&mode=$mode&order=$order&thold=$thold#$r_tid\">$subject</a>
av $name den $datetime<br>\n";
}
--- pollBooth.php.old 2002-08-15 18:15:27.000000000 +0200
+++ pollBooth.php 2002-08-15 18:17:07.000000000 +0200
@@ -58,7 +58,7 @@
include('header.php');
echo "<div align=\"center\"><table border=\"0\" width=\"160\"><tr><td>";
pollNewest();
- echo "</td></tr></table></div><br>".translate("Current Survey Voting
Booth")."\n";
+ echo "</td></tr></table></div><br>Nuvarande undersökning\n";
include('footer.php');
}
?>
--- pollcomments.php.old 2002-08-15 18:11:07.000000000 +0200
+++ pollcomments.php 2002-08-15 18:12:08.000000000 +0200
@@ -66,9 +66,7 @@
if (!eregi("[a-z0-9]",$subject)) $subject = "[Inget ärende]";
$datetime = formatTimestamp($date);
if ($name != $anonymous)
- $name = "av <a
href=\"user.php?op=userinfo&uname=$name\">$name</a>";
- else
- $name = "av $name";
+ $name = "<a
href=\"user.php?op=userinfo&uname=$name\">$name</a>";
return "· <a
href=\"pollcomments.php?op=showreply&tid=$tid&pollID=$sid&pid=$pid&mode=$mode&order=$order&thold=$thold#$r_tid\">$subject</a>
av $name den $datetime<br>\n";
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnuheter-dev] pollbooth-bug och mer "av av",
Ulf Harnhammar <=