change literature view
This commit is contained in:
parent
98985efc84
commit
7acc24754d
|
@ -19,6 +19,7 @@ h3.gs_rt{font-size:110%;}
|
||||||
#file-list li li:hover {background-color: #dedede;}
|
#file-list li li:hover {background-color: #dedede;}
|
||||||
#file-list li li li:hover {background-color: #eeeeee;}
|
#file-list li li li:hover {background-color: #eeeeee;}
|
||||||
</style>
|
</style>
|
||||||
|
<?= $this->render('breadcrumbs.phtml'); ?>
|
||||||
<?php $md=$this->metadata;if ($md):?>
|
<?php $md=$this->metadata;if ($md):?>
|
||||||
<h3><?php echo $this->escape($md->title);
|
<h3><?php echo $this->escape($md->title);
|
||||||
if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
|
if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
|
||||||
|
@ -48,31 +49,56 @@ if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
|
||||||
?> (下载引用:<a href="/service/ris/lang/cn/uuid/<?php echo $md->uuid; ?>">RIS格式</a> | <a href="/service/ris/lang/en/uuid/<?php echo $md->uuid; ?>">RIS英文格式</a> | <a href="/service/bibtex/lang/cn/uuid/<?php echo $md->uuid; ?>">Bibtex格式</a> | <a href="/service/bibtex/lang/en/uuid/<?php echo $md->uuid; ?>">Bibtex英文格式</a>)</p>
|
?> (下载引用:<a href="/service/ris/lang/cn/uuid/<?php echo $md->uuid; ?>">RIS格式</a> | <a href="/service/ris/lang/en/uuid/<?php echo $md->uuid; ?>">RIS英文格式</a> | <a href="/service/bibtex/lang/cn/uuid/<?php echo $md->uuid; ?>">Bibtex格式</a> | <a href="/service/bibtex/lang/en/uuid/<?php echo $md->uuid; ?>">Bibtex英文格式</a>)</p>
|
||||||
<?php endif; endif; if ($this->ref) : ?>
|
<?php endif; endif; if ($this->ref) : ?>
|
||||||
<hr />
|
<hr />
|
||||||
<h4><i class="icon-eye-open text-success"></i>建议参考文献</h4>
|
<h4><i class="icon-eye-open text-success"></i>相关文献(作者推荐)</h4>
|
||||||
<ol>
|
<ol>
|
||||||
<?php foreach($this->ref as $ref) :
|
<?php foreach($this->ref as $ref) :
|
||||||
echo '<li>'.$ref->reference;
|
echo '<li>'.$ref->reference;
|
||||||
|
echo '<a href="/knowledge/paper/id/'.$ref->id.'"><i class="icon-info-sign text-success"></i>查看</a>';
|
||||||
if (empty($ref->link))
|
if (empty($ref->link))
|
||||||
{
|
{
|
||||||
if(!empty($ref->attid))
|
if(!empty($ref->attid))
|
||||||
echo '<a href="/service/attach/id/'.$ref->attid.'"><i class="icon-download text-success"></i>下载</a>';
|
echo '<a href="/service/attach/id/'.$ref->attid.'"><i class="icon-download text-success"></i>下载</a>';
|
||||||
|
}else{
|
||||||
|
echo '<a href="'.$ref->link.'"><i class="icon-download text-success"></i>下载</a>';
|
||||||
|
}
|
||||||
|
echo "</li>";
|
||||||
|
endforeach;
|
||||||
|
?>
|
||||||
|
</ol>
|
||||||
|
<?php endif; if ($this->themeref) :?>
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
<h4><i class="icon-eye-open text-success"></i>专题文献</h4>
|
||||||
|
<ol>
|
||||||
|
<?php foreach($this->themeref as $ref) :
|
||||||
|
echo '<li>'.$ref->reference;
|
||||||
|
echo '<a href="/knowledge/paper/id/'.$ref->id.'"><i class="icon-info-sign text-success"></i>查看</a>';
|
||||||
|
if (empty($ref->link))
|
||||||
|
{
|
||||||
|
if(!empty($ref->attid))
|
||||||
|
echo ' | <a href="/service/attach/id/'.$ref->attid.'"><i class="icon-download text-success"></i>下载</a>';
|
||||||
}else{
|
}else{
|
||||||
echo '<a href="'.$ref->link.'"><i class="icon-download text-success"></i>下载</a>';
|
echo ' | <a href="'.$ref->link.'"><i class="icon-download text-success"></i>下载</a>';
|
||||||
}
|
}
|
||||||
echo "</li>";
|
echo "</li>";
|
||||||
endforeach;
|
endforeach;
|
||||||
?>
|
?>
|
||||||
</ol>
|
</ol>
|
||||||
<?php endif; ?>
|
<?php endif; if ($this->userref) : ?>
|
||||||
<?php if ($this->userref) : ?>
|
|
||||||
<hr />
|
<hr />
|
||||||
<h4>数据用户发表文献</h4>
|
<h4><i class="icon-eye-open text-success"></i>数据施引文献</h4>
|
||||||
<ol>
|
<ol>
|
||||||
<?php foreach($this->userref as $ref) :
|
<?php foreach($this->userref as $ref) :
|
||||||
|
echo '<li>'.$ref->reference;
|
||||||
|
echo '<a href="/knowledge/paper/id/'.$ref->id.'"><i class="icon-info-sign text-success"></i>查看</a>';
|
||||||
if (empty($ref->link))
|
if (empty($ref->link))
|
||||||
echo '<li>'.$ref->reference.'</li>';
|
{
|
||||||
else
|
if(!empty($ref->attid))
|
||||||
echo '<li>'.$ref->reference.' <a href="'.$ref->link.'"><i class="icon-download text-success"></i>下载</a></li>';
|
echo '<a href="/service/attach/id/'.$ref->attid.'"><i class="icon-download text-success"></i>下载</a>';
|
||||||
|
}else{
|
||||||
|
echo '<a href="'.$ref->link.'"><i class="icon-download text-success"></i>下载</a>';
|
||||||
|
}
|
||||||
|
echo "</li>";
|
||||||
endforeach;
|
endforeach;
|
||||||
?>
|
?>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
|
@ -71,31 +71,56 @@ if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
|
||||||
?> (下载引用:<a href="/service/ris/lang/cn/uuid/<?php echo $md->uuid; ?>">RIS格式</a> | <a href="/service/ris/lang/en/uuid/<?php echo $md->uuid; ?>">RIS英文格式</a> | <a href="/service/bibtex/lang/cn/uuid/<?php echo $md->uuid; ?>">Bibtex格式</a> | <a href="/service/bibtex/lang/en/uuid/<?php echo $md->uuid; ?>">Bibtex英文格式</a>)</p>
|
?> (下载引用:<a href="/service/ris/lang/cn/uuid/<?php echo $md->uuid; ?>">RIS格式</a> | <a href="/service/ris/lang/en/uuid/<?php echo $md->uuid; ?>">RIS英文格式</a> | <a href="/service/bibtex/lang/cn/uuid/<?php echo $md->uuid; ?>">Bibtex格式</a> | <a href="/service/bibtex/lang/en/uuid/<?php echo $md->uuid; ?>">Bibtex英文格式</a>)</p>
|
||||||
<?php endif; endif; endif; if ($this->ref) : ?>
|
<?php endif; endif; endif; if ($this->ref) : ?>
|
||||||
<hr />
|
<hr />
|
||||||
<h4><i class="icon-eye-open text-success"></i>建议参考文献</h4>
|
<h4><i class="icon-eye-open text-success"></i>相关文献(作者推荐)</h4>
|
||||||
<ol>
|
<ol>
|
||||||
<?php foreach($this->ref as $ref) :
|
<?php foreach($this->ref as $ref) :
|
||||||
echo '<li>'.$ref->reference;
|
echo '<li>'.$ref->reference;
|
||||||
|
echo '<a href="/knowledge/paper/id/'.$ref->id.'"><i class="icon-info-sign text-success"></i>查看</a>';
|
||||||
if (empty($ref->link))
|
if (empty($ref->link))
|
||||||
{
|
{
|
||||||
if(!empty($ref->attid))
|
if(!empty($ref->attid))
|
||||||
echo '<a href="/service/attach/id/'.$ref->attid.'"><i class="icon-download text-success"></i>下载</a>';
|
echo '<a href="/service/attach/id/'.$ref->attid.'"><i class="icon-download text-success"></i>下载</a>';
|
||||||
|
}else{
|
||||||
|
echo '<a href="'.$ref->link.'"><i class="icon-download text-success"></i>下载</a>';
|
||||||
|
}
|
||||||
|
echo "</li>";
|
||||||
|
endforeach;
|
||||||
|
?>
|
||||||
|
</ol>
|
||||||
|
<?php endif; if ($this->themeref) :?>
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
<h4><i class="icon-eye-open text-success"></i>专题文献</h4>
|
||||||
|
<ol>
|
||||||
|
<?php foreach($this->themeref as $ref) :
|
||||||
|
echo '<li>'.$ref->reference;
|
||||||
|
echo '<a href="/knowledge/paper/id/'.$ref->id.'"><i class="icon-info-sign text-success"></i>查看</a>';
|
||||||
|
if (empty($ref->link))
|
||||||
|
{
|
||||||
|
if(!empty($ref->attid))
|
||||||
|
echo ' | <a href="/service/attach/id/'.$ref->attid.'"><i class="icon-download text-success"></i>下载</a>';
|
||||||
}else{
|
}else{
|
||||||
echo '<a href="'.$ref->link.'"><i class="icon-download text-success"></i>下载</a>';
|
echo ' | <a href="'.$ref->link.'"><i class="icon-download text-success"></i>下载</a>';
|
||||||
}
|
}
|
||||||
echo "</li>";
|
echo "</li>";
|
||||||
endforeach;
|
endforeach;
|
||||||
?>
|
?>
|
||||||
</ol>
|
</ol>
|
||||||
<?php endif; ?>
|
<?php endif; if ($this->userref) : ?>
|
||||||
<?php if ($this->userref) : ?>
|
|
||||||
<hr />
|
<hr />
|
||||||
<h4>数据用户发表文献</h4>
|
<h4><i class="icon-eye-open text-success"></i>数据施引文献</h4>
|
||||||
<ol>
|
<ol>
|
||||||
<?php foreach($this->userref as $ref) :
|
<?php foreach($this->userref as $ref) :
|
||||||
|
echo '<li>'.$ref->reference;
|
||||||
|
echo '<a href="/knowledge/paper/id/'.$ref->id.'"><i class="icon-info-sign text-success"></i>查看</a>';
|
||||||
if (empty($ref->link))
|
if (empty($ref->link))
|
||||||
echo '<li>'.$ref->reference.'</li>';
|
{
|
||||||
else
|
if(!empty($ref->attid))
|
||||||
echo '<li>'.$ref->reference.' <a href="'.$ref->link.'"><i class="icon-download text-success"></i>下载</a></li>';
|
echo '<a href="/service/attach/id/'.$ref->attid.'"><i class="icon-download text-success"></i>下载</a>';
|
||||||
|
}else{
|
||||||
|
echo '<a href="'.$ref->link.'"><i class="icon-download text-success"></i>下载</a>';
|
||||||
|
}
|
||||||
|
echo "</li>";
|
||||||
endforeach;
|
endforeach;
|
||||||
?>
|
?>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
|
@ -69,31 +69,56 @@ if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
|
||||||
?> (下载引用:<a href="/service/ris/lang/cn/uuid/<?php echo $md->uuid; ?>">RIS格式</a> | <a href="/service/ris/lang/en/uuid/<?php echo $md->uuid; ?>">RIS英文格式</a> | <a href="/service/bibtex/lang/cn/uuid/<?php echo $md->uuid; ?>">Bibtex格式</a> | <a href="/service/bibtex/lang/en/uuid/<?php echo $md->uuid; ?>">Bibtex英文格式</a>)</p>
|
?> (下载引用:<a href="/service/ris/lang/cn/uuid/<?php echo $md->uuid; ?>">RIS格式</a> | <a href="/service/ris/lang/en/uuid/<?php echo $md->uuid; ?>">RIS英文格式</a> | <a href="/service/bibtex/lang/cn/uuid/<?php echo $md->uuid; ?>">Bibtex格式</a> | <a href="/service/bibtex/lang/en/uuid/<?php echo $md->uuid; ?>">Bibtex英文格式</a>)</p>
|
||||||
<?php endif; endif; endif; if ($this->ref) : ?>
|
<?php endif; endif; endif; if ($this->ref) : ?>
|
||||||
<hr />
|
<hr />
|
||||||
<h4><i class="icon-eye-open text-success"></i>建议参考文献</h4>
|
<h4><i class="icon-eye-open text-success"></i>相关文献(作者推荐)</h4>
|
||||||
<ol>
|
<ol>
|
||||||
<?php foreach($this->ref as $ref) :
|
<?php foreach($this->ref as $ref) :
|
||||||
echo '<li>'.$ref->reference;
|
echo '<li>'.$ref->reference;
|
||||||
|
echo '<a href="/knowledge/paper/id/'.$ref->id.'"><i class="icon-info-sign text-success"></i>查看</a>';
|
||||||
if (empty($ref->link))
|
if (empty($ref->link))
|
||||||
{
|
{
|
||||||
if(!empty($ref->attid))
|
if(!empty($ref->attid))
|
||||||
echo '<a href="/service/attach/id/'.$ref->attid.'"><i class="icon-download text-success"></i>下载</a>';
|
echo '<a href="/service/attach/id/'.$ref->attid.'"><i class="icon-download text-success"></i>下载</a>';
|
||||||
|
}else{
|
||||||
|
echo '<a href="'.$ref->link.'"><i class="icon-download text-success"></i>下载</a>';
|
||||||
|
}
|
||||||
|
echo "</li>";
|
||||||
|
endforeach;
|
||||||
|
?>
|
||||||
|
</ol>
|
||||||
|
<?php endif; if ($this->themeref) :?>
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
<h4><i class="icon-eye-open text-success"></i>专题文献</h4>
|
||||||
|
<ol>
|
||||||
|
<?php foreach($this->themeref as $ref) :
|
||||||
|
echo '<li>'.$ref->reference;
|
||||||
|
echo '<a href="/knowledge/paper/id/'.$ref->id.'"><i class="icon-info-sign text-success"></i>查看</a>';
|
||||||
|
if (empty($ref->link))
|
||||||
|
{
|
||||||
|
if(!empty($ref->attid))
|
||||||
|
echo ' | <a href="/service/attach/id/'.$ref->attid.'"><i class="icon-download text-success"></i>下载</a>';
|
||||||
}else{
|
}else{
|
||||||
echo '<a href="'.$ref->link.'"><i class="icon-download text-success"></i>下载</a>';
|
echo ' | <a href="'.$ref->link.'"><i class="icon-download text-success"></i>下载</a>';
|
||||||
}
|
}
|
||||||
echo "</li>";
|
echo "</li>";
|
||||||
endforeach;
|
endforeach;
|
||||||
?>
|
?>
|
||||||
</ol>
|
</ol>
|
||||||
<?php endif; ?>
|
<?php endif; if ($this->userref) : ?>
|
||||||
<?php if ($this->userref) : ?>
|
|
||||||
<hr />
|
<hr />
|
||||||
<h4>数据用户发表文献</h4>
|
<h4><i class="icon-eye-open text-success"></i>数据施引文献</h4>
|
||||||
<ol>
|
<ol>
|
||||||
<?php foreach($this->userref as $ref) :
|
<?php foreach($this->userref as $ref) :
|
||||||
|
echo '<li>'.$ref->reference;
|
||||||
|
echo '<a href="/knowledge/paper/id/'.$ref->id.'"><i class="icon-info-sign text-success"></i>查看</a>';
|
||||||
if (empty($ref->link))
|
if (empty($ref->link))
|
||||||
echo '<li>'.$ref->reference.'</li>';
|
{
|
||||||
else
|
if(!empty($ref->attid))
|
||||||
echo '<li>'.$ref->reference.' <a href="'.$ref->link.'"><i class="icon-download text-success"></i>下载</a></li>';
|
echo '<a href="/service/attach/id/'.$ref->attid.'"><i class="icon-download text-success"></i>下载</a>';
|
||||||
|
}else{
|
||||||
|
echo '<a href="'.$ref->link.'"><i class="icon-download text-success"></i>下载</a>';
|
||||||
|
}
|
||||||
|
echo "</li>";
|
||||||
endforeach;
|
endforeach;
|
||||||
?>
|
?>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
Loading…
Reference in New Issue