Plugin Directory

Changeset 2346695


Ignore:
Timestamp:
07/26/2020 10:17:49 AM (6 years ago)
Author:
transact
Message:

version 5.1.1 donation button layout fix

Location:
transact
Files:
4 edited
17 copied

Legend:

Unmodified
Added
Removed
  • transact/tags/5.1.1/frontend/assets/style.css

    r2346213 r2346695  
    99  display: block;
    1010}
     11.transact-purchase_button .transact-spacer,
    1112.transact-purchase_button .transact-fade {
    1213  padding-top: 125px;
     14}
     15.transact-purchase_button .transact-fade {
    1316  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 125px, rgba(255, 255, 255, 1));
    1417}
  • transact/tags/5.1.1/frontend/controllers/transact-handle-buttons.php

    r2346213 r2346695  
    8383        }
    8484
    85         return $this->wrap_buttons($this->options, $this->transact_api, $buttons, false);
     85        return $this->wrap_buttons($this->options, $buttons, false);
    8686    }
    8787
     
    101101        $buttons = array($input . $button);
    102102
    103         return $this->wrap_buttons($this->options, $this->transact_api, $buttons, true);
     103        return $this->wrap_buttons($this->options, $buttons, true);
    104104    }
    105105
     
    147147     * @return string html table with supplied buttons
    148148     */
    149     protected function wrap_buttons($options, $transact_api, $buttons, $is_donation) {
     149    protected function wrap_buttons($options, $buttons, $is_donation) {
    150150        $output = '<div class="transact-purchase_button">';
    151151        $has_overlay = false;
     
    182182                $background_fade_color_style
    183183            );
     184        } else {
     185            $output .= '<div class="transact-spacer">';
    184186        }
    185187
     
    196198        $output .= '</div>';
    197199
    198         if ($has_overlay) {
    199             $output .= '</div>';
    200         }
    201         $output .= '</div>';
     200        $output .= '</div></div>';
    202201
    203202        return $output;
  • transact/tags/5.1.1/readme.txt

    r2346213 r2346695  
    66Requires PHP: 5.6
    77Tested up to: 5.4.2
    8 Stable tag: 5.1.0
     8Stable tag: 5.1.1
    99License: APACHE-2.0
    1010License URI: https://www.apache.org/licenses/LICENSE-2.0
     
    8282
    8383
     84= 5.1.1 =
     85* Fix dontation button layout
     86
    8487= 5.1.0 =
    8588* Configurable text fade on paid content.
  • transact/tags/5.1.1/transact-plugin.php

    r2346213 r2346695  
    33 * Plugin Name: transact.io
    44 * Description: Integrates transact.io services into WP
    5  * Version: 5.1.0
     5 * Version: 5.1.1
    66 * Author: transact.io
    77 * Author URI: https://transact.io
  • transact/trunk/frontend/assets/style.css

    r2346213 r2346695  
    99  display: block;
    1010}
     11.transact-purchase_button .transact-spacer,
    1112.transact-purchase_button .transact-fade {
    1213  padding-top: 125px;
     14}
     15.transact-purchase_button .transact-fade {
    1316  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 125px, rgba(255, 255, 255, 1));
    1417}
  • transact/trunk/frontend/controllers/transact-handle-buttons.php

    r2346213 r2346695  
    8383        }
    8484
    85         return $this->wrap_buttons($this->options, $this->transact_api, $buttons, false);
     85        return $this->wrap_buttons($this->options, $buttons, false);
    8686    }
    8787
     
    101101        $buttons = array($input . $button);
    102102
    103         return $this->wrap_buttons($this->options, $this->transact_api, $buttons, true);
     103        return $this->wrap_buttons($this->options, $buttons, true);
    104104    }
    105105
     
    147147     * @return string html table with supplied buttons
    148148     */
    149     protected function wrap_buttons($options, $transact_api, $buttons, $is_donation) {
     149    protected function wrap_buttons($options, $buttons, $is_donation) {
    150150        $output = '<div class="transact-purchase_button">';
    151151        $has_overlay = false;
     
    182182                $background_fade_color_style
    183183            );
     184        } else {
     185            $output .= '<div class="transact-spacer">';
    184186        }
    185187
     
    196198        $output .= '</div>';
    197199
    198         if ($has_overlay) {
    199             $output .= '</div>';
    200         }
    201         $output .= '</div>';
     200        $output .= '</div></div>';
    202201
    203202        return $output;
  • transact/trunk/readme.txt

    r2346213 r2346695  
    66Requires PHP: 5.6
    77Tested up to: 5.4.2
    8 Stable tag: 5.1.0
     8Stable tag: 5.1.1
    99License: APACHE-2.0
    1010License URI: https://www.apache.org/licenses/LICENSE-2.0
     
    8282
    8383
     84= 5.1.1 =
     85* Fix dontation button layout
     86
    8487= 5.1.0 =
    8588* Configurable text fade on paid content.
  • transact/trunk/transact-plugin.php

    r2346213 r2346695  
    33 * Plugin Name: transact.io
    44 * Description: Integrates transact.io services into WP
    5  * Version: 5.1.0
     5 * Version: 5.1.1
    66 * Author: transact.io
    77 * Author URI: https://transact.io
Note: See TracChangeset for help on using the changeset viewer.