added hover titles for subs with latest posts
parent
f5fee4c2b3
commit
8fef912778
|
@ -320,7 +320,7 @@ function show_post_history($db, $sub, $post_id, $settings)
|
|||
|
||||
// Show the existing subs to a user, including their count
|
||||
// Differentiates between subs with > 10 posts (high-traffic)
|
||||
// and lower (low-traffic). Also shows the last five subs that
|
||||
// and lower (low-traffic). Also shows the last ten subs that
|
||||
// were posted to.
|
||||
function show_subs_count($db, $css, $settings)
|
||||
{
|
||||
|
@ -444,7 +444,8 @@ function show_subs_count($db, $css, $settings)
|
|||
|
||||
while ($row = $result->fetchArray(SQLITE3_NUM)) {
|
||||
$sub = "{$row[0]}";
|
||||
$html_string .= "<a href=/s/$sub/$css>$sub</a> ";
|
||||
$title = get_first_post_text($db, $sub, $settings);
|
||||
$html_string .= "<a href=/s/$sub/$css title=\"$title\">$sub</a> ";
|
||||
}
|
||||
|
||||
$html_string .= '</h1>';
|
||||
|
|
Loading…
Reference in New Issue