Plugin Directory

Changeset 2406336


Ignore:
Timestamp:
10/25/2020 05:49:02 PM (5 years ago)
Author:
marcshowpass
Message:

Calendar display updates

Location:
showpass/trunk
Files:
2 added
6 edited

Legend:

Unmodified
Added
Removed
  • showpass/trunk/css/showpass-calendar-style.css

    r2084827 r2406336  
    7171.showpass-calendar-head {
    7272  background: #f4f4f4;
     73  color: #333333;
    7374  text-transform: uppercase;
    7475  text-align: center;
     
    8788.showpass-calendar-day p {
    8889  display: inline-block;
     90  line-height: 30px;
     91  margin: 0px;
    8992}
    9093
     
    207210
    208211.showpass-prev-year, .showpass-prev-month, .showpass-prev-week, .showpass-prev-day {
    209   margin-top: 4px;
    210212  width: 30px;
    211213  height: 30px;
     
    213215  background-position: center;
    214216  background-size: 100%;
    215   display: inline-block;
    216217  float: left;
    217218  cursor: pointer;
     219}
     220
     221.showpass-prev-year.white-arrows, .showpass-prev-month.white-arrows, .showpass-prev-week.white-arrows, .showpass-prev-day.white-arrows {
     222  background-image: url(../images/arrow_left_white.png) !important;
    218223}
    219224
     
    228233
    229234.showpass-next-year, .showpass-next-month, .showpass-next-week, .showpass-next-day {
    230   margin-top: 4px;
    231235  width: 30px;
    232236  height: 30px;
     
    234238  background-position: center;
    235239  background-size: 100%;
    236   display: inline-block;
    237240  float: right;
    238241  cursor: pointer;
     242}
     243
     244.showpass-next-year.white-arrows, .showpass-next-month.white-arrows, .showpass-next-week.white-arrows, .showpass-next-day.white-arrows {
     245  background-image: url(../images/arrow_right_white.png) !important;
    239246}
    240247
  • showpass/trunk/readme.txt

    r2240117 r2406336  
    22Tags: showpass, events, tickets, sell tickets, event calendar, purchase tickets, custom event pages
    33Requires at least: 4.5
    4 Tested up to: 5.3.2
     4Tested up to: 5.5.1
    55Stable tag: 3.4.4
    66Requires PHP: 5.4.45
  • showpass/trunk/showpass-wordpress-plugin-shortcode.php

    r2324732 r2406336  
    626626  }
    627627
     628  // white arrows
     629  if (isset($atts['arrows'])) {
     630    $arrows = $atts['arrows'];
     631  } else {
     632    $arrows = '';
     633  }
     634
     635  // white arrows
     636  if (isset($atts['hide_view_select'])) {
     637    $hide_view_select = $atts["hide_view_select"] === 'true' ? true : false;
     638  } else {
     639    $hide_view_select = false;
     640  }
     641
    628642  if (!function_exists('showpass_calendar_global_vars')) {
    629643    function showpass_calendar_global_vars ($value) {
     
    710724  $hide_daily = '';
    711725  $hide_calendar = '';
    712   $html .= "<div class='clearfix control-container'><select id='view-select'><option ". $month_enable . " class='month' value='month'>Month View</option><option ". $week_enable . " class='week' value='week'>Week View</option><option class='day' value='day'>Day View</option></select>";
     726  $html .= "<div class='clearfix control-container'>";
     727 
     728  if (!$hide_view_select) {
     729    $html .= "<select id='view-select'><option ". $month_enable . " class='month' value='month'>Month View</option><option ". $week_enable . " class='week' value='week'>Week View</option><option class='day' value='day'>Day View</option></select>";
     730  }
    713731  if (!$hide_schedule) {
    714732    $html .= "<div class='daily-view-toggle'><span id='card-view' class='icon-button'><i class='fa fa-list-alt'></i></span><span id='schedule-view' class='icon-button'><i class='fa fa-list'></i></span></div>";
     
    716734  $html .= '</div>';
    717735  // Generate Month/Week view stuff
    718     $html .= "<div class='showpass-calendar-month'><div class='showpass-prev-month disabled' data-month='" . $GLOBALS['current_month_prev'] . "'></div><p class='showpass-month'>" . $GLOBALS['current_month'] ."</p> <p class='showpass-year'>" . $GLOBALS['current_year'] ."</p><div class='showpass-next-month' data-month='" . $GLOBALS['current_month_next'] . "'></div></div>";
    719     $html .= "<div class='showpass-calendar-week'><div class='showpass-prev-week' data-prev-week=''></div><p class='showpass-week'></p><div class='showpass-next-week' data-next-week=''></div> </div>";
     736    $html .= "<div class='showpass-calendar-month'><div class='showpass-prev-month disabled " . $arrows . "' data-month='" . $GLOBALS['current_month_prev'] . "'></div><p class='showpass-month'>" . $GLOBALS['current_month'] ."</p> <p class='showpass-year'>" . $GLOBALS['current_year'] ."</p><div class='showpass-next-month " . $arrows . "' data-month='" . $GLOBALS['current_month_next'] . "'></div></div>";
     737    $html .= "<div class='showpass-calendar-week'><div class='showpass-prev-week " . $arrows . "' data-prev-week=''></div><p class='showpass-week'></p><div class='showpass-next-week " . $arrows . "' data-next-week=''></div> </div>";
    720738  $html .= "<div class='calendar-contain-desktop'><div class='showpass-calendar-head-container clearfix'>";
    721739
     
    730748
    731749  // Generate single day html
    732   $html .= "<div class='horizontal-schedule-display'><div class='showpass-calendar-day'><div class='showpass-prev-day' data-day='dummy'></div><p class='showpass-day'></p><div class='showpass-next-day' data-date='dummy'></div></div>";
     750  $html .= "<div class='horizontal-schedule-display'><div class='showpass-calendar-day'><div class='showpass-prev-day " . $arrows . "' data-day='dummy'></div><p class='showpass-day'></p><div class='showpass-next-day " . $arrows . "' data-date='dummy'></div></div>";
    733751  $html .= "<div id='schedule-display'></div>";
    734752  $html .= "<div id='daily-card-view' class='showpass-flex-box'><div class='showpass-layout-flex'></div></div>";
  • showpass/trunk/showpass-wordpress-plugin.php

    r2324732 r2406336  
    55     Description: List events, display event details and products. Use the Showpass purchase widget for on site ticket & product purchases all with easy to use shortcodes. See our git repo here for full documentation. https://github.com/showpass/showpass-wordpress-plugin
    66     Author: Showpass / Up In Code Inc.
    7      Version: 3.4.6
     7     Version: 3.4.7
    88     Author URI: https://www.showpass.com
    99     */
Note: See TracChangeset for help on using the changeset viewer.