Print, PDF, Email by PrintFriendly - Version 3.0.7

Version Description

  • Added additional images for print button.
Download this release

Release Info

Developer printfriendly
Plugin Icon 128x128 Print, PDF, Email by PrintFriendly
Version 3.0.7
Comparing to
See all releases

Code changes from version 3.0.6 to 3.0.7

Files changed (2) hide show
  1. pf.php +12 -3
  2. readme.txt +6 -2
pf.php CHANGED
@@ -4,11 +4,12 @@ Plugin Name: Print Friendly and PDF
4
  Plugin URI: http://www.printfriendly.com
5
  Description: PrintFriendly & PDF optimizes your pages for print. Help your readers save paper and ink, plus enjoy your content in printed form. Website
6
  Name and URL are included to ensure repeat visitors and new visitors when printed versions are shared.
7
- Version: 3.0.6
8
  Author: Print Friendly
9
  Author URI: http://www.PrintFriendly.com
10
 
11
  Changelog :
 
12
  3.0.6 - Fix bug that would display button on category pages when not wanted.
13
  3.0.5 - Include button on category pages if user has selected "All pages".
14
  3.0.4 - Align-right and align-center support for themes that remove WordPress core css.
@@ -288,7 +289,7 @@ if ( ! class_exists( 'PrintFriendly_WordPress' ) ) {
288
  // echo '<pre>'.print_r($input,1).'</pre>';
289
  // die;
290
 
291
- if ( !in_array( $input['button_type'], array( 'pf-button.gif', 'pf-button-big.gif', 'pf-icon-small.gif', 'pf-icon.gif', 'pf-button-both.gif', 'pf-icon-both.gif', 'text-only', 'custom-image') ) )
292
  $valid_input['button_type'] = 'pf-button.gif';
293
 
294
  if ( !isset( $input['custom_image'] ) )
@@ -569,6 +570,14 @@ if ( ! class_exists( 'PrintFriendly_WordPress' ) ) {
569
  <td class="defaultavatarpicker">
570
  <fieldset>
571
  <?php $this->radio('pf-button.gif'); ?>
 
 
 
 
 
 
 
 
572
  <?php $this->radio('pf-button-both.gif'); ?>
573
  <?php $this->radio('pf-button-big.gif'); ?>
574
  <span class="button_preview">
@@ -705,4 +714,4 @@ if ( ! class_exists( 'PrintFriendly_WordPress' ) ) {
705
  function pf_show_link() {
706
  global $printfriendly;
707
  return $printfriendly->show_link();
708
- }
4
  Plugin URI: http://www.printfriendly.com
5
  Description: PrintFriendly & PDF optimizes your pages for print. Help your readers save paper and ink, plus enjoy your content in printed form. Website
6
  Name and URL are included to ensure repeat visitors and new visitors when printed versions are shared.
7
+ Version: 3.0.7
8
  Author: Print Friendly
9
  Author URI: http://www.PrintFriendly.com
10
 
11
  Changelog :
12
+ 3.0.7 - Added additional images for print button.
13
  3.0.6 - Fix bug that would display button on category pages when not wanted.
14
  3.0.5 - Include button on category pages if user has selected "All pages".
15
  3.0.4 - Align-right and align-center support for themes that remove WordPress core css.
289
  // echo '<pre>'.print_r($input,1).'</pre>';
290
  // die;
291
 
292
+ if ( !in_array( $input['button_type'], array( 'pf-button.gif', 'button-print-grnw20.png', 'button-print-blu20.png', 'button-print-gry20.png', 'button-print-whgn20.png', 'pf_button_sq_qry_m.png', 'pf_button_sq_qry_l.png', 'pf_button_sq_grn_m.png', 'pf_button_sq_grn_l.png', 'pf-button-big.gif', 'pf-icon-small.gif', 'pf-icon.gif', 'pf-button-both.gif', 'pf-icon-both.gif', 'text-only', 'custom-image') ) )
293
  $valid_input['button_type'] = 'pf-button.gif';
294
 
295
  if ( !isset( $input['custom_image'] ) )
570
  <td class="defaultavatarpicker">
571
  <fieldset>
572
  <?php $this->radio('pf-button.gif'); ?>
573
+ <?php $this->radio('button-print-grnw20.png'); ?>
574
+ <?php $this->radio('button-print-blu20.png'); ?>
575
+ <?php $this->radio('button-print-gry20.png'); ?>
576
+ <?php $this->radio('button-print-whgn20.png'); ?>
577
+ <?php $this->radio('pf_button_sq_gry_m.png'); ?>
578
+ <?php $this->radio('pf_button_sq_gry_l.png'); ?>
579
+ <?php $this->radio('pf_button_sq_grn_m.png'); ?>
580
+ <?php $this->radio('pf_button_sq_grn_l.png'); ?>
581
  <?php $this->radio('pf-button-both.gif'); ?>
582
  <?php $this->radio('pf-button-big.gif'); ?>
583
  <span class="button_preview">
714
  function pf_show_link() {
715
  global $printfriendly;
716
  return $printfriendly->show_link();
717
+ }
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: printfriendly,joostdevalk
3
  Tags: print, pdf, printer, printing, printable, widget, plugin
4
  Requires at least: 2.8
5
  Tested up to: 3.2.1
6
- Stable tag: 3.0.6
7
 
8
  The #1 Print and PDF button for your WordPress site. Printer Friendly pages without coding, css, or print.css. Fast, easy, and professional.
9
 
@@ -64,6 +64,10 @@ If you have any other issues with the plugin or the PrintFriendly widget, please
64
 
65
  == Changelog ==
66
 
 
 
 
 
67
  = 3.0.6 =
68
 
69
  * Fix bug that displays button on category pages when posts and pages is selected.
@@ -119,4 +123,4 @@ If you have any other issues with the plugin or the PrintFriendly widget, please
119
  = 2.1.5 =
120
 
121
  * To avoid conflicts with Google Analytics widgets, changed link structure. No longer uses onclick to call PrintFriendly Javascript. Now the javascript is called in the href.
122
- * Custom image support for hosted solutions
3
  Tags: print, pdf, printer, printing, printable, widget, plugin
4
  Requires at least: 2.8
5
  Tested up to: 3.2.1
6
+ Stable tag: 3.0.7
7
 
8
  The #1 Print and PDF button for your WordPress site. Printer Friendly pages without coding, css, or print.css. Fast, easy, and professional.
9
 
64
 
65
  == Changelog ==
66
 
67
+ = 3.0.7 =
68
+
69
+ * Added additional images for print button.
70
+
71
  = 3.0.6 =
72
 
73
  * Fix bug that displays button on category pages when posts and pages is selected.
123
  = 2.1.5 =
124
 
125
  * To avoid conflicts with Google Analytics widgets, changed link structure. No longer uses onclick to call PrintFriendly Javascript. Now the javascript is called in the href.
126
+ * Custom image support for hosted solutions