diff --git a/inc/html.php b/inc/html.php index 46c5334..17c9ed4 100644 --- a/inc/html.php +++ b/inc/html.php @@ -498,16 +498,16 @@ function buildPost($post, $res, $compact=false) { EOF; } else if (in_array(substr($post['file'], -4), array('.jpg', '.png', '.gif'))) { - $expandhtml = ""; + $expandhtml = ""; } - $thumblink = ""; + $thumblink = ""; $expandhtml = rawurlencode($expandhtml); if (isEmbed($post["file_hex"])) { - $filesize .= "${post['file_original']}–(${post['file_hex']})"; + $filesize .= "{$post['file_original']}–({$post['file_hex']})"; } else if ($post["file"] != '') { - $filesize .= $thumblink . "${post["file"]}–(${post["file_size_formatted"]}"; + $filesize .= $thumblink . "{$post["file"]}–({$post["file_size_formatted"]}"; if ($post["image_width"] > 0 && $post["image_height"] > 0) { $filesize .= ", " . $post["image_width"] . "x" . $post["image_height"]; } @@ -529,7 +529,7 @@ EOF; if ($post["thumb_width"] > 0 && $post["thumb_height"] > 0) { $filehtml .= << + EOF; } @@ -537,8 +537,8 @@ EOF; if ($expandhtml != '') { $filehtml .= <<$expandhtml - +$expandhtml + EOF; } } @@ -556,15 +556,15 @@ EOF; ¨ - + EOF; } } $return .= << + - + EOF; if ($post['subject'] != '') { @@ -572,7 +572,7 @@ EOF; } $return .= << $reflink @@ -589,7 +589,7 @@ EOF; if ($post['parent'] == TINYIB_NEWTHREAD) { if ($res == TINYIB_INDEXPAGE) { - $return .= " [" . __("Reply") . "]"; + $return .= " [" . __("Reply") . "]"; } $return .= backlinks($post); } @@ -601,7 +601,7 @@ EOF; } $return .= << -${post["message"]} +{$post["message"]} EOF; @@ -1228,7 +1228,7 @@ function manageBanForm() { $txt_ban - $txt_ban_ip + $txt_ban_ip $txt_ban_expire$txt_1h $txt_1d $txt_2d $txt_1w $txt_2w $txt_1m $txt_ban_never $txt_ban_reason$txt_ban_optional $banmessage_html @@ -1381,7 +1381,7 @@ function manageModeratePost($post, $compact=false) { - + @@ -1395,7 +1395,7 @@ EOF; - + @@ -1423,7 +1423,7 @@ EOF; - + @@ -1452,7 +1452,7 @@ EOF; - + @@ -1461,8 +1461,8 @@ EOF; - - + +