OCS smarty 設定值(論文)

網路與網站相關議題和知識
回覆文章
dtchang
Site Admin
文章: 91
註冊時間: 2017-01-22, 16:54

OCS smarty 設定值(論文)

文章 dtchang » 2018-03-23, 23:59

註在樣版中引用常數的方式如為 $smarty.const.REVIEW_STAGE_PRESENTATION
/ocs/classes/paper/Paper.inc.php

AuthorSubmission::getSubmissionStatus() 或 TrackDirectorSubmission::getSubmissionStatus() 傳回相同的結果(修正時需時修正)
getSubmissionStatus()傳回以下之一:
(STATUS_INCOMPLETE, STATUS_ARCHIVED, STATUS_DECLINED,
STATUS_QUEUED_UNASSIGNED, STATUS_QUEUED_REVIEW,
STATUS_QUEUED_EDITING)
永遠不會傳回 STATUS_QUEUED 三種狀況

// Submission status constants
// $submission->getSubmissionStatus()
define('STATUS_ARCHIVED', 0); //歸檔 (含收錄和拒絕)
define('STATUS_QUEUED', 1);
define('STATUS_PUBLISHED', 3); //發表
define('STATUS_DECLINED', 4); //拒絕

// AuthorSubmission::getSubmissionStatus will return one of these in place of QUEUED:
define ('STATUS_QUEUED_UNASSIGNED', 5);
define ('STATUS_QUEUED_REVIEW', 6);
define ('STATUS_QUEUED_EDITING', 7); //等主編編修?
define ('STATUS_INCOMPLETE', 8);

// $submission->getCurrentStage()
define ('REVIEW_STAGE_ABSTRACT', 1);
define ('REVIEW_STAGE_PRESENTATION', 2);

/* These constants are used as search fields for the various submission lists */
define('SUBMISSION_FIELD_AUTHOR', 1);
define('SUBMISSION_FIELD_DIRECTOR', 2);
define('SUBMISSION_FIELD_TITLE', 3);
define('SUBMISSION_FIELD_REVIEWER', 4);

define('SUBMISSION_FIELD_DATE_SUBMITTED', 5);

// Paper RT comments
define ('COMMENTS_TRACK_DEFAULT', 0);
define ('COMMENTS_DISABLE', 1);
define ('COMMENTS_ENABLE', 2);

回覆文章