예제 #1
0
            $dwcaManager->batchCreateDwca($_POST['coll']);
            echo '</ul>';
        }
        ?>
			<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();
        foreach ($collArr as $k => $v) {
            echo '<input name="coll[]" type="checkbox" value="' . $k . '" />' . $v . '<br/>';
        }
        ?>
						</div>
						<!-- 
						<div style="margin:10px;">
							<?php 
        $cSet = str_replace('-', '', strtolower($charset));
        ?>
							<input type="radio" name="cset" value="iso88591" <?php 
        echo $cSet == 'iso88591' ? 'checked' : '';
        ?>
 /> ISO-8859-1 (western)<br/>
							<input type="radio" name="cset" value="utf8" <?php