diff --git a/index.cgi b/index.cgi
index e6f4872..f06f459 100755
--- a/index.cgi
+++ b/index.cgi
@@ -280,18 +280,19 @@ sub print_itemlist {
$html .= "
\n";
$html .= "
" . $item->{item_id} . "\n";
$html .= "
" . strftime('%Y-%m-%d %H:%M:%S', localtime($item->{issued})) . "\n";
+ my $mark_read_button = "";
+ my $mark_later_button = "";
unless ($is_read) {
- print_log("print_itemlist: \$q1=" . $q1->self_url . " (in loop)");
- $html .= "
\n";
- $html .= "
\n";
+ $mark_read_button = "
\n";
+ $mark_later_button = "
\n";
}
+ $html .= $mark_read_button;
+ $html .= $mark_later_button;
$html .= "
" . $q->escapeHTML($item->{feed_title}) . "
\n";
$html .= "
\n";
$html .= "
" . $scrubbed_content . "
\n";
- unless ($is_read) {
- $html .= "
\n";
- $html .= "
\n";
- }
+ $html .= $mark_read_button;
+ $html .= $mark_later_button;
$html .= "
\n";
$html .= "
";
print $html;