diff --git a/checklists/checklistmap.php b/checklists/checklistmap.php index 908f9b4903..22032d421e 100644 --- a/checklists/checklistmap.php +++ b/checklists/checklistmap.php @@ -34,6 +34,8 @@ $coordJson = json_encode($coords); $metaJson = json_encode($clMeta); +$shouldUseMinimalMapHeader = $SHOULD_USE_MINIMAL_MAP_HEADER ?? false; + ?> @@ -256,6 +258,9 @@ function openIndPU(occId){ +

setProj($pid); + +$shouldUseMinimalMapHeader = $SHOULD_USE_MINIMAL_MAP_HEADER ?? false; ?> @@ -129,7 +133,10 @@ function initialize(){ -

Checklist Map

+ +

Checklist Map

@@ -50,6 +54,11 @@ position: absolute; left: -10000px; } + + .minimal-header-margin{ + margin-top: 6rem; + } + +

Map Point Helper

-
+
diff --git a/collections/georef/georefclone.php b/collections/georef/georefclone.php index 788eea9464..f105e863fb 100644 --- a/collections/georef/georefclone.php +++ b/collections/georef/georefclone.php @@ -3,6 +3,8 @@ include_once($SERVER_ROOT.'/classes/OccurrenceGeorefTools.php'); include_once($SERVER_ROOT.'/content/lang/collections/georef/georefclone.' . $LANG_TAG . '.php'); header("Content-Type: text/html; charset=".$CHARSET); +if($LANG_TAG == 'en' || !file_exists($SERVER_ROOT.'/content/lang/header.' . $LANG_TAG . '.php')) include_once($SERVER_ROOT . '/content/lang/header.en.php'); +else include_once($SERVER_ROOT . '/content/lang/header.' . $LANG_TAG . '.php'); $country = array_key_exists('country',$_REQUEST)?$_REQUEST['country']:''; $state = array_key_exists('state',$_REQUEST)?$_REQUEST['state']:''; @@ -13,6 +15,9 @@ $collid = array_key_exists('collid',$_REQUEST)?$_REQUEST['collid']:0; $submitAction = array_key_exists('submitaction',$_POST)?$_POST['submitaction']:''; +$shouldUseMinimalMapHeader = $SHOULD_USE_MINIMAL_MAP_HEADER ?? false; +$topVal = $shouldUseMinimalMapHeader ? '1rem' : '0'; + //Remove country, state, county from beginning of string if(!$country || !$state || !$county){ $locArr = explode(";",$locality); @@ -177,8 +182,16 @@ function verifyCloneForm(f){ } + +
-
+

Georeference Clone Tool

diff --git a/collections/individual/index.php b/collections/individual/index.php index e54421edc4..67ec67120d 100644 --- a/collections/individual/index.php +++ b/collections/individual/index.php @@ -7,6 +7,8 @@ else include_once($SERVER_ROOT.'/content/lang/collections/individual/index.en.php'); if($LANG_TAG != 'en' && file_exists($SERVER_ROOT.'/content/lang/collections/fieldterms/materialSampleVars.'.$LANG_TAG.'.php')) include_once($SERVER_ROOT.'/content/lang/collections/fieldterms/materialSampleVars.'.$LANG_TAG.'.php'); else include_once($SERVER_ROOT.'/content/lang/collections/fieldterms/materialSampleVars.en.php'); +if($LANG_TAG == 'en' || !file_exists($SERVER_ROOT.'/content/lang/header.' . $LANG_TAG . '.php')) include_once($SERVER_ROOT . '/content/lang/header.en.php'); +else include_once($SERVER_ROOT . '/content/lang/header.' . $LANG_TAG . '.php'); header('Content-Type: text/html; charset=' . $CHARSET); $submit = array_key_exists('formsubmit', $_REQUEST) ? $_REQUEST['formsubmit'] : ''; @@ -20,6 +22,8 @@ $clid = array_key_exists('clid', $_REQUEST) ? $indManager->sanitizeInt($_REQUEST['clid']) : 0; $format = isset($_GET['format']) ? $_REQUEST['format'] : ''; +$shouldUseMinimalMapHeader = $SHOULD_USE_MINIMAL_MAP_HEADER ?? false; + if($occid) $indManager->setOccid($occid); elseif($guid) $occid = $indManager->setGuid($guid); elseif($collid && $pk){ @@ -307,12 +311,20 @@ function initializeMap(){ .smaller-header { font-size: 2rem; } + + .minimal-header-margin{ + margin-top: 6rem; + } + +
-

+

diff --git a/collections/map/index.php b/collections/map/index.php index 9f82a1a16c..5bc4d40183 100644 --- a/collections/map/index.php +++ b/collections/map/index.php @@ -1,7 +1,8 @@ + .leaflet-top { + top: ; + margin-top: 0px; + } + .leaflet-top .leaflet-control { + margin-top: 0px; + } + > +

Map Interface

- +
- +
-

+

    -
  • -
  • +
  • +
getFullCollectionList($catId); - $specArr = (isset($collList['spec'])?$collList['spec']:null); - $obsArr = (isset($collList['obs'])?$collList['obs']:null); + $specArr = (isset($collList['spec']) ? $collList['spec'] : null); + $obsArr = (isset($collList['obs']) ? $collList['obs'] : null); if($specArr || $obsArr){ ?>
@@ -1904,7 +1921,7 @@ class="service-container"
- @@ -1916,17 +1933,17 @@ class="service-container" - - - - - - - - + + + + + + + + ' /> - - + +

@@ -1947,7 +1964,7 @@ class="service-container"
- : + :
@@ -1985,16 +2002,16 @@ class="service-container" } ?>
- : + :
:
- : + :
- : + :

@@ -2006,7 +2023,7 @@ class="service-container"
- + miles from me, or .
@@ -2075,13 +2092,13 @@ class="service-container"
- + />

- +
@@ -2200,14 +2217,14 @@ class="service-container" - = + =
" xmlns="http://www.w3.org/2000/svg"> - = + =
@@ -2236,14 +2253,14 @@ class="service-container" - = + =
" xmlns="http://www.w3.org/2000/svg"> - = + =
@@ -2274,14 +2291,14 @@ class="service-container" - = + =
" xmlns="http://www.w3.org/2000/svg"> - = + =
getQueryTermStr(); diff --git a/collections/tools/mappointaid.php b/collections/tools/mappointaid.php index 04749095dc..1f51e2c6ac 100644 --- a/collections/tools/mappointaid.php +++ b/collections/tools/mappointaid.php @@ -2,6 +2,8 @@ include_once('../../config/symbini.php'); header("Content-Type: text/html; charset=".$CHARSET); include_once($SERVER_ROOT.'/content/lang/collections/tools/mapaids.'.$LANG_TAG.'.php'); +if($LANG_TAG == 'en' || !file_exists($SERVER_ROOT.'/content/lang/header.' . $LANG_TAG . '.php')) include_once($SERVER_ROOT . '/content/lang/header.en.php'); +else include_once($SERVER_ROOT . '/content/lang/header.' . $LANG_TAG . '.php'); if($MAPPING_BOUNDARIES){ $boundaryArr = explode(";",$MAPPING_BOUNDARIES); @@ -13,6 +15,7 @@ } $errMode = array_key_exists("errmode",$_REQUEST)?$_REQUEST["errmode"]:1; +$shouldUseMinimalMapHeader = $SHOULD_USE_MINIMAL_MAP_HEADER ?? false; ?> @@ -367,9 +370,17 @@ function updateParentForm(f) { position: absolute; left: -10000px; } + + .minimal-header-margin{ + margin-top: 6rem; + } + +

Point-Radius Aid

-
+