优化文献输出方式
This commit is contained in:
parent
8d89e9f435
commit
838afc1d5d
|
@ -75,11 +75,16 @@ table thead tr th {background:#EBF2F6;}
|
||||||
$autoindex++;?>
|
$autoindex++;?>
|
||||||
<tr id="DataLine_<?= $item['id']?>">
|
<tr id="DataLine_<?= $item['id']?>">
|
||||||
<td>
|
<td>
|
||||||
[<?= $autoindex ?>]
|
[<?= $autoindex ?>]
|
||||||
|
<?php if ($item['ris']) :
|
||||||
|
echo $item['reference'];
|
||||||
|
else :
|
||||||
|
?>
|
||||||
{<?php $authors = $this->reference->getAuthorByReference($item['id'],true); echo count($authors) ? join(",",$authors):'<font color="#CC0000">未知作者</font>'; ?>}
|
{<?php $authors = $this->reference->getAuthorByReference($item['id'],true); echo count($authors) ? join(",",$authors):'<font color="#CC0000">未知作者</font>'; ?>}
|
||||||
{<?= empty($item['title']) ? '<font color="#CC0000">未知标题</font>':$item['title'] ?>}
|
{<?= empty($item['title']) ? '<font color="#CC0000">未知标题</font>':$item['title'] ?>}
|
||||||
{<?= empty($item['publisher']) ? '<font color="#CC0000">未知期刊</font>':$item['publisher'] ?>}
|
{<?= empty($item['publisher']) ? '<font color="#CC0000">未知期刊</font>':$item['publisher'] ?>}
|
||||||
{<?= empty($item['year']) ? '<font color="#CC0000">未知年份</font>':$item['year'] ?>}
|
{<?= empty($item['year']) ? '<font color="#CC0000">未知年份</font>':$item['year'] ?>}
|
||||||
|
<?php endif; ?>
|
||||||
</td>
|
</td>
|
||||||
<td><?= date("Y-m-d H:i",strtotime($item['ts_created'])) ?></td>
|
<td><?= date("Y-m-d H:i",strtotime($item['ts_created'])) ?></td>
|
||||||
<td>
|
<td>
|
||||||
|
|
Loading…
Reference in New Issue