Suggestion: "Mark read" button at end of unread items
found it myself, it's a quick and dirty patch:
in file "controllers\Index.php" in function "loadItems"
change
if($itemDao->hasMore())
$itemsHtml .= '<div class="stream-more"><span>'. \F3::get('lang_more').'</span></div>';
to
if($itemDao->hasMore()) {
$itemsHtml .= '<div class="stream-more"><span>'. \F3::get('lang_more').'</span></div>';
}
else {
$itemsHtml .= '<div id="nav-mark" onclick="$(\'#nav-mark\').click();">' . \F3::get('lang_markread') . '</div>';
}
This will add a "mark read" button at the end of each list of items.
Complete thread:
- Suggestion: "Mark read" button at end of unread items -
m.rambaldi,
2013-04-20, 12:24
- Suggestion: "Mark read" button at end of unread items - m.rambaldi, 2013-04-23, 11:28