--- a/snews.php 2007-02-06 10:42:18.000000000 +0200 +++ b/snews.php 2007-04-12 13:56:52.000000000 +0300 @@ -246,7 +246,7 @@ // INFO LINE TAGS (readmore, comments, date) function tags($tag) { - $tags = array(); $tags['infoline'] = '

,readmore,comments,date,edit,

'; + $tags = array(); $tags['infoline'] = '

,readmore,comments,,date,,edit,

'; $tags['comments'] = '
,

,name, on ,date,edit,

,

,comment,

,
'; return $tags[$tag]; } @@ -509,9 +509,9 @@ switch (true) { case ($tag == 'date'): echo $a_date_format; break; case ($tag == 'readmore' && strlen($r['text']) > $shorten): - echo $link.$category.'/'.$r['seftitle'].'/" title="'.l('read_more').'">'.l('read_more').' '; break; + echo $link.$category.'/'.$r['seftitle'].'/" title="'.l('read_more').'" class="readmore">'.l('read_more').' '; break; case ($tag == 'comments' && ($commentable == 'YES' || $commentable == 'FREEZ')): - echo $link.$category.'/'.$r['seftitle'].'/#'.l('comment').'1" title="'.l('comments').'">'.l('comments').' ('.$comments_num.') '; break; + echo $link.$category.'/'.$r['seftitle'].'/#'.l('comment').'1" title="'.l('comments').'" class="comments">'.l('comments').' ('.$comments_num.') '; break; case ($tag == 'edit' && $_SESSION[db('website').'Logged_In'] == token()): echo ' '.$edit_link; break; case ($tag != 'readmore' && $tag != 'comments' && $tag != 'edit'): echo $tag; break; } @@ -617,7 +617,7 @@ foreach ($tag as $tag) { switch (true) { case ($tag == 'date'): - echo ''.$date; + echo ''.$date.''; break; case ($tag == 'name'): echo !empty($r['url']) ? ''.$r['name'].' ' : $r['name']; break; case ($tag == 'comment'): echo $r['comment']; break;