Example #1
0
			<div style='float:left;font-size:16px;margin-left:10px;'>
				<span style='font-weight:bold;color:#990000;'>
					<i><?php 
        echo $spDisplay;
        ?>
</i>
				</span> 
				<?php 
        echo $taxonManager->getAuthor();
        ?>
				<?php 
        $parentLink = "index.php?taxon=" . $taxonManager->getParentTid() . "&cl=" . $taxonManager->getClid() . "&proj=" . $projValue . "&taxauthid=" . $taxAuthId;
        echo "&nbsp;<a href='" . $parentLink . "'><img border='0' height='10px' src='../images/toparent.png' title='Go to Parent' /></a>";
        //If submitted tid does not equal accepted tid, state that user will be redirected to accepted
        if ($taxonManager->getTid() != $taxonManager->getSubmittedTid() && $taxAuthId) {
            echo "<span style='font-size:90%;margin-left:25px;'> (redirected from: <i>" . $taxonManager->getSubmittedSciName() . "</i>)</span>";
        }
        ?>
			</div>
			<?php 
        if ($isEditor) {
            ?>
				<div style="float:right;">
					<a href='admin/tpeditor.php?tid=<?php 
            echo $taxonManager->getTid();
            ?>
' title='Edit Taxon Data'>
						<img style='border:0px;' src='../images/edit.png'/>
					</a>
				</div>
				<?php 
Example #2
0
			<div style='float:left;font-size:16px;margin-left:10px;'>
				<span style='font-weight:bold;color:#990000;'>
					<i><?php 
        echo $spDisplay;
        ?>
</i>
				</span> 
				<?php 
        echo $taxonManager->getAuthor();
        ?>
				<?php 
        $parentLink = "index.php?taxon=" . $taxonManager->getParentTid() . "&cl=" . $taxonManager->getClid() . "&proj=" . $projValue . "&taxauthid=" . $taxAuthId;
        echo "&nbsp;<a href='" . $parentLink . "'><img border='0' height='10px' src='../images/toparent.png' title='Go to Parent' /></a>";
        //If submitted tid does not equal accepted tid, state that user will be redirected to accepted
        if ($taxonManager->getTid() != $taxonManager->getSubmittedTid() && $taxAuthId) {
            echo '<span style="font-size:90%;margin-left:25px;"> (' . $LANG['REDIRECT'] . ': <i>' . $taxonManager->getSubmittedSciName() . '</i>)</span>';
        }
        ?>
			</div>
			<?php 
        if ($ambiguous) {
            $synLinkStr = '';
            $explanationStr = '';
            foreach ($synonymArr as $synTid => $sName) {
                $synLinkStr .= '<a href="index.php?taxon=' . $synTid . '&taxauthid=' . $taxAuthId . '&cl=' . $clValue . '&proj=' . $projValue . '&lang=' . $lang . '">' . $sName . '</a>, ';
            }
            $synLinkStr = substr($synLinkStr, 0, -2);
            if ($acceptedName) {
                $explanationStr = $LANG['AMB_ACCEPTED'];
            } else {
                $explanationStr = $LANG['AMB_UNACCEPTED'];