change default view theme

This commit is contained in:
wlx 2014-05-10 06:36:02 +00:00
parent 6786e739b0
commit 0a015fa94a
2 changed files with 30 additions and 12 deletions

View File

@ -34,12 +34,21 @@ h3.gs_rt{font-size:110%;}
<?php if ($md->citation) : ?>
<hr />
<h4><i class="icon-quote-left muted"></i>Citation<a class="btn btn-danger pull-right" href="/archives/help/platform/archive-107.html" ><i class="icon-comment"></i>Help</a></h4>
<p><span class="label label-info">Data Citation</span>
<?php
echo $this->escape($md->citation);
?> </p>
<?php endif; if ($this->ref) : ?>
<p><?php if (empty($md->datadoi) || !strpos($md->citation,$md->datadoi)) : ?>
<span class="label label-info">Paper Cite</span>
<?php endif; echo $this->escape($md->citation);
if (strpos($md->citation,$md->datadoi)) : ?>
(Download: <a href="/service/ris/lang/en/uuid/<?php echo $md->uuid; ?>">RIS</a> |
<a href="/service/bibtex/lang/en/uuid/<?php echo $md->uuid; ?>">Bibtex</a>)
<?php endif; ?>
</p>
<?php if (!empty($md->datadoi) && !strpos($md->citation,$md->datadoi)) : ?>
<p><span class="label label-info">Dataset Cite</span>
<?php echo str_replace('"','',substr($md->author_en,1,-1)).'. '.$md->title_en.'. '.$md->publisher_en.', '.(empty($md->ts_published)?$md->publish_year:date('Y',strtotime($md->ts_published))).'. doi:'.$md->doi; ?>
(Download: <a href="/service/ris/lang/en/uuid/<?php echo $md->uuid; ?>">RIS</a> |
<a href="/service/bibtex/lang/en/uuid/<?php echo $md->uuid; ?>">Bibtex</a>)</p>
<?php endif; endif; ?>
<?php if ($this->ref) : ?>
<hr />
<h4><i class="icon-eye-open text-success"></i>Related publications (Recommended by Author)</h4>
<ol>

View File

@ -34,12 +34,21 @@ h3.gs_rt{font-size:110%;}
<?php if ($md->citation) : ?>
<hr />
<h4><i class="icon-quote-left muted"></i>Citation<a class="btn btn-danger pull-right" href="/archives/help/platform/archive-107.html" ><i class="icon-comment"></i>Help</a></h4>
<p><span class="label label-info">Data Citation</span>
<?php
echo $this->escape($md->citation);
?> </p>
<?php endif; if ($this->ref) : ?>
<p><?php if (empty($md->datadoi) || !strpos($md->citation,$md->datadoi)) : ?>
<span class="label label-info">Paper Cite</span>
<?php endif; echo $this->escape($md->citation);
if (strpos($md->citation,$md->datadoi)) : ?>
(Download: <a href="/service/ris/lang/en/uuid/<?php echo $md->uuid; ?>">RIS</a> |
<a href="/service/bibtex/lang/en/uuid/<?php echo $md->uuid; ?>">Bibtex</a>)
<?php endif; ?>
</p>
<?php if (!empty($md->datadoi) && !strpos($md->citation,$md->datadoi)) : ?>
<p><span class="label label-info">Dataset Cite</span>
<?php echo str_replace('"','',substr($md->author_en,1,-1)).'. '.$md->title_en.'. '.$md->publisher_en.', '.(empty($md->ts_published)?$md->publish_year:date('Y',strtotime($md->ts_published))).'. doi:'.$md->doi; ?>
(Download: <a href="/service/ris/lang/en/uuid/<?php echo $md->uuid; ?>">RIS</a> |
<a href="/service/bibtex/lang/en/uuid/<?php echo $md->uuid; ?>">Bibtex</a>)</p>
<?php endif; endif; ?>
<?php if ($this->ref) : ?>
<hr />
<h4><i class="icon-eye-open text-success"></i>Related publications (Recommended by Author)</h4>
<ol>