Additional OpenConf functionality is available through modules. In order to use a module, you must first install it, and then activate it. If a module is installed, but not active, its data will still be preserved. Uninstalling a module will result in the module's data being deleted.
The Module Name link provides access to the module's configuration settings.
The Version link provides information on the module.
• Active
o Disabled
x Not Installed
$mAR) {
$moduleNamesAR[$mID] = $mAR['name'];
}
asort($moduleNamesAR);
foreach ($moduleNamesAR as $mID => $mName) {
// is module activate or disabled?
if (in_array($mID,$OC_activeModulesAR)) {
$color = '#0f0';
$symbol = '•';
$action = 'deactivate';
} else {
$color = '#f99';
$symbol = 'o';
$action = 'activate';
}
// Is module configurable?
if (is_file($mID . '/settings.inc')) {
$configURL = 'request.php?module=' . $mID . '&action=settings.inc';
} else {
$configURL = '';
}
// Readme?
if (preg_match("/^oc_/",$mID)&&(!preg_match("/^(\w+) /", constant('OCC_LI'.'CENSE_T'.'YPE'), $m)||
!preg_match("/\b" . strtolower($m[1]) . "\b/", $OC_modulesAR[$mID]['sup'.'ported']))){continue;}
if (is_file($mID . '/README.html')) {
$version = '' . safeHTMLstr($OC_modulesAR[$mID]['version']) . '';
} else {
$version = safeHTMLstr($OC_modulesAR[$mID]['version']);
}
print '' . $symbol . ' | ' . (empty($configURL) ? safeHTMLstr($OC_modulesAR[$mID]['name']) : ('' . safeHTMLstr($OC_modulesAR[$mID]['name']) . '')) . ' | ' . $version . ' | ' . (($OC_modulesAR[$mID]['developer'] == 'OpenConf') ? 'OpenConf' : 'Third-Party') . ' | ' . safeHTMLstr($OC_modulesAR[$mID]['description']) . ' | ' . (empty($configURL) ? ' | ' : ('config')) . '' . $action . ' | uninstall |
';
$row = $rowAR[$row];
}
// Get uninstalled modules
$uninstalledModulesAR = array();
if ($dh = opendir('./')) {
while (($dir = readdir($dh)) !== false) {
if ((filetype($dir) == 'dir') && !preg_match("/[\.\/]/",$dir) && is_file($dir . '/module.inc') && !oc_module_installed($dir) && oc_moduleValid($dir) && !in_array($dir, $deprecatedModuleAR)) {
require_once $dir . '/module.inc';
if (preg_match("/^oc_/",$dir)&&(!preg_match("/^(\w+) /", OCC_LICENSE_TYPE, $m)||
!preg_match("/\b" . strtolower($m[1]) . "\b/", $OC_modulesAR[$dir]['supported'])))
{unset($OC_modulesAR[$dir]);}else{$uninstalledModulesAR[] = $dir;}
}
}
}
// Show a break between uninstalled modules
if (!empty($moduleNamesAR) && !empty($uninstalledModulesAR)) {
print '
';
}
// Sort & display uninstalled modules
$moduleNamesAR = array();
foreach ($uninstalledModulesAR as $mID) {
if ((OCC_LICENSE != 'Public') || !preg_match("/^oc_/", $mID)) {
$moduleNamesAR[$mID] = $OC_modulesAR[$mID]['name'];
}
}
asort($moduleNamesAR);
$color = '#f33';
$symbol = 'x';
foreach ($moduleNamesAR as $mID => $mName) {
// Readme?
if (is_file($mID . '/README.html')) {
$version = '' . safeHTMLstr($OC_modulesAR[$mID]['version']) . '';
} else {
$version = safeHTMLstr($OC_modulesAR[$mID]['version']);
}
print '' . $symbol . ' | ' . safeHTMLstr($OC_modulesAR[$mID]['name']) . ' | ' . $version . ' | ' . (($OC_modulesAR[$mID]['developer'] == 'OpenConf') ? 'OpenConf' : 'Third-Party') . ' | ' . safeHTMLstr($OC_modulesAR[$mID]['description']) . ' | | | install |
';
$row = $rowAR[$row];
}
$plusModulesAR = array(
'Acceptance' => 'Provides Chair with the ability to change acceptance options',
'Adv. Assign' => 'Allows advocates to assign reviews',
'Bidding' => 'Bidding on papers by reviewers, and bid-based assignments',
'Discussion' => 'Online discussion (forum) for committee members',
'Proceedings' => 'Online proceedings',
'Rebuttal' => 'Author rebuttal of reviews, and reviewer rebuttal of author comments',
'Rev. Upload' => 'Reviewer file upload for assigned reviews (e.g., annotation, feedback)'
);
$proModulesAR = array(
'Custom Forms' => 'Customize submission and review forms',
'Copyright-ACM' => 'Provides export of submissions in ACM ICPS CSV format',
'Copyright-IEEE' => 'Provides author referral form to IEEE\'s electronic copyright system',
'MultiFile' => 'Multiple file type uploads',
'Plagiarism-Docoloc' => 'Docoloc plagiarism checking service<',
'Plagiarism-iThenticate' => 'CrossCheck and iThenticate plagiarism checking services',
'Program' => 'Online and mobile program building and display options',
'Sub. Payment' => 'Require payment for making a submission'
);
if (OCC_LICENSE == 'Public') {
$otherModulesAR = array_merge($plusModulesAR, $proModulesAR);
} elseif (defined('OCC_LICENSE_TYPE') && preg_match("/Plus/", OCC_LICENSE_TYPE)) {
$otherModulesAR = $proModulesAR;
} else {
$otherModulesAR = array();
}
if (count($otherModulesAR) > 0) {
ksort($otherModulesAR);
print '
';
foreach ($otherModulesAR as $k=>$v) {
print '' . $symbol . ' | ' . safeHTMLstr($k) . ' | | OpenConf | ' . safeHTMLstr($v) . ' | upgrade for access |
';
}
}
?>