sanitizeInt($tid); $taxAuthId = $taxonManager->sanitizeInt($taxAuthId); $clid = $taxonManager->sanitizeInt($clid); $pid = $taxonManager->sanitizeInt($pid); $lang = htmlspecialchars($lang, ENT_COMPAT | ENT_HTML401 | ENT_SUBSTITUTE); $taxaLimit = $taxonManager->sanitizeInt($taxaLimit); $page = $taxonManager->sanitizeInt($page); if($taxAuthId) $taxonManager->setTaxAuthId($taxAuthId); if($tid) $taxonManager->setTid($tid); elseif($taxonValue){ $tidArr = $taxonManager->taxonSearch($taxonValue); $tid = key($tidArr); //Need to add code that allows user to select target taxon when more than one homonym is returned } $taxonManager->setLanguage($lang); if($pid === '' && isset($DEFAULT_PROJ_ID) && $DEFAULT_PROJ_ID) $pid = $DEFAULT_PROJ_ID; if($redirect = $taxonManager->getRedirectLink()){ header('Location: '.$redirect); exit; } $isEditor = false; if($SYMB_UID){ if($IS_ADMIN || array_key_exists('TaxonProfile',$USER_RIGHTS)){ $isEditor = true; } } ?>
getTid(), ENT_COMPAT | ENT_HTML401 | ENT_SUBSTITUTE) . '" title="' . htmlspecialchars($LANG['EDIT_TAXON_DATA'], ENT_COMPAT | ENT_HTML401 | ENT_SUBSTITUTE) . '">';
echo '
getLinkArr()){
?>
getParentTid().'&clid=' . htmlspecialchars($clid, ENT_COMPAT | ENT_HTML401 | ENT_SUBSTITUTE) . '&pid=' . htmlspecialchars($pid, ENT_COMPAT | ENT_HTML401 | ENT_SUBSTITUTE) . '&taxauthid='.$taxAuthId;
echo '
![]() |
|
' . $LANG['FAMILY'] . ': ' . $taxonManager->getTaxonFamily(); ?>
getVernaculars()){
$primerArr = array();
$targetLang = $lang;
if(!array_key_exists($targetLang, $vernArr)) $targetLang = 'en';
if(array_key_exists($targetLang, $vernArr)){
$primerArr = $vernArr[$targetLang];
unset($vernArr[$targetLang]);
}
else $primerArr = array_shift($vernArr);
$vernStr = array_shift($primerArr);
if($primerArr || $vernArr){
$vernStr.= ', ' . $LANG['MORE'] . '...';
$vernStr.= ' ';
}
?>
[';
echo $synStr;
echo '] ';
}
if(!$taxonManager->echoImages(0,1,0)){
echo '';
if($isEditor){
echo '' . htmlspecialchars($LANG['ADD_IMAGE'], ENT_COMPAT | ENT_HTML401 | ENT_SUBSTITUTE) . '';
}
else{
echo $LANG['IMAGE_NOT_AVAILABLE'];
}
echo ' ';
}
?>
|
getDescriptionTabs(); ?> |
getGoogleStaticMap();
else $url = $CLIENT_ROOT.'/images/mappoint.png';
if($OCCURRENCE_MOD_IS_ACTIVE && $taxonManager->getDisplayLocality()){
$gAnchor = "openMapPopup('" . $taxonManager->getTid() . "'," . ($clid ? $clid:0) . ','. (!empty($GOOGLE_MAP_KEY) ? 'false' : 'true') . ")";
}
if($mapSrc = $taxonManager->getMapArr()){
$url = array_shift($mapSrc);
$aUrl = $url;
}
if($url){
echo '
getImageCount();
$tabText = $LANG['TOTAL_IMAGES'];
if($imgCnt == 100){
$tabText = $LANG['INITIAL_IMAGES'] . '';
if($gAnchor){
echo '';
}
elseif($aUrl){
echo '';
}
echo ' ";
}
$taxonManager->echoImages(1);
?>
' . $LANG['OPEN_MAP'] . ''; echo " - - - - - '; $tabText .= '' . htmlspecialchars($LANG['VIEW_ALL_IMAGES'], ENT_COMPAT | ENT_HTML401 | ENT_SUBSTITUTE) . ''; } ?> |
getTaxonName();
if($taxonRank > 140){
$parentLink = "index.php?tid=" . $taxonManager->getParentTid() . "&clid=" . htmlspecialchars($clid, ENT_COMPAT | ENT_HTML401 | ENT_SUBSTITUTE) . "&pid=".$pid."&taxauthid=".$taxAuthId;
$displayName .= ' ';
$displayName .= '
![]() ' . $displayName . ' ';
?>
|
|
140) echo ' ' . $LANG['FAMILY'] . ': ' . $taxonManager->getTaxonFamily() . ' ';
if(!$taxonManager->echoImages(0,1,0)){
echo "";
if($isEditor){
echo '' . htmlspecialchars($LANG['ADD_IMAGE'], ENT_COMPAT | ENT_HTML401 | ENT_SUBSTITUTE) . '';
}
else{
echo $LANG['IMAGE_NOT_AVAILABLE'];
}
echo ' ';
}
?>
|
getDescriptionTabs(); ?> |
getSppArray($page, $taxaLimit, $pid, $clid)){ ?> |