コード例 #1
0
ファイル: index.php プロジェクト: urban011/ut-prc-symbiota
">
								<?php 
            echo $titleStr;
            ?>
							</a>
						</li>
						<?php 
        }
    } else {
        echo '<div style="margin:20px;font-size:120%;">There are no exsiccati matching your request</div>';
    }
    ?>
			</ul>
			<?php 
} elseif ($ometId) {
    $exsArr = $exsManager->getTitleObj($ometId);
    ?>
			<div style="font-weight:bold;font-size:120%;">
				<?php 
    if ($isEditor) {
        ?>
					<div style="float:right;">
						<span style="cursor:pointer;" onclick="toggleExsEditDiv('exseditdiv');" title="Edit Exsiccati">
							<img style="border:0px;" src="../../images/edit.png" />
						</span>
						<span style="cursor:pointer;" onclick="toggleNumAddDiv('numadddiv');" title="Add Exsiccati Number">
							<img style="border:0px;" src="../../images/add.png" />
						</span>
					</div>
					<?php 
    }
コード例 #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
            $prefOcc = array();
            if ($source1 || $source2) {