Plugin Directory

Changeset 2416483


Ignore:
Timestamp:
11/11/2020 09:58:33 AM (5 years ago)
Author:
offshorewebmaster
Message:

number of display year

Location:
availability-calendar/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • availability-calendar/trunk/README.txt

    r2373547 r2416483  
    66Requires PHP : 5.4.4
    77Tested up to: 5.5
    8 Stable tag: 1.1.7
     8Stable tag: 1.1.8
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6767
    6868== Changelog ==
     69= 1.1.8=
     70* New: Number Of Months To Display add 5 year
     71
    6972= 1.1.7=
    7073* ERROR: css issue updated.
  • availability-calendar/trunk/admin/includes/owac-settings.php

    r2349708 r2416483  
    307307                <option value="<?php esc_html_e( $i.'m', 'availability-calendar' ); ?>" <?php esc_html_e( $selected, 'availability-calendar' ); ?>><?php esc_html_e( $i.' month(s)', 'availability-calendar' ); ?> </option>
    308308            <?php } ?>
    309             <?php for($j=1; $j <= 3; $j++){ ?>
     309            <?php for($j=1; $j <= 5; $j++){ ?>
    310310                <?php $selected = (isset( $this->settings_options['display_calendar_month'] ) && $this->settings_options['display_calendar_month'] === ''.$j.'y') ? 'selected' : '' ; ?>
    311311                <option value="<?php esc_html_e( $j.'y', 'availability-calendar' ); ?>" <?php esc_html_e( $selected, 'availability-calendar' ); ?>><?php esc_html_e( $j.' year(s)', 'availability-calendar' ); ?> </option>
  • availability-calendar/trunk/availabilitycalendar.php

    r2373547 r2416483  
    77 * Description:       Availability Calendar Description A plugin that records post views and contains functions to easily list posts by popularity
    88 
    9  * Version:           1.1.7
     9 * Version:           1.1.8
    1010 
    1111 * Author:            Offshore Web Master
     
    2828/**
    2929 * Currently plugin version.
    30  * Start at version 1.1.7
     30 * Start at version 1.1.8
    3131 */
    32 define( 'OWAC_VERSION', '1.1.7' );
     32define( 'OWAC_VERSION', '1.1.8' );
    3333   
    3434/**
  • availability-calendar/trunk/public/includes/frontend.php

    r2349708 r2416483  
    9696           
    9797            case "3y":
     98                $end_year=$start_year + $display_calendar_month;
     99                $row = 12 * $display_calendar_month + 1;
     100                break;
     101               
     102            case "4y":
     103                $end_year=$start_year + $display_calendar_month;
     104                $row = 12 * $display_calendar_month + 1;
     105                break;
     106
     107            case "5y":
    98108                $end_year=$start_year + $display_calendar_month;
    99109                $row = 12 * $display_calendar_month + 1;
Note: See TracChangeset for help on using the changeset viewer.