Пример #1
0
        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>";
        }
        ?>
			</td>
			<td class="desc">
				<?php 
        //Middle Right Section (Description section)
        if ($descriptions = $taxonManager->getDescriptions()) {
            ?>
Пример #2
0
        if ($vernStr) {
            ?>
					<div id="vernaculars" style="margin-left:10px;margin-top:0.5em;font-size:130%;">
						<?php 
            echo $vernStr;
            ?>
					</div>
					<?php 
        }
        $synStr = $taxonManager->getSynonymStr();
        if ($synStr) {
            echo "\t<div id='synonyms' style='margin-left:20px;margin-top:0.5em;' title='" . $LANG['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>' . $LANG['ADD_IMAGE'] . '</b></a>';
            } else {
                echo $LANG['IMAGE_NOT_AVAILABLE'];
            }
            echo '</div>';
        }
        ?>
			</td>
			<td class="desc">
				<?php 
        //Middle Right Section (Description section)
        if ($descArr = $taxonManager->getDescriptions()) {
            ?>