예제 #1
0
					<?php 
        echo $taxonManager->getFamily();
        ?>
				</div>
		<?php 
        $vernStr = $taxonManager->getVernacularStr();
        if ($vernStr) {
            ?>
			<div id='vernaculars' style='margin-left:10px;margin-top:0.5em;font-size:130%;' title='Common Names'>
				<?php 
            echo $vernStr;
            ?>
			</div>
			<?php 
        }
        $synStr = $taxonManager->getSynonymStr();
        if ($synStr) {
            echo "\t<div id='synonyms' style='margin-left:20px;margin-top:0.5em;' title='Synonyms'>[";
            echo $synStr;
            echo "]</div>\n";
        }
        if (!$taxonManager->echoImages(0, 1, 0)) {
            echo "<div class='image' style='width:260px;height:260px;border-style:solid;margin-top:5px;margin-left:20px;text-align:center;'>";
            if ($isEditor) {
                echo "<a href='admin/tpeditor.php?category=imageadd&tid=" . $taxonManager->getTid() . "'><b>Add an Image</b></a>";
            } else {
                echo "<br/><br/><br/><br/><br/><br/>Images<br/>not yet<br/>available";
            }
            echo "</div>";
        }
        ?>