natcasesort($species); foreach ($species as $tid => $disName) { $newSpLink = '../taxa/index.php?taxon=' . $tid . "&cl=" . ($dataManager->getClType() == "static" ? $dataManager->getClName() : ""); echo "<tr><td><div style='margin:0px 5px 0px 10px;'><a href='" . $newSpLink . "' target='_blank'><i>{$disName}</i></a></div></td>\n"; echo "<td align='right'>\n"; if ($editable) { echo "<a href='tools/editor.php?tid={$tid}&lang=" . $defaultLang . "' target='_blank'><img src='../images/edit.png' width='15px' border='0' title='" . $LANG['EDITMORP'] . "' /></a>\n"; } echo "</td></tr>\n"; } } ?> </table> <?php } else { echo $dataManager->getIntroHtml(); } ?> </td> </tr> </table> <?php if (array_key_exists("crumburl", $_REQUEST)) { echo "<input type='hidden' name='crumburl' value='" . $_REQUEST["crumburl"] . "' />"; } if (array_key_exists("crumbtitle", $_REQUEST)) { echo "<input type='hidden' name='crumbtitle' value='" . $_REQUEST["crumbtitle"] . "' />"; } ?> </form> </div>