diff options
Diffstat (limited to 'web/template/stats')
-rw-r--r-- | web/template/stats/updates_table.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/web/template/stats/updates_table.php b/web/template/stats/updates_table.php index b9f6d6d..a8cdf5a 100644 --- a/web/template/stats/updates_table.php +++ b/web/template/stats/updates_table.php @@ -20,12 +20,10 @@ $mod_int = intval($row["ModifiedTS"]); $sub_int = intval($row["SubmittedTS"]); -if ($mod_int != 0): - $modstring = gmdate("r", $mod_int); -elseif ($sub_int != 0): +if ($mod_int == $sub_int): $modstring = '<img src="images/new.gif" alt="New!" /> ' . gmdate("r", $sub_int); else: - $modstring = '(unknown)'; + $modstring = gmdate("r", $mod_int); endif; ?> @@ -36,4 +34,3 @@ endif; <?php endforeach; ?> </table> - |