Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -42,9 +42,6 @@ page={{stage_page}},%号
|
|||||||
\doi{{{doi}}}
|
\doi{{{doi}}}
|
||||||
\journalweb{{{website}}}
|
\journalweb{{{website}}}
|
||||||
|
|
||||||
% \def\ORCIdICONNAME{{{CLSFILEURL}}/orcid_icon.png} %定义ORCID图片
|
|
||||||
% \def\TMRLOGONAME{{{CLSFILEURL}}/tmr-logo.pdf} % 定义期刊LOGO图片
|
|
||||||
|
|
||||||
\usepackage{amsmath}
|
\usepackage{amsmath}
|
||||||
\usepackage[nopatch]{microtype}
|
\usepackage[nopatch]{microtype}
|
||||||
\usepackage{booktabs}
|
\usepackage{booktabs}
|
||||||
@@ -115,7 +112,7 @@ page={{stage_page}},%号
|
|||||||
}
|
}
|
||||||
|
|
||||||
//期刊简写
|
//期刊简写
|
||||||
$sAbbr = empty($aJournal['abbr']) ? $this->sAbbr : $aJournal['abbr'];
|
$sAbbr = $this->sAbbr;//empty($aJournal['abbr']) ? $this->sAbbr : $aJournal['abbr'];
|
||||||
$sAbbr = strtolower($sAbbr);
|
$sAbbr = strtolower($sAbbr);
|
||||||
$sJournalTitle = empty($aJournal['title']) ? '' : $aJournal['title'];
|
$sJournalTitle = empty($aJournal['title']) ? '' : $aJournal['title'];
|
||||||
//年
|
//年
|
||||||
@@ -125,13 +122,16 @@ page={{stage_page}},%号
|
|||||||
//期
|
//期
|
||||||
$iPeriod = empty($aJournalStage['stage_no']) ? 0 : $aJournalStage['stage_no'];
|
$iPeriod = empty($aJournalStage['stage_no']) ? 0 : $aJournalStage['stage_no'];
|
||||||
//页
|
//页
|
||||||
$sPage = empty($aJournalStage['stage_page']) ? '' : $aJournalStage['stage_page'];
|
$sPage = empty($aProductionArticle['npp']) ? '' : $aProductionArticle['npp'];
|
||||||
|
|
||||||
//期刊web
|
//期刊web
|
||||||
$sWebsite = empty($aJournal['website']) ? $this->sWebsite : $aJournal['website'];
|
$sWebsite = empty($aJournal['website']) ? $this->sWebsite : $aJournal['website'];
|
||||||
$aSearch = ['{{journal_abbr}}' => $sAbbr,'{{stage_year}}' => $iYear,'{{stage_vol}}' => $iVolume,'{{stage_no}}' => $iPeriod,'{{stage_page}}' => $sPage,'{{website}}' => $sWebsite,'{{journal_title}}' => $sJournalTitle];
|
$aSearch = ['{{journal_abbr}}' => $sAbbr,'{{stage_year}}' => $iYear,'{{stage_vol}}' => $iVolume,'{{stage_no}}' => $iPeriod,'{{stage_page}}' => $sPage,'{{website}}' => $sWebsite,'{{journal_title}}' => $sJournalTitle];
|
||||||
|
|
||||||
//获取DOI
|
//获取DOI
|
||||||
|
if(!empty($aProductionArticle['doi'])){
|
||||||
|
$aProductionArticle['doi'] = '10.53388/'.trim($aProductionArticle['doi'],'/');
|
||||||
|
}
|
||||||
$aSearch['{{doi}}'] = empty($aProductionArticle['doi']) ? '' : $aProductionArticle['doi'];
|
$aSearch['{{doi}}'] = empty($aProductionArticle['doi']) ? '' : $aProductionArticle['doi'];
|
||||||
|
|
||||||
//获取作者信息
|
//获取作者信息
|
||||||
@@ -175,7 +175,10 @@ page={{stage_page}},%号
|
|||||||
$aSearch['{{pub_date}}'] = empty($aProductionArticle['pub_date']) ? '' : $aProductionArticle['pub_date'];
|
$aSearch['{{pub_date}}'] = empty($aProductionArticle['pub_date']) ? '' : $aProductionArticle['pub_date'];
|
||||||
|
|
||||||
//获取编辑信息
|
//获取编辑信息
|
||||||
$aSearch['{{executive_editor}}'] = empty($aUser['realname']) ? '' : '\Executiveeditor{'.$this->dealContent($aUser['realname']).'}';
|
$executive_editor = empty($aProductionArticle['executive_editor']) ? '' : '\Executiveeditor{'.$this->dealContent($aProductionArticle['executive_editor']).'}';
|
||||||
|
$executive_editor_realname = empty($aUser['realname']) ? '' : '\Executiveeditor{'.$this->dealContent($aUser['realname']).'}';
|
||||||
|
$executive_editor = empty($executive_editor) ? $executive_editor_realname : $executive_editor;
|
||||||
|
$aSearch['{{executive_editor}}'] = $executive_editor;
|
||||||
|
|
||||||
//摘要替换
|
//摘要替换
|
||||||
$sAbstract = empty($aProductionArticle['abstract']) ? '' : $this->dealContent($aProductionArticle['abstract']);
|
$sAbstract = empty($aProductionArticle['abstract']) ? '' : $this->dealContent($aProductionArticle['abstract']);
|
||||||
|
|||||||
Reference in New Issue
Block a user