处理无链接文献

This commit is contained in:
wlx 2010-01-07 15:18:07 +00:00
parent 204c1de674
commit 59e7b9d712
1 changed files with 5 additions and 1 deletions

View File

@ -206,8 +206,12 @@ if ($u['host']=='hdl.handle.net')
$url=$this->config->seekspace->handleurl.$u['path'];
else
$url=$r['url'];
echo '<li>';
if ($url) echo '<a href="'.$url.'" target="_blank">';
echo $r['title'];
if ($url) echo '</a>';
echo '</li>';
?>
<li><a href="<?= $url; ?>" target="_blank"><?= $r['title']; ?></a></li>
<?php endforeach; ?>
</ul>
</div>