1
This commit is contained in:
@@ -632,6 +632,7 @@ class Journal extends Controller {
|
||||
$cache_title = str_replace($val, '<i>' . $val . '</i>', $cache_title);
|
||||
}
|
||||
$list[$k]['title'] = $cache_title;
|
||||
$list[$k]['mains'] = getArticleMains($v['article_id']);
|
||||
}
|
||||
|
||||
//获取作者
|
||||
@@ -772,6 +773,7 @@ class Journal extends Controller {
|
||||
$cache_title = str_replace($val, '<i>' . $val . '</i>', $cache_title);
|
||||
}
|
||||
$list[$k]['title'] = $cache_title;
|
||||
$list[$k]['mains'] = getArticleMains($v['article_id']);
|
||||
}
|
||||
|
||||
//获取作者
|
||||
@@ -834,6 +836,8 @@ class Journal extends Controller {
|
||||
$list[$k]['topic'] = $cache_topic;
|
||||
$list[$k]['cite'] = $cite;
|
||||
$list[$k]['authortitle'] = $this->getAuthor($v);
|
||||
|
||||
$list[$k]['mains'] = getArticleMains($v['article_id']);
|
||||
}
|
||||
//标题斜体
|
||||
foreach ($list as $k => $v) {
|
||||
@@ -909,6 +913,8 @@ class Journal extends Controller {
|
||||
$list[$k]['topic'] = $cache_topic;
|
||||
$list[$k]['cite'] = $cite;
|
||||
$list[$k]['authortitle'] = $this->getAuthor($v);
|
||||
|
||||
$list[$k]['mains'] = getArticleMains($v['article_id']);
|
||||
}
|
||||
//连续出版判断,决定是否显示出版时间
|
||||
foreach ($list as $k => $v){
|
||||
@@ -1567,6 +1573,7 @@ class Journal extends Controller {
|
||||
}
|
||||
$cache_title = str_replace(trim($data['keyword']), '<b style="color:#c00">' . $data['keyword'] . '</b>', $cache_title);
|
||||
$list[$k]['title'] = $cache_title;
|
||||
$list[$k]['mains'] = getArticleMains($v['article_id']);
|
||||
}
|
||||
$re['articles'] = $list;
|
||||
$re['count'] = $count;
|
||||
|
||||
Reference in New Issue
Block a user