fix single author problem

This commit is contained in:
wlx 2013-11-13 18:24:53 +00:00
parent 7a36469b62
commit 24f253c027
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ $this->headLink()->appendStylesheet('/css/colorbox.css');
<h3><?php echo $this->paper['title']; ?></h3> <h3><?php echo $this->paper['title']; ?></h3>
<hr /> <hr />
<?php } ?> <?php } ?>
<?php if(count($this->author) > 0) {?> <?php if($this->author) : ?>
<h4>作者</h4> <h4>作者</h4>
<ul> <ul>
<?php foreach($this->author as $a) : ?> <?php foreach($this->author as $a) : ?>
@ -28,7 +28,7 @@ $this->headLink()->appendStylesheet('/css/colorbox.css');
<?php endforeach; ?> <?php endforeach; ?>
</ul> </ul>
<hr /> <hr />
<?php } ?> <?php endif; ?>
<?php if ($this->paper['abstract']){ ?> <?php if ($this->paper['abstract']){ ?>
<h4>摘要</h4> <h4>摘要</h4>