Commit e156b0c4 authored by Dries's avatar Dries
Browse files

- fixed a bug in unconed.theme

parent 02abb946
...@@ -197,7 +197,7 @@ function commentControl($sid, $title, $threshold, $mode, $order) { ...@@ -197,7 +197,7 @@ function commentControl($sid, $title, $threshold, $mode, $order) {
<OPTION VALUE="1" <? if ($order==1) { echo "SELECTED"; } ?>>Newest first <OPTION VALUE="1" <? if ($order==1) { echo "SELECTED"; } ?>>Newest first
<OPTION VALUE="2" <? if ($order==2) { echo "SELECTED"; } ?>>Highest scoring first <OPTION VALUE="2" <? if ($order==2) { echo "SELECTED"; } ?>>Highest scoring first
</SELECT> </SELECT>
<INPUT TYPE="hidden" NAME="sid" VALUE="<? echo "$sid"; ?>"> <INPUT TYPE="submit" VALUE="Refresh"> <INPUT TYPE="hidden" NAME="sid" VALUE="<? echo "$sid"; ?>"> <INPUT TYPE="submit" VALUE="Save">
<? <?
if (isset($user)) echo "<BR><CENTER><INPUT TYPE=\"checkbox\" NAME=\"save\"> Save preferences</CENTER>"; if (isset($user)) echo "<BR><CENTER><INPUT TYPE=\"checkbox\" NAME=\"save\"> Save preferences</CENTER>";
?> ?>
...@@ -256,7 +256,7 @@ function comment($poster, $subject, $comment, $timestamp, $url, $email, $score, ...@@ -256,7 +256,7 @@ function comment($poster, $subject, $comment, $timestamp, $url, $email, $score,
echo " <TD ALIGN=\"right\" VALIGN=\"top\">Author:</TD><TD><B>" . format_username($poster) . "</B> "; echo " <TD ALIGN=\"right\" VALIGN=\"top\">Author:</TD><TD><B>" . format_username($poster) . "</B> ";
if ($poster != $anonymous) { if ($poster != $anonymous) {
### Display extra information line: ### Display extra information line:
if ($email) $info .= format_email_address($email); if ($email) $info .= format_email($email);
if (eregi("http://",$url)) $info .= " | " . format_url($url); if (eregi("http://",$url)) $info .= " | " . format_url($url);
echo "<BR>[ $info ]"; echo "<BR>[ $info ]";
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment