Changeset 745041
- Timestamp:
- 07/23/2013 03:58:38 PM (13 years ago)
- Location:
- content-for-money/trunk
- Files:
-
- 2 edited
-
contentformoney.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
content-for-money/trunk/contentformoney.php
r736661 r745041 5 5 Author: Panagiotis Angelidis (paaggeli) 6 6 Author URI: http://panoswebsites.com 7 Version: 1.1. 27 Version: 1.1.3 8 8 License: GPL version 2 or later 9 9 */ … … 142 142 $atts['paypal_url']='https://www.paypal.com/'; 143 143 $atts['sandbox_url']='https://www.sandbox.paypal.com/'; 144 $atts['email']=$tmpOption['test']?$tmpOption['sandbox_email']:$tmpOption['paypal_email']; 145 $atts['url']=$tmpOption['test']?$atts['sandbox_url']:$atts['paypal_url']; 144 145 //$atts['email']=$tmpOption['test']?$tmpOption['sandbox_email']:$tmpOption['paypal_email']; 146 if ($tmpOption['test'] == 'true'){ 147 $atts['email'] = $tmpOption['sandbox_email']; 148 } else { 149 $atts['email'] = $tmpOption['paypal_email']; 150 } 151 //$atts['url']=$tmpOption['test']?$atts['sandbox_url']:$atts['paypal_url']; 152 if ($tmpOption['test'] == 'true'){ 153 $atts['url'] = $atts['sandbox_url']; 154 } else { 155 $atts['url'] = $atts['paypal_url']; 156 } 146 157 147 158 if( null != $content && (current_user_can('read') || ($_GET['id']+600)>time())){ … … 168 179 $button='<div>'.$tmpOption['message'].'</div> 169 180 </br> 170 <form action="'.$a['url'].' /cgi-bin/webscr" method="post">181 <form action="'.$a['url'].'cgi-bin/webscr" method="post"> 171 182 <input type="hidden" name="cmd" value="_xclick"> 172 183 <input type="hidden" name="business" value="'.$a['email'].'"> -
content-for-money/trunk/readme.txt
r736661 r745041 78 78 79 79 == Changelog == 80 = 1.1.3 = 81 -Fix paypal e-mail 82 80 83 = 1.1.2 = 81 84 -Added Shortcode Parameter 'display_comments'
Note: See TracChangeset
for help on using the changeset viewer.