Skip to content
Snippets Groups Projects
Commit e156b0c4 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- fixed a bug in unconed.theme

parent 02abb946
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -197,7 +197,7 @@ function commentControl($sid, $title, $threshold, $mode, $order) {
<OPTION VALUE="1" <? if ($order==1) { echo "SELECTED"; } ?>>Newest first
<OPTION VALUE="2" <? if ($order==2) { echo "SELECTED"; } ?>>Highest scoring first
</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>";
?>
......@@ -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> ";
if ($poster != $anonymous) {
### 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);
echo "<BR>[ $info ]";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment