partially implemented todo tracker
This commit is contained in:
@@ -17,12 +17,12 @@ function article_page_from_markdown($article_id)
|
||||
$html = '
|
||||
<div class="article">
|
||||
|
||||
<div class="row">
|
||||
<div class="row_space_between">
|
||||
<h1>' . $article['title'] . '</h1>
|
||||
' . (isset($_SESSION['user_id']) && $_SESSION['user_id'] == $article['author_id'] ? '<a href="articles.php?view=compose&article_id=' . $article_id . '"><i class="nf nf-fa-edit"></i></a>' : '') . '
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="row">
|
||||
<div class="row_space_between">
|
||||
<div class="row_space_between">
|
||||
<div class="col_right">
|
||||
<h5>Written by <a href="user.php?view=display&user_id=' . $author['user_id'] . '">' . $author['username'] . '</a></h5>
|
||||
<p>Published on ' . $article['published_at'] . '<br>
|
||||
|
||||
Reference in New Issue
Block a user