Topics sucessfully updated

'; } } if (isset($_REQUEST['install']) && ($_REQUEST['install'] == 1)) { printHeader($hdr,$hdrfn); print '

Step 4 of 5: Set Topics

'; } else { print 'Note that if submissions have been made or reviewers signed up already, you should only add new topics to the end of the list or change a topic\'s name to clarify it. If you want to delete a topic in the middle of the list, replace its name with N/A or something authors and reviewers will know not to select.

'; } print '

Topics are used when making automated review assignments. Both authors and reviewers are asked to select topics. Enter a sequential list of topics below. When you click on Set Topics, the list of topics will be processed until the first blank topic is reached. The Short Name field is optional; if present, it is used on pages where a long topic name may not display well.

'; if (isset($_REQUEST['install']) && ($_REQUEST['install'] == 1)) { print ''; } print ' '; // Display existing topics $q = "SELECT * FROM " . OCC_TABLE_TOPIC; $r = ocsql_query($q) or err("Unable to query topics - ".mysql_errno()); $topicNum = mysql_num_rows($r); $tAR = array(); $row=1; while ($l=mysql_fetch_array($r)) { print ' '; if ($row==1) { $row=2; } else { $row=1; } } // Display additional rows $addRows = ((($topicNum + 5) < $minTopics) ? ($minTopics - $topicNum) : 5); for ($i=1; $i <= $addRows; $i++) { $topicNum++; print ' '; if ($row==1) { $row=2; } else { $row=1; } } print '
Topic IDTopic NameShort Name (^20 chars)
' . $l['topicid'] . '
' . $topicNum . '

Allow authors to select multiple submission topics? ' . generateRadioOptions('OC_multipleSubmissionTopics', $yesNoAR, $OC_configAR['OC_multipleSubmissionTopics']) . '
Select Yes to allow multiple topics, or No to limit author to one topic.

Display topics alphabetically? ' . generateRadioOptions('OC_topicDisplayAlpha', $yesNoAR, $OC_configAR['OC_topicDisplayAlpha']) . '
Select Yes to display topics alphabetically on submission and committee sign up forms, or No to use order above.

'; printFooter(); ?>