Changeset 142

Show
Ignore:
Timestamp:
04/10/06 23:42:22 (7 years ago)
Author:
dez
Message:

Corrects the "Read More" links on front page announcements

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • plugins/function.articlesummary.php

    r141 r142  
    55                $article = $params['article']; 
    66                $id = $params['id']; 
     7                $title = $params['title']; 
    78 
    8                 $linky = "<span style=\"float: right\"><a href=\"/News/$id\">Read More</a></span>"; 
     9                $linky = "<span style=\"float: right\"><a href=\"/News/$title\">Read More</a></span>"; 
    910 
    1011                $matches = array(); 
  • templates/front.tpl

    r140 r142  
    88        <h3>{$item.title}</h3> 
    99        <div> 
    10         {articlesummary id=$item.id article=$item.body} 
     10        {articlesummary id=$item.id article=$item.body title=$item.title} 
    1111        </div> 
    1212{/foreach}