Plugin Directory

Changeset 3269021


Ignore:
Timestamp:
04/08/2025 03:29:48 PM (8 months ago)
Author:
pcarvalho
Message:

Version 1.4.8

Location:
interactive-globes/trunk
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • interactive-globes/trunk/README.txt

    r3263746 r3269021  
    55Tested up to: 6.8
    66Requires PHP: 7.0
    7 Stable tag: 1.4.3
     7Stable tag: 1.4.7
    88Donate link: https://wpinteractiveglobes.com/
    99License: GPLv2 or later
     
    7878== Changelog ==
    7979
     80= 1.4.8 =
     81- New: Add filter for parent globe id
     82- New: Sortable parent globe column
     83- Fix: loading of parent globe select to id script
     84- Fix: change parent globe id when select changes
     85
     86
    8087= 1.4.7 =
     88- New: local threejs
    8189- Fix: Use wp functions to in rest api route for delete method
    8290- Fix: Better responsive click areas
    8391- Fix: Shortcode copy button title translatable
    8492- Fix: Enqueue styles in features
     93- Tooling: Set minimum php version
     94- Tooling: Update free variation build task
    8595
    8696
  • interactive-globes/trunk/dist/assets/js/admin/rel_sel.min.js

    r3207680 r3269021  
    1 const cptPostForm = document.getElementById('post') ?? document.getElementById('cpt-post');
     1document.addEventListener('DOMContentLoaded', function() {
    22
    3 if (cptPostForm) {
     3    // via wp edit post or iframe
     4    const cptPostForm = document.getElementById('post') ?? document.getElementById('cpt-post');
     5    if (cptPostForm) {
    46
    5     const selectElement = document.getElementById('globe_id_select');
    6     const numberElement = document.getElementById('globe_id_number');
     7        const selectElement = document.getElementById('globe_id_select');
     8        const numberElement = document.getElementById('globe_id_number');
    79
    8     if (selectElement) {
    9         if (numberElement) {
    10             selectElement.value = numberElement.value;
    11         }
    12     }
     10        if (selectElement) {
     11            if (numberElement) {
     12                selectElement.value = numberElement.value;
     13            }
     14        }
     15        // Add change event listener
     16        if (selectElement) {
     17            selectElement.addEventListener('change', function() {
     18                numberElement.value = parseInt(this.value);
     19            });
     20        }
    1321
     22        // Add submit event listener, just in case
     23        cptPostForm.addEventListener('submit', function(event) {
     24            // Get the selected value
     25            const selectElement = document.getElementById('globe_id_select');
     26            const numberElement = document.getElementById('globe_id_number');
    1427
    15     cptPostForm.addEventListener('submit', function(event) {
    16         // Get the selected value
    17         const selectElement = document.getElementById('globe_id_select');
    18         const numberElement = document.getElementById('globe_id_number');
    19        
    20         if (selectElement && numberElement) {
    21             const selectedInt = parseInt(selectElement.value); // Convert to integer
    22             numberElement.value = selectedInt;
    23         }
    24     });
    25 }
     28            if (selectElement && numberElement) {
     29                numberElement.value = parseInt(selectElement.value); // Convert to integer
     30            }
     31        });
     32    }
     33
     34});
  • interactive-globes/trunk/interactive-globes.php

    r3263746 r3269021  
    77 * Plugin URI:        https://wpinteractiveglobes.com/
    88 * Description:       Create interactive geographic globes. Color full regions or create markers on specific locations that will have information on hover and can also have actions on click. This plugin uses the online globe.gl library to generate the maps.
    9  * Version:           1.4.7
     9 * Version:           1.4.8
    1010 * Requires PHP:      7.0
    1111 * Author:            Interactive Globes
     
    174174$services_container = new ServiceContainer();
    175175
    176 $project = new Project( 'interactive-globes', '1.4.7', __FILE__ );
     176$project = new Project( 'interactive-globes', '1.4.8', __FILE__ );
    177177
    178178// Initialize plugin
  • interactive-globes/trunk/languages/interactive-globes.pot

    r3264553 r3269021  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Interactive Globes 1.4.7\n"
     5"Project-Id-Version: Interactive Globes 1.4.5\n"
    66"Report-Msgid-Bugs-To: https://saltus.dev/\n"
    7 "POT-Creation-Date: 2025-03-31 15:22:50+00:00\n"
     7"POT-Creation-Date: 2025-02-27 12:59:08+00:00\n"
    88"MIME-Version: 1.0\n"
    99"Content-Type: text/plain; charset=utf-8\n"
     
    8080msgstr ""
    8181
    82 #: src/Features/CptManager/CptManagerCore.php:104
     82#: src/Features/CptManager/CptManagerCore.php:82
    8383msgid "Add title"
    8484msgstr ""
     
    8686#: src/Features/DotLabel/DotLabelProMeta.php:22
    8787#: src/Features/Point/PointProMeta.php:22 src/models/04-globe-region.php:27
    88 #: src/models/06-globe-html.php:21
     88#: src/models/06-globe-html.php:10
    8989#: vendor-prefixed/saltus/framework/lib/codestar-framework/fields/typography/typography.php:119
    9090#: vendor-prefixed/saltus/framework/lib/codestar-framework/fields/typography/typography.php:132
     
    101101#: src/models/01-globe-dotlabel.php:138 src/models/02-globe-point.php:133
    102102#: src/models/03-globe-line.php:150 src/models/04-globe-region.php:212
    103 #: src/models/06-globe-html.php:145
     103#: src/models/06-globe-html.php:134
    104104msgid "Details"
    105105msgstr ""
     
    107107#: src/Features/DotLabel/DotLabelProMeta.php:33
    108108#: src/Features/Point/PointProMeta.php:33 src/models/03-globe-line.php:258
    109 #: src/models/04-globe-region.php:242 src/models/06-globe-html.php:198
     109#: src/models/04-globe-region.php:242 src/models/06-globe-html.php:187
    110110msgid "Customize"
    111111msgstr ""
     
    113113#: src/Features/DotLabel/DotLabelProMeta.php:39
    114114#: src/Features/Point/PointProMeta.php:37 src/models/03-globe-line.php:263
    115 #: src/models/04-globe-region.php:247 src/models/06-globe-html.php:203
     115#: src/models/04-globe-region.php:247 src/models/06-globe-html.php:192
    116116msgid "Use Custom Options"
    117117msgstr ""
     
    130130#: src/Services/Model/Pro/MetaRegions.php:71 src/models/00-globe-pro.php:186
    131131#: src/models/00-globe-pro.php:232 src/models/04-globe-region.php:253
    132 #: src/models/06-globe-html.php:209
     132#: src/models/06-globe-html.php:198
    133133msgid "Click Action"
    134134msgstr ""
     
    209209msgstr ""
    210210
    211 #: src/Features/Meta/MetaCore.php:133
    212 msgid "Copy to clipboard"
    213 msgstr ""
    214 
    215 #: src/Features/Meta/MetaCore.php:177
     211#: src/Features/Meta/MetaCore.php:169
    216212msgid "Add new"
    217213msgstr ""
    218214
    219 #: src/Features/Meta/MetaCore.php:344
     215#: src/Features/Meta/MetaCore.php:336
    220216#: src/Services/Model/Base/MetaDotLabel.php:44
    221217#: src/Services/Model/Base/MetaPoint.php:44
     
    223219msgstr ""
    224220
    225 #: src/Features/Meta/MetaCore.php:345
     221#: src/Features/Meta/MetaCore.php:337
    226222msgid "Actions"
    227223msgstr ""
    228224
    229 #: src/Features/Meta/MetaCore.php:355
     225#: src/Features/Meta/MetaCore.php:347
    230226msgid "(no title)"
    231227msgstr ""
     
    305301msgstr ""
    306302
    307 #: src/Features/Sales/UpsellPage.php:41 src/Features/Sales/UpsellPage.php:42
     303#: src/Features/Sales/UpsellPage.php:48 src/Features/Sales/UpsellPage.php:49
    308304msgid "Try Pro Version"
    309305msgstr ""
     
    369365#: src/Services/Model/Base/Labels.php:21 src/models/01-globe-dotlabel.php:64
    370366#: src/models/02-globe-point.php:58 src/models/03-globe-line.php:73
    371 #: src/models/04-globe-region.php:138 src/models/06-globe-html.php:70
     367#: src/models/04-globe-region.php:138 src/models/06-globe-html.php:59
    372368msgid "Create New"
    373369msgstr ""
     
    467463#: src/Services/Model/Base/Labels.php:48 src/models/01-globe-dotlabel.php:91
    468464#: src/models/02-globe-point.php:85 src/models/03-globe-line.php:100
    469 #: src/models/04-globe-region.php:165 src/models/06-globe-html.php:97
     465#: src/models/04-globe-region.php:165 src/models/06-globe-html.php:86
    470466msgid "Custom field updated"
    471467msgstr ""
     
    473469#: src/Services/Model/Base/Labels.php:49 src/models/01-globe-dotlabel.php:92
    474470#: src/models/02-globe-point.php:86 src/models/03-globe-line.php:101
    475 #: src/models/04-globe-region.php:166 src/models/06-globe-html.php:98
     471#: src/models/04-globe-region.php:166 src/models/06-globe-html.php:87
    476472msgid "Custom field deleted"
    477473msgstr ""
     
    597593msgstr ""
    598594
    599 #: src/Services/Model/Base/Meta.php:142
    600 msgid "Altitude/Scale Settings"
    601 msgstr ""
    602 
    603 #: src/Services/Model/Base/Meta.php:143
    604 msgid ""
    605 "Controls the default zoom position and the min/max zoom levels (but the "
    606 "other way around). Think of it as the \"camara\" altitude. The smaller the "
    607 "value, the closer to the globe surface. Check the \"Altitude\" value in the "
    608 "\"Center Coordinates\" in the preview."
     595#: src/Services/Model/Base/Meta.php:144
     596msgid "Controls the initial globe scale"
     597msgstr ""
     598
     599#: src/Services/Model/Base/Meta.php:145
     600msgid "Initial altitude/scale"
    609601msgstr ""
    610602
    611603#: src/Services/Model/Base/Meta.php:149
    612 msgid "Controls the initial globe scale"
     604msgid "Center coordinates"
    613605msgstr ""
    614606
    615607#: src/Services/Model/Base/Meta.php:150
    616 #: vendor-prefixed/saltus/framework/lib/codestar-framework/fields/typography/typography.php:175
    617 msgid "Initial"
    618 msgstr ""
    619 
    620 #: src/Services/Model/Base/Meta.php:156
    621 msgid ""
    622 "Controls the minimum altitude/scale. Use this option to prevent users to "
    623 "zoom in too much into the globe. The smaller the value, the closer to the "
    624 "globe surface. Leave empty to disable."
    625 msgstr ""
    626 
    627 #: src/Services/Model/Base/Meta.php:157
    628 msgid "Minimum"
    629 msgstr ""
    630 
    631 #: src/Services/Model/Base/Meta.php:163
    632 msgid ""
    633 "Controls the maximum altitude/scale. Use this option to prevent users to "
    634 "zoom out too much from the globe. The larger the value, the further away "
    635 "from the globe. Leave empty to disable."
    636 msgstr ""
    637 
    638 #: src/Services/Model/Base/Meta.php:164
    639 msgid "Maximum"
    640 msgstr ""
    641 
    642 #: src/Services/Model/Base/Meta.php:170
    643 msgid "Center coordinates"
    644 msgstr ""
    645 
    646 #: src/Services/Model/Base/Meta.php:171
    647608msgid "Center of the globe when initially loaded."
    648609msgstr ""
    649610
    650 #: src/Services/Model/Base/Meta.php:173
     611#: src/Services/Model/Base/Meta.php:152
    651612#: src/Services/Model/Base/MetaDotLabel.php:30
    652613#: src/Services/Model/Base/MetaPoint.php:30
     
    657618msgstr ""
    658619
    659 #: src/Services/Model/Base/Meta.php:175
     620#: src/Services/Model/Base/Meta.php:154
    660621#: src/Services/Model/Base/MetaDotLabel.php:32
    661622#: src/Services/Model/Base/MetaPoint.php:32
     
    665626msgstr ""
    666627
    667 #: src/Services/Model/Base/Meta.php:179
     628#: src/Services/Model/Base/Meta.php:158
    668629#: src/Services/Model/Base/MetaDotLabel.php:55
    669630#: src/Services/Model/Base/MetaPoint.php:55
     
    671632msgstr ""
    672633
    673 #: src/Services/Model/Base/Meta.php:187
     634#: src/Services/Model/Base/Meta.php:166
    674635#: src/Services/Model/Base/MetaDotLabel.php:63
    675636#: src/Services/Model/Base/MetaPoint.php:63
    676637#: src/models/01-globe-dotlabel.php:164 src/models/02-globe-point.php:159
    677 #: src/models/03-globe-line.php:211 src/models/06-globe-html.php:171
     638#: src/models/03-globe-line.php:211 src/models/06-globe-html.php:160
    678639#: vendor-prefixed/saltus/framework/lib/codestar-framework/fields/map/map.php:24
    679640msgid "Latitude"
    680641msgstr ""
    681642
    682 #: src/Services/Model/Base/Meta.php:194
     643#: src/Services/Model/Base/Meta.php:173
    683644#: src/Services/Model/Base/MetaDotLabel.php:69
    684645#: src/Services/Model/Base/MetaPoint.php:69
    685646#: src/models/01-globe-dotlabel.php:171 src/models/02-globe-point.php:166
    686 #: src/models/03-globe-line.php:216 src/models/06-globe-html.php:178
     647#: src/models/03-globe-line.php:216 src/models/06-globe-html.php:167
    687648#: vendor-prefixed/saltus/framework/lib/codestar-framework/fields/map/map.php:25
    688649msgid "Longitude"
    689650msgstr ""
    690651
    691 #: src/Services/Model/Base/Meta.php:204
     652#: src/Services/Model/Base/Meta.php:183
    692653#. translators: legend refers to a caption or visual element explaining colours
    693654#. on map
     
    695656msgstr ""
    696657
    697 #: src/Services/Model/Base/Meta.php:205
     658#: src/Services/Model/Base/Meta.php:184
    698659msgid "Allow interactions with globe, like zoom and pan."
    699660msgstr ""
    700661
    701 #: src/Services/Model/Base/Meta.php:210
     662#: src/Services/Model/Base/Meta.php:189
    702663msgid "Zoom"
    703664msgstr ""
    704665
    705 #: src/Services/Model/Base/Meta.php:215
     666#: src/Services/Model/Base/Meta.php:194
    706667msgid "Pan & Rotate"
    707668msgstr ""
    708669
    709 #: src/Services/Model/Base/Meta.php:222
     670#: src/Services/Model/Base/Meta.php:201
    710671#. translators: legend refers to a caption or visual element explaining colours
    711672#. on map
     
    713674msgstr ""
    714675
    715 #: src/Services/Model/Base/Meta.php:223
     676#: src/Services/Model/Base/Meta.php:202
    716677msgid "Animate globe on load"
    717678msgstr ""
    718679
    719 #: src/Services/Model/Base/Meta.php:229
     680#: src/Services/Model/Base/Meta.php:208
    720681msgid "Container"
    721682msgstr ""
    722683
    723 #: src/Services/Model/Base/Meta.php:235
     684#: src/Services/Model/Base/Meta.php:214
    724685msgid "Background Color"
    725686msgstr ""
    726687
    727 #: src/Services/Model/Base/Meta.php:240
     688#: src/Services/Model/Base/Meta.php:219
    728689msgid "Container Height"
    729690msgstr ""
    730691
    731 #: src/Services/Model/Base/Meta.php:246
     692#: src/Services/Model/Base/Meta.php:225
    732693msgid ""
    733694"The default 56% corresponds to a 16:9 aspect ratio. 100% would be a square. "
     
    736697msgstr ""
    737698
    738 #: src/Services/Model/Base/Meta.php:250
     699#: src/Services/Model/Base/Meta.php:229
    739700msgid "Container Height on Mobile"
    740701msgstr ""
    741702
    742 #: src/Services/Model/Base/Meta.php:256
     703#: src/Services/Model/Base/Meta.php:235
    743704msgid ""
    744705"Leave blank to use the same value above. On mobile there might be the need "
     
    747708msgstr ""
    748709
    749 #: src/Services/Model/Base/Meta.php:260
     710#: src/Services/Model/Base/Meta.php:239
    750711msgid "Container Max-Width"
    751712msgstr ""
    752713
    753 #: src/Services/Model/Base/Meta.php:261
     714#: src/Services/Model/Base/Meta.php:240
    754715msgid ""
    755716"Leave empty if you always want your globe to take 100% of the available "
     
    777738#: src/Services/Model/Base/MetaPoint.php:51
    778739#: src/models/01-globe-dotlabel.php:142 src/models/02-globe-point.php:137
    779 #: src/models/06-globe-html.php:149
     740#: src/models/06-globe-html.php:138
    780741msgid "Coordinates"
    781742msgstr ""
     
    791752#: src/Services/Model/Base/MetaPoint.php:82
    792753#: src/models/01-globe-dotlabel.php:189 src/models/02-globe-point.php:184
    793 #: src/models/04-globe-region.php:236 src/models/06-globe-html.php:191
     754#: src/models/04-globe-region.php:236 src/models/06-globe-html.php:180
    794755msgid "Action Content"
    795756msgstr ""
     
    798759#: src/Services/Model/Base/MetaPoint.php:83
    799760#: src/models/01-globe-dotlabel.php:190 src/models/02-globe-point.php:185
    800 #: src/models/04-globe-region.php:237 src/models/06-globe-html.php:192
     761#: src/models/04-globe-region.php:237 src/models/06-globe-html.php:181
    801762msgid "URL or content to trigger when marker is clicked."
    802763msgstr ""
     
    891852msgstr ""
    892853
    893 #: src/Services/Model/Pro/MetaHTML.php:18 src/models/06-globe-html.php:66
    894 #: src/models/06-globe-html.php:80
     854#: src/Services/Model/Pro/MetaHTML.php:18 src/models/06-globe-html.php:55
     855#: src/models/06-globe-html.php:69
    895856msgid "HTML Markers"
    896857msgstr ""
     
    904865msgstr ""
    905866
    906 #: src/Services/Model/Pro/MetaHTML.php:43 src/models/06-globe-html.php:217
     867#: src/Services/Model/Pro/MetaHTML.php:43 src/models/06-globe-html.php:206
    907868msgid "HTML Marker Template"
    908869msgstr ""
    909870
    910 #: src/Services/Model/Pro/MetaHTML.php:44 src/models/06-globe-html.php:218
     871#: src/Services/Model/Pro/MetaHTML.php:44 src/models/06-globe-html.php:207
    911872msgid ""
    912873"Template for the HTML content. You can use HTML code and if necessary use "
     
    10581019msgid ""
    10591020"The arc’s maximum altitude, ocurring at the half-way distance between the "
    1060 "two points. ( 0 = ground line, 100 = globe radius )"
     1021"two points. (0 = 0 altitude (ground line), 100 = globe radius)"
    10611022msgstr ""
    10621023
     
    15921553#: src/models/01-globe-dotlabel.php:32 src/models/02-globe-point.php:28
    15931554#: src/models/03-globe-line.php:41 src/models/04-globe-region.php:106
    1594 #: src/models/06-globe-html.php:40
     1555#: src/models/06-globe-html.php:29
    15951556msgid "Parent Globe"
    15961557msgstr ""
     
    16061567#: src/models/01-globe-dotlabel.php:66 src/models/02-globe-point.php:60
    16071568#: src/models/03-globe-line.php:75 src/models/04-globe-region.php:140
    1608 #: src/models/06-globe-html.php:72
     1569#: src/models/06-globe-html.php:61
    16091570msgid "Edit"
    16101571msgstr ""
     
    16361597#: src/models/01-globe-dotlabel.php:73 src/models/02-globe-point.php:67
    16371598#: src/models/03-globe-line.php:82 src/models/04-globe-region.php:147
    1638 #: src/models/06-globe-html.php:79
     1599#: src/models/06-globe-html.php:68
    16391600msgid "Parent Globe:"
    16401601msgstr ""
     
    17681729#: src/models/01-globe-dotlabel.php:134 src/models/02-globe-point.php:128
    17691730#: src/models/03-globe-line.php:141 src/models/04-globe-region.php:206
    1770 #: src/models/06-globe-html.php:140
     1731#: src/models/06-globe-html.php:129
    17711732msgid "Information"
    17721733msgstr ""
    17731734
    17741735#: src/models/01-globe-dotlabel.php:147 src/models/02-globe-point.php:142
    1775 #: src/models/03-globe-line.php:194 src/models/06-globe-html.php:154
     1736#: src/models/03-globe-line.php:194 src/models/06-globe-html.php:143
    17761737msgid "zoom"
    17771738msgstr ""
    17781739
    17791740#: src/models/01-globe-dotlabel.php:156 src/models/02-globe-point.php:151
    1780 #: src/models/03-globe-line.php:203 src/models/06-globe-html.php:163
     1741#: src/models/03-globe-line.php:203 src/models/06-globe-html.php:152
    17811742msgid "address"
    17821743msgstr ""
     
    17911752#: src/models/03-globe-line.php:345 src/models/03-globe-line.php:347
    17921753#: src/models/03-globe-line.php:362 src/models/04-globe-region.php:292
    1793 #: src/models/04-globe-region.php:308 src/models/06-globe-html.php:236
    1794 #: src/models/06-globe-html.php:238 src/models/06-globe-html.php:253
     1754#: src/models/04-globe-region.php:308 src/models/06-globe-html.php:225
     1755#: src/models/06-globe-html.php:227 src/models/06-globe-html.php:242
    17951756msgid "Associated Globe"
    17961757msgstr ""
     
    17981759#: src/models/01-globe-dotlabel.php:213 src/models/02-globe-point.php:209
    17991760#: src/models/03-globe-line.php:352 src/models/04-globe-region.php:298
    1800 #: src/models/06-globe-html.php:243
     1761#: src/models/06-globe-html.php:232
    18011762msgid "Select a Parent Globe"
    18021763msgstr ""
     
    18111772
    18121773#: src/models/02-globe-point.php:56 src/models/02-globe-point.php:68
    1813 #: src/models/03-globe-line.php:225 src/models/06-globe-html.php:68
    1814 #: src/models/06-globe-html.php:69
     1774#: src/models/03-globe-line.php:225 src/models/06-globe-html.php:57
     1775#: src/models/06-globe-html.php:58
    18151776msgid "Markers"
    18161777msgstr ""
     
    19691930
    19701931#: src/models/02-globe-point.php:194 src/models/03-globe-line.php:337
    1971 #: src/models/04-globe-region.php:284 src/models/06-globe-html.php:228
     1932#: src/models/04-globe-region.php:284 src/models/06-globe-html.php:217
    19721933msgid "Globe rel"
    19731934msgstr ""
     
    23852346msgstr ""
    23862347
    2387 #: src/models/06-globe-html.php:30
     2348#: src/models/06-globe-html.php:19
    23882349msgid "Clone HTML Marker"
    23892350msgstr ""
    23902351
    2391 #: src/models/06-globe-html.php:31
     2352#: src/models/06-globe-html.php:20
    23922353msgid "Create a copy of this HTML Marker"
    23932354msgstr ""
    23942355
     2356#: src/models/06-globe-html.php:56
     2357msgid "HTML Marker"
     2358msgstr ""
     2359
     2360#: src/models/06-globe-html.php:60
     2361msgid "Create New HTML Marker"
     2362msgstr ""
     2363
     2364#: src/models/06-globe-html.php:62
     2365msgid "New HTML Marker"
     2366msgstr ""
     2367
     2368#: src/models/06-globe-html.php:63
     2369msgid "View HTML Marker"
     2370msgstr ""
     2371
     2372#: src/models/06-globe-html.php:64
     2373msgid "View HTML Markers"
     2374msgstr ""
     2375
     2376#: src/models/06-globe-html.php:65
     2377msgid "Search HTML Markers"
     2378msgstr ""
     2379
     2380#: src/models/06-globe-html.php:66
     2381msgid "No HTML Markers found."
     2382msgstr ""
     2383
    23952384#: src/models/06-globe-html.php:67
    2396 msgid "HTML Marker"
     2385msgid "No HTML Markers found in Trash."
     2386msgstr ""
     2387
     2388#: src/models/06-globe-html.php:70
     2389msgid "HTML Marker Archives"
    23972390msgstr ""
    23982391
    23992392#: src/models/06-globe-html.php:71
    2400 msgid "Create New HTML Marker"
     2393msgid "HTML Marker Attributes"
     2394msgstr ""
     2395
     2396#: src/models/06-globe-html.php:72
     2397msgid "Insert into HTML Marker"
    24012398msgstr ""
    24022399
    24032400#: src/models/06-globe-html.php:73
    2404 msgid "New HTML Marker"
     2401msgid "Uploaded to this Point"
    24052402msgstr ""
    24062403
    24072404#: src/models/06-globe-html.php:74
    2408 msgid "View HTML Marker"
     2405msgid "Filter Point list"
    24092406msgstr ""
    24102407
    24112408#: src/models/06-globe-html.php:75
    2412 msgid "View HTML Markers"
     2409msgid "Point list navigation"
    24132410msgstr ""
    24142411
    24152412#: src/models/06-globe-html.php:76
    2416 msgid "Search HTML Markers"
     2413msgid "Point list"
    24172414msgstr ""
    24182415
    24192416#: src/models/06-globe-html.php:77
    2420 msgid "No HTML Markers found."
     2417msgid "HTML Marker Cover Image"
    24212418msgstr ""
    24222419
    24232420#: src/models/06-globe-html.php:78
    2424 msgid "No HTML Markers found in Trash."
    2425 msgstr ""
    2426 
    2427 #: src/models/06-globe-html.php:81
    2428 msgid "HTML Marker Archives"
    2429 msgstr ""
    2430 
    2431 #: src/models/06-globe-html.php:82
    2432 msgid "HTML Marker Attributes"
    2433 msgstr ""
    2434 
    2435 #: src/models/06-globe-html.php:83
    2436 msgid "Insert into HTML Marker"
     2421msgid "Set HTML Marker Cover Image"
     2422msgstr ""
     2423
     2424#: src/models/06-globe-html.php:79
     2425msgid "Remove HTML Marker Cover"
     2426msgstr ""
     2427
     2428#: src/models/06-globe-html.php:80
     2429msgid "Use as HTML Marker Cover"
    24372430msgstr ""
    24382431
    24392432#: src/models/06-globe-html.php:84
    2440 msgid "Uploaded to this Point"
    2441 msgstr ""
    2442 
    2443 #: src/models/06-globe-html.php:85
    2444 msgid "Filter Point list"
    2445 msgstr ""
    2446 
    2447 #: src/models/06-globe-html.php:86
    2448 msgid "Point list navigation"
    2449 msgstr ""
    2450 
    2451 #: src/models/06-globe-html.php:87
    2452 msgid "Point list"
    2453 msgstr ""
    2454 
    2455 #: src/models/06-globe-html.php:88
    2456 msgid "HTML Marker Cover Image"
    2457 msgstr ""
    2458 
    2459 #: src/models/06-globe-html.php:89
    2460 msgid "Set HTML Marker Cover Image"
    2461 msgstr ""
    2462 
    2463 #: src/models/06-globe-html.php:90
    2464 msgid "Remove HTML Marker Cover"
    2465 msgstr ""
    2466 
    2467 #: src/models/06-globe-html.php:91
    2468 msgid "Use as HTML Marker Cover"
    2469 msgstr ""
    2470 
    2471 #: src/models/06-globe-html.php:95
    24722433msgid ""
    24732434"HTML Marker information updated. <a href=\"{permalink}\" "
     
    24752436msgstr ""
    24762437
    2477 #: src/models/06-globe-html.php:96
     2438#: src/models/06-globe-html.php:85
    24782439msgid "HTML Marker info updated"
    24792440msgstr ""
    24802441
    2481 #: src/models/06-globe-html.php:99
     2442#: src/models/06-globe-html.php:88
    24822443msgid "HTML Marker content restored from revision"
    24832444msgstr ""
    24842445
    2485 #: src/models/06-globe-html.php:100
     2446#: src/models/06-globe-html.php:89
    24862447msgid "HTML Marker Published"
    24872448msgstr ""
    24882449
    2489 #: src/models/06-globe-html.php:101
     2450#: src/models/06-globe-html.php:90
    24902451msgid "HTML Marker information saved."
    24912452msgstr ""
    24922453
    2493 #: src/models/06-globe-html.php:102
     2454#: src/models/06-globe-html.php:91
    24942455msgid ""
    24952456"HTML Marker submitted. <a href=\"{preview_url}\" "
     
    24972458msgstr ""
    24982459
    2499 #: src/models/06-globe-html.php:103
     2460#: src/models/06-globe-html.php:92
    25002461msgid ""
    25012462"HTML Marker scheduled for {date}. <a href=\"{preview_url}\" "
     
    25032464msgstr ""
    25042465
    2505 #: src/models/06-globe-html.php:104
     2466#: src/models/06-globe-html.php:93
    25062467msgid ""
    25072468"HTML Marker draft updated. <a href=\"{preview_url}\" "
     
    25092470msgstr ""
    25102471
    2511 #: src/models/06-globe-html.php:107
     2472#: src/models/06-globe-html.php:96
    25122473msgid "HTML Marker updated. Yay!"
    25132474msgstr ""
    25142475
    2515 #: src/models/06-globe-html.php:108
     2476#: src/models/06-globe-html.php:97
    25162477msgid "%s HTML Marker updated. Yay!"
    25172478msgstr ""
    25182479
     2480#: src/models/06-globe-html.php:98
     2481msgid "HTML Marker not updated, somebody is editing it"
     2482msgstr ""
     2483
     2484#: src/models/06-globe-html.php:99
     2485msgid "%s HTML Marker not updated, somebody is editing them"
     2486msgstr ""
     2487
     2488#: src/models/06-globe-html.php:100
     2489msgid "HTML Marker permanetly deleted. Fahrenheit 451 team was here?"
     2490msgstr ""
     2491
     2492#: src/models/06-globe-html.php:101
     2493msgid "%s HTML Marker permanently deleted. Why? :("
     2494msgstr ""
     2495
     2496#: src/models/06-globe-html.php:102
     2497msgid "HTML Marker moved to the trash. I'm sad :("
     2498msgstr ""
     2499
     2500#: src/models/06-globe-html.php:103
     2501msgid "%s HTML Marker moved to the trash. Why? :("
     2502msgstr ""
     2503
     2504#: src/models/06-globe-html.php:104
     2505msgid "HTML Marker recovered from trash. Well done!"
     2506msgstr ""
     2507
     2508#: src/models/06-globe-html.php:105
     2509msgid "%s HTML Marker saved from the enemies!"
     2510msgstr ""
     2511
    25192512#: src/models/06-globe-html.php:109
    2520 msgid "HTML Marker not updated, somebody is editing it"
    2521 msgstr ""
    2522 
    2523 #: src/models/06-globe-html.php:110
    2524 msgid "%s HTML Marker not updated, somebody is editing them"
    2525 msgstr ""
    2526 
    2527 #: src/models/06-globe-html.php:111
    2528 msgid "HTML Marker permanetly deleted. Fahrenheit 451 team was here?"
    2529 msgstr ""
    2530 
    2531 #: src/models/06-globe-html.php:112
    2532 msgid "%s HTML Marker permanently deleted. Why? :("
    2533 msgstr ""
    2534 
    2535 #: src/models/06-globe-html.php:113
    2536 msgid "HTML Marker moved to the trash. I'm sad :("
    2537 msgstr ""
    2538 
    2539 #: src/models/06-globe-html.php:114
    2540 msgid "%s HTML Marker moved to the trash. Why? :("
    2541 msgstr ""
    2542 
    2543 #: src/models/06-globe-html.php:115
    2544 msgid "HTML Marker recovered from trash. Well done!"
    2545 msgstr ""
    2546 
    2547 #: src/models/06-globe-html.php:116
    2548 msgid "%s HTML Marker saved from the enemies!"
    2549 msgstr ""
    2550 
    2551 #: src/models/06-globe-html.php:120
    25522513msgid "Enter HTML Marker name here"
    25532514msgstr ""
    25542515
    2555 #: src/models/06-globe-html.php:204
     2516#: src/models/06-globe-html.php:193
    25562517msgid "Define individual click action and template."
    25572518msgstr ""
     
    26422603
    26432604#: vendor-prefixed/saltus/framework/lib/codestar-framework/classes/setup.class.php:606
     2605#: vendor-prefixed/saltus/framework/lib/codestar-framework/classes/setup.class.phpsetup.class.php:606
    26442606msgid "Are you sure?"
    26452607msgstr ""
    26462608
    26472609#: vendor-prefixed/saltus/framework/lib/codestar-framework/classes/setup.class.php:607
     2610#: vendor-prefixed/saltus/framework/lib/codestar-framework/classes/setup.class.phpsetup.class.php:607
    26482611msgid "Please enter %s or more characters"
    26492612msgstr ""
    26502613
    26512614#: vendor-prefixed/saltus/framework/lib/codestar-framework/classes/setup.class.php:608
     2615#: vendor-prefixed/saltus/framework/lib/codestar-framework/classes/setup.class.phpsetup.class.php:608
    26522616msgid "Searching..."
    26532617msgstr ""
    26542618
    26552619#: vendor-prefixed/saltus/framework/lib/codestar-framework/classes/setup.class.php:609
     2620#: vendor-prefixed/saltus/framework/lib/codestar-framework/classes/setup.class.phpsetup.class.php:609
    26562621msgid "No results found."
    26572622msgstr ""
    26582623
    26592624#: vendor-prefixed/saltus/framework/lib/codestar-framework/classes/setup.class.php:710
     2625#: vendor-prefixed/saltus/framework/lib/codestar-framework/classes/setup.class.phpsetup.class.php:710
    26602626msgid "Oops! Not allowed."
    26612627msgstr ""
     
    26632629#: vendor-prefixed/saltus/framework/lib/codestar-framework/classes/setup.class.php:778
    26642630#: vendor-prefixed/saltus/framework/lib/codestar-framework/classes/setup.class.php:782
     2631#: vendor-prefixed/saltus/framework/lib/codestar-framework/classes/setup.class.phpsetup.class.php:778
     2632#: vendor-prefixed/saltus/framework/lib/codestar-framework/classes/setup.class.phpsetup.class.php:782
    26652633msgid "Field not found!"
    26662634msgstr ""
     
    30853053msgstr ""
    30863054
     3055#: vendor-prefixed/saltus/framework/lib/codestar-framework/fields/typography/typography.php:175
     3056msgid "Initial"
     3057msgstr ""
     3058
    30873059#: vendor-prefixed/saltus/framework/lib/codestar-framework/fields/typography/typography.php:184
    30883060msgid "Font Variant"
  • interactive-globes/trunk/src/Features/Meta/MetaCore.php

    r3263746 r3269021  
    5050        $name = $assets->register_style( '/assets/css/features/meta/meta-admin.css' );
    5151        wp_enqueue_style( $name );
     52
     53        $name = $assets->register_script(
     54            '/assets/js/admin/rel_sel.js',
     55            [],
     56            true
     57        );
     58        wp_enqueue_script( $name );
    5259    }
    5360
  • interactive-globes/trunk/src/Plugin/Assets.php

    r3263746 r3269021  
    158158            }
    159159        }
    160         $name = $assets->register_script(
    161             '/assets/js/admin/rel_sel.js',
    162             [],
    163             true
    164         );
    165         wp_enqueue_script( $name );
    166160
    167161        $name = $assets->register_script(
  • interactive-globes/trunk/src/models/01-globe-dotlabel.php

    r3263746 r3269021  
    1616    'name'         => 'itt_globe_dotlabel',
    1717    'features'     => [
     18        'quick_edit'    => array(
     19            'globe_id' => array(
     20                'type'  => 'text',
     21                'title' => __( 'Associated Globe', 'interactive-globes' ),
     22            ),
     23        ),
    1824        'duplicate'     => array(
    1925            'label'      => __( 'Clone Dot Label', 'interactive-globes' ),
     
    2228        'single_export' => array(
    2329            'label' => __( 'Download Dot Labels Export File', 'interactive-globes' ),
     30        ),
     31        'admin_filters' => array(
     32            'globe_id' => array(
     33                'title'           => 'Parent Globe ID',
     34                'meta_search_key' => 'globe_id',
     35                'compare'         => '=',        // Exact match
     36                'type'            => 'NUMERIC',  // Ensures numeric comparison
     37            ),
    2438        ),
    2539        'admin_cols'    => array(
     
    3145            'globe_id' => array(
    3246                'title'    => __( 'Parent Globe', 'interactive-globes' ),
     47                'sortable' => true,
     48                'meta_key' => 'globe_id',
     49                'orderby'  => 'meta_value_num',
    3350                'function' => function () {
    3451                        global $post;
     
    206223                            'title'             => __( 'Associated Globe', 'interactive-globes' ),
    207224                            'attributes'        => [ 'id' => 'globe_id_number' ],
    208                             'title'             => __( 'Associated Globe', 'interactive-globes' ),
    209225                            'class'             => 'hidden',
    210226                            'register_rest_api' => true,
    211227                        ],
    212228                        'globe_id_select' => array(
     229                            'type'              => 'select',
     230                            'title'             => __( 'Associated Globe', 'interactive-globes' ),
    213231                            'placeholder'       => __( 'Select a Parent Globe', 'interactive-globes' ),
    214232                            'attributes'        => [ 'id' => 'globe_id_select' ],
    215                             'type'              => 'select',
    216233                            'options'           => 'pages',
    217234                            'query_args'        => array(
     
    221238                            ),
    222239                            'class'             => isset( $_GET['iframe'] ) ? 'hidden' : '',
    223                             'title'             => __( 'Associated Globe', 'interactive-globes' ),
    224240                            'register_rest_api' => true,
    225241                        ),
  • interactive-globes/trunk/src/models/02-globe-point.php

    r3263746 r3269021  
    1515    'name'         => 'itt_globe_point',
    1616    'features'     => [
    17         'duplicate'  => array(
     17        'quick_edit'    => true,
     18        'single_export' => true,
     19        'duplicate'     => array(
    1820            'label'      => __( 'Clone Point', 'interactive-globes' ),
    1921            'attr_title' => __( 'Create a copy of this point', 'interactive-globes' ),
     22        ),
     23        'admin_filters' => array(
     24            'globe_id' => array(
     25                'title'           => 'Parent Globe ID',
     26                'meta_search_key' => 'globe_id',
     27                'compare'         => '=',        // Exact match
     28                'type'            => 'NUMERIC',  // Ensures numeric comparison
     29            ),
    2030        ),
    2131        'admin_cols' => array(
     
    2737            'globe_id' => array(
    2838                'title'    => __( 'Parent Globe', 'interactive-globes' ),
     39                'sortable' => true,
     40                'meta_key' => 'globe_id',
     41                'orderby'  => 'meta_value_num',
    2942                'function' => function () {
    30                         global $post;
    31                         $globe_id = get_post_meta( $post->ID, 'globe_id', true );
     43                    global $post;
     44                    $globe_id = get_post_meta( $post->ID, 'globe_id', true );
    3245                    if ( $globe_id ) {
    3346                        $globe_title = get_the_title( $globe_id );
    3447                        if ( $globe_title ) {
    35                             echo esc_html( $globe_title );
     48                            echo esc_html( $globe_title . ' [ ' . $globe_id . ' ]' );
    3649                        } else {
    3750                            echo esc_html( $globe_id );
     
    202215                            'title'             => __( 'Associated Globe', 'interactive-globes' ),
    203216                            'attributes'        => [ 'id' => 'globe_id_number' ],
    204                             'title'             => __( 'Associated Globe', 'interactive-globes' ),
    205217                            'class'             => 'hidden',
    206218                            'register_rest_api' => true,
    207219                        ],
    208220                        'globe_id_select' => array(
     221                            'type'              => 'select',
     222                            'title'             => __( 'Associated Globe', 'interactive-globes' ),
    209223                            'placeholder'       => __( 'Select a Parent Globe', 'interactive-globes' ),
    210224                            'attributes'        => [ 'id' => 'globe_id_select' ],
    211                             'type'              => 'select',
    212225                            'options'           => 'pages',
    213226                            'query_args'        => array(
     
    217230                            ),
    218231                            'class'             => isset( $_GET['iframe'] ) ? 'hidden' : '',
    219                             'title'             => __( 'Associated Globe', 'interactive-globes' ),
    220232                            'register_rest_api' => true,
    221233                        ),
  • interactive-globes/trunk/vendor-prefixed/autoload.php

    r3265122 r3269021  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInit28f9977abb57ce84e6bd434c52337071::getLoader();
     25return ComposerAutoloaderInit063318fd13e99c35a4f3e7f801033e0f::getLoader();
  • interactive-globes/trunk/vendor-prefixed/composer/autoload_real.php

    r3265122 r3269021  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit28f9977abb57ce84e6bd434c52337071
     5class ComposerAutoloaderInit063318fd13e99c35a4f3e7f801033e0f
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit28f9977abb57ce84e6bd434c52337071', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInit063318fd13e99c35a4f3e7f801033e0f', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit28f9977abb57ce84e6bd434c52337071', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit063318fd13e99c35a4f3e7f801033e0f', 'loadClassLoader'));
    3030
    3131        require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInit28f9977abb57ce84e6bd434c52337071::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInit063318fd13e99c35a4f3e7f801033e0f::getInitializer($loader));
    3333
    3434        $loader->setClassMapAuthoritative(true);
  • interactive-globes/trunk/vendor-prefixed/composer/autoload_static.php

    r3265122 r3269021  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit28f9977abb57ce84e6bd434c52337071
     7class ComposerStaticInit063318fd13e99c35a4f3e7f801033e0f
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    306306    {
    307307        return \Closure::bind(function () use ($loader) {
    308             $loader->prefixLengthsPsr4 = ComposerStaticInit28f9977abb57ce84e6bd434c52337071::$prefixLengthsPsr4;
    309             $loader->prefixDirsPsr4 = ComposerStaticInit28f9977abb57ce84e6bd434c52337071::$prefixDirsPsr4;
    310             $loader->classMap = ComposerStaticInit28f9977abb57ce84e6bd434c52337071::$classMap;
     308            $loader->prefixLengthsPsr4 = ComposerStaticInit063318fd13e99c35a4f3e7f801033e0f::$prefixLengthsPsr4;
     309            $loader->prefixDirsPsr4 = ComposerStaticInit063318fd13e99c35a4f3e7f801033e0f::$prefixDirsPsr4;
     310            $loader->classMap = ComposerStaticInit063318fd13e99c35a4f3e7f801033e0f::$classMap;
    311311
    312312        }, null, ClassLoader::class);
  • interactive-globes/trunk/vendor/composer/autoload_classmap.php

    r3265122 r3269021  
    6666    'CSF_Welcome' => $vendorDir . '/saltus/framework/lib/codestar-framework/views/welcome.php',
    6767    'CSF_Widget' => $vendorDir . '/saltus/framework/lib/codestar-framework/classes/widget-options.class.php',
    68     'ComposerAutoloaderInit28f9977abb57ce84e6bd434c52337071' => $baseDir . '/../vendor-prefixed/composer/autoload_real.php',
     68    'ComposerAutoloaderInit063318fd13e99c35a4f3e7f801033e0f' => $baseDir . '/../vendor-prefixed/composer/autoload_real.php',
    6969    'Composer\\Autoload\\ClassLoader' => $baseDir . '/../vendor-prefixed/composer/ClassLoader.php',
    70     'Composer\\Autoload\\ComposerStaticInit28f9977abb57ce84e6bd434c52337071' => $baseDir . '/../vendor-prefixed/composer/autoload_static.php',
     70    'Composer\\Autoload\\ComposerStaticInit063318fd13e99c35a4f3e7f801033e0f' => $baseDir . '/../vendor-prefixed/composer/autoload_static.php',
    7171    'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
    7272    'Noodlehaus\\AbstractConfig' => $vendorDir . '/hassankhan/config/src/AbstractConfig.php',
  • interactive-globes/trunk/vendor/composer/autoload_static.php

    r3265122 r3269021  
    9494        'CSF_Welcome' => __DIR__ . '/..' . '/saltus/framework/lib/codestar-framework/views/welcome.php',
    9595        'CSF_Widget' => __DIR__ . '/..' . '/saltus/framework/lib/codestar-framework/classes/widget-options.class.php',
    96         'ComposerAutoloaderInit28f9977abb57ce84e6bd434c52337071' => __DIR__ . '/../..'.'/build' . '/../vendor-prefixed/composer/autoload_real.php',
     96        'ComposerAutoloaderInit063318fd13e99c35a4f3e7f801033e0f' => __DIR__ . '/../..'.'/build' . '/../vendor-prefixed/composer/autoload_real.php',
    9797        'Composer\\Autoload\\ClassLoader' => __DIR__ . '/../..'.'/build' . '/../vendor-prefixed/composer/ClassLoader.php',
    98         'Composer\\Autoload\\ComposerStaticInit28f9977abb57ce84e6bd434c52337071' => __DIR__ . '/../..'.'/build' . '/../vendor-prefixed/composer/autoload_static.php',
     98        'Composer\\Autoload\\ComposerStaticInit063318fd13e99c35a4f3e7f801033e0f' => __DIR__ . '/../..'.'/build' . '/../vendor-prefixed/composer/autoload_static.php',
    9999        'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
    100100        'Noodlehaus\\AbstractConfig' => __DIR__ . '/..' . '/hassankhan/config/src/AbstractConfig.php',
  • interactive-globes/trunk/vendor/composer/installed.php

    r3265122 r3269021  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => '2bfb38d16c2d4ee7d02c63f3147e86b08a1b90d4',
     6        'reference' => 'e725ce4ae9f4b95d08ef2e49e4172fa0342dc235',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../build',
     
    4141            'pretty_version' => 'dev-main',
    4242            'version' => 'dev-main',
    43             'reference' => '2bfb38d16c2d4ee7d02c63f3147e86b08a1b90d4',
     43            'reference' => 'e725ce4ae9f4b95d08ef2e49e4172fa0342dc235',
    4444            'type' => 'wordpress-plugin',
    4545            'install_path' => __DIR__ . '/../../build',
Note: See TracChangeset for help on using the changeset viewer.