' . //T: Submission Title oc_('Title') . ': ' . safeHTMLstr($l['title']) . '
' . //T: Submission Status oc_('Status') . ': ' . (empty($l['accepted']) ? oc_('Pending') : safeHTMLstr(oc_($l['accepted']))) . '
'; if (oc_hookSet('author-status')) { foreach ($GLOBALS['OC_hooksAR']['author-status'] as $v) { require_once $v; } } // display review comments to author if (!empty($l['accepted'])) { $q2 = "SELECT * FROM `" . OCC_TABLE_PAPERREVIEWER . "` WHERE `paperid`='" . safeSQLstr($_POST['pid']) . "' ORDER BY `reviewerid`"; $r2 = ocsql_query($q2) or err('Unable to retrieve review data'); if (ocsql_num_rows($r2) > 0) { // Fields to display $displayFieldAR = array(); foreach ($OC_reviewQuestionsAR as $fid => $far) { if (isset($far['showauthor']) && $far['showauthor']) { $displayFieldAR[] = $fid; } } if (count($displayFieldAR) > 0) { $rcount = 1; while ($l2 = ocsql_fetch_assoc($r2)) { $reviewInfo = ''; foreach ($displayFieldAR as $fid) { if (!empty($l2[$fid])) { $reviewInfo .= '' . safeHTMLstr(oc_($OC_reviewQuestionsAR[$fid]['short'])) . ': ' . nl2br(safeHTMLstr(oc_getFieldValue($OC_reviewQuestionsAR, $l2, $fid))) . "
\n"; } } if (!empty($reviewInfo)) { print '' . safeHTMLstr(sprintf(oc_('Reviewer %s'), $rcount++)) . ':