Plugin Directory


Ignore:
Timestamp:
10/15/2026 07:29:29 PM (4 days ago)
Author:
roxyapi
Message:

Update to version 1.21.0 from GitHub

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roxyapi/trunk/src/Generated/Forms/PanchangForm.php

    r3635655 r3749195  
    3131                        'title'        => __( 'Detailed panchang', 'roxyapi' ),
    3232                        'submit_label' => __( 'Look up panchang', 'roxyapi' ),
     33                        'locations'    => array( array( 'anchor' => 'details[date]', 'section' => 'details', 'id' => '', 'fields' => array( 'latitude' => 'details[lat]', 'longitude' => 'details[lon]', 'timezone' => 'details[tz]' ) ) ),
    3334                        'sections'     => array(
    3435                        array(
    3536                                'name'   => 'details',
    3637                                'label'  => __( 'Date and location', 'roxyapi' ),
     38                                'fold'   => false,
    3739                                'fields' => array(
    3840                                        array(
    … …  
    4244                                                'type' => 'date',
    4345                                                'help' => __( 'Date for the panchang reading', 'roxyapi' ),
     46                                                'placeholder' => __( '2026-02-03', 'roxyapi' ),
    4447                                        ),
    4548                                        array(
    … …  
    4952                                                'type' => 'number',
    5053                                                'help' => __( 'Decimal degrees, negative for south', 'roxyapi' ),
     54                                                'placeholder' => __( '28.6139', 'roxyapi' ),
    5155                                                'min' => -90,
    5256                                                'max' => 90,
    … …  
    5963                                                'type' => 'number',
    6064                                                'help' => __( 'Decimal degrees, negative for west', 'roxyapi' ),
     65                                                'placeholder' => __( '77.209', 'roxyapi' ),
    6166                                                'min' => -180,
    6267                                                'max' => 180,
    … …  
    6974                                                'type' => 'timezone',
    7075                                                'help' => __( 'IANA name like Asia/Kolkata', 'roxyapi' ),
     76                                                'placeholder' => __( '5.5', 'roxyapi' ),
     77                                                'min' => -14,
     78                                                'max' => 14,
     79                                                'default' => 5.5,
    7180                                        ),
    7281                                ),
Note: See TracChangeset for help on using the changeset viewer.