<input type='hidden' name='speckeypattern' value='<?php 
                echo $specManager->getSpecKeyPattern();
                ?>
' />
											<input name='idigbiofile' id='idigbiofile' type='file' size='70' value="Choose image alliance output file" />
										</div>
										<?php 
            } elseif ($projectType == 'iplant') {
                ?>
										<div style="margin-top:10px">
											<div style="width:140px;float:left;">
												<b>Last Run Date:</b> 
											</div>
											<div style="float:left;"> 
												<?php 
                echo $specManager->getLastRunDate() ? $specManager->getLastRunDate() : 'no run date';
                ?>
											</div>
										</div>
										<?php 
            }
            ?>
									<div style="margin-top:10px;clear:both;">
										<div style="width:140px;float:left;">
											<b>Pattern match term:</b> 
										</div>
										<div style="float:left;"> 
											<?php 
            echo $specManager->getSpecKeyPattern();
            ?>
										</div>
Esempio n. 2
0
		<div id="innertext">
			<h2><?php 
echo $specManager->getCollectionName();
?>
</h2>
			<?php 
if ($isEditor) {
    $specManager->setProjVariables($spprid);
    if ($action == 'Process Images') {
        if ($specManager->getProjectType() == 'iplant') {
            $imageProcessor = new ImageProcessor();
            echo '<ul>';
            $imageProcessor->setLogMode(3);
            $imageProcessor->setCollid($collid);
            $imageProcessor->setSpprid($spprid);
            $imageProcessor->processIPlantImages($specManager->getSpecKeyPattern(), $specManager->getLastRunDate());
            echo '</ul>';
        } else {
            echo '<div style="padding:15px;">' . "\n";
            $imageProcessor = new ImageBatchProcessor();
            $imageProcessor->setLogMode(1);
            $imageProcessor->initProcessor();
            $imageProcessor->setCollArr(array($collid => array('pmterm' => $specManager->getSpecKeyPattern())));
            $imageProcessor->setDbMetadata(1);
            $imageProcessor->setSourcePathBase($specManager->getSourcePath());
            $imageProcessor->setTargetPathBase($specManager->getTargetPath());
            $imageProcessor->setImgUrlBase($specManager->getImgUrlBase());
            $imageProcessor->setServerRoot($serverRoot);
            if ($specManager->getWebPixWidth()) {
                $imageProcessor->setWebPixWidth($specManager->getWebPixWidth());
            }
Esempio n. 3
0
									</div>
									<?php 
            if ($projectType == 'idigbio') {
                ?>
										<div style="font-weight:bold;">Select iDigBio Image Appliance output file</div>
										<div style="" title="Upload output file created by iDigBio Image Upload Appliance here.">
											<input type='hidden' name='MAX_FILE_SIZE' value='20000000' />
											<input type='hidden' name='speckeypattern' value='<?php 
                echo $specManager->getSpecKeyPattern();
                ?>
' />
											<input name='idigbiofile' id='idigbiofile' type='file' size='70' value="Choose image alliance output file" />
										</div>
										<?php 
            } elseif ($projectType == 'iplant') {
                $lastRunDate = $specManager->getLastRunDate() ? $specManager->getLastRunDate() : 'no run date';
                ?>
										<div style="margin-top:10px">
											<div style="width:200px;float:left;">
												<b>Last Run Date:</b> 
											</div>
											<div style="float:left;"> 
												<?php 
                echo $lastRunDate;
                ?>
											</div>
										</div>
										<div style="margin-top:10px;clear:both;">
											<div style="width:200px;float:left;">
												<b>Processing start date:</b> 
											</div>