Exemple #1
0
					<?php 
    }
    ?>
			</fieldset>
		</form>
		<?php 
} else {
    if ($isAdmin) {
        if ($action == 'Create/Refresh Darwin Core Archive(s)') {
            echo '<ul>';
            $dwcaManager->setVerbose(1);
            $dwcaManager->setLimitToGuids(true);
            $dwcaManager->batchCreateDwca($_POST['coll']);
            echo '</ul>';
            if ($publishGBIF) {
                $collManager->batchTriggerGBIFCrawl($_POST['coll']);
            }
        }
        ?>
			<div id="dwcaadmindiv" style="margin:10px;display:<?php 
        echo $emode ? 'block' : 'none';
        ?>
;" >
				<form name="dwcaadminform" action="datapublisher.php" method="post" onsubmit="return verifyDwcaAdminForm(this)">
					<fieldset style="padding:15px;">
						<legend><b>Publish / Refresh DWCA Files</b></legend>
						<div style="margin:10px;">
							&nbsp;&nbsp;&nbsp;&nbsp;
							<input name="collcheckall" type="checkbox" value="" onclick="checkAllColl(this)" /> Select/Deselect All<br/> 
							<?php 
        $collArr = $dwcaManager->getCollectionList();