Mercurial > hg > index.fcgi > www > www-1
changeset 23:6d959c2ed416
index.php: don't display redundant LastMod
author | paulo@twcdns.fastsearch.net |
---|---|
date | Mon, 24 Jan 2011 00:02:19 -0800 |
parents | a7ad7a5c899e |
children | 8689ba61e0e0 |
files | index.php |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/index.php Wed Jan 19 23:20:30 2011 -0800 1.2 +++ b/index.php Mon Jan 24 00:02:19 2011 -0800 1.3 @@ -37,7 +37,8 @@ 1.4 echo '<DD>'; 1.5 echo '<DIV CLASS="index_date">'; 1.6 echo 'First added: '.$row['FirstMod'].' '.'<BR>'; 1.7 - echo 'Last modified: '.$row['LastMod']; 1.8 + if (($row['LastMod'] != '') && ($row['LastMod'] != $row['FirstMod'])) 1.9 + echo 'Last modified: '.$row['LastMod']; 1.10 echo '</DIV>'; 1.11 echo '</DD>'."\n"; 1.12 }