Changeset 2406336
- Timestamp:
- 10/25/2020 05:49:02 PM (5 years ago)
- Location:
- showpass/trunk
- Files:
-
- 2 added
- 6 edited
-
css/showpass-calendar-style.css (modified) (6 diffs)
-
images/arrow_left.png (modified) (previous)
-
images/arrow_left_white.png (added)
-
images/arrow_right.png (modified) (previous)
-
images/arrow_right_white.png (added)
-
readme.txt (modified) (1 diff)
-
showpass-wordpress-plugin-shortcode.php (modified) (4 diffs)
-
showpass-wordpress-plugin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
showpass/trunk/css/showpass-calendar-style.css
r2084827 r2406336 71 71 .showpass-calendar-head { 72 72 background: #f4f4f4; 73 color: #333333; 73 74 text-transform: uppercase; 74 75 text-align: center; … … 87 88 .showpass-calendar-day p { 88 89 display: inline-block; 90 line-height: 30px; 91 margin: 0px; 89 92 } 90 93 … … 207 210 208 211 .showpass-prev-year, .showpass-prev-month, .showpass-prev-week, .showpass-prev-day { 209 margin-top: 4px;210 212 width: 30px; 211 213 height: 30px; … … 213 215 background-position: center; 214 216 background-size: 100%; 215 display: inline-block;216 217 float: left; 217 218 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; 218 223 } 219 224 … … 228 233 229 234 .showpass-next-year, .showpass-next-month, .showpass-next-week, .showpass-next-day { 230 margin-top: 4px;231 235 width: 30px; 232 236 height: 30px; … … 234 238 background-position: center; 235 239 background-size: 100%; 236 display: inline-block;237 240 float: right; 238 241 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; 239 246 } 240 247 -
showpass/trunk/readme.txt
r2240117 r2406336 2 2 Tags: showpass, events, tickets, sell tickets, event calendar, purchase tickets, custom event pages 3 3 Requires at least: 4.5 4 Tested up to: 5. 3.24 Tested up to: 5.5.1 5 5 Stable tag: 3.4.4 6 6 Requires PHP: 5.4.45 -
showpass/trunk/showpass-wordpress-plugin-shortcode.php
r2324732 r2406336 626 626 } 627 627 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 628 642 if (!function_exists('showpass_calendar_global_vars')) { 629 643 function showpass_calendar_global_vars ($value) { … … 710 724 $hide_daily = ''; 711 725 $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 } 713 731 if (!$hide_schedule) { 714 732 $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>"; … … 716 734 $html .= '</div>'; 717 735 // 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>"; 720 738 $html .= "<div class='calendar-contain-desktop'><div class='showpass-calendar-head-container clearfix'>"; 721 739 … … 730 748 731 749 // 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>"; 733 751 $html .= "<div id='schedule-display'></div>"; 734 752 $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 5 5 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 6 6 Author: Showpass / Up In Code Inc. 7 Version: 3.4. 67 Version: 3.4.7 8 8 Author URI: https://www.showpass.com 9 9 */
Note: See TracChangeset
for help on using the changeset viewer.