Exemplo n.º 1
0
            $imgArr[$imgCnt]['imgid'] = $imgId;
            $imgArr[$imgCnt]['web'] = $iUrl;
            if ($i2['origurl']) {
                $lgUrl = $i2['origurl'];
                if ($imgUrlPrefix && substr($lgUrl, 0, 4) != 'http') {
                    $lgUrl = $imgUrlPrefix . $lgUrl;
                }
                $imgArr[$imgCnt]['lg'] = $lgUrl;
            }
            $imgCnt++;
        }
        $fragArr = $occManager->getRawTextFragments();
    }
    $isLocked = false;
    if ($occId) {
        $isLocked = $occManager->getLock();
    }
} else {
    header('Location: ../../profile/index.php?refurl=../collections/editor/occurrenceeditor.php?' . $_SERVER['QUERY_STRING']);
}
?>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=<?php 
echo $charset;
?>
">
	<title><?php 
echo $defaultTitle;
?>
 Occurrence Editor</title>