Don't display the 'days until we party' box if the days are up. [p=ryan@ryanflint.com]

This commit is contained in:
reed%reedloden.com 2006-10-26 06:40:33 +00:00
Родитель b2ade93836
Коммит d9b8b569a7
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -21,8 +21,10 @@
<a title="User Count Feed" href="<?php echo $html->url('/feeds/users/'); ?>"><img src="<?php echo $html->url('/img/feed16.png'); ?>" alt="RSS"/></a> <a title="User Count Feed" href="<?php echo $html->url('/feeds/users/'); ?>"><img src="<?php echo $html->url('/img/feed16.png'); ?>" alt="RSS"/></a>
</div> </div>
</div> </div>
<?php if ($days_left <= 0): ?>
<div class="cbox"> <div class="cbox">
<span class="ctxt"><?php echo $days_left."</span><br/>".(($days_left == 1) ? ' Day' : ' Days'); ?> until we party! <span class="ctxt"><?php echo $days_left."</span><br/>".(($days_left == 1) ? ' Day' : ' Days'); ?> until we party!
</div> </div>
<?php endif; ?>
</div> </div>
<div style="clear: both"></div> <div style="clear: both"></div>