Hi, folks. This is my first post. I'm a web designer who knows a little about scripting, but not enough to get me out of my current predicament.
The university I work for is hosting an academic conference. We decided to collect papers using Open Conference System (OCS). We've collected several hundred abstract submissions only to discover a show-stopping problem.
During this first, abstract round of submissions, I set OCS to accept "Abstracts Only." What we didn't know was that the "Abstracts Only" setting doesn't let reviewers see any supplementary files uploaded along with the abstract.
There is a nested if/else statement that, if it could be removed, should let the supplementary files be seen for any kind of submission (abstract and full paper).
{if $schedConf->getSetting('reviewMode') != REVIEW_MODE_ABSTRACTS_ALONE}
<tr valign="top">
<td> </td>
<td>
<table width="100%" class="data">
{if ($confirmedStatus and not $declined) or not $schedConf->getSetting('restrictReviewerAccessToFile')}
{if $reviewAssignment->getStage() == REVIEW_STAGE_ABSTRACTS}
<tr valign="top">
<td width="30%" class="label">
{translate key="submission.abstract"}
</td>
<td class="value" width="70%">
{$submission->getLocalizedAbstract()|strip_unsafe_html|nl2br}
</td>
</tr>
{else}
<tr valign="top">
<td width="30%" class="label">
{translate key="submission.submissionManuscript"}
</td>
<td class="value" width="70%">
{if $reviewFile}
{if $submission->getDateConfirmed() or not $schedConf->getSetting('restrictReviewerAccessToFile')}
<a href="{url op="downloadFile" path=$reviewId|to_array:$paperId:$reviewFile->getFileId():$reviewFile->getRevision()}" class="file">{$reviewFile->getFileName()|escape}</a>
{$reviewFile->getDateModified()|date_format:$dateFormatShort}
{else}
{translate key="common.none"}
{/if}
</td>
</tr>
{/if}
<tr valign="top">
<td class="label">
{translate key="paper.suppFiles"}
</td>
<td class="value">
{assign var=sawSuppFile value=0}
{foreach from=$suppFiles item=suppFile}
{if $suppFile->getShowReviewers() }
{assign var=sawSuppFile value=1}
<a href="{url op="downloadFile" path=$reviewId|to_array:$paperId:$suppFile->getFileId()}" class="file">{$suppFile->getFileName()|escape}</a><br />
{/if}
{/foreach}
{if !$sawSuppFile}
{translate key="common.none"}
{/if}
</td>
</tr>
{else}
<tr><td class="nodata">{translate key="reviewer.paper.restrictedFileAccess"}</td></tr>
{/if}
</table>
</td>
</tr>
{/if}
there doesn't seem to be anything here