Beispiel #1
0
	</style>
</head>
<body>
	<?php 
$displayLeftMenu = isset($taxa_admin_tpeditorMenu) ? $taxa_admin_tpeditorMenu : false;
include $serverRoot . '/header.php';
if (isset($taxa_admin_tpeditorCrumbs)) {
    echo "<div class='navpath'>";
    echo $taxa_admin_tpeditorCrumbs;
    echo " <b>Taxon Profile Editor</b>";
    echo "</div>";
}
?>
	<div id="innertext">
		<?php 
if ($tEditor->getTid()) {
    if ($editable) {
        //If submitted tid does not equal accepted tid, state that user will be redirected to accepted
        if ($tEditor->getSubmittedTid()) {
            echo "<div style='font-size:16px;margin-top:5px;margin-left:10px;font-weight:bold;'>Redirected from: <i>" . $tEditor->getSubmittedSciName() . "</i></div>";
        }
        //Display Scientific Name and Family
        echo "<div style='font-size:16px;margin-top:15px;margin-left:10px;'><a href='../index.php?taxon=" . $tEditor->getTid() . "' style='color:#990000;text-decoration:none;'><b><i>" . $tEditor->getSciName() . "</i></b></a> " . $tEditor->getAuthor();
        //Display Parent link
        if ($tEditor->getRankId() > 140) {
            echo "&nbsp;<a href='tpeditor.php?tid=" . $tEditor->getParentTid() . "'><img border='0' height='10px' src='../../images/toparent.png' title='Go to Parent' /></a>";
        }
        echo "</div>\n";
        //Display Family
        echo "<div id='family' style='margin-left:20px;margin-top:0.25em;'><b>Family:</b> " . $tEditor->getFamily() . "</div>\n";
        if ($statusStr) {