Mercurial > hg > index.fcgi > www > www-1
diff index.php @ 23:6d959c2ed416
index.php: don't display redundant LastMod
author | paulo@twcdns.fastsearch.net |
---|---|
date | Mon, 24 Jan 2011 00:02:19 -0800 |
parents | 561c0b0f3234 |
children | 92e7bc3c5755 |
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 }