From ecad2f9f0cb4390153182b945e7a061c952ba719 Mon Sep 17 00:00:00 2001 From: Nikita Salikov Date: Wed, 31 Jan 2024 13:37:48 -0700 Subject: [PATCH 1/6] added a class to fieldset to default to sticky, switched hidden button from anchorFloatDiv to floatImgDiv --- collections/editor/includes/imgprocessor.php | 6 +++--- css/v202209/symbiota/main.css | 8 ++++++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/collections/editor/includes/imgprocessor.php b/collections/editor/includes/imgprocessor.php index 671c53ef79..4d85b83dce 100644 --- a/collections/editor/includes/imgprocessor.php +++ b/collections/editor/includes/imgprocessor.php @@ -57,7 +57,7 @@ function anchorImgPanel(){ .ocr-box button{ margin: 5px; }
-
+
@@ -66,8 +66,8 @@ function anchorImgPanel(){
-
- + +
:  L  <>  R 
.
diff --git a/css/v202209/symbiota/main.css b/css/v202209/symbiota/main.css index 06bcac775a..df4bb230aa 100644 --- a/css/v202209/symbiota/main.css +++ b/css/v202209/symbiota/main.css @@ -935,3 +935,11 @@ button.no-margin-left, div.no-margin-left { margin-left: 0; } + +.fieldset-sticky { + position: fixed; + top: 1.25rem; + height:95%; + background-color:white; + left: 53.75rem; +} \ No newline at end of file From a23c2e82e81f61eaba6a5bdb00000a1ebd8b4f8c Mon Sep 17 00:00:00 2001 From: Mark Date: Mon, 12 Feb 2024 09:55:31 -0800 Subject: [PATCH 2/6] add null handlers and add missing translation --- collections/editor/includes/imagetab.php | 6 +++--- collections/editor/occurrenceeditor.php | 2 +- content/lang/collections/editor/occurrenceeditor.en.php | 1 + content/lang/collections/editor/occurrenceeditor.es.php | 2 +- content/lang/collections/editor/occurrenceeditor.fr.php | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/collections/editor/includes/imagetab.php b/collections/editor/includes/imagetab.php index adb681c8e8..f615496277 100644 --- a/collections/editor/includes/imagetab.php +++ b/collections/editor/includes/imagetab.php @@ -245,7 +245,7 @@ function verifyImgRemapForm(f){
: - + 60) $sourceUrlDisplay = '...'.substr($sourceUrlDisplay,-60); @@ -255,7 +255,7 @@ function verifyImgRemapForm(f){
: - " title="" target="_blank"> + " title="" target="_blank"> 60) $urlDisplay = '...'.substr($urlDisplay,-60); @@ -265,7 +265,7 @@ function verifyImgRemapForm(f){
: - " title="" target="_blank"> + " title="" target="_blank"> 60) $origUrlDisplay = '...'.substr($origUrlDisplay,-60); diff --git a/collections/editor/occurrenceeditor.php b/collections/editor/occurrenceeditor.php index 00468a1e27..08d3c289a5 100644 --- a/collections/editor/occurrenceeditor.php +++ b/collections/editor/occurrenceeditor.php @@ -1218,7 +1218,7 @@ function requestImage(){

-
+
diff --git a/content/lang/collections/editor/occurrenceeditor.en.php b/content/lang/collections/editor/occurrenceeditor.en.php index dcf6c16050..cbb7f2cd0c 100644 --- a/content/lang/collections/editor/occurrenceeditor.en.php +++ b/content/lang/collections/editor/occurrenceeditor.en.php @@ -197,4 +197,5 @@ $LANG['ERROR_UNABLE_INSERT'] = 'ERROR: unable to INSERT text fragment'; $LANG['ERROR_UNABLE_UPDATE'] = 'ERROR: unable to UPDATE text fragment'; $LANG['ERROR_UNABLE_DELETE'] = 'ERROR: unable DELETE text fragment'; +$LANG['MAP'] = 'Map'; ?> \ No newline at end of file diff --git a/content/lang/collections/editor/occurrenceeditor.es.php b/content/lang/collections/editor/occurrenceeditor.es.php index 645461ede9..a9fe6f8ba8 100644 --- a/content/lang/collections/editor/occurrenceeditor.es.php +++ b/content/lang/collections/editor/occurrenceeditor.es.php @@ -197,5 +197,5 @@ $LANG['ERROR_UNABLE_INSERT'] = 'ERROR: unable to INSERT text fragment'; $LANG['ERROR_UNABLE_UPDATE'] = 'ERROR: unable to UPDATE text fragment'; $LANG['ERROR_UNABLE_DELETE'] = 'ERROR: unable DELETE text fragment'; - +$LANG['MAP'] = 'Mapa'; ?> \ No newline at end of file diff --git a/content/lang/collections/editor/occurrenceeditor.fr.php b/content/lang/collections/editor/occurrenceeditor.fr.php index 073a6851e8..b3a3105985 100644 --- a/content/lang/collections/editor/occurrenceeditor.fr.php +++ b/content/lang/collections/editor/occurrenceeditor.fr.php @@ -197,5 +197,5 @@ $LANG['ERROR_UNABLE_INSERT'] = "ERREUR: impossible d'INSÉRER un fragment de texte"; $LANG['ERROR_UNABLE_UPDATE'] = 'ERREUR: impossible de mettre à jour le fragment de texte'; $LANG['ERROR_UNABLE_DELETE'] = 'ERREUR: impossible de supprimer le fragment de texte'; - +$LANG['MAP'] = 'Carte'; ?> \ No newline at end of file From c44af04ade49566c4afe45d98a28cf91edbf7e7f Mon Sep 17 00:00:00 2001 From: Nikita Salikov Date: Mon, 12 Feb 2024 12:53:03 -0700 Subject: [PATCH 3/6] included css file with fieldset-sticky class --- collections/editor/includes/imgprocessor.php | 1 + 1 file changed, 1 insertion(+) diff --git a/collections/editor/includes/imgprocessor.php b/collections/editor/includes/imgprocessor.php index 4d85b83dce..1c7aef443d 100644 --- a/collections/editor/includes/imgprocessor.php +++ b/collections/editor/includes/imgprocessor.php @@ -1,6 +1,7 @@