示例#1
0
if ($action == "Download List") {
    $clManager->downloadChecklistCsv();
    exit;
}
$editable = 0;
if ($isAdmin || array_key_exists("SurveyAdmin", $userRights) && in_array($surveyId, $userRights["SurveyAdmin"])) {
    $editable = 1;
}
if ($editable) {
    //Submit checklist MetaData edits
    if ($action == "Submit Changes") {
        $clManager->editMetaData();
    }
}
$mdArray = $clManager->getMetaData();
$taxaArray = $clManager->getTaxaList($pageNumber);
?>

<html>

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=<?php 
echo $charset;
?>
"/>
	<title><?php 
echo $defaultTitle;
?>
 Survey Checklist: <?php 
echo $clManager->getSurveyName();
?>