Commit 5c33255b6a
Unsigned
Layout: unified · split
index.php +2 −2
| @@ -142,7 +142,7 @@ function get_stories($api_url, $inline_title) { | |||
| 142 | $html = '<div><a href="' . $sub_response['url'] . '">' . $sub_response['title'] . '</a>'; | 142 | $html = '<div><a href="' . $sub_response['url'] . '">' . $sub_response['title'] . '</a>'; |
| 143 | $html .= '<p><time datetime="' . date('Y-m-d h:m:s', $sub_response['time']) . '">'; | 143 | $html .= '<p><time datetime="' . date('Y-m-d h:m:s', $sub_response['time']) . '">'; |
| 144 | $html .= date('Y-m-d h:m:s', $sub_response['time']) . '</time> by <a'; | 144 | $html .= date('Y-m-d h:m:s', $sub_response['time']) . '</time> by <a'; |
| 145 | $html .= 'href="/user/'. $sub_response['by'] . '">'; | 145 | $html .= ' href="/user/'. $sub_response['by'] . '">'; |
| 146 | $html .= $sub_response['by'] . '</a> | ' . $sub_response['score']; | 146 | $html .= $sub_response['by'] . '</a> | ' . $sub_response['score']; |
| 147 | $html .= ' points</p></div>'; | 147 | $html .= ' points</p></div>'; |
| 148 | $html_output .= $html; | 148 | $html_output .= $html; |
| @@ -187,7 +187,7 @@ function get_user(string $api_url, string $inline_title) { | |||
| 187 | $html = '<div><a href="' . $sub_response['url'] . '">' . $sub_response['title'] . '</a>'; | 187 | $html = '<div><a href="' . $sub_response['url'] . '">' . $sub_response['title'] . '</a>'; |
| 188 | $html .= '<p><time datetime="' . date('Y-m-d h:m:s', $sub_response['time']) . '">'; | 188 | $html .= '<p><time datetime="' . date('Y-m-d h:m:s', $sub_response['time']) . '">'; |
| 189 | $html .= date('Y-m-d h:m:s', $sub_response['time']) . '</time> by <a'; | 189 | $html .= date('Y-m-d h:m:s', $sub_response['time']) . '</time> by <a'; |
| 190 | $html .= 'href="/user/'. $sub_response['by'] . '">'; | 190 | $html .= ' href="/user/'. $sub_response['by'] . '">'; |
| 191 | $html .= $sub_response['by'] . '</a> | ' . $sub_response['score']; | 191 | $html .= $sub_response['by'] . '</a> | ' . $sub_response['score']; |
| 192 | $html .= ' points</p></div>'; | 192 | $html .= ' points</p></div>'; |
| 193 | $html_output .= $html; | 193 | $html_output .= $html; |