Plugin Directory

Changeset 3295247


Ignore:
Timestamp:
05/17/2025 01:06:34 PM (10 months ago)
Author:
spiffyplugins
Message:

Version 5.0.6

Location:
spiffy-calendar/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • spiffy-calendar/trunk/includes/admin/custom-posts.php

    r3255613 r3295247  
    299299        global $post_type_object, $spiffy_calendar;
    300300
     301        ob_start();
    301302        if ( !$spiffy_calendar->bonus_addons_active() ) {
    302             $disabled = 'disabled="disabled"';
     303            echo __( 'Export CSV','spiffy-calendar' ) . ' | ' . __('Import CSV','spiffy-calendar');
     304            echo " <small><em>* ";
     305            echo __ ('CSV import/export is a bonus feature', 'spiffy-calendar');
     306            echo "</em></small>";
    303307        } else {
    304             $disabled = '';
    305         }
    306        
    307         ob_start();
    308308        ?>
    309         <a href='<?php echo esc_url($_SERVER['REQUEST_URI']); ?>&spiffy_csv_export=true&nonce=<?php echo wp_create_nonce( 'spiffy_export_nonce' ); ?>' <?php echo $disabled; ?> >
     309        <a href='<?php echo esc_url($_SERVER['REQUEST_URI']); ?>&spiffy_csv_export=true&nonce=<?php echo wp_create_nonce( 'spiffy_export_nonce' ); ?>'>
    310310            <?php _e( 'Export CSV','spiffy-calendar' ); ?>
    311         </a> | <a href="#" onclick='jQuery("#div_import").css("display", "inline"); return false;' <?php echo $disabled; ?> >
     311        </a> | <a href="#" onclick='jQuery("#div_import").css("display", "inline"); return false;'>
    312312            <?php _e('Import CSV','spiffy-calendar'); ?>
    313313        </a>
    314314        <form id='div_import' class="spiffy-form" name='div_import' style="display: none; margin-left: 5px;" action="" method="POST" enctype='multipart/form-data'>
    315             <input type="file" name="spiffy_csv" multiple="false" <?php echo $disabled; ?> />
    316             <input type="submit" <?php echo $disabled; ?> value="<?php _e ( 'Import','spiffy-calendar'); ?>" name="import_events" id="import_events" class="button-primary spiffy-submit action" />
     315            <input type="file" name="spiffy_csv" multiple="false" />
     316            <input type="submit" value="<?php _e ( 'Import','spiffy-calendar'); ?>" name="import_events" id="import_events" class="button-primary spiffy-submit action" />
    317317            <input type="hidden" value="true" name="save_spiffycal">
    318318            <?php _e('Import events from CSV', 'spiffy-calendar'); ?>
     
    321321
    322322        <?php     
    323         if ( !$spiffy_calendar->bonus_addons_active() ) {
    324             echo " <small><em>* ";
    325             _e ('CSV import/export is a bonus feature', 'spiffy-calendar');
    326             echo "</em></small>";
    327         }
    328         ?>
    329 
    330         <?php
     323        }
    331324        $views['csv'] = ob_get_clean( );
    332325
  • spiffy-calendar/trunk/includes/views.php

    r3255613 r3295247  
    14661466                    $the_time = __('all day', 'spiffy-calendar');
    14671467                } else if ($event->meta['_spiffy_event_end_time'][0] == '') {
    1468                     $the_time = __('at ', 'spiffy-calendar') . date(get_option('time_format'), strtotime($event->meta['_spiffy_event_end'][0]));
     1468                    $the_time = __('at ', 'spiffy-calendar') . date(get_option('time_format'), strtotime($event->meta['_spiffy_event_time'][0]));
    14691469                } else if ($event->meta['_spiffy_event_time'][0] == '') {
    14701470                    $the_time = __('until ', 'spiffy-calendar') . date(get_option('time_format'), strtotime($event->meta['_spiffy_event_end_time'][0]));
  • spiffy-calendar/trunk/readme.txt

    r3255613 r3295247  
    44Requires at least: 5.3
    55Tested up to: 6.8
    6 Stable tag: 5.0.5
     6Stable tag: 5.0.6
    77License: GPLv2
    88Tags:  calendar,event,responsive,recurring,block
     
    172172**Before updating from version 4 to version 5 it is strongly recommended to remove old events**
    173173
     174= 5.0.6 (May 17, 2025) =
     175
     176* Fix: mini calendar display for events with a start time but no end time
     177* Tweak: CSV import/export display when bonus add-ons not present
     178
    174179= 5.0.5 (March 13, 2025) =
    175180
  • spiffy-calendar/trunk/spiffy-calendar.php

    r3255613 r3295247  
    44Plugin URI:  http://www.spiffyplugins.ca/spiffycalendar
    55Description: A full featured, simple to use Spiffy Calendar plugin for WordPress that allows you to manage and display your events and appointments.
    6 Version:     5.0.5
     6Version:     5.0.6
    77Author:      Spiffy Plugins
    88Author URI:  http://spiffyplugins.ca
Note: See TracChangeset for help on using the changeset viewer.