Ejemplo n.º 1
0
							<input name="notes" type="text" value="" style="width:500px;" />
						</div>
						<div style="margin:10px;">
							<input name="omenid" type="hidden" value="<?php 
    echo $omenId;
    ?>
" />
							<input name="formsubmit" type="submit" value="Add Specimen Link" /> 
						</div>
					</fieldset>
				</form>
			</div>
			<hr/> 
			<div style="margin:15px 10px 0px 0px;">
				<?php 
    $occurArr = $exsManager->getExsOccArr($omenId);
    if ($exsOccArr = array_shift($occurArr)) {
        ?>
					<table style="width:90%;">
						<?php 
        foreach ($exsOccArr as $k => $occArr) {
            ?>
							<tr>
								<td>
									<div style="font-weight:bold;"> 
										<?php 
            echo $occArr['collname'];
            ?>
									</div>
									<div style="">
										<div style="">
Ejemplo n.º 2
0
        }
        ?>
							</select>
							<input name="collid" type="hidden" value="<?php 
        echo $collid;
        ?>
" />
						</div>
					</fieldset>
				</form>
				<?php 
    } else {
        echo '<div style="margin:20px;font-size:120%;"><b>The system does not yet have occurrence linked to exsiccati that can be transferred</b></div>';
    }
} elseif ($formSubmit == 'Show Exsiccati Table') {
    $occurArr = $exsManager->getExsOccArr($ometid, 'ometid');
    if ($occurArr) {
        $exsMetadata = $exsManager->getTitleObj($ometid);
        $exstitle = $exsMetadata['title'] . ' [' . $exsMetadata['editor'] . ']';
        echo '<div style="font-size:120%;"><b>' . $exstitle . '</b></div>';
        ?>
				<form name="exstableform" method="post" action="batchimport.php" onsubmit="return verifyExsTableForm(this)">
					<div style="margin:10px 0px;">
						Enter your catalog numbers in field associated with record and then transfer into your collection or download as a spreadsheet (CSV) 
						for import into a local database application.   
					</div>
					<table class="styledtable">
						<tr><th><input name="selectAllCB" type="checkbox" onchange="selectAll(this)" /></th><th>Catalog Number</th><th>Exsiccati #</th><th>Details</th></tr>
						<?php 
        foreach ($occurArr as $omenid => $occArr) {
            //Sort by preferred source collections and ranking