More work on polls and themes

This commit is contained in:
Daisuke
2020-04-21 20:53:40 -05:00
parent f59049c3c2
commit 2c7a8e1da4
4 changed files with 62 additions and 2 deletions

View File

@ -292,7 +292,7 @@ if ((!isset($thread[0]['id']) && !empty($thread)) || !is_array($thread)) {
/* the code of the post footer (date, visibility and like/reblog buttons */
$post['footer'] = "<div style='float:left;'>
<a style='text-decoration:none;' class='ldr' target='_blank' href='?thread=" . $elem['id'] . "&instance=$srv" . "' title='".gmdate("d/m/y H:i", strtotime($elem['created_at']))."'>" .time_elapsed_string($elem['created_at']) . "</a> - <span class='fontello'>" . $$elem['visibility'] . " </span>
<a style='text-decoration:none;' class='ldr postAge' id='".strtotime($elem['created_at'])."' target='_blank' href='?thread=" . $elem['id'] . "&instance=$srv" . "' title='".gmdate("d/m/y H:i", strtotime($elem['created_at']))."'>" .time_elapsed_string($elem['created_at']) . "</a> - <span class='fontello'>" . $$elem['visibility'] . " </span>
</div>
<div class='post_buttons' id='" . $elem['id'] . "'>
" . ($logedin ? "<div class='felem'><a onClick='return false' class='replyform' href='?thread=" . $elem['id'] . "' style='font-family:fontello; vertical-align:middle;' alt='reply'>&#xf112;</a></div>" : "") . "