Plugin Directory

Changeset 2186325


Ignore:
Timestamp:
11/05/2019 04:55:06 PM (6 years ago)
Author:
marcshowpass
Message:

3.4.3 update

Location:
showpass/trunk
Files:
5 edited

Legend:

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

    r2183481 r2186325  
    206206}
    207207
    208 .product-price {
     208.showpass-product-price {
    209209  margin-top: 10px;
    210210}
     
    218218    margin-top: 0px;
    219219  }
    220   .product-price {
     220  .showpass-product-price {
    221221    margin-top: 0px;
    222222  }
     
    229229.showpass-button-pull-left {
    230230  justify-content: flex-start;
    231 }
    232 
    233 a {
    234   box-shadow: none !important;
    235   -webkit-box-shadow: none !important;
    236   text-decoration: none;
    237231}
    238232
     
    409403  padding: 5px 10px;
    410404  font-size: 0.875rem;
    411   display: none;
    412 }
    413 
    414 .showpass-pagination li:last-child, .showpass-pagination li:first-child {
    415405  display: inline-block;
    416 }
    417 
    418 @media print, screen and (min-width: 48.75em) {
    419   .showpass-pagination li {
    420     display: inline-block;
    421   }
    422406}
    423407
     
    539523}
    540524
    541 a {
     525.showpass-flex-box a {
    542526  box-shadow: none !important;
    543527  -webkit-box-shadow: none !important;
  • showpass/trunk/inc/default-product-grid.php

    r2183454 r2186325  
    4545                                <div class="showpass-layout-flex">
    4646                                    <div class="flex-100 showpass-flex-column showpass-no-border">
    47                                         <div class="product-price"><?php if ($product['product_attributes']) : ?><small class="showpass-price-display"><?php echo showpass_get_product_price_range($product['product_attributes']);?> <?php echo $product['currency']; ?></small><?php endif; ?></div>
    48                                         <div class="product-price"><?php if (!$product['product_attributes']) : ?><small class="showpass-price-display"> No Items Available</small><?php endif; ?></div>
     47                                        <div class="showpass-product-price"><?php if ($product['product_attributes']) : ?><small class="showpass-price-display"><?php echo showpass_get_product_price_range($product['product_attributes']);?> <?php echo $product['currency']; ?></small><?php endif; ?></div>
     48                                        <div class="showpass-product-price"><?php if (!$product['product_attributes']) : ?><small class="showpass-price-display"> No Items Available</small><?php endif; ?></div>
    4949                  </div>
    5050                                </div>
  • showpass/trunk/inc/default-product-list.php

    r2183454 r2186325  
    3737                                    <div class="showpass-layout-flex">
    3838                                        <div class="flex-100 showpass-flex-column list-layout-flex showpass-no-border">
    39                                             <div class="product-price"><?php if ($product['product_attributes']) : ?>
     39                                            <div class="showpass-product-price"><?php if ($product['product_attributes']) : ?>
    4040                        <small class="showpass-price-display">
    4141                          <?php echo showpass_get_product_price_range($product['product_attributes']);?>
     
    4343                        </small><?php endif; ?>
    4444                      </div>
    45                         <div class="product-price"><?php if (!$product['product_attributes']) : ?><small class="showpass-price-display"> No Items Available</small><?php endif; ?></div>
     45                        <div class="showpass-product-price"><?php if (!$product['product_attributes']) : ?><small class="showpass-price-display"> No Items Available</small><?php endif; ?></div>
    4646                      </div>
    4747                                    </div>
  • showpass/trunk/showpass-wordpress-plugin-shortcode.php

    r2183454 r2186325  
    287287 * @return String html date element
    288288 */
    289 function showpass_display_date ( $event, $small = false ) {
     289function showpass_display_date ($event, $small = false) {
    290290  // grab values needed to calculate event times
    291291  $starts_on = $event['starts_on'];
    292292  $ends_on = $event['ends_on'];
    293293  $timezone = $event['timezone'];
     294  $recurring = $event['is_recurring_parent'];
    294295
    295296  /**
     
    316317        .'<i class="fa fa-calendar icon-center display-inline-block"></i>'
    317318        .'<span class="start-date">'
    318         .sprintf('<div class="display-inline-block label">Starts: </div><div class="display-inline-block"><div class="day">%s</div>', showpass_get_event_date($starts_on, $timezone))
    319         .sprintf('<div class="time">%s %s</div></div>', showpass_get_event_time($starts_on, $timezone), showpass_get_timezone_abbr($timezone))
    320         .'</span>'
     319        .sprintf('<div class="display-inline-block label">Starts: </div><div class="display-inline-block"><div class="day">%s</div>', showpass_get_event_date($starts_on, $timezone));
     320        if (!$recurring) {
     321          $starts_date_element .= sprintf('<div class="time">%s %s</div></div>', showpass_get_event_time($starts_on, $timezone), showpass_get_timezone_abbr($timezone));
     322        } else {
     323          $starts_date_element .= '</div>';
     324        }
     325        $starts_date_element .= '</span>'
     326          .'</div>';
     327      // end element
     328      $ends_date_element .= ''
     329        .'<div class="info dates">'
     330        .'<i class="fa fa-calendar icon-center display-inline-block"></i>'
     331        .'<span class="end-date">'
     332        .sprintf('<div class="display-inline-block label">Ends: </div><div class="display-inline-block"><div class="day">%s</div>', showpass_get_event_date($ends_on, $timezone));
     333        if (!$recurring) {
     334          $ends_date_element .= sprintf('<div class="time">%s %s</div></div>', showpass_get_event_time($ends_on, $timezone), showpass_get_timezone_abbr($timezone));
     335        } else {
     336          $ends_date_element .= '</div>';
     337        }
     338        $ends_date_element .= '</span>'
     339        .'</div>';
     340    } else {
     341      // start element
     342      $starts_date_element .= ''
     343        .'<div class="info dates">'
     344        .'<i class="fa fa-calendar icon-center display-inline-block"></i>'
     345        .'<span class="start-date">'
     346        .sprintf('<span>Starts: </span><span class="day">%s</span> ', showpass_get_event_date($starts_on, $timezone));
     347      if (!$recurring) {
     348        $starts_date_element .= sprintf('<span class="time">&commat; %s %s</span>', showpass_get_event_time($starts_on, $timezone), showpass_get_timezone_abbr($timezone));
     349      }
     350      $starts_date_element .= '</span>'
    321351        .'</div>';
    322352      // end element
     
    325355        .'<i class="fa fa-calendar icon-center display-inline-block"></i>'
    326356        .'<span class="end-date">'
    327         .sprintf('<div class="display-inline-block label">Ends: </div><div class="display-inline-block"><div class="day">%s</div>', showpass_get_event_date($ends_on, $timezone))
    328         .sprintf('<div class="time">%s %s</div></div>', showpass_get_event_time($ends_on, $timezone), showpass_get_timezone_abbr($timezone))
    329         .'</span>'
    330         .'</div>';
    331     } else {
    332       // start element
    333       $starts_date_element .= ''
    334         .'<div class="info dates">'
    335         .'<i class="fa fa-calendar icon-center display-inline-block"></i>'
    336         .'<span class="start-date">'
    337         .sprintf('<span>Starts: </span><span class="day">%s</span> ', showpass_get_event_date($starts_on, $timezone))
    338         .sprintf('<span class="time">&commat; %s %s</span>', showpass_get_event_time($starts_on, $timezone), showpass_get_timezone_abbr($timezone))
    339         .'</span>'
    340         .'</div>';
    341       // end element
    342       $ends_date_element .= ''
    343         .'<div class="info dates">'
    344         .'<i class="fa fa-calendar icon-center display-inline-block"></i>'
    345         .'<span class="end-date">'
    346         .sprintf('<span>Ends: </span><span><span class="day">%s</span> ', showpass_get_event_date($ends_on, $timezone))
    347         .sprintf('<span class="time">&commat; %s %s</span>', showpass_get_event_time($ends_on, $timezone), showpass_get_timezone_abbr($timezone))
    348         .'</span>'
     357        .sprintf('<span>Ends: </span><span><span class="day">%s</span> ', showpass_get_event_date($ends_on, $timezone));
     358      if (!$recurring) {
     359        $ends_date_element .= sprintf('<span class="time">&commat; %s %s</span>', showpass_get_event_time($ends_on, $timezone), showpass_get_timezone_abbr($timezone));
     360      }
     361      $ends_date_element .='</span>'
    349362        .'</div>';
    350363    }
  • showpass/trunk/showpass-wordpress-plugin.php

    r2185053 r2186325  
    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.2
     7     Version: 3.4.3
    88     Author URI: https://www.showpass.com
    99     */
Note: See TracChangeset for help on using the changeset viewer.