Paid Memberships Pro - Version 1.8.3.1

Version Description

  • Changed some uses of $wpdb->base_prefix to $wpdb->prefix to fix multisite support.
  • Wrapped pmpro_isDateThisMonth in a function_exists check since some addons already have this defined.
Download this release

Release Info

Developer strangerstudios
Plugin Icon 128x128 Paid Memberships Pro
Version 1.8.3.1
Comparing to
See all releases

Code changes from version 1.8.2.2 to 1.8.3.1

adminpages/advancedsettings.php CHANGED
@@ -262,7 +262,7 @@ if(pmpro_displayAds())
262
263
// Filter to Add More Advanced Settings for Misc Plugin Options, etc.
264
if (has_action('pmpro_custom_advanced_settings')) {
265
- $custom_fields = apply_filters('pmpro_custom_advanced_settings', $custom_fields);
266
foreach ($custom_fields as $field) {
267
?>
268
<tr>
262
263
// Filter to Add More Advanced Settings for Misc Plugin Options, etc.
264
if (has_action('pmpro_custom_advanced_settings')) {
265
+ $custom_fields = apply_filters('pmpro_custom_advanced_settings', array());
266
foreach ($custom_fields as $field) {
267
?>
268
<tr>
adminpages/discountcodes.php CHANGED
@@ -422,8 +422,8 @@
422
?>
423
<div>
424
<input type="hidden" name="all_levels[]" value="<?php echo $level->id?>" />
425
- <input type="checkbox" name="levels[]" value="<?php echo $level->id?>" <?php if(!empty($level->checked)) { ?>checked="checked"<?php } ?> onclick="if(jQuery(this).is(':checked')) jQuery(this).next().show(); else jQuery(this).next().hide();" />
426
- <?php echo $level->name?>
427
<div class="pmpro_discount_levels_pricing level_<?php echo $level->id?>" <?php if(empty($level->checked)) { ?>style="display: none;"<?php } ?>>
428
<table class="form-table">
429
<tbody>
@@ -445,7 +445,7 @@
445
446
<tr>
447
<th scope="row" valign="top"><label><?php _e('Recurring Subscription', 'pmpro');?>:</label></th>
448
- <td><input class="recurring_checkbox" name="recurring[]" type="checkbox" value="<?php echo $level->id?>" <?php if(pmpro_isLevelRecurring($level)) { echo "checked='checked'"; } ?> onclick="if(jQuery(this).attr('checked')) { jQuery(this).parent().parent().siblings('.recurring_info').show(); if(!jQuery('#custom_trial_<?php echo $level->id?>').is(':checked')) jQuery(this).parent().parent().siblings('.trial_info').hide();} else jQuery(this).parent().parent().siblings('.recurring_info').hide();" /> <small><?php _e('Check if this level has a recurring subscription payment.', 'pmpro');?></small></td>
449
</tr>
450
451
<tr class="recurring_info" <?php if(!pmpro_isLevelRecurring($level)) {?>style="display: none;"<?php } ?>>
@@ -486,7 +486,7 @@
486
487
<tr class="recurring_info" <?php if (!pmpro_isLevelRecurring($level)) echo "style='display:none;'";?>>
488
<th scope="row" valign="top"><label><?php _e('Custom Trial', 'pmpro');?>:</label></th>
489
- <td><input id="custom_trial_<?php echo $level->id?>" name="custom_trial[]" type="checkbox" value="<?php echo $level->id?>" <?php if ( pmpro_isLevelTrial($level) ) { echo "checked='checked'"; } ?> onclick="if(jQuery(this).attr('checked')) jQuery(this).parent().parent().siblings('.trial_info').show(); else jQuery(this).parent().parent().siblings('.trial_info').hide();" /> <?php _e('Check to add a custom trial period.', 'pmpro');?></td>
490
</tr>
491
492
<tr class="trial_info recurring_info" <?php if (!pmpro_isLevelTrial($level)) echo "style='display:none;'";?>>
@@ -509,7 +509,7 @@
509
510
<tr>
511
<th scope="row" valign="top"><label><?php _e('Membership Expiration', 'pmpro');?>:</label></th>
512
- <td><input id="expiration" name="expiration[]" type="checkbox" value="<?php echo $level->id?>" <?php if(pmpro_isLevelExpiring($level)) { echo "checked='checked'"; } ?> onclick="if(jQuery(this).is(':checked')) { jQuery(this).parent().parent().siblings('.expiration_info').show(); } else { jQuery(this).parent().parent().siblings('.expiration_info').hide();}" /> <?php _e('Check this to set when membership access expires.', 'pmpro');?></td>
513
</tr>
514
515
<tr class="expiration_info" <?php if(!pmpro_isLevelExpiring($level)) {?>style="display: none;"<?php } ?>>
422
?>
423
<div>
424
<input type="hidden" name="all_levels[]" value="<?php echo $level->id?>" />
425
+ <input type="checkbox" id="levels_<?php echo $level->id;?>" name="levels[]" value="<?php echo $level->id?>" <?php if(!empty($level->checked)) { ?>checked="checked"<?php } ?> onclick="if(jQuery(this).is(':checked')) jQuery(this).next().next().show(); else jQuery(this).next().next().hide();" />
426
+ <label for="levels_<?php echo $level->id;?>"><?php echo $level->name?></label>
427
<div class="pmpro_discount_levels_pricing level_<?php echo $level->id?>" <?php if(empty($level->checked)) { ?>style="display: none;"<?php } ?>>
428
<table class="form-table">
429
<tbody>
445
446
<tr>
447
<th scope="row" valign="top"><label><?php _e('Recurring Subscription', 'pmpro');?>:</label></th>
448
+ <td><input class="recurring_checkbox" id="recurring_<?php echo $level->id;?>" name="recurring[]" type="checkbox" value="<?php echo $level->id?>" <?php if(pmpro_isLevelRecurring($level)) { echo "checked='checked'"; } ?> onclick="if(jQuery(this).attr('checked')) { jQuery(this).parent().parent().siblings('.recurring_info').show(); if(!jQuery('#custom_trial_<?php echo $level->id?>').is(':checked')) jQuery(this).parent().parent().siblings('.trial_info').hide();} else jQuery(this).parent().parent().siblings('.recurring_info').hide();" /> <label for="recurring_<?php echo $level->id;?>"><?php _e('Check if this level has a recurring subscription payment.', 'pmpro');?></label></td>
449
</tr>
450
451
<tr class="recurring_info" <?php if(!pmpro_isLevelRecurring($level)) {?>style="display: none;"<?php } ?>>
486
487
<tr class="recurring_info" <?php if (!pmpro_isLevelRecurring($level)) echo "style='display:none;'";?>>
488
<th scope="row" valign="top"><label><?php _e('Custom Trial', 'pmpro');?>:</label></th>
489
+ <td><input id="custom_trial_<?php echo $level->id?>" id="custom_trial_<?php echo $level->id;?>" name="custom_trial[]" type="checkbox" value="<?php echo $level->id?>" <?php if ( pmpro_isLevelTrial($level) ) { echo "checked='checked'"; } ?> onclick="if(jQuery(this).attr('checked')) jQuery(this).parent().parent().siblings('.trial_info').show(); else jQuery(this).parent().parent().siblings('.trial_info').hide();" /> <label for="custom_trial_<?php echo $level->id;?>"><?php _e('Check to add a custom trial period.', 'pmpro');?></label></td>
490
</tr>
491
492
<tr class="trial_info recurring_info" <?php if (!pmpro_isLevelTrial($level)) echo "style='display:none;'";?>>
509
510
<tr>
511
<th scope="row" valign="top"><label><?php _e('Membership Expiration', 'pmpro');?>:</label></th>
512
+ <td><input id="expiration_<?php echo $level->id;?>" name="expiration[]" type="checkbox" value="<?php echo $level->id?>" <?php if(pmpro_isLevelExpiring($level)) { echo "checked='checked'"; } ?> onclick="if(jQuery(this).is(':checked')) { jQuery(this).parent().parent().siblings('.expiration_info').show(); } else { jQuery(this).parent().parent().siblings('.expiration_info').hide();}" /> <label for="expiration_<?php echo $level->id;?>"><?php _e('Check this to set when membership access expires.', 'pmpro');?></label></td>
513
</tr>
514
515
<tr class="expiration_info" <?php if(!pmpro_isLevelExpiring($level)) {?>style="display: none;"<?php } ?>>
adminpages/emailsettings.php CHANGED
@@ -78,7 +78,7 @@
78
<label for="from_email"><?php _e('From Email', 'pmpro');?>:</label>
79
</th>
80
<td>
81
- <input type="text" name="from_email" size="60" value="<?php echo $from_email?>" />
82
</td>
83
</tr>
84
<tr>
@@ -86,7 +86,7 @@
86
<label for="from_name"><?php _e('From Name', 'pmpro');?>:</label>
87
</th>
88
<td>
89
- <input type="text" name="from_name" size="60" value="<?php echo $from_name?>" />
90
</td>
91
</tr>
92
<tr>
@@ -95,7 +95,7 @@
95
</th>
96
<td>
97
<input type="checkbox" id="only_filter_pmpro_emails" name="only_filter_pmpro_emails" value="1" <?php if(!empty($only_filter_pmpro_emails)) { ?>checked="checked"<?php } ?> />
98
- <?php _e('If unchecked, all emails from "WordPress &lt;' . $default_from_email . '&gt;" will be filtered to use the above settings.', 'pmpro');?>
99
</td>
100
</tr>
101
</tbody>
@@ -122,7 +122,7 @@
122
</th>
123
<td>
124
<input type="checkbox" id="email_admin_checkout" name="email_admin_checkout" value="1" <?php if(!empty($email_admin_checkout)) { ?>checked="checked"<?php } ?> />
125
- <?php _e('when a member checks out.', 'pmpro');?>
126
</td>
127
</tr>
128
<tr>
@@ -131,7 +131,7 @@
131
</th>
132
<td>
133
<input type="checkbox" id="email_admin_changes" name="email_admin_changes" value="1" <?php if(!empty($email_admin_changes)) { ?>checked="checked"<?php } ?> />
134
- <?php _e('when an admin changes a user\'s membership level through the dashboard.', 'pmpro');?>
135
</td>
136
</tr>
137
<tr>
@@ -140,7 +140,7 @@
140
</th>
141
<td>
142
<input type="checkbox" id="email_admin_cancels" name="email_admin_cancels" value="1" <?php if(!empty($email_admin_cancels)) { ?>checked="checked"<?php } ?> />
143
- <?php _e('when a user cancels his or her account.', 'pmpro');?>
144
</td>
145
</tr>
146
<tr>
@@ -149,7 +149,7 @@
149
</th>
150
<td>
151
<input type="checkbox" id="email_admin_billing" name="email_admin_billing" value="1" <?php if(!empty($email_admin_billing)) { ?>checked="checked"<?php } ?> />
152
- <?php _e('when a user updates his or her billing information.', 'pmpro');?>
153
</td>
154
</tr>
155
</tbody>
@@ -161,11 +161,11 @@
161
<tbody>
162
<tr>
163
<th scope="row" valign="top">
164
- <label for="email_admin_checkout"><?php _e('New Users', 'pmpro');?>:</label>
165
</th>
166
<td>
167
<input type="checkbox" id="email_member_notification" name="email_member_notification" value="1" <?php if(!empty($email_member_notification)) { ?>checked="checked"<?php } ?> />
168
- <?php _e('Default WP notification email. (Recommended: Leave unchecked. Members will still get an email confirmation from PMPro after checkout.)', 'pmpro');?>
169
</td>
170
</tr>
171
</tbody>
78
<label for="from_email"><?php _e('From Email', 'pmpro');?>:</label>
79
</th>
80
<td>
81
+ <input type="text" name="from_email" size="60" value="<?php echo esc_attr($from_email);?>" />
82
</td>
83
</tr>
84
<tr>
86
<label for="from_name"><?php _e('From Name', 'pmpro');?>:</label>
87
</th>
88
<td>
89
+ <input type="text" name="from_name" size="60" value="<?php echo esc_attr($from_name);?>" />
90
</td>
91
</tr>
92
<tr>
95
</th>
96
<td>
97
<input type="checkbox" id="only_filter_pmpro_emails" name="only_filter_pmpro_emails" value="1" <?php if(!empty($only_filter_pmpro_emails)) { ?>checked="checked"<?php } ?> />
98
+ <label for="only_filter_pmpro_emails"><?php _e('If unchecked, all emails from "WordPress &lt;' . $default_from_email . '&gt;" will be filtered to use the above settings.', 'pmpro');?></label>
99
</td>
100
</tr>
101
</tbody>
122
</th>
123
<td>
124
<input type="checkbox" id="email_admin_checkout" name="email_admin_checkout" value="1" <?php if(!empty($email_admin_checkout)) { ?>checked="checked"<?php } ?> />
125
+ <label for="email_admin_checkout"><?php _e('when a member checks out.', 'pmpro');?></label>
126
</td>
127
</tr>
128
<tr>
131
</th>
132
<td>
133
<input type="checkbox" id="email_admin_changes" name="email_admin_changes" value="1" <?php if(!empty($email_admin_changes)) { ?>checked="checked"<?php } ?> />
134
+ <label for="email_admin_changes"><?php _e('when an admin changes a user\'s membership level through the dashboard.', 'pmpro');?></label>
135
</td>
136
</tr>
137
<tr>
140
</th>
141
<td>
142
<input type="checkbox" id="email_admin_cancels" name="email_admin_cancels" value="1" <?php if(!empty($email_admin_cancels)) { ?>checked="checked"<?php } ?> />
143
+ <label for="email_admin_cancels"><?php _e('when a user cancels his or her account.', 'pmpro');?></label>
144
</td>
145
</tr>
146
<tr>
149
</th>
150
<td>
151
<input type="checkbox" id="email_admin_billing" name="email_admin_billing" value="1" <?php if(!empty($email_admin_billing)) { ?>checked="checked"<?php } ?> />
152
+ <label for="email_admin_billing"><?php _e('when a user updates his or her billing information.', 'pmpro');?></label>
153
</td>
154
</tr>
155
</tbody>
161
<tbody>
162
<tr>
163
<th scope="row" valign="top">
164
+ <label for="email_member_notification"><?php _e('New Users', 'pmpro');?>:</label>
165
</th>
166
<td>
167
<input type="checkbox" id="email_member_notification" name="email_member_notification" value="1" <?php if(!empty($email_member_notification)) { ?>checked="checked"<?php } ?> />
168
+ <label for="email_member_notification"><?php _e('Default WP notification email. (Recommended: Leave unchecked. Members will still get an email confirmation from PMPro after checkout.)', 'pmpro');?></label>
169
</td>
170
</tr>
171
</tbody>
adminpages/membershiplevels.php CHANGED
@@ -352,7 +352,7 @@
352
353
<tr>
354
<th scope="row" valign="top"><label><?php _e('Recurring Subscription', 'pmpro');?>:</label></th>
355
- <td><input id="recurring" name="recurring" type="checkbox" value="yes" <?php if(pmpro_isLevelRecurring($level)) { echo "checked='checked'"; } ?> onclick="if(jQuery('#recurring').is(':checked')) { jQuery('.recurring_info').show(); if(jQuery('#custom_trial').is(':checked')) {jQuery('.trial_info').show();} else {jQuery('.trial_info').hide();} } else { jQuery('.recurring_info').hide();}" /> <small><?php _e('Check if this level has a recurring subscription payment.', 'pmpro');?></small></td>
356
</tr>
357
358
<tr class="recurring_info" <?php if(!pmpro_isLevelRecurring($level)) {?>style="display: none;"<?php } ?>>
@@ -413,7 +413,7 @@
413
<tr class="recurring_info" <?php if (!pmpro_isLevelRecurring($level)) echo "style='display:none;'";?>>
414
<th scope="row" valign="top"><label><?php _e('Custom Trial', 'pmpro');?>:</label></th>
415
<td>
416
- <input id="custom_trial" name="custom_trial" type="checkbox" value="yes" <?php if ( pmpro_isLevelTrial($level) ) { echo "checked='checked'"; } ?> onclick="jQuery('.trial_info').toggle();" /> <?php _e('Check to add a custom trial period.', 'pmpro');?>
417
418
<?php if($gateway == "twocheckout") { ?>
419
<br /><small><strong <?php if(!empty($pmpro_twocheckout_error)) { ?>class="pmpro_red"<?php } ?>><?php _e('2Checkout integration does not support custom trials. You can do one period trials by setting an initial payment different from the billing amount.', 'pmpro');?></strong></small>
@@ -460,12 +460,12 @@
460
<tbody>
461
<tr>
462
<th scope="row" valign="top"><label><?php _e('Disable New Signups', 'pmpro');?>:</label></th>
463
- <td><input name="disable_signups" type="checkbox" value="yes" <?php if($level->id && !$level->allow_signups) { ?>checked="checked"<?php } ?> /> <?php _e('Check to hide this level from the membership levels page and disable registration.', 'pmpro');?></td>
464
</tr>
465
466
<tr>
467
<th scope="row" valign="top"><label><?php _e('Membership Expiration', 'pmpro');?>:</label></th>
468
- <td><input id="expiration" name="expiration" type="checkbox" value="yes" <?php if(pmpro_isLevelExpiring($level)) { echo "checked='checked'"; } ?> onclick="if(jQuery('#expiration').is(':checked')) { jQuery('.expiration_info').show(); } else { jQuery('.expiration_info').hide();}" /> <?php _e('Check this to set when membership access expires.', 'pmpro');?></td>
469
</tr>
470
471
<tr class="expiration_info" <?php if(!pmpro_isLevelExpiring($level)) {?>style="display: none;"<?php } ?>>
@@ -502,7 +502,7 @@
502
foreach ( $categories as $cat )
503
{
504
$checked = in_array( $cat->term_id, $level->categories ) ? "checked='checked'" : '';
505
- echo "<li><input name='membershipcategory_{$cat->term_id}' type='checkbox' value='yes' $checked /> {$cat->name}</li>\n";
506
}
507
echo "</ul>";
508
?>
352
353
<tr>
354
<th scope="row" valign="top"><label><?php _e('Recurring Subscription', 'pmpro');?>:</label></th>
355
+ <td><input id="recurring" name="recurring" type="checkbox" value="yes" <?php if(pmpro_isLevelRecurring($level)) { echo "checked='checked'"; } ?> onclick="if(jQuery('#recurring').is(':checked')) { jQuery('.recurring_info').show(); if(jQuery('#custom_trial').is(':checked')) {jQuery('.trial_info').show();} else {jQuery('.trial_info').hide();} } else { jQuery('.recurring_info').hide();}" /> <label for="recurring"><?php _e('Check if this level has a recurring subscription payment.', 'pmpro');?></label></td>
356
</tr>
357
358
<tr class="recurring_info" <?php if(!pmpro_isLevelRecurring($level)) {?>style="display: none;"<?php } ?>>
413
<tr class="recurring_info" <?php if (!pmpro_isLevelRecurring($level)) echo "style='display:none;'";?>>
414
<th scope="row" valign="top"><label><?php _e('Custom Trial', 'pmpro');?>:</label></th>
415
<td>
416
+ <input id="custom_trial" name="custom_trial" type="checkbox" value="yes" <?php if ( pmpro_isLevelTrial($level) ) { echo "checked='checked'"; } ?> onclick="jQuery('.trial_info').toggle();" /> <label for="custom_trial"><?php _e('Check to add a custom trial period.', 'pmpro');?></label>
417
418
<?php if($gateway == "twocheckout") { ?>
419
<br /><small><strong <?php if(!empty($pmpro_twocheckout_error)) { ?>class="pmpro_red"<?php } ?>><?php _e('2Checkout integration does not support custom trials. You can do one period trials by setting an initial payment different from the billing amount.', 'pmpro');?></strong></small>
460
<tbody>
461
<tr>
462
<th scope="row" valign="top"><label><?php _e('Disable New Signups', 'pmpro');?>:</label></th>
463
+ <td><input id="disable_signups" name="disable_signups" type="checkbox" value="yes" <?php if($level->id && !$level->allow_signups) { ?>checked="checked"<?php } ?> /> <label for="disable_signups"><?php _e('Check to hide this level from the membership levels page and disable registration.', 'pmpro');?></label></td>
464
</tr>
465
466
<tr>
467
<th scope="row" valign="top"><label><?php _e('Membership Expiration', 'pmpro');?>:</label></th>
468
+ <td><input id="expiration" name="expiration" type="checkbox" value="yes" <?php if(pmpro_isLevelExpiring($level)) { echo "checked='checked'"; } ?> onclick="if(jQuery('#expiration').is(':checked')) { jQuery('.expiration_info').show(); } else { jQuery('.expiration_info').hide();}" /> <label for="expiration"><?php _e('Check this to set when membership access expires.', 'pmpro');?></a></td>
469
</tr>
470
471
<tr class="expiration_info" <?php if(!pmpro_isLevelExpiring($level)) {?>style="display: none;"<?php } ?>>
502
foreach ( $categories as $cat )
503
{
504
$checked = in_array( $cat->term_id, $level->categories ) ? "checked='checked'" : '';
505
+ echo "<li><input id='membershipcategory_{$cat->term_id}' name='membershipcategory_{$cat->term_id}' type='checkbox' value='yes' $checked /> <label for='membershipcategory_{$cat->term_id}'>{$cat->name}</label></li>\n";
506
}
507
echo "</ul>";
508
?>
adminpages/paymentsettings.php CHANGED
@@ -174,13 +174,13 @@
174
<label for="creditcards"><?php _e('Accepted Credit Card Types', 'pmpro');?></label>
175
</th>
176
<td>
177
- <input type="checkbox" name="creditcards_visa" value="1" <?php if(in_array("Visa", $pmpro_accepted_credit_cards)) { ?>checked="checked"<?php } ?> /> Visa<br />
178
- <input type="checkbox" name="creditcards_mastercard" value="1" <?php if(in_array("Mastercard", $pmpro_accepted_credit_cards)) { ?>checked="checked"<?php } ?> /> Mastercard<br />
179
- <input type="checkbox" name="creditcards_amex" value="1" <?php if(in_array("American Express", $pmpro_accepted_credit_cards)) { ?>checked="checked"<?php } ?> /> American Express<br />
180
- <input type="checkbox" name="creditcards_discover" value="1" <?php if(in_array("Discover", $pmpro_accepted_credit_cards)) { ?>checked="checked"<?php } ?> /> Discover<br />
181
- <input type="checkbox" name="creditcards_dinersclub" value="1" <?php if(in_array("Diners Club", $pmpro_accepted_credit_cards)) {?>checked="checked"<?php } ?> /> Diner's Club<br />
182
- <input type="checkbox" name="creditcards_enroute" value="1" <?php if(in_array("EnRoute", $pmpro_accepted_credit_cards)) {?>checked="checked"<?php } ?> /> EnRoute<br />
183
- <input type="checkbox" name="creditcards_jcb" value="1" <?php if(in_array("JCB", $pmpro_accepted_credit_cards)) {?>checked="checked"<?php } ?> /> JCB<br />
184
</td>
185
</tr>
186
<tr class="gateway gateway_ <?php echo esc_attr(pmpro_getClassesForPaymentSettingsField("tax_rate"));?>" <?php if(!empty($gateway) && $gateway != "stripe" && $gateway != "authorizenet" && $gateway != "paypal" && $gateway != "paypalexpress" && $gateway != "check" && $gateway != "paypalstandard" && $gateway != "payflowpro" && $gateway != "braintree" && $gateway != "twocheckout" && $gateway != "cybersource") { ?>style="display: none;"<?php } ?>>
@@ -228,7 +228,7 @@
228
<label for="nuclear_HTTPS"><?php _e('Extra HTTPS URL Filter', 'pmpro');?>:</label>
229
</th>
230
<td>
231
- <input type="checkbox" id="nuclear_HTTPS" name="nuclear_HTTPS" value="1" <?php if(!empty($nuclear_HTTPS)) { ?>checked="checked"<?php } ?> /> <?php _e('Pass all generated HTML through a URL filter to add HTTPS to URLs used on secure pages. Check this if you are using SSL and have warnings on your checkout pages.', 'pmpro');?>
232
</td>
233
</tr>
234
174
<label for="creditcards"><?php _e('Accepted Credit Card Types', 'pmpro');?></label>
175
</th>
176
<td>
177
+ <input type="checkbox" id="creditcards_visa" name="creditcards_visa" value="1" <?php if(in_array("Visa", $pmpro_accepted_credit_cards)) { ?>checked="checked"<?php } ?> /> <label for="creditcards_visa">Visa</label><br />
178
+ <input type="checkbox" id="creditcards_mastercard" name="creditcards_mastercard" value="1" <?php if(in_array("Mastercard", $pmpro_accepted_credit_cards)) { ?>checked="checked"<?php } ?> /> <label for="creditcards_mastercard">Mastercard</label><br />
179
+ <input type="checkbox" id="creditcards_amex" name="creditcards_amex" value="1" <?php if(in_array("American Express", $pmpro_accepted_credit_cards)) { ?>checked="checked"<?php } ?> /> <label for="creditcards_amex">American Express</label><br />
180
+ <input type="checkbox" id="creditcards_discover" name="creditcards_discover" value="1" <?php if(in_array("Discover", $pmpro_accepted_credit_cards)) { ?>checked="checked"<?php } ?> /> <label for="creditcards_discover">Discover</label><br />
181
+ <input type="checkbox" id="creditcards_dinersclub" name="creditcards_dinersclub" value="1" <?php if(in_array("Diners Club", $pmpro_accepted_credit_cards)) {?>checked="checked"<?php } ?> /> <label for="creditcards_dinersclub">Diner's Club</label><br />
182
+ <input type="checkbox" id="creditcards_enroute" name="creditcards_enroute" value="1" <?php if(in_array("EnRoute", $pmpro_accepted_credit_cards)) {?>checked="checked"<?php } ?> /> <label for="creditcards_enroute">EnRoute</label><br />
183
+ <input type="checkbox" id="creditcards_jcb" name="creditcards_jcb" value="1" <?php if(in_array("JCB", $pmpro_accepted_credit_cards)) {?>checked="checked"<?php } ?> /> <label for="creditcards_jcb">JCB</label><br />
184
</td>
185
</tr>
186
<tr class="gateway gateway_ <?php echo esc_attr(pmpro_getClassesForPaymentSettingsField("tax_rate"));?>" <?php if(!empty($gateway) && $gateway != "stripe" && $gateway != "authorizenet" && $gateway != "paypal" && $gateway != "paypalexpress" && $gateway != "check" && $gateway != "paypalstandard" && $gateway != "payflowpro" && $gateway != "braintree" && $gateway != "twocheckout" && $gateway != "cybersource") { ?>style="display: none;"<?php } ?>>
228
<label for="nuclear_HTTPS"><?php _e('Extra HTTPS URL Filter', 'pmpro');?>:</label>
229
</th>
230
<td>
231
+ <input type="checkbox" id="nuclear_HTTPS" name="nuclear_HTTPS" value="1" <?php if(!empty($nuclear_HTTPS)) { ?>checked="checked"<?php } ?> /> <label for="nuclear_HTTPS"><?php _e('Pass all generated HTML through a URL filter to add HTTPS to URLs used on secure pages. Check this if you are using SSL and have warnings on your checkout pages.', 'pmpro');?></label>
232
</td>
233
</tr>
234
adminpages/reports/login.php CHANGED
@@ -18,9 +18,10 @@ $pmpro_reports['login'] = __('Visits, Views, and Logins', 'pmpro');
18
function pmpro_report_login_widget()
19
{
20
global $wpdb;
21
- $visits = get_option("pmpro_visits", array("today"=>0, "thisday"=>date("Y-m-d"), "alltime"=>0, "month"=>0, "thismonth"=>date("n")));
22
- $views = get_option("pmpro_views", array("today"=>0, "thisday"=>date("Y-m-d"), "alltime"=>0, "month"=>0, "thismonth"=>date("n")));
23
- $logins = get_option("pmpro_logins", array("today"=>0, "thisday"=>date("Y-m-d"), "alltime"=>0, "month"=>0, "thismonth"=>date("n")));
24
?>
25
<div style="width: 33%; float: left;">
26
<p><?php _e('Visits Today', 'pmpro')?>: <?php echo $visits['today'];?></p>
@@ -44,6 +45,7 @@ function pmpro_report_login_widget()
44
function pmpro_report_login_page()
45
{
46
global $wpdb;
47
48
//vars
49
if(!empty($_REQUEST['s']))
@@ -52,7 +54,7 @@ function pmpro_report_login_page()
52
$s = "";
53
54
if(!empty($_REQUEST['l']))
55
- $l = $_REQUEST['l'];
56
else
57
$l = "";
58
?>
@@ -81,18 +83,18 @@ function pmpro_report_login_page()
81
<label class="hidden" for="post-search-input"><?php _ex('Search', 'Search form label', 'pmpro')?> <?php if(empty($l)) echo "Users"; else echo "Members";?>:</label>
82
<input type="hidden" name="page" value="pmpro-reports" />
83
<input type="hidden" name="report" value="login" />
84
- <input id="post-search-input" type="text" value="<?php echo $s?>" name="s"/>
85
<input class="button" type="submit" value="Search Members"/>
86
</p>
87
<?php
88
//some vars for the search
89
if(isset($_REQUEST['pn']))
90
- $pn = $_REQUEST['pn'];
91
else
92
$pn = 1;
93
94
if(isset($_REQUEST['limit']))
95
- $limit = $_REQUEST['limit'];
96
else
97
$limit = 15;
98
@@ -101,7 +103,7 @@ function pmpro_report_login_page()
101
102
if($s)
103
{
104
- $sqlQuery = "SELECT SQL_CALC_FOUND_ROWS u.ID, u.user_login, u.user_email, UNIX_TIMESTAMP(u.user_registered) as joindate, mu.membership_id, mu.initial_payment, mu.billing_amount, mu.cycle_period, mu.cycle_number, mu.billing_limit, mu.trial_amount, mu.trial_limit, UNIX_TIMESTAMP(mu.startdate) as startdate, UNIX_TIMESTAMP(mu.enddate) as enddate, m.name as membership FROM $wpdb->users u LEFT JOIN $wpdb->usermeta um ON u.ID = um.user_id LEFT JOIN $wpdb->pmpro_memberships_users mu ON u.ID = mu.user_id AND mu.status = 'active' LEFT JOIN $wpdb->pmpro_membership_levels m ON mu.membership_id = m.id WHERE (u.user_login LIKE '%$s%' OR u.user_email LIKE '%$s%' OR um.meta_value LIKE '%$s%') ";
105
106
if($l == "all")
107
$sqlQuery .= " AND mu.status = 'active' AND mu.membership_id > 0 ";
@@ -192,13 +194,13 @@ function pmpro_report_login_page()
192
?>
193
</td>
194
<td><?php if(!empty($visits['last'])) echo $visits['last'];?></td>
195
- <td><?php if(!empty($visits['month'])) echo $visits['month'];?></td>
196
<td><?php if(!empty($visits['alltime'])) echo $visits['alltime'];?></td>
197
- <td><?php if(!empty($visits['month'])) echo $views['month'];?></td>
198
- <td><?php if(!empty($visits['alltime'])) echo $views['alltime'];?></td>
199
- <td><?php if(!empty($visits['last'])) echo $logins['last'];?></td>
200
- <td><?php if(!empty($visits['month'])) echo $logins['month'];?></td>
201
- <td><?php if(!empty($visits['alltime'])) echo $logins['alltime'];?></td>
202
</tr>
203
<?php
204
}
@@ -207,7 +209,7 @@ function pmpro_report_login_page()
207
{
208
?>
209
<tr>
210
- <td colspan="9"><p><?php _e('No members found.', 'pmpro')?> <?php if($l) { ?><a href="?page=pmpro-memberslist&s=<?php echo $s?>"><?php _e('Search all levels', 'pmpro')?></a>.<?php } ?></p></td>
211
</tr>
212
<?php
213
}
@@ -241,6 +243,8 @@ function pmpro_report_login_wp_visits()
241
if(!empty($_COOKIE['pmpro_visit']))
242
return;
243
244
//set cookie, then track
245
setcookie("pmpro_visit", "1", NULL, COOKIEPATH, COOKIE_DOMAIN, false);
246
@@ -255,7 +259,7 @@ function pmpro_report_login_wp_visits()
255
//track logins for user
256
$visits['last'] = date(get_option("date_format"));
257
$visits['alltime']++;
258
- $thismonth = date("n");
259
if($thismonth == $visits['thismonth'])
260
$visits['month']++;
261
else
@@ -274,7 +278,7 @@ function pmpro_report_login_wp_visits()
274
$visits = array("today"=>0, "thisdate"=>NULL, "month"=>0, "thismonth"=> NULL, "alltime"=>0);
275
276
$visits['alltime']++;
277
- $thisdate = date("Y-d-m");
278
if($thisdate == $visits['thisdate'])
279
$visits['today']++;
280
else
@@ -311,6 +315,8 @@ function pmpro_report_login_wp_views()
311
return;
312
313
global $current_user;
314
//track for user
315
if(!empty($current_user->ID))
316
{
@@ -319,9 +325,9 @@ function pmpro_report_login_wp_views()
319
$views = array("last"=>"N/A", "month"=>0, "alltime"=>0);
320
321
//track logins for user
322
- $views['last'] = date(get_option("date_format"));
323
$views['alltime']++;
324
- $thismonth = date("n");
325
if(isset($views['thismonth']) && $thismonth == $views['thismonth'])
326
$views['month']++;
327
else
@@ -340,7 +346,7 @@ function pmpro_report_login_wp_views()
340
$views = array("today"=>0, "thisdate"=> NULL, "month"=>0, "thismonth"=> NULL, "alltime"=>0);
341
342
$views['alltime']++;
343
- $thisdate = date("Y-d-m");
344
if($thisdate == $views['thisdate'])
345
$views['today']++;
346
else
@@ -348,7 +354,7 @@ function pmpro_report_login_wp_views()
348
$views['today'] = 1;
349
$views['thisdate'] = $thisdate;
350
}
351
- $thismonth = date("n");
352
if(isset($views['thismonth']) && $thismonth == $views['thismonth'])
353
$views['month']++;
354
else
@@ -364,6 +370,8 @@ add_action("wp", "pmpro_report_login_wp_views");
364
//track logins
365
function pmpro_report_login_wp_login($user_login)
366
{
367
//get user data
368
$user = get_user_by("login", $user_login);
369
$logins = $user->pmpro_logins;
@@ -371,9 +379,9 @@ function pmpro_report_login_wp_login($user_login)
371
$logins = array("last"=>"N/A", "thisdate"=>NULL, "month"=>0, "thismonth"=> NULL, "alltime"=>0);
372
373
//track logins for user
374
- $logins['last'] = date(get_option("date_format"));
375
$logins['alltime']++;
376
- $thismonth = date("n");
377
if($thismonth == $logins['thismonth'])
378
$logins['month']++;
379
else
@@ -391,7 +399,7 @@ function pmpro_report_login_wp_login($user_login)
391
$logins = array("today"=>0, "thisdate"=>NULL, "month"=>0, "thismonth"=>NULL, "alltime"=>0);
392
393
$logins['alltime']++;
394
- $thisdate = date("Y-d-m");
395
if($thisdate == $logins['thisdate'])
396
$logins['today']++;
397
else
18
function pmpro_report_login_widget()
19
{
20
global $wpdb;
21
+ $now = current_time('timestamp');
22
+ $visits = get_option("pmpro_visits", array("today"=>0, "thisday"=>date("Y-m-d", $now), "alltime"=>0, "month"=>0, "thismonth"=>date("n", $now)));
23
+ $views = get_option("pmpro_views", array("today"=>0, "thisday"=>date("Y-m-d", $now), "alltime"=>0, "month"=>0, "thismonth"=>date("n", $now)));
24
+ $logins = get_option("pmpro_logins", array("today"=>0, "thisday"=>date("Y-m-d", $now), "alltime"=>0, "month"=>0, "thismonth"=>date("n", $now)));
25
?>
26
<div style="width: 33%; float: left;">
27
<p><?php _e('Visits Today', 'pmpro')?>: <?php echo $visits['today'];?></p>
45
function pmpro_report_login_page()
46
{
47
global $wpdb;
48
+ $now = current_time('timestamp');
49
50
//vars
51
if(!empty($_REQUEST['s']))
54
$s = "";
55
56
if(!empty($_REQUEST['l']))
57
+ $l = intval($_REQUEST['l']);
58
else
59
$l = "";
60
?>
83
<label class="hidden" for="post-search-input"><?php _ex('Search', 'Search form label', 'pmpro')?> <?php if(empty($l)) echo "Users"; else echo "Members";?>:</label>
84
<input type="hidden" name="page" value="pmpro-reports" />
85
<input type="hidden" name="report" value="login" />
86
+ <input id="post-search-input" type="text" value="<?php echo esc_attr($s)?>" name="s"/>
87
<input class="button" type="submit" value="Search Members"/>
88
</p>
89
<?php
90
//some vars for the search
91
if(isset($_REQUEST['pn']))
92
+ $pn = intval($_REQUEST['pn']);
93
else
94
$pn = 1;
95
96
if(isset($_REQUEST['limit']))
97
+ $limit = intval($_REQUEST['limit']);
98
else
99
$limit = 15;
100
103
104
if($s)
105
{
106
+ $sqlQuery = "SELECT SQL_CALC_FOUND_ROWS u.ID, u.user_login, u.user_email, UNIX_TIMESTAMP(u.user_registered) as joindate, mu.membership_id, mu.initial_payment, mu.billing_amount, mu.cycle_period, mu.cycle_number, mu.billing_limit, mu.trial_amount, mu.trial_limit, UNIX_TIMESTAMP(mu.startdate) as startdate, UNIX_TIMESTAMP(mu.enddate) as enddate, m.name as membership FROM $wpdb->users u LEFT JOIN $wpdb->usermeta um ON u.ID = um.user_id LEFT JOIN $wpdb->pmpro_memberships_users mu ON u.ID = mu.user_id AND mu.status = 'active' LEFT JOIN $wpdb->pmpro_membership_levels m ON mu.membership_id = m.id WHERE (u.user_login LIKE '%" . esc_sql($s) . "%' OR u.user_email LIKE '%" . esc_sql($s) . "%' OR um.meta_value LIKE '%" . esc_sql($s) . "%') ";
107
108
if($l == "all")
109
$sqlQuery .= " AND mu.status = 'active' AND mu.membership_id > 0 ";
194
?>
195
</td>
196
<td><?php if(!empty($visits['last'])) echo $visits['last'];?></td>
197
+ <td><?php if(!empty($visits['month']) && pmpro_isDateThisMonth($visits['last'])) echo $visits['month'];?></td>
198
<td><?php if(!empty($visits['alltime'])) echo $visits['alltime'];?></td>
199
+ <td><?php if(!empty($views['month']) && pmpro_isDateThisMonth($views['last'])) echo $views['month'];?></td>
200
+ <td><?php if(!empty($views['alltime'])) echo $views['alltime'];?></td>
201
+ <td><?php if(!empty($logins['last'])) echo $logins['last'];?></td>
202
+ <td><?php if(!empty($logins['month']) && pmpro_isDateThisMonth($logins['last'])) echo $logins['month'];?></td>
203
+ <td><?php if(!empty($logins['alltime'])) echo $logins['alltime'];?></td>
204
</tr>
205
<?php
206
}
209
{
210
?>
211
<tr>
212
+ <td colspan="9"><p><?php _e('No members found.', 'pmpro')?> <?php if($l) { ?><a href="?page=pmpro-memberslist&s=<?php echo esc_attr($s)?>"><?php _e('Search all levels', 'pmpro')?></a>.<?php } ?></p></td>
213
</tr>
214
<?php
215
}
243
if(!empty($_COOKIE['pmpro_visit']))
244
return;
245
246
+ $now = current_time('timestamp');
247
+
248
//set cookie, then track
249
setcookie("pmpro_visit", "1", NULL, COOKIEPATH, COOKIE_DOMAIN, false);
250
259
//track logins for user
260
$visits['last'] = date(get_option("date_format"));
261
$visits['alltime']++;
262
+ $thismonth = date("n", $now);
263
if($thismonth == $visits['thismonth'])
264
$visits['month']++;
265
else
278
$visits = array("today"=>0, "thisdate"=>NULL, "month"=>0, "thismonth"=> NULL, "alltime"=>0);
279
280
$visits['alltime']++;
281
+ $thisdate = date("Y-d-m", $now);
282
if($thisdate == $visits['thisdate'])
283
$visits['today']++;
284
else
315
return;
316
317
global $current_user;
318
+ $now = current_time('timestamp');
319
+
320
//track for user
321
if(!empty($current_user->ID))
322
{
325
$views = array("last"=>"N/A", "month"=>0, "alltime"=>0);
326
327
//track logins for user
328
+ $views['last'] = date(get_option("date_format"), $now);
329
$views['alltime']++;
330
+ $thismonth = date("n", $now);
331
if(isset($views['thismonth']) && $thismonth == $views['thismonth'])
332
$views['month']++;
333
else
346
$views = array("today"=>0, "thisdate"=> NULL, "month"=>0, "thismonth"=> NULL, "alltime"=>0);
347
348
$views['alltime']++;
349
+ $thisdate = date("Y-d-m", $now);
350
if($thisdate == $views['thisdate'])
351
$views['today']++;
352
else
354
$views['today'] = 1;
355
$views['thisdate'] = $thisdate;
356
}
357
+ $thismonth = date("n", $now);
358
if(isset($views['thismonth']) && $thismonth == $views['thismonth'])
359
$views['month']++;
360
else
370
//track logins
371
function pmpro_report_login_wp_login($user_login)
372
{
373
+ $now = current_time('timestamp');
374
+
375
//get user data
376
$user = get_user_by("login", $user_login);
377
$logins = $user->pmpro_logins;
379
$logins = array("last"=>"N/A", "thisdate"=>NULL, "month"=>0, "thismonth"=> NULL, "alltime"=>0);
380
381
//track logins for user
382
+ $logins['last'] = date(get_option("date_format"), $now);
383
$logins['alltime']++;
384
+ $thismonth = date("n", $now);
385
if($thismonth == $logins['thismonth'])
386
$logins['month']++;
387
else
399
$logins = array("today"=>0, "thisdate"=>NULL, "month"=>0, "thismonth"=>NULL, "alltime"=>0);
400
401
$logins['alltime']++;
402
+ $thisdate = date("Y-d-m", $now);
403
if($thisdate == $logins['thisdate'])
404
$logins['today']++;
405
else
classes/gateways/class.pmprogateway_paypalexpress.php CHANGED
@@ -564,6 +564,8 @@
564
{
565
$nvpStr="&TOKEN=".$order->Token;
566
567
/* Make the API call and store the results in an array. If the
568
call was a success, show the authorization details, and provide
569
an action to complete the payment. If failed, show the error
@@ -616,6 +618,9 @@
616
$nvpStr .= "&NOSHIPPING=1";
617
618
$nvpStr .= "&PAYERID=" . $_SESSION['payer_id'] . "&PAYMENTACTION=sale";
619
$order->nvpStr = $nvpStr;
620
621
$this->httpParsedResponseAr = $this->PPHttpPost('DoExpressCheckoutPayment', $nvpStr);
@@ -685,6 +690,8 @@
685
if(!empty($order->TrialBillingCycles))
686
$nvpStr .= "&TRIALTOTALBILLINGCYCLES=" . $order->TrialBillingCycles;
687
688
$this->nvpStr = $nvpStr;
689
690
///echo str_replace("&", "&<br />", $nvpStr);
@@ -717,6 +724,8 @@
717
$nvpStr = "";
718
$nvpStr .= "&PROFILEID=" . urlencode($order->subscription_transaction_id) . "&ACTION=Cancel&NOTE=" . urlencode("User requested cancel.");
719
720
$this->httpParsedResponseAr = $this->PPHttpPost('ManageRecurringPaymentsProfileStatus', $nvpStr);
721
722
if("SUCCESS" == strtoupper($this->httpParsedResponseAr["ACK"]) || "SUCCESSWITHWARNING" == strtoupper($this->httpParsedResponseAr["ACK"]))
@@ -743,7 +752,9 @@
743
//paypal profile stuff
744
$nvpStr = "";
745
$nvpStr .= "&PROFILEID=" . urlencode($order->subscription_transaction_id);
746
-
747
$this->httpParsedResponseAr = $this->PPHttpPost('GetRecurringPaymentsProfileDetails', $nvpStr);
748
749
if("SUCCESS" == strtoupper($this->httpParsedResponseAr["ACK"]) || "SUCCESSWITHWARNING" == strtoupper($this->httpParsedResponseAr["ACK"]))
564
{
565
$nvpStr="&TOKEN=".$order->Token;
566
567
+ $nvpStr = apply_filters("pmpro_get_express_checkout_details_nvpstr", $nvpStr, $order);
568
+
569
/* Make the API call and store the results in an array. If the
570
call was a success, show the authorization details, and provide
571
an action to complete the payment. If failed, show the error
618
$nvpStr .= "&NOSHIPPING=1";
619
620
$nvpStr .= "&PAYERID=" . $_SESSION['payer_id'] . "&PAYMENTACTION=sale";
621
+
622
+ $nvpStr = apply_filters("pmpro_do_express_checkout_payment_nvpstr", $nvpStr, $order);
623
+
624
$order->nvpStr = $nvpStr;
625
626
$this->httpParsedResponseAr = $this->PPHttpPost('DoExpressCheckoutPayment', $nvpStr);
690
if(!empty($order->TrialBillingCycles))
691
$nvpStr .= "&TRIALTOTALBILLINGCYCLES=" . $order->TrialBillingCycles;
692
693
+ $nvpStr = apply_filters("pmpro_create_recurring_payments_profile_nvpstr", $nvpStr, $order);
694
+
695
$this->nvpStr = $nvpStr;
696
697
///echo str_replace("&", "&<br />", $nvpStr);
724
$nvpStr = "";
725
$nvpStr .= "&PROFILEID=" . urlencode($order->subscription_transaction_id) . "&ACTION=Cancel&NOTE=" . urlencode("User requested cancel.");
726
727
+ $nvpStr = apply_filters("pmpro_manage_recurring_payments_profile_status_nvpstr", $nvpStr, $order);
728
+
729
$this->httpParsedResponseAr = $this->PPHttpPost('ManageRecurringPaymentsProfileStatus', $nvpStr);
730
731
if("SUCCESS" == strtoupper($this->httpParsedResponseAr["ACK"]) || "SUCCESSWITHWARNING" == strtoupper($this->httpParsedResponseAr["ACK"]))
752
//paypal profile stuff
753
$nvpStr = "";
754
$nvpStr .= "&PROFILEID=" . urlencode($order->subscription_transaction_id);
755
+
756
+ $nvpStr = apply_filters("pmpro_get_recurring_payments_profile_details_nvpstr", $nvpStr, $order);
757
+
758
$this->httpParsedResponseAr = $this->PPHttpPost('GetRecurringPaymentsProfileDetails', $nvpStr);
759
760
if("SUCCESS" == strtoupper($this->httpParsedResponseAr["ACK"]) || "SUCCESSWITHWARNING" == strtoupper($this->httpParsedResponseAr["ACK"]))
classes/gateways/class.pmprogateway_stripe.php CHANGED
@@ -1083,6 +1083,7 @@
1083
//successful charge
1084
$order->payment_transaction_id = $response["id"];
1085
$order->updateStatus("success");
1086
return true;
1087
}
1088
else
1083
//successful charge
1084
$order->payment_transaction_id = $response["id"];
1085
$order->updateStatus("success");
1086
+ $order->saveOrder();
1087
return true;
1088
}
1089
else
includes/email.php CHANGED
@@ -11,7 +11,7 @@ function pmpro_wp_mail_from_name($from_name)
11
{
12
$pmpro_from_name = pmpro_getOption("from_name");
13
if ($pmpro_from_name)
14
- $from_name = $pmpro_from_name;
15
}
16
17
return $from_name;
11
{
12
$pmpro_from_name = pmpro_getOption("from_name");
13
if ($pmpro_from_name)
14
+ $from_name = stripslashes($pmpro_from_name);
15
}
16
17
return $from_name;
includes/functions.php CHANGED
@@ -31,13 +31,13 @@ if(!function_exists("sornot"))
31
//setup wpdb for the tables we need
32
function pmpro_setDBTables()
33
{
34
- global $table_prefix, $wpdb;
35
$wpdb->hide_errors();
36
- $wpdb->pmpro_membership_levels = $table_prefix . 'pmpro_membership_levels';
37
- $wpdb->pmpro_memberships_users = $table_prefix . 'pmpro_memberships_users';
38
- $wpdb->pmpro_memberships_categories = $table_prefix . 'pmpro_memberships_categories';
39
- $wpdb->pmpro_memberships_pages = $table_prefix . 'pmpro_memberships_pages';
40
- $wpdb->pmpro_membership_orders = $table_prefix . 'pmpro_membership_orders';
41
$wpdb->pmpro_discount_codes = $wpdb->prefix . 'pmpro_discount_codes';
42
$wpdb->pmpro_discount_codes_levels = $wpdb->prefix . 'pmpro_discount_codes_levels';
43
$wpdb->pmpro_discount_codes_uses = $wpdb->prefix . 'pmpro_discount_codes_uses';
@@ -86,14 +86,7 @@ function pmpro_br2nl($text, $tags = "br")
86
87
function pmpro_getOption($s, $force = false)
88
{
89
- if(isset($_REQUEST[$s]) && !$force)
90
- {
91
- if(!is_array($_REQUEST[$s]))
92
- return trim($_REQUEST[$s]);
93
- else
94
- return $_REQUEST[$s];
95
- }
96
- elseif(get_option("pmpro_" . $s))
97
return get_option("pmpro_" . $s);
98
else
99
return "";
@@ -101,9 +94,9 @@ function pmpro_getOption($s, $force = false)
101
102
function pmpro_setOption($s, $v = NULL)
103
{
104
- //no value is given, set v to the request var
105
- if($v === NULL && isset($_REQUEST[$s]))
106
- $v = $_REQUEST[$s];
107
108
if(is_array($v))
109
$v = implode(",", $v);
@@ -1094,11 +1087,11 @@ function pmpro_generateUsername($firstname = "", $lastname = "", $email = "")
1094
return $username;
1095
1096
//try the beginning of the email address
1097
- $emailparts = explode("@", "email");
1098
if(is_array($emailparts))
1099
$email = preg_replace("/[^A-Za-z]/", "", $emailparts[0]);
1100
1101
- if($email)
1102
{
1103
$username = $email;
1104
}
@@ -1894,3 +1887,25 @@ function pmpro_getGateway()
1894
1895
return $gateway;
1896
}
31
//setup wpdb for the tables we need
32
function pmpro_setDBTables()
33
{
34
+ global $wpdb;
35
$wpdb->hide_errors();
36
+ $wpdb->pmpro_membership_levels = $wpdb->prefix . 'pmpro_membership_levels';
37
+ $wpdb->pmpro_memberships_users = $wpdb->prefix . 'pmpro_memberships_users';
38
+ $wpdb->pmpro_memberships_categories = $wpdb->prefix . 'pmpro_memberships_categories';
39
+ $wpdb->pmpro_memberships_pages = $wpdb->prefix . 'pmpro_memberships_pages';
40
+ $wpdb->pmpro_membership_orders = $wpdb->prefix . 'pmpro_membership_orders';
41
$wpdb->pmpro_discount_codes = $wpdb->prefix . 'pmpro_discount_codes';
42
$wpdb->pmpro_discount_codes_levels = $wpdb->prefix . 'pmpro_discount_codes_levels';
43
$wpdb->pmpro_discount_codes_uses = $wpdb->prefix . 'pmpro_discount_codes_uses';
86
87
function pmpro_getOption($s, $force = false)
88
{
89
+ if(get_option("pmpro_" . $s))
90
return get_option("pmpro_" . $s);
91
else
92
return "";
94
95
function pmpro_setOption($s, $v = NULL)
96
{
97
+ //no value is given, set v to the p var
98
+ if($v === NULL && isset($_POST[$s]))
99
+ $v = $_POST[$s];
100
101
if(is_array($v))
102
$v = implode(",", $v);
1087
return $username;
1088
1089
//try the beginning of the email address
1090
+ $emailparts = explode("@", $email);
1091
if(is_array($emailparts))
1092
$email = preg_replace("/[^A-Za-z]/", "", $emailparts[0]);
1093
1094
+ if(!empty($email))
1095
{
1096
$username = $email;
1097
}
1887
1888
return $gateway;
1889
}
1890
+
1891
+ /*
1892
+ * Does the date provided fall in this month.
1893
+ * Used in logins/visits/views report.
1894
+ *
1895
+ * @since 1.8.3
1896
+ */
1897
+ function pmpro_isDateThisMonth($str)
1898
+ {
1899
+ $now = current_time('timestamp');
1900
+ $this_month = intval(date("n", $now));
1901
+ $this_year = intval(date("Y", $now));
1902
+
1903
+ $date = strtotime($str, $now);
1904
+ $date_month = intval(date("n", $date));
1905
+ $date_year = intval(date("Y", $date));
1906
+
1907
+ if($date_month === $this_month && $date_year === $this_year)
1908
+ return true;
1909
+ else
1910
+ return false;
1911
+ }
includes/init.php CHANGED
@@ -119,7 +119,7 @@ function pmpro_wp()
119
120
//add class to body
121
$pmpro_body_classes[] = "pmpro-" . str_replace("_", "-", $pmpro_page_name);
122
-
123
//shortcode
124
function pmpro_pages_shortcode($atts, $content=null, $code="")
125
{
119
120
//add class to body
121
$pmpro_body_classes[] = "pmpro-" . str_replace("_", "-", $pmpro_page_name);
122
+
123
//shortcode
124
function pmpro_pages_shortcode($atts, $content=null, $code="")
125
{
includes/upgradecheck.php CHANGED
@@ -7,9 +7,9 @@ function pmpro_checkForUpgrades()
7
$pmpro_db_version = pmpro_getOption("db_version");
8
9
//if we can't find the DB tables, reset db_version to 0
10
- global $wpdb, $table_prefix;
11
$wpdb->hide_errors();
12
- $wpdb->pmpro_membership_levels = $table_prefix . 'pmpro_membership_levels';
13
$table_exists = $wpdb->query("SHOW TABLES LIKE '" . $wpdb->pmpro_membership_levels . "'");
14
if(!$table_exists)
15
$pmpro_db_version = 0;
@@ -48,7 +48,7 @@ function pmpro_checkForUpgrades()
48
if($pmpro_db_version == 1.7)
49
{
50
//check if we have an id column in the memberships_users table
51
- $wpdb->pmpro_memberships_users = $table_prefix . 'pmpro_memberships_users';
52
$col = $wpdb->get_var("SELECT id FROM $wpdb->pmpro_memberships_users LIMIT 1");
53
if($wpdb->last_error == "Unknown column 'id' in 'field list'")
54
{
7
$pmpro_db_version = pmpro_getOption("db_version");
8
9
//if we can't find the DB tables, reset db_version to 0
10
+ global $wpdb;
11
$wpdb->hide_errors();
12
+ $wpdb->pmpro_membership_levels = $wpdb->prefix . 'pmpro_membership_levels';
13
$table_exists = $wpdb->query("SHOW TABLES LIKE '" . $wpdb->pmpro_membership_levels . "'");
14
if(!$table_exists)
15
$pmpro_db_version = 0;
48
if($pmpro_db_version == 1.7)
49
{
50
//check if we have an id column in the memberships_users table
51
+ $wpdb->pmpro_memberships_users = $wpdb->prefix . 'pmpro_memberships_users';
52
$col = $wpdb->get_var("SELECT id FROM $wpdb->pmpro_memberships_users LIMIT 1");
53
if($wpdb->last_error == "Unknown column 'id' in 'field list'")
54
{
languages/pmpro.mo CHANGED
Binary file
languages/pmpro.po CHANGED
@@ -5,7 +5,7 @@
5
msgid ""
6
msgstr ""
7
"Project-Id-Version: pmpro\n"
8
- "POT-Creation-Date: 2015-03-25 14:50-0400\n"
9
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
10
"Last-Translator: \n"
11
"Language-Team: Stranger Studios <jason@strangerstudios.com>\n"
@@ -144,7 +144,7 @@ msgid "Payment Gateway &amp; SSL"
144
msgstr ""
145
146
#: adminpages/admin_header.php:152 adminpages/memberslist.php:158
147
- #: pages/account.php:77 adminpages/admin_header.php:131
148
#: adminpages/admin_header.php:152 adminpages/memberslist.php:115
149
#: adminpages/memberslist.php:148 adminpages/memberslist.php:158
150
#: pages/account.php:52 pages/account.php:56 pages/account.php:77
@@ -461,7 +461,7 @@ msgstr ""
461
#: adminpages/discountcodes.php:310 adminpages/discountcodes.php:586
462
#: adminpages/membershiplevels.php:286 adminpages/membershiplevels.php:541
463
#: adminpages/memberslist.php:154 adminpages/orders.php:900
464
- #: adminpages/reports/login.php:140 adminpages/discountcodes.php:306
465
#: adminpages/discountcodes.php:309 adminpages/discountcodes.php:310
466
#: adminpages/discountcodes.php:547 adminpages/discountcodes.php:557
467
#: adminpages/discountcodes.php:585 adminpages/discountcodes.php:586
@@ -737,7 +737,7 @@ msgstr ""
737
msgid "Search Discount Codes"
738
msgstr ""
739
740
- #: adminpages/discountcodes.php:570 adminpages/reports/login.php:81
741
#: adminpages/discountcodes.php:538 adminpages/discountcodes.php:541
742
#: adminpages/discountcodes.php:569 adminpages/discountcodes.php:570
743
#: adminpages/reports/login.php:81
@@ -751,7 +751,7 @@ msgid "Starts"
751
msgstr ""
752
753
#: adminpages/discountcodes.php:589 adminpages/memberslist.php:169
754
- #: adminpages/reports/login.php:145 includes/profile.php:98
755
#: adminpages/discountcodes.php:550 adminpages/discountcodes.php:560
756
#: adminpages/discountcodes.php:588 adminpages/discountcodes.php:589
757
#: adminpages/memberslist.php:121 adminpages/memberslist.php:159
@@ -972,7 +972,7 @@ msgid "Add New Membership Level"
972
msgstr ""
973
974
#: adminpages/membershiplevels.php:293 adminpages/membershiplevels.php:542
975
- #: adminpages/reports/login.php:142 adminpages/membershiplevels.php:291
976
#: adminpages/membershiplevels.php:293 adminpages/membershiplevels.php:506
977
#: adminpages/membershiplevels.php:512 adminpages/membershiplevels.php:514
978
#: adminpages/membershiplevels.php:541 adminpages/membershiplevels.php:542
@@ -1139,13 +1139,13 @@ msgstr ""
1139
msgid "Search Levels"
1140
msgstr ""
1141
1142
- #: adminpages/membershiplevels.php:544 pages/account.php:20
1143
- #: pages/cancel.php:53 pages/confirmation.php:83 pages/invoice.php:70
1144
- #: adminpages/membershiplevels.php:510 adminpages/membershiplevels.php:516
1145
- #: adminpages/membershiplevels.php:518 adminpages/membershiplevels.php:544
1146
- #: adminpages/membershiplevels.php:545 pages/account.php:20
1147
- #: pages/cancel.php:53 pages/confirmation.php:81 pages/confirmation.php:83
1148
- #: pages/invoice.php:68 pages/invoice.php:70
1149
msgid "Expiration"
1150
msgstr ""
1151
@@ -1199,7 +1199,7 @@ msgid "Export to CSV"
1199
msgstr ""
1200
1201
#: adminpages/memberslist.php:30 adminpages/orders.php:603
1202
- #: adminpages/reports/login.php:65 adminpages/reports/memberships.php:292
1203
#: adminpages/reports/sales.php:193 adminpages/memberslist.php:30
1204
#: adminpages/orders.php:603 adminpages/reports/login.php:65
1205
#: adminpages/reports/memberships.php:292 adminpages/reports/sales.php:185
@@ -1207,7 +1207,7 @@ msgstr ""
1207
msgid "Show"
1208
msgstr ""
1209
1210
- #: adminpages/memberslist.php:32 adminpages/reports/login.php:67
1211
#: adminpages/reports/memberships.php:317 adminpages/reports/sales.php:216
1212
#: adminpages/memberslist.php:32 adminpages/reports/login.php:67
1213
#: adminpages/reports/memberships.php:317 adminpages/reports/sales.php:208
@@ -1241,11 +1241,11 @@ msgstr ""
1241
msgid "%d members found."
1242
msgstr ""
1243
1244
- #: adminpages/memberslist.php:155 pages/account.php:76 pages/checkout.php:171
1245
- #: adminpages/memberslist.php:112 adminpages/memberslist.php:145
1246
- #: adminpages/memberslist.php:155 pages/account.php:51 pages/account.php:55
1247
- #: pages/account.php:76 pages/checkout.php:168 pages/checkout.php:171
1248
- #: pages/checkout.php:173
1249
msgid "Username"
1250
msgstr ""
1251
@@ -1270,7 +1270,7 @@ msgstr ""
1270
msgid "Billing Address"
1271
msgstr ""
1272
1273
- #: adminpages/memberslist.php:161 adminpages/reports/login.php:143
1274
#: classes/gateways/class.pmprogateway_authorizenet.php:303
1275
#: adminpages/memberslist.php:118 adminpages/memberslist.php:151
1276
#: adminpages/memberslist.php:161 adminpages/pagesettings.php:51
@@ -1285,7 +1285,7 @@ msgstr ""
1285
msgid "Fee"
1286
msgstr ""
1287
1288
- #: adminpages/memberslist.php:163 adminpages/reports/login.php:144
1289
#: adminpages/memberslist.php:120 adminpages/memberslist.php:153
1290
#: adminpages/memberslist.php:163 adminpages/reports/login.php:144
1291
msgid "Joined"
@@ -1296,13 +1296,13 @@ msgstr ""
1296
msgid "Ended"
1297
msgstr ""
1298
1299
- #: adminpages/memberslist.php:251 adminpages/reports/login.php:210
1300
#: adminpages/memberslist.php:195 adminpages/memberslist.php:223
1301
#: adminpages/memberslist.php:251 adminpages/reports/login.php:210
1302
msgid "No members found."
1303
msgstr ""
1304
1305
- #: adminpages/memberslist.php:251 adminpages/reports/login.php:210
1306
#: adminpages/memberslist.php:195 adminpages/memberslist.php:223
1307
#: adminpages/memberslist.php:251 adminpages/reports/login.php:210
1308
msgid "Search all levels"
@@ -1524,11 +1524,11 @@ msgstr ""
1524
msgid "Generated by the gateway. Useful to cross reference subscriptions."
1525
msgstr ""
1526
1527
- #: adminpages/orders.php:493 adminpages/orders.php:910 pages/account.php:91
1528
- #: pages/invoice.php:107 adminpages/orders.php:442 adminpages/orders.php:492
1529
- #: adminpages/orders.php:493 adminpages/orders.php:607
1530
- #: adminpages/orders.php:910 pages/account.php:91 pages/invoice.php:105
1531
- #: pages/invoice.php:107
1532
msgid "Date"
1533
msgstr ""
1534
@@ -1552,10 +1552,10 @@ msgstr ""
1552
msgid "Save Order"
1553
msgstr ""
1554
1555
- #: adminpages/orders.php:561 pages/account.php:44 pages/billing.php:330
1556
- #: pages/cancel.php:71 adminpages/orders.php:511 adminpages/orders.php:561
1557
- #: pages/account.php:44 pages/billing.php:295 pages/billing.php:299
1558
- #: pages/billing.php:330 pages/cancel.php:71
1559
msgid "Cancel"
1560
msgstr ""
1561
@@ -1620,7 +1620,7 @@ msgstr ""
1620
msgid "%d orders found."
1621
msgstr ""
1622
1623
- #: adminpages/orders.php:902 adminpages/reports/login.php:141
1624
#: classes/gateways/class.pmprogateway_payflowpro.php:116
1625
#: adminpages/orders.php:599 adminpages/orders.php:902
1626
#: adminpages/paymentsettings.php:211 adminpages/paymentsettings.php:215
@@ -1938,70 +1938,70 @@ msgstr ""
1938
msgid "Visits, Views, and Logins"
1939
msgstr ""
1940
1941
- #: adminpages/reports/login.php:26 adminpages/reports/login.php:26
1942
msgid "Visits Today"
1943
msgstr ""
1944
1945
- #: adminpages/reports/login.php:27 adminpages/reports/login.php:147
1946
#: adminpages/reports/login.php:27 adminpages/reports/login.php:147
1947
msgid "Visits This Month"
1948
msgstr ""
1949
1950
- #: adminpages/reports/login.php:28 adminpages/reports/login.php:28
1951
msgid "Visits All Time"
1952
msgstr ""
1953
1954
- #: adminpages/reports/login.php:31 adminpages/reports/login.php:31
1955
msgid "Views Today"
1956
msgstr ""
1957
1958
- #: adminpages/reports/login.php:32 adminpages/reports/login.php:149
1959
#: adminpages/reports/login.php:32 adminpages/reports/login.php:149
1960
msgid "Views This Month"
1961
msgstr ""
1962
1963
- #: adminpages/reports/login.php:33 adminpages/reports/login.php:33
1964
msgid "Views All Time"
1965
msgstr ""
1966
1967
- #: adminpages/reports/login.php:36 adminpages/reports/login.php:36
1968
msgid "Logins Today"
1969
msgstr ""
1970
1971
- #: adminpages/reports/login.php:37 adminpages/reports/login.php:152
1972
#: adminpages/reports/login.php:37 adminpages/reports/login.php:152
1973
msgid "Logins This Month"
1974
msgstr ""
1975
1976
- #: adminpages/reports/login.php:38 adminpages/reports/login.php:38
1977
msgid "Logins All Time"
1978
msgstr ""
1979
1980
- #: adminpages/reports/login.php:61 adminpages/reports/login.php:61
1981
msgid "Visits, Views, and Logins Report"
1982
msgstr ""
1983
1984
- #: adminpages/reports/login.php:66 adminpages/reports/login.php:66
1985
msgid "All Users"
1986
msgstr ""
1987
1988
- #: adminpages/reports/login.php:146 adminpages/reports/login.php:146
1989
msgid "Last Visit"
1990
msgstr ""
1991
1992
- #: adminpages/reports/login.php:148 adminpages/reports/login.php:148
1993
msgid "Total Visits"
1994
msgstr ""
1995
1996
- #: adminpages/reports/login.php:150 adminpages/reports/login.php:150
1997
msgid "Total Views"
1998
msgstr ""
1999
2000
- #: adminpages/reports/login.php:151 adminpages/reports/login.php:151
2001
msgid "Last Login"
2002
msgstr ""
2003
2004
- #: adminpages/reports/login.php:153 adminpages/reports/login.php:153
2005
msgid "Total Logins"
2006
msgstr ""
2007
@@ -2274,6 +2274,7 @@ msgstr ""
2274
2275
#: classes/class.pmproemail.php:762 classes/class.pmproemail.php:800
2276
#: classes/class.pmproemail.php:759 classes/class.pmproemail.php:762
2277
#, php-format
2278
msgid "The new level is %s"
2279
msgstr ""
@@ -2395,7 +2396,7 @@ msgid ""
2395
msgstr ""
2396
2397
#: classes/gateways/class.pmprogateway_authorizenet.php:39
2398
- #: paid-memberships-pro.php:122
2399
#: classes/gateways/class.pmprogateway_authorizenet.php:39
2400
#: paid-memberships-pro.php:122
2401
msgid "Authorize.net"
@@ -2448,7 +2449,7 @@ msgid "Could not connect to Authorize.net"
2448
msgstr ""
2449
2450
#: classes/gateways/class.pmprogateway_braintree.php:76
2451
- #: paid-memberships-pro.php:123
2452
#: classes/gateways/class.pmprogateway_braintree.php:63
2453
#: classes/gateways/class.pmprogateway_braintree.php:76
2454
#: paid-memberships-pro.php:123
@@ -2679,7 +2680,7 @@ msgid "Could not find the subscription."
2679
msgstr ""
2680
2681
#: classes/gateways/class.pmprogateway_check.php:48
2682
- #: paid-memberships-pro.php:116 adminpages/orders.php:399
2683
#: adminpages/orders.php:449 adminpages/paymentsettings.php:157
2684
#: adminpages/paymentsettings.php:159
2685
#: classes/gateways/class.pmprogateway_check.php:48
@@ -2791,7 +2792,7 @@ msgid ""
2791
msgstr ""
2792
2793
#: classes/gateways/class.pmprogateway_paypal.php:57
2794
- #: paid-memberships-pro.php:119
2795
#: classes/gateways/class.pmprogateway_paypal.php:57
2796
#: paid-memberships-pro.php:119
2797
msgid "PayPal Website Payments Pro"
@@ -2926,7 +2927,7 @@ msgid "Submit and Confirm"
2926
msgstr ""
2927
2928
#: classes/gateways/class.pmprogateway_paypal.php:605
2929
- #: classes/gateways/class.pmprogateway_paypalexpress.php:731
2930
#: classes/gateways/class.pmprogateway_paypalstandard.php:466
2931
#: classes/gateways/class.pmprogateway_paypal.php:385
2932
#: classes/gateways/class.pmprogateway_paypal.php:605
@@ -2945,7 +2946,7 @@ msgid ""
2945
msgstr ""
2946
2947
#: classes/gateways/class.pmprogateway_paypalexpress.php:63
2948
- #: paid-memberships-pro.php:118
2949
#: classes/gateways/class.pmprogateway_paypalexpress.php:63
2950
#: paid-memberships-pro.php:118
2951
msgid "PayPal Express"
@@ -2972,7 +2973,7 @@ msgid "The PayPal Token was lost."
2972
msgstr ""
2973
2974
#: classes/gateways/class.pmprogateway_paypalstandard.php:60
2975
- #: paid-memberships-pro.php:121
2976
#: classes/gateways/class.pmprogateway_paypalstandard.php:60
2977
#: paid-memberships-pro.php:121
2978
msgid "PayPal Standard"
@@ -2986,7 +2987,7 @@ msgid ""
2986
msgstr ""
2987
2988
#: classes/gateways/class.pmprogateway_stripe.php:93
2989
- #: paid-memberships-pro.php:117
2990
#: classes/gateways/class.pmprogateway_stripe.php:93
2991
#: paid-memberships-pro.php:117
2992
msgid "Stripe"
@@ -3064,7 +3065,7 @@ msgstr ""
3064
msgid "Could not cancel the old subscription. Updates have not been processed."
3065
msgstr ""
3066
3067
- #: classes/gateways/class.pmprogateway_stripe.php:1202
3068
#: classes/gateways/class.pmprogateway_stripe.php:190
3069
#: classes/gateways/class.pmprogateway_stripe.php:192
3070
#: classes/gateways/class.pmprogateway_stripe.php:199
@@ -3075,8 +3076,8 @@ msgstr ""
3075
msgid "Error creating customer record with Stripe:"
3076
msgstr ""
3077
3078
- #: classes/gateways/class.pmprogateway_stripe.php:1259
3079
- #: classes/gateways/class.pmprogateway_stripe.php:1409
3080
#: classes/gateways/class.pmprogateway_stripe.php:278
3081
#: classes/gateways/class.pmprogateway_stripe.php:279
3082
#: classes/gateways/class.pmprogateway_stripe.php:286
@@ -3092,7 +3093,7 @@ msgstr ""
3092
msgid "Error creating plan with Stripe:"
3093
msgstr ""
3094
3095
- #: classes/gateways/class.pmprogateway_stripe.php:1440
3096
#: classes/gateways/class.pmprogateway_stripe.php:294
3097
#: classes/gateways/class.pmprogateway_stripe.php:295
3098
#: classes/gateways/class.pmprogateway_stripe.php:302
@@ -3106,7 +3107,7 @@ msgstr ""
3106
msgid "Error subscribing customer to plan with Stripe:"
3107
msgstr ""
3108
3109
- #: classes/gateways/class.pmprogateway_stripe.php:1536
3110
#: classes/gateways/class.pmprogateway_stripe.php:383
3111
#: classes/gateways/class.pmprogateway_stripe.php:389
3112
#: classes/gateways/class.pmprogateway_stripe.php:410
@@ -3117,7 +3118,7 @@ msgstr ""
3117
msgid "Could not cancel old subscription."
3118
msgstr ""
3119
3120
- #: classes/gateways/class.pmprogateway_stripe.php:1553
3121
#: classes/gateways/class.pmprogateway_stripe.php:1533
3122
#: classes/gateways/class.pmprogateway_stripe.php:1534
3123
#: classes/gateways/class.pmprogateway_stripe.php:1535
@@ -3126,7 +3127,7 @@ msgid "Could not find the customer."
3126
msgstr ""
3127
3128
#: classes/gateways/class.pmprogateway_twocheckout.php:53
3129
- #: paid-memberships-pro.php:124
3130
#: classes/gateways/class.pmprogateway_twocheckout.php:53
3131
#: paid-memberships-pro.php:124
3132
msgid "2Checkout"
@@ -3397,7 +3398,7 @@ msgstr ""
3397
msgid "Vietnamese Dong"
3398
msgstr ""
3399
3400
- #: includes/functions.php:207 includes/functions.php:160
3401
#: includes/functions.php:196 includes/functions.php:202
3402
#: includes/functions.php:203 includes/functions.php:204
3403
#: includes/functions.php:207
@@ -3405,14 +3406,14 @@ msgstr ""
3405
msgid "The price for membership is <strong>%s</strong> now"
3406
msgstr ""
3407
3408
- #: includes/functions.php:209 includes/functions.php:204
3409
#: includes/functions.php:205 includes/functions.php:206
3410
#: includes/functions.php:209
3411
#, php-format
3412
msgid "<strong>%s</strong> now"
3413
msgstr ""
3414
3415
- #: includes/functions.php:218 includes/functions.php:169
3416
#: includes/functions.php:205 includes/functions.php:213
3417
#: includes/functions.php:214 includes/functions.php:215
3418
#: includes/functions.php:218
@@ -3420,7 +3421,7 @@ msgstr ""
3420
msgid " and then <strong>%s per %s for %d more %s</strong>."
3421
msgstr ""
3422
3423
- #: includes/functions.php:222 includes/functions.php:173
3424
#: includes/functions.php:209 includes/functions.php:217
3425
#: includes/functions.php:218 includes/functions.php:219
3426
#: includes/functions.php:222
@@ -3428,7 +3429,7 @@ msgstr ""
3428
msgid " and then <strong>%s every %d %s for %d more %s</strong>."
3429
msgstr ""
3430
3431
- #: includes/functions.php:227 includes/functions.php:178
3432
#: includes/functions.php:214 includes/functions.php:222
3433
#: includes/functions.php:223 includes/functions.php:224
3434
#: includes/functions.php:227
@@ -3436,33 +3437,33 @@ msgstr ""
3436
msgid " and then <strong>%s after %d %s</strong>."
3437
msgstr ""
3438
3439
- #: includes/functions.php:235 includes/functions.php:229
3440
#: includes/functions.php:230 includes/functions.php:231
3441
#: includes/functions.php:235
3442
#, php-format
3443
msgid "The price for membership is <strong>%s per %s</strong>."
3444
msgstr ""
3445
3446
- #: includes/functions.php:237 includes/functions.php:233
3447
#: includes/functions.php:237
3448
#, php-format
3449
msgid "<strong>%s per %s</strong>."
3450
msgstr ""
3451
3452
- #: includes/functions.php:242 includes/functions.php:233
3453
#: includes/functions.php:234 includes/functions.php:235
3454
#: includes/functions.php:238 includes/functions.php:242
3455
#, php-format
3456
msgid "The price for membership is <strong>%s every %d %s</strong>."
3457
msgstr ""
3458
3459
- #: includes/functions.php:244 includes/functions.php:240
3460
#: includes/functions.php:244
3461
#, php-format
3462
msgid "<strong>%s every %d %s</strong>."
3463
msgstr ""
3464
3465
- #: includes/functions.php:249 includes/functions.php:184
3466
#: includes/functions.php:220 includes/functions.php:228
3467
#: includes/functions.php:238 includes/functions.php:239
3468
#: includes/functions.php:240 includes/functions.php:245
@@ -3471,7 +3472,7 @@ msgstr ""
3471
msgid " and then <strong>%s per %s</strong>."
3472
msgstr ""
3473
3474
- #: includes/functions.php:253 includes/functions.php:188
3475
#: includes/functions.php:224 includes/functions.php:232
3476
#: includes/functions.php:242 includes/functions.php:243
3477
#: includes/functions.php:244 includes/functions.php:249
@@ -3480,7 +3481,7 @@ msgstr ""
3480
msgid " and then <strong>%s every %d %s</strong>."
3481
msgstr ""
3482
3483
- #: includes/functions.php:271 includes/functions.php:202
3484
#: includes/functions.php:238 includes/functions.php:249
3485
#: includes/functions.php:260 includes/functions.php:261
3486
#: includes/functions.php:262 includes/functions.php:267
@@ -3488,7 +3489,7 @@ msgstr ""
3488
msgid "After your initial payment, your first payment is Free."
3489
msgstr ""
3490
3491
- #: includes/functions.php:275 includes/functions.php:206
3492
#: includes/functions.php:242 includes/functions.php:253
3493
#: includes/functions.php:264 includes/functions.php:265
3494
#: includes/functions.php:266 includes/functions.php:271
@@ -3497,7 +3498,7 @@ msgstr ""
3497
msgid "After your initial payment, your first %d payments are Free."
3498
msgstr ""
3499
3500
- #: includes/functions.php:282 includes/functions.php:213
3501
#: includes/functions.php:249 includes/functions.php:260
3502
#: includes/functions.php:271 includes/functions.php:272
3503
#: includes/functions.php:273 includes/functions.php:278
@@ -3506,7 +3507,7 @@ msgstr ""
3506
msgid "After your initial payment, your first payment will cost %s."
3507
msgstr ""
3508
3509
- #: includes/functions.php:286 includes/functions.php:217
3510
#: includes/functions.php:253 includes/functions.php:264
3511
#: includes/functions.php:275 includes/functions.php:276
3512
#: includes/functions.php:277 includes/functions.php:282
@@ -3515,7 +3516,7 @@ msgstr ""
3515
msgid "After your initial payment, your first %d payments will cost %s."
3516
msgstr ""
3517
3518
- #: includes/functions.php:297 includes/functions.php:228
3519
#: includes/functions.php:264 includes/functions.php:275
3520
#: includes/functions.php:286 includes/functions.php:287
3521
#: includes/functions.php:288 includes/functions.php:293
@@ -3524,7 +3525,7 @@ msgstr ""
3524
msgid "Customers in %s will be charged %s%% tax."
3525
msgstr ""
3526
3527
- #: includes/functions.php:311 includes/functions.php:242
3528
#: includes/functions.php:278 includes/functions.php:289
3529
#: includes/functions.php:300 includes/functions.php:301
3530
#: includes/functions.php:302 includes/functions.php:307
@@ -3533,7 +3534,7 @@ msgstr ""
3533
msgid "Membership expires after %d %s."
3534
msgstr ""
3535
3536
- #: includes/functions.php:576 includes/functions.php:491
3537
#: includes/functions.php:514 includes/functions.php:525
3538
#: includes/functions.php:536 includes/functions.php:537
3539
#: includes/functions.php:538 includes/functions.php:545
@@ -3542,7 +3543,7 @@ msgstr ""
3542
msgid "User ID not found."
3543
msgstr ""
3544
3545
- #: includes/functions.php:596 includes/functions.php:508
3546
#: includes/functions.php:531 includes/functions.php:542
3547
#: includes/functions.php:553 includes/functions.php:554
3548
#: includes/functions.php:555 includes/functions.php:562
@@ -3551,7 +3552,7 @@ msgstr ""
3551
msgid "Invalid level."
3552
msgstr ""
3553
3554
- #: includes/functions.php:607 includes/functions.php:520
3555
#: includes/functions.php:542 includes/functions.php:553
3556
#: includes/functions.php:564 includes/functions.php:565
3557
#: includes/functions.php:566 includes/functions.php:573
@@ -3560,8 +3561,8 @@ msgstr ""
3560
msgid "not changing?"
3561
msgstr ""
3562
3563
- #: includes/functions.php:624 includes/functions.php:683
3564
- #: includes/functions.php:707 includes/functions.php:537
3565
#: includes/functions.php:559 includes/functions.php:570
3566
#: includes/functions.php:581 includes/functions.php:582
3567
#: includes/functions.php:583 includes/functions.php:590
@@ -3579,7 +3580,7 @@ msgstr ""
3579
msgid "Error interacting with database"
3580
msgstr ""
3581
3582
- #: includes/functions.php:748 includes/functions.php:787
3583
#: includes/functions.php:629 includes/functions.php:651
3584
#: includes/functions.php:667 includes/functions.php:668
3585
#: includes/functions.php:678 includes/functions.php:681
@@ -3594,14 +3595,14 @@ msgstr ""
3594
msgid "Membership level not found."
3595
msgstr ""
3596
3597
- #: includes/functions.php:1157 includes/functions.php:1100
3598
#: includes/functions.php:1101 includes/functions.php:1118
3599
#: includes/functions.php:1142 includes/functions.php:1143
3600
#: includes/functions.php:1157
3601
msgid "No code was given to check."
3602
msgstr ""
3603
3604
- #: includes/functions.php:1166 includes/functions.php:1050
3605
#: includes/functions.php:1072 includes/functions.php:1088
3606
#: includes/functions.php:1099 includes/functions.php:1102
3607
#: includes/functions.php:1109 includes/functions.php:1110
@@ -3611,7 +3612,7 @@ msgstr ""
3611
msgid "The discount code could not be found."
3612
msgstr ""
3613
3614
- #: includes/functions.php:1181 includes/functions.php:1066
3615
#: includes/functions.php:1088 includes/functions.php:1104
3616
#: includes/functions.php:1115 includes/functions.php:1118
3617
#: includes/functions.php:1124 includes/functions.php:1125
@@ -3622,7 +3623,7 @@ msgstr ""
3622
msgid "This discount code goes into effect on %s."
3623
msgstr ""
3624
3625
- #: includes/functions.php:1188 includes/functions.php:1075
3626
#: includes/functions.php:1097 includes/functions.php:1113
3627
#: includes/functions.php:1124 includes/functions.php:1127
3628
#: includes/functions.php:1131 includes/functions.php:1132
@@ -3633,7 +3634,7 @@ msgstr ""
3633
msgid "This discount code expired on %s."
3634
msgstr ""
3635
3636
- #: includes/functions.php:1198 includes/functions.php:1087
3637
#: includes/functions.php:1109 includes/functions.php:1125
3638
#: includes/functions.php:1136 includes/functions.php:1139
3639
#: includes/functions.php:1141 includes/functions.php:1142
@@ -3643,7 +3644,7 @@ msgstr ""
3643
msgid "This discount code is no longer valid."
3644
msgstr ""
3645
3646
- #: includes/functions.php:1211 includes/functions.php:1102
3647
#: includes/functions.php:1124 includes/functions.php:1140
3648
#: includes/functions.php:1151 includes/functions.php:1154
3649
#: includes/functions.php:1155 includes/functions.php:1164
@@ -3653,7 +3654,7 @@ msgstr ""
3653
msgid "This discount code does not apply to this membership level."
3654
msgstr ""
3655
3656
- #: includes/functions.php:1237 includes/functions.php:1110
3657
#: includes/functions.php:1132 includes/functions.php:1148
3658
#: includes/functions.php:1159 includes/functions.php:1162
3659
#: includes/functions.php:1172 includes/functions.php:1180
@@ -3663,7 +3664,7 @@ msgstr ""
3663
msgid "This discount code is okay."
3664
msgstr ""
3665
3666
- #: includes/functions.php:1262 includes/functions.php:1134
3667
#: includes/functions.php:1156 includes/functions.php:1172
3668
#: includes/functions.php:1183 includes/functions.php:1186
3669
#: includes/functions.php:1196 includes/functions.php:1205
@@ -3673,7 +3674,7 @@ msgstr ""
3673
msgid "and"
3674
msgstr ""
3675
3676
- #: includes/functions.php:1457 includes/functions.php:1319
3677
#: includes/functions.php:1341 includes/functions.php:1361
3678
#: includes/functions.php:1372 includes/functions.php:1375
3679
#: includes/functions.php:1385 includes/functions.php:1394
@@ -3683,7 +3684,7 @@ msgstr ""
3683
msgid "Sign Up for !!name!! Now"
3684
msgstr ""
3685
3686
- #: includes/functions.php:1463 includes/functions.php:1325
3687
#: includes/functions.php:1347 includes/functions.php:1367
3688
#: includes/functions.php:1378 includes/functions.php:1381
3689
#: includes/functions.php:1391 includes/functions.php:1400
@@ -3782,74 +3783,6 @@ msgid ""
3782
"register to read."
3783
msgstr ""
3784
3785
- #: pages/account.php:14 pages/cancel.php:48 pages/account.php:14
3786
- #: pages/cancel.php:48
3787
- msgid "My Memberships"
3788
- msgstr ""
3789
-
3790
- #: pages/account.php:18 pages/account.php:92 pages/billing.php:16
3791
- #: pages/cancel.php:52 pages/invoice.php:109 pages/levels.php:13
3792
- #: pages/account.php:12 pages/account.php:18 pages/account.php:92
3793
- #: pages/billing.php:16 pages/cancel.php:52 pages/invoice.php:109
3794
- #: pages/levels.php:13
3795
- msgid "Level"
3796
- msgstr ""
3797
-
3798
- #: pages/account.php:19 pages/account.php:19
3799
- msgid "Billing"
3800
- msgstr ""
3801
-
3802
- #: pages/account.php:33 pages/levels.php:57 pages/account.php:33
3803
- #: pages/levels.php:57 pages/levels.php:123
3804
- msgid "Renew"
3805
- msgstr ""
3806
-
3807
- #: pages/account.php:36 pages/account.php:36
3808
- msgid "Update Billing Info"
3809
- msgstr ""
3810
-
3811
- #: pages/account.php:42 pages/account.php:42
3812
- msgid "Change"
3813
- msgstr ""
3814
-
3815
- #: pages/account.php:64 pages/account.php:64
3816
- msgid "View all Membership Options"
3817
- msgstr ""
3818
-
3819
- #: pages/account.php:71 pages/account.php:46 pages/account.php:50
3820
- #: pages/account.php:71
3821
- msgid "My Account"
3822
- msgstr ""
3823
-
3824
- #: pages/account.php:80 pages/account.php:55 pages/account.php:59
3825
- #: pages/account.php:80
3826
- msgid "Edit Profile"
3827
- msgstr ""
3828
-
3829
- #: pages/account.php:81 pages/account.php:56 pages/account.php:60
3830
- #: pages/account.php:81
3831
- msgid "Change Password"
3832
- msgstr ""
3833
-
3834
- #: pages/account.php:87 pages/account.php:87 pages/account.php:125
3835
- #: pages/account.php:129
3836
- msgid "Past Invoices"
3837
- msgstr ""
3838
-
3839
- #: pages/account.php:93 pages/account.php:93
3840
- msgid "Amount"
3841
- msgstr ""
3842
-
3843
- #: pages/account.php:121 pages/account.php:121 pages/account.php:140
3844
- #: pages/account.php:144
3845
- msgid "View All Invoices"
3846
- msgstr ""
3847
-
3848
- #: pages/account.php:128 pages/account.php:128 pages/account.php:146
3849
- #: pages/account.php:150
3850
- msgid "Member Links"
3851
- msgstr ""
3852
-
3853
#: pages/billing.php:14 pages/billing.php:14
3854
#, php-format
3855
msgid "Logged in as <strong>%s</strong>."
@@ -3859,6 +3792,14 @@ msgstr ""
3859
msgid "logout"
3860
msgstr ""
3861
3862
#: pages/billing.php:18 pages/account.php:14 pages/billing.php:18
3863
msgid "Membership Fee"
3864
msgstr ""
@@ -3993,6 +3934,11 @@ msgstr ""
3993
msgid "No, keep my account"
3994
msgstr ""
3995
3996
#: pages/cancel.php:77 pages/cancel.php:77
3997
msgid "Cancel All Memberships"
3998
msgstr ""
@@ -4229,6 +4175,11 @@ msgstr ""
4229
msgid "Select"
4230
msgstr ""
4231
4232
#: pages/levels.php:63 pages/levels.php:63 pages/levels.php:117
4233
#: pages/levels.php:129
4234
msgid "Your&nbsp;Level"
@@ -4244,16 +4195,16 @@ msgstr ""
4244
msgid "&larr; Return to Home"
4245
msgstr ""
4246
4247
- #: paid-memberships-pro.php:115 adminpages/orders.php:398
4248
#: adminpages/orders.php:448 paid-memberships-pro.php:115
4249
msgid "Testing Only"
4250
msgstr ""
4251
4252
- #: paid-memberships-pro.php:120 paid-memberships-pro.php:120
4253
msgid "PayPal Payflow Pro/PayPal Pro"
4254
msgstr ""
4255
4256
- #: paid-memberships-pro.php:125 paid-memberships-pro.php:125
4257
msgid "Cybersource"
4258
msgstr ""
4259
@@ -4388,7 +4339,7 @@ msgstr ""
4388
msgid "That email address is already taken. Please try another."
4389
msgstr ""
4390
4391
- #: preheaders/checkout.php:397 preheaders/checkout.php:397
4392
#: preheaders/checkout.php:399 preheaders/checkout.php:525
4393
#: preheaders/checkout.php:532 preheaders/checkout.php:537
4394
#: preheaders/checkout.php:544 preheaders/checkout.php:561
@@ -4397,7 +4348,7 @@ msgstr ""
4397
msgid "reCAPTCHA failed. (%s) Please try again."
4398
msgstr ""
4399
4400
- #: preheaders/checkout.php:482 preheaders/checkout.php:482
4401
#: preheaders/checkout.php:484 preheaders/checkout.php:647
4402
#: preheaders/checkout.php:654 preheaders/checkout.php:659
4403
#: preheaders/checkout.php:683 preheaders/checkout.php:701
@@ -4405,7 +4356,7 @@ msgstr ""
4405
msgid "Payment accepted."
4406
msgstr ""
4407
4408
- #: preheaders/checkout.php:490 preheaders/checkout.php:490
4409
#: preheaders/checkout.php:492 preheaders/checkout.php:653
4410
#: preheaders/checkout.php:660 preheaders/checkout.php:665
4411
#: preheaders/checkout.php:691 preheaders/checkout.php:709
@@ -4414,7 +4365,7 @@ msgid ""
4414
"Unknown error generating account. Please contact us to setup your membership."
4415
msgstr ""
4416
4417
- #: preheaders/checkout.php:550 preheaders/checkout.php:550
4418
#: preheaders/checkout.php:552 preheaders/checkout.php:785
4419
#: preheaders/checkout.php:792 preheaders/checkout.php:797
4420
#: preheaders/checkout.php:825 preheaders/checkout.php:844
@@ -4424,7 +4375,7 @@ msgid ""
4424
"Please contact us."
4425
msgstr ""
4426
4427
- #: preheaders/checkout.php:691 preheaders/checkout.php:691
4428
#: preheaders/checkout.php:693 preheaders/checkout.php:953
4429
#: preheaders/checkout.php:960 preheaders/checkout.php:970
4430
#: preheaders/checkout.php:983 preheaders/checkout.php:1030
@@ -4435,7 +4386,7 @@ msgid ""
4435
"submit this form again. Please contact the site owner to fix this issue."
4436
msgstr ""
4437
4438
- #: preheaders/checkout.php:694 preheaders/checkout.php:694
4439
#: preheaders/checkout.php:696 preheaders/checkout.php:956
4440
#: preheaders/checkout.php:963 preheaders/checkout.php:973
4441
#: preheaders/checkout.php:988 preheaders/checkout.php:1035
@@ -4446,7 +4397,7 @@ msgid ""
4446
"this form again. Please contact the site owner to fix this issue."
4447
msgstr ""
4448
4449
- #: preheaders/checkout.php:705 preheaders/checkout.php:705
4450
#: preheaders/checkout.php:707 preheaders/checkout.php:967
4451
#: preheaders/checkout.php:974 preheaders/checkout.php:984
4452
#: preheaders/checkout.php:1001 preheaders/checkout.php:1048
@@ -4457,7 +4408,7 @@ msgid ""
4457
"be processed."
4458
msgstr ""
4459
4460
- #: preheaders/checkout.php:707 preheaders/checkout.php:707
4461
#: preheaders/checkout.php:709 preheaders/checkout.php:969
4462
#: preheaders/checkout.php:976 preheaders/checkout.php:986
4463
#: preheaders/checkout.php:1003 preheaders/checkout.php:1050
@@ -4517,6 +4468,56 @@ msgid ""
4517
"this user's membership is cancelled on your site if it should be."
4518
msgstr ""
4519
4520
#: adminpages/discountcodes.php:437
4521
msgid "Billing Ammount"
4522
msgstr ""
5
msgid ""
6
msgstr ""
7
"Project-Id-Version: pmpro\n"
8
+ "POT-Creation-Date: 2015-05-04 09:30-0400\n"
9
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
10
"Last-Translator: \n"
11
"Language-Team: Stranger Studios <jason@strangerstudios.com>\n"
144
msgstr ""
145
146
#: adminpages/admin_header.php:152 adminpages/memberslist.php:158
147
+ #: shortcodes/pmpro_account.php:106 adminpages/admin_header.php:131
148
#: adminpages/admin_header.php:152 adminpages/memberslist.php:115
149
#: adminpages/memberslist.php:148 adminpages/memberslist.php:158
150
#: pages/account.php:52 pages/account.php:56 pages/account.php:77
461
#: adminpages/discountcodes.php:310 adminpages/discountcodes.php:586
462
#: adminpages/membershiplevels.php:286 adminpages/membershiplevels.php:541
463
#: adminpages/memberslist.php:154 adminpages/orders.php:900
464
+ #: adminpages/reports/login.php:142 adminpages/discountcodes.php:306
465
#: adminpages/discountcodes.php:309 adminpages/discountcodes.php:310
466
#: adminpages/discountcodes.php:547 adminpages/discountcodes.php:557
467
#: adminpages/discountcodes.php:585 adminpages/discountcodes.php:586
737
msgid "Search Discount Codes"
738
msgstr ""
739
740
+ #: adminpages/discountcodes.php:570 adminpages/reports/login.php:83
741
#: adminpages/discountcodes.php:538 adminpages/discountcodes.php:541
742
#: adminpages/discountcodes.php:569 adminpages/discountcodes.php:570
743
#: adminpages/reports/login.php:81
751
msgstr ""
752
753
#: adminpages/discountcodes.php:589 adminpages/memberslist.php:169
754
+ #: adminpages/reports/login.php:147 includes/profile.php:98
755
#: adminpages/discountcodes.php:550 adminpages/discountcodes.php:560
756
#: adminpages/discountcodes.php:588 adminpages/discountcodes.php:589
757
#: adminpages/memberslist.php:121 adminpages/memberslist.php:159
972
msgstr ""
973
974
#: adminpages/membershiplevels.php:293 adminpages/membershiplevels.php:542
975
+ #: adminpages/reports/login.php:144 adminpages/membershiplevels.php:291
976
#: adminpages/membershiplevels.php:293 adminpages/membershiplevels.php:506
977
#: adminpages/membershiplevels.php:512 adminpages/membershiplevels.php:514
978
#: adminpages/membershiplevels.php:541 adminpages/membershiplevels.php:542
1139
msgid "Search Levels"
1140
msgstr ""
1141
1142
+ #: adminpages/membershiplevels.php:544 pages/cancel.php:53
1143
+ #: pages/confirmation.php:83 pages/invoice.php:70
1144
+ #: shortcodes/pmpro_account.php:46 adminpages/membershiplevels.php:510
1145
+ #: adminpages/membershiplevels.php:516 adminpages/membershiplevels.php:518
1146
+ #: adminpages/membershiplevels.php:544 adminpages/membershiplevels.php:545
1147
+ #: pages/account.php:20 pages/cancel.php:53 pages/confirmation.php:81
1148
+ #: pages/confirmation.php:83 pages/invoice.php:68 pages/invoice.php:70
1149
msgid "Expiration"
1150
msgstr ""
1151
1199
msgstr ""
1200
1201
#: adminpages/memberslist.php:30 adminpages/orders.php:603
1202
+ #: adminpages/reports/login.php:67 adminpages/reports/memberships.php:292
1203
#: adminpages/reports/sales.php:193 adminpages/memberslist.php:30
1204
#: adminpages/orders.php:603 adminpages/reports/login.php:65
1205
#: adminpages/reports/memberships.php:292 adminpages/reports/sales.php:185
1207
msgid "Show"
1208
msgstr ""
1209
1210
+ #: adminpages/memberslist.php:32 adminpages/reports/login.php:69
1211
#: adminpages/reports/memberships.php:317 adminpages/reports/sales.php:216
1212
#: adminpages/memberslist.php:32 adminpages/reports/login.php:67
1213
#: adminpages/reports/memberships.php:317 adminpages/reports/sales.php:208
1241
msgid "%d members found."
1242
msgstr ""
1243
1244
+ #: adminpages/memberslist.php:155 pages/checkout.php:171
1245
+ #: shortcodes/pmpro_account.php:105 adminpages/memberslist.php:112
1246
+ #: adminpages/memberslist.php:145 adminpages/memberslist.php:155
1247
+ #: pages/account.php:51 pages/account.php:55 pages/account.php:76
1248
+ #: pages/checkout.php:168 pages/checkout.php:171 pages/checkout.php:173
1249
msgid "Username"
1250
msgstr ""
1251
1270
msgid "Billing Address"
1271
msgstr ""
1272
1273
+ #: adminpages/memberslist.php:161 adminpages/reports/login.php:145
1274
#: classes/gateways/class.pmprogateway_authorizenet.php:303
1275
#: adminpages/memberslist.php:118 adminpages/memberslist.php:151
1276
#: adminpages/memberslist.php:161 adminpages/pagesettings.php:51
1285
msgid "Fee"
1286
msgstr ""
1287
1288
+ #: adminpages/memberslist.php:163 adminpages/reports/login.php:146
1289
#: adminpages/memberslist.php:120 adminpages/memberslist.php:153
1290
#: adminpages/memberslist.php:163 adminpages/reports/login.php:144
1291
msgid "Joined"
1296
msgid "Ended"
1297
msgstr ""
1298
1299
+ #: adminpages/memberslist.php:251 adminpages/reports/login.php:212
1300
#: adminpages/memberslist.php:195 adminpages/memberslist.php:223
1301
#: adminpages/memberslist.php:251 adminpages/reports/login.php:210
1302
msgid "No members found."
1303
msgstr ""
1304
1305
+ #: adminpages/memberslist.php:251 adminpages/reports/login.php:212
1306
#: adminpages/memberslist.php:195 adminpages/memberslist.php:223
1307
#: adminpages/memberslist.php:251 adminpages/reports/login.php:210
1308
msgid "Search all levels"
1524
msgid "Generated by the gateway. Useful to cross reference subscriptions."
1525
msgstr ""
1526
1527
+ #: adminpages/orders.php:493 adminpages/orders.php:910 pages/invoice.php:107
1528
+ #: shortcodes/pmpro_account.php:122 adminpages/orders.php:442
1529
+ #: adminpages/orders.php:492 adminpages/orders.php:493
1530
+ #: adminpages/orders.php:607 adminpages/orders.php:910 pages/account.php:91
1531
+ #: pages/invoice.php:105 pages/invoice.php:107
1532
msgid "Date"
1533
msgstr ""
1534
1552
msgid "Save Order"
1553
msgstr ""
1554
1555
+ #: adminpages/orders.php:561 pages/billing.php:330 pages/cancel.php:71
1556
+ #: shortcodes/pmpro_account.php:70 adminpages/orders.php:511
1557
+ #: adminpages/orders.php:561 pages/account.php:44 pages/billing.php:295
1558
+ #: pages/billing.php:299 pages/billing.php:330 pages/cancel.php:71
1559
msgid "Cancel"
1560
msgstr ""
1561
1620
msgid "%d orders found."
1621
msgstr ""
1622
1623
+ #: adminpages/orders.php:902 adminpages/reports/login.php:143
1624
#: classes/gateways/class.pmprogateway_payflowpro.php:116
1625
#: adminpages/orders.php:599 adminpages/orders.php:902
1626
#: adminpages/paymentsettings.php:211 adminpages/paymentsettings.php:215
1938
msgid "Visits, Views, and Logins"
1939
msgstr ""
1940
1941
+ #: adminpages/reports/login.php:27 adminpages/reports/login.php:26
1942
msgid "Visits Today"
1943
msgstr ""
1944
1945
+ #: adminpages/reports/login.php:28 adminpages/reports/login.php:149
1946
#: adminpages/reports/login.php:27 adminpages/reports/login.php:147
1947
msgid "Visits This Month"
1948
msgstr ""
1949
1950
+ #: adminpages/reports/login.php:29 adminpages/reports/login.php:28
1951
msgid "Visits All Time"
1952
msgstr ""
1953
1954
+ #: adminpages/reports/login.php:32 adminpages/reports/login.php:31
1955
msgid "Views Today"
1956
msgstr ""
1957
1958
+ #: adminpages/reports/login.php:33 adminpages/reports/login.php:151
1959
#: adminpages/reports/login.php:32 adminpages/reports/login.php:149
1960
msgid "Views This Month"
1961
msgstr ""
1962
1963
+ #: adminpages/reports/login.php:34 adminpages/reports/login.php:33
1964
msgid "Views All Time"
1965
msgstr ""
1966
1967
+ #: adminpages/reports/login.php:37 adminpages/reports/login.php:36
1968
msgid "Logins Today"
1969
msgstr ""
1970
1971
+ #: adminpages/reports/login.php:38 adminpages/reports/login.php:154
1972
#: adminpages/reports/login.php:37 adminpages/reports/login.php:152
1973
msgid "Logins This Month"
1974
msgstr ""
1975
1976
+ #: adminpages/reports/login.php:39 adminpages/reports/login.php:38
1977
msgid "Logins All Time"
1978
msgstr ""
1979
1980
+ #: adminpages/reports/login.php:63 adminpages/reports/login.php:61
1981
msgid "Visits, Views, and Logins Report"
1982
msgstr ""
1983
1984
+ #: adminpages/reports/login.php:68 adminpages/reports/login.php:66
1985
msgid "All Users"
1986
msgstr ""
1987
1988
+ #: adminpages/reports/login.php:148 adminpages/reports/login.php:146
1989
msgid "Last Visit"
1990
msgstr ""
1991
1992
+ #: adminpages/reports/login.php:150 adminpages/reports/login.php:148
1993
msgid "Total Visits"
1994
msgstr ""
1995
1996
+ #: adminpages/reports/login.php:152 adminpages/reports/login.php:150
1997
msgid "Total Views"
1998
msgstr ""
1999
2000
+ #: adminpages/reports/login.php:153 adminpages/reports/login.php:151
2001
msgid "Last Login"
2002
msgstr ""
2003
2004
+ #: adminpages/reports/login.php:155 adminpages/reports/login.php:153
2005
msgid "Total Logins"
2006
msgstr ""
2007
2274
2275
#: classes/class.pmproemail.php:762 classes/class.pmproemail.php:800
2276
#: classes/class.pmproemail.php:759 classes/class.pmproemail.php:762
2277
+ #: classes/class.pmproemail.php:800
2278
#, php-format
2279
msgid "The new level is %s"
2280
msgstr ""
2396
msgstr ""
2397
2398
#: classes/gateways/class.pmprogateway_authorizenet.php:39
2399
+ #: paid-memberships-pro.php:123
2400
#: classes/gateways/class.pmprogateway_authorizenet.php:39
2401
#: paid-memberships-pro.php:122
2402
msgid "Authorize.net"
2449
msgstr ""
2450
2451
#: classes/gateways/class.pmprogateway_braintree.php:76
2452
+ #: paid-memberships-pro.php:124
2453
#: classes/gateways/class.pmprogateway_braintree.php:63
2454
#: classes/gateways/class.pmprogateway_braintree.php:76
2455
#: paid-memberships-pro.php:123
2680
msgstr ""
2681
2682
#: classes/gateways/class.pmprogateway_check.php:48
2683
+ #: paid-memberships-pro.php:117 adminpages/orders.php:399
2684
#: adminpages/orders.php:449 adminpages/paymentsettings.php:157
2685
#: adminpages/paymentsettings.php:159
2686
#: classes/gateways/class.pmprogateway_check.php:48
2792
msgstr ""
2793
2794
#: classes/gateways/class.pmprogateway_paypal.php:57
2795
+ #: paid-memberships-pro.php:120
2796
#: classes/gateways/class.pmprogateway_paypal.php:57
2797
#: paid-memberships-pro.php:119
2798
msgid "PayPal Website Payments Pro"
2927
msgstr ""
2928
2929
#: classes/gateways/class.pmprogateway_paypal.php:605
2930
+ #: classes/gateways/class.pmprogateway_paypalexpress.php:740
2931
#: classes/gateways/class.pmprogateway_paypalstandard.php:466
2932
#: classes/gateways/class.pmprogateway_paypal.php:385
2933
#: classes/gateways/class.pmprogateway_paypal.php:605
2946
msgstr ""
2947
2948
#: classes/gateways/class.pmprogateway_paypalexpress.php:63
2949
+ #: paid-memberships-pro.php:119
2950
#: classes/gateways/class.pmprogateway_paypalexpress.php:63
2951
#: paid-memberships-pro.php:118
2952
msgid "PayPal Express"
2973
msgstr ""
2974
2975
#: classes/gateways/class.pmprogateway_paypalstandard.php:60
2976
+ #: paid-memberships-pro.php:122
2977
#: classes/gateways/class.pmprogateway_paypalstandard.php:60
2978
#: paid-memberships-pro.php:121
2979
msgid "PayPal Standard"
2987
msgstr ""
2988
2989
#: classes/gateways/class.pmprogateway_stripe.php:93
2990
+ #: paid-memberships-pro.php:118
2991
#: classes/gateways/class.pmprogateway_stripe.php:93
2992
#: paid-memberships-pro.php:117
2993
msgid "Stripe"
3065
msgid "Could not cancel the old subscription. Updates have not been processed."
3066
msgstr ""
3067
3068
+ #: classes/gateways/class.pmprogateway_stripe.php:1203
3069
#: classes/gateways/class.pmprogateway_stripe.php:190
3070
#: classes/gateways/class.pmprogateway_stripe.php:192
3071
#: classes/gateways/class.pmprogateway_stripe.php:199
3076
msgid "Error creating customer record with Stripe:"
3077
msgstr ""
3078
3079
+ #: classes/gateways/class.pmprogateway_stripe.php:1260
3080
+ #: classes/gateways/class.pmprogateway_stripe.php:1410
3081
#: classes/gateways/class.pmprogateway_stripe.php:278
3082
#: classes/gateways/class.pmprogateway_stripe.php:279
3083
#: classes/gateways/class.pmprogateway_stripe.php:286
3093
msgid "Error creating plan with Stripe:"
3094
msgstr ""
3095
3096
+ #: classes/gateways/class.pmprogateway_stripe.php:1441
3097
#: classes/gateways/class.pmprogateway_stripe.php:294
3098
#: classes/gateways/class.pmprogateway_stripe.php:295
3099
#: classes/gateways/class.pmprogateway_stripe.php:302
3107
msgid "Error subscribing customer to plan with Stripe:"
3108
msgstr ""
3109
3110
+ #: classes/gateways/class.pmprogateway_stripe.php:1537
3111
#: classes/gateways/class.pmprogateway_stripe.php:383
3112
#: classes/gateways/class.pmprogateway_stripe.php:389
3113
#: classes/gateways/class.pmprogateway_stripe.php:410
3118
msgid "Could not cancel old subscription."
3119
msgstr ""
3120
3121
+ #: classes/gateways/class.pmprogateway_stripe.php:1554
3122
#: classes/gateways/class.pmprogateway_stripe.php:1533
3123
#: classes/gateways/class.pmprogateway_stripe.php:1534
3124
#: classes/gateways/class.pmprogateway_stripe.php:1535
3127
msgstr ""
3128
3129
#: classes/gateways/class.pmprogateway_twocheckout.php:53
3130
+ #: paid-memberships-pro.php:125
3131
#: classes/gateways/class.pmprogateway_twocheckout.php:53
3132
#: paid-memberships-pro.php:124
3133
msgid "2Checkout"
3398
msgid "Vietnamese Dong"
3399
msgstr ""
3400
3401
+ #: includes/functions.php:200 includes/functions.php:160
3402
#: includes/functions.php:196 includes/functions.php:202
3403
#: includes/functions.php:203 includes/functions.php:204
3404
#: includes/functions.php:207
3406
msgid "The price for membership is <strong>%s</strong> now"
3407
msgstr ""
3408
3409
+ #: includes/functions.php:202 includes/functions.php:204
3410
#: includes/functions.php:205 includes/functions.php:206
3411
#: includes/functions.php:209
3412
#, php-format
3413
msgid "<strong>%s</strong> now"
3414
msgstr ""
3415
3416
+ #: includes/functions.php:211 includes/functions.php:169
3417
#: includes/functions.php:205 includes/functions.php:213
3418
#: includes/functions.php:214 includes/functions.php:215
3419
#: includes/functions.php:218
3421
msgid " and then <strong>%s per %s for %d more %s</strong>."
3422
msgstr ""
3423
3424
+ #: includes/functions.php:215 includes/functions.php:173
3425
#: includes/functions.php:209 includes/functions.php:217
3426
#: includes/functions.php:218 includes/functions.php:219
3427
#: includes/functions.php:222
3429
msgid " and then <strong>%s every %d %s for %d more %s</strong>."
3430
msgstr ""
3431
3432
+ #: includes/functions.php:220 includes/functions.php:178
3433
#: includes/functions.php:214 includes/functions.php:222
3434
#: includes/functions.php:223 includes/functions.php:224
3435
#: includes/functions.php:227
3437
msgid " and then <strong>%s after %d %s</strong>."
3438
msgstr ""
3439
3440
+ #: includes/functions.php:228 includes/functions.php:229
3441
#: includes/functions.php:230 includes/functions.php:231
3442
#: includes/functions.php:235
3443
#, php-format
3444
msgid "The price for membership is <strong>%s per %s</strong>."
3445
msgstr ""
3446
3447
+ #: includes/functions.php:230 includes/functions.php:233
3448
#: includes/functions.php:237
3449
#, php-format
3450
msgid "<strong>%s per %s</strong>."
3451
msgstr ""
3452
3453
+ #: includes/functions.php:235 includes/functions.php:233
3454
#: includes/functions.php:234 includes/functions.php:235
3455
#: includes/functions.php:238 includes/functions.php:242
3456
#, php-format
3457
msgid "The price for membership is <strong>%s every %d %s</strong>."
3458
msgstr ""
3459
3460
+ #: includes/functions.php:237 includes/functions.php:240
3461
#: includes/functions.php:244
3462
#, php-format
3463
msgid "<strong>%s every %d %s</strong>."
3464
msgstr ""
3465
3466
+ #: includes/functions.php:242 includes/functions.php:184
3467
#: includes/functions.php:220 includes/functions.php:228
3468
#: includes/functions.php:238 includes/functions.php:239
3469
#: includes/functions.php:240 includes/functions.php:245
3472
msgid " and then <strong>%s per %s</strong>."
3473
msgstr ""
3474
3475
+ #: includes/functions.php:246 includes/functions.php:188
3476
#: includes/functions.php:224 includes/functions.php:232
3477
#: includes/functions.php:242 includes/functions.php:243
3478
#: includes/functions.php:244 includes/functions.php:249
3481
msgid " and then <strong>%s every %d %s</strong>."
3482
msgstr ""
3483
3484
+ #: includes/functions.php:264 includes/functions.php:202
3485
#: includes/functions.php:238 includes/functions.php:249
3486
#: includes/functions.php:260 includes/functions.php:261
3487
#: includes/functions.php:262 includes/functions.php:267
3489
msgid "After your initial payment, your first payment is Free."
3490
msgstr ""
3491
3492
+ #: includes/functions.php:268 includes/functions.php:206
3493
#: includes/functions.php:242 includes/functions.php:253
3494
#: includes/functions.php:264 includes/functions.php:265
3495
#: includes/functions.php:266 includes/functions.php:271
3498
msgid "After your initial payment, your first %d payments are Free."
3499
msgstr ""
3500
3501
+ #: includes/functions.php:275 includes/functions.php:213
3502
#: includes/functions.php:249 includes/functions.php:260
3503
#: includes/functions.php:271 includes/functions.php:272
3504
#: includes/functions.php:273 includes/functions.php:278
3507
msgid "After your initial payment, your first payment will cost %s."
3508
msgstr ""
3509
3510
+ #: includes/functions.php:279 includes/functions.php:217
3511
#: includes/functions.php:253 includes/functions.php:264
3512
#: includes/functions.php:275 includes/functions.php:276
3513
#: includes/functions.php:277 includes/functions.php:282
3516
msgid "After your initial payment, your first %d payments will cost %s."
3517
msgstr ""
3518
3519
+ #: includes/functions.php:290 includes/functions.php:228
3520
#: includes/functions.php:264 includes/functions.php:275
3521
#: includes/functions.php:286 includes/functions.php:287
3522
#: includes/functions.php:288 includes/functions.php:293
3525
msgid "Customers in %s will be charged %s%% tax."
3526
msgstr ""
3527
3528
+ #: includes/functions.php:304 includes/functions.php:242
3529
#: includes/functions.php:278 includes/functions.php:289
3530
#: includes/functions.php:300 includes/functions.php:301
3531
#: includes/functions.php:302 includes/functions.php:307
3534
msgid "Membership expires after %d %s."
3535
msgstr ""
3536
3537
+ #: includes/functions.php:569 includes/functions.php:491
3538
#: includes/functions.php:514 includes/functions.php:525
3539
#: includes/functions.php:536 includes/functions.php:537
3540
#: includes/functions.php:538 includes/functions.php:545
3543
msgid "User ID not found."
3544
msgstr ""
3545
3546
+ #: includes/functions.php:589 includes/functions.php:508
3547
#: includes/functions.php:531 includes/functions.php:542
3548
#: includes/functions.php:553 includes/functions.php:554
3549
#: includes/functions.php:555 includes/functions.php:562
3552
msgid "Invalid level."
3553
msgstr ""
3554
3555
+ #: includes/functions.php:600 includes/functions.php:520
3556
#: includes/functions.php:542 includes/functions.php:553
3557
#: includes/functions.php:564 includes/functions.php:565
3558
#: includes/functions.php:566 includes/functions.php:573
3561
msgid "not changing?"
3562
msgstr ""
3563
3564
+ #: includes/functions.php:617 includes/functions.php:676
3565
+ #: includes/functions.php:700 includes/functions.php:537
3566
#: includes/functions.php:559 includes/functions.php:570
3567
#: includes/functions.php:581 includes/functions.php:582
3568
#: includes/functions.php:583 includes/functions.php:590
3580
msgid "Error interacting with database"
3581
msgstr ""
3582
3583
+ #: includes/functions.php:741 includes/functions.php:780
3584
#: includes/functions.php:629 includes/functions.php:651
3585
#: includes/functions.php:667 includes/functions.php:668
3586
#: includes/functions.php:678 includes/functions.php:681
3595
msgid "Membership level not found."
3596
msgstr ""
3597
3598
+ #: includes/functions.php:1150 includes/functions.php:1100
3599
#: includes/functions.php:1101 includes/functions.php:1118
3600
#: includes/functions.php:1142 includes/functions.php:1143
3601
#: includes/functions.php:1157
3602
msgid "No code was given to check."
3603
msgstr ""
3604
3605
+ #: includes/functions.php:1159 includes/functions.php:1050
3606
#: includes/functions.php:1072 includes/functions.php:1088
3607
#: includes/functions.php:1099 includes/functions.php:1102
3608
#: includes/functions.php:1109 includes/functions.php:1110
3612
msgid "The discount code could not be found."
3613
msgstr ""
3614
3615
+ #: includes/functions.php:1174 includes/functions.php:1066
3616
#: includes/functions.php:1088 includes/functions.php:1104
3617
#: includes/functions.php:1115 includes/functions.php:1118
3618
#: includes/functions.php:1124 includes/functions.php:1125
3623
msgid "This discount code goes into effect on %s."
3624
msgstr ""
3625
3626
+ #: includes/functions.php:1181 includes/functions.php:1075
3627
#: includes/functions.php:1097 includes/functions.php:1113
3628
#: includes/functions.php:1124 includes/functions.php:1127
3629
#: includes/functions.php:1131 includes/functions.php:1132
3634
msgid "This discount code expired on %s."
3635
msgstr ""
3636
3637
+ #: includes/functions.php:1191 includes/functions.php:1087
3638
#: includes/functions.php:1109 includes/functions.php:1125
3639
#: includes/functions.php:1136 includes/functions.php:1139
3640
#: includes/functions.php:1141 includes/functions.php:1142
3644
msgid "This discount code is no longer valid."
3645
msgstr ""
3646
3647
+ #: includes/functions.php:1204 includes/functions.php:1102
3648
#: includes/functions.php:1124 includes/functions.php:1140
3649
#: includes/functions.php:1151 includes/functions.php:1154
3650
#: includes/functions.php:1155 includes/functions.php:1164
3654
msgid "This discount code does not apply to this membership level."
3655
msgstr ""
3656
3657
+ #: includes/functions.php:1230 includes/functions.php:1110
3658
#: includes/functions.php:1132 includes/functions.php:1148
3659
#: includes/functions.php:1159 includes/functions.php:1162
3660
#: includes/functions.php:1172 includes/functions.php:1180
3664
msgid "This discount code is okay."
3665
msgstr ""
3666
3667
+ #: includes/functions.php:1255 includes/functions.php:1134
3668
#: includes/functions.php:1156 includes/functions.php:1172
3669
#: includes/functions.php:1183 includes/functions.php:1186
3670
#: includes/functions.php:1196 includes/functions.php:1205
3674
msgid "and"
3675
msgstr ""
3676
3677
+ #: includes/functions.php:1450 includes/functions.php:1319
3678
#: includes/functions.php:1341 includes/functions.php:1361
3679
#: includes/functions.php:1372 includes/functions.php:1375
3680
#: includes/functions.php:1385 includes/functions.php:1394
3684
msgid "Sign Up for !!name!! Now"
3685
msgstr ""
3686
3687
+ #: includes/functions.php:1456 includes/functions.php:1325
3688
#: includes/functions.php:1347 includes/functions.php:1367
3689
#: includes/functions.php:1378 includes/functions.php:1381
3690
#: includes/functions.php:1391 includes/functions.php:1400
3783
"register to read."
3784
msgstr ""
3785
3786
#: pages/billing.php:14 pages/billing.php:14
3787
#, php-format
3788
msgid "Logged in as <strong>%s</strong>."
3792
msgid "logout"
3793
msgstr ""
3794
3795
+ #: pages/billing.php:16 pages/cancel.php:52 pages/invoice.php:109
3796
+ #: pages/levels.php:13 shortcodes/pmpro_account.php:44
3797
+ #: shortcodes/pmpro_account.php:123 pages/account.php:12 pages/account.php:18
3798
+ #: pages/account.php:92 pages/billing.php:16 pages/cancel.php:52
3799
+ #: pages/invoice.php:109 pages/levels.php:13
3800
+ msgid "Level"
3801
+ msgstr ""
3802
+
3803
#: pages/billing.php:18 pages/account.php:14 pages/billing.php:18
3804
msgid "Membership Fee"
3805
msgstr ""
3934
msgid "No, keep my account"
3935
msgstr ""
3936
3937
+ #: pages/cancel.php:48 shortcodes/pmpro_account.php:40 pages/account.php:14
3938
+ #: pages/cancel.php:48
3939
+ msgid "My Memberships"
3940
+ msgstr ""
3941
+
3942
#: pages/cancel.php:77 pages/cancel.php:77
3943
msgid "Cancel All Memberships"
3944
msgstr ""
4175
msgid "Select"
4176
msgstr ""
4177
4178
+ #: pages/levels.php:57 shortcodes/pmpro_account.php:59 pages/account.php:33
4179
+ #: pages/levels.php:57 pages/levels.php:123
4180
+ msgid "Renew"
4181
+ msgstr ""
4182
+
4183
#: pages/levels.php:63 pages/levels.php:63 pages/levels.php:117
4184
#: pages/levels.php:129
4185
msgid "Your&nbsp;Level"
4195
msgid "&larr; Return to Home"
4196
msgstr ""
4197
4198
+ #: paid-memberships-pro.php:116 adminpages/orders.php:398
4199
#: adminpages/orders.php:448 paid-memberships-pro.php:115
4200
msgid "Testing Only"
4201
msgstr ""
4202
4203
+ #: paid-memberships-pro.php:121 paid-memberships-pro.php:120
4204
msgid "PayPal Payflow Pro/PayPal Pro"
4205
msgstr ""
4206
4207
+ #: paid-memberships-pro.php:126 paid-memberships-pro.php:125
4208
msgid "Cybersource"
4209
msgstr ""
4210
4339
msgid "That email address is already taken. Please try another."
4340
msgstr ""
4341
4342
+ #: preheaders/checkout.php:416 preheaders/checkout.php:397
4343
#: preheaders/checkout.php:399 preheaders/checkout.php:525
4344
#: preheaders/checkout.php:532 preheaders/checkout.php:537
4345
#: preheaders/checkout.php:544 preheaders/checkout.php:561
4348
msgid "reCAPTCHA failed. (%s) Please try again."
4349
msgstr ""
4350
4351
+ #: preheaders/checkout.php:501 preheaders/checkout.php:482
4352
#: preheaders/checkout.php:484 preheaders/checkout.php:647
4353
#: preheaders/checkout.php:654 preheaders/checkout.php:659
4354
#: preheaders/checkout.php:683 preheaders/checkout.php:701
4356
msgid "Payment accepted."
4357
msgstr ""
4358
4359
+ #: preheaders/checkout.php:509 preheaders/checkout.php:490
4360
#: preheaders/checkout.php:492 preheaders/checkout.php:653
4361
#: preheaders/checkout.php:660 preheaders/checkout.php:665
4362
#: preheaders/checkout.php:691 preheaders/checkout.php:709
4365
"Unknown error generating account. Please contact us to setup your membership."
4366
msgstr ""
4367
4368
+ #: preheaders/checkout.php:569 preheaders/checkout.php:550
4369
#: preheaders/checkout.php:552 preheaders/checkout.php:785
4370
#: preheaders/checkout.php:792 preheaders/checkout.php:797
4371
#: preheaders/checkout.php:825 preheaders/checkout.php:844
4375
"Please contact us."
4376
msgstr ""
4377
4378
+ #: preheaders/checkout.php:710 preheaders/checkout.php:691
4379
#: preheaders/checkout.php:693 preheaders/checkout.php:953
4380
#: preheaders/checkout.php:960 preheaders/checkout.php:970
4381
#: preheaders/checkout.php:983 preheaders/checkout.php:1030
4386
"submit this form again. Please contact the site owner to fix this issue."
4387
msgstr ""
4388
4389
+ #: preheaders/checkout.php:713 preheaders/checkout.php:694
4390
#: preheaders/checkout.php:696 preheaders/checkout.php:956
4391
#: preheaders/checkout.php:963 preheaders/checkout.php:973
4392
#: preheaders/checkout.php:988 preheaders/checkout.php:1035
4397
"this form again. Please contact the site owner to fix this issue."
4398
msgstr ""
4399
4400
+ #: preheaders/checkout.php:724 preheaders/checkout.php:705
4401
#: preheaders/checkout.php:707 preheaders/checkout.php:967
4402
#: preheaders/checkout.php:974 preheaders/checkout.php:984
4403
#: preheaders/checkout.php:1001 preheaders/checkout.php:1048
4408
"be processed."
4409
msgstr ""
4410
4411
+ #: preheaders/checkout.php:726 preheaders/checkout.php:707
4412
#: preheaders/checkout.php:709 preheaders/checkout.php:969
4413
#: preheaders/checkout.php:976 preheaders/checkout.php:986
4414
#: preheaders/checkout.php:1003 preheaders/checkout.php:1050
4468
"this user's membership is cancelled on your site if it should be."
4469
msgstr ""
4470
4471
+ #: shortcodes/pmpro_account.php:45 pages/account.php:19
4472
+ msgid "Billing"
4473
+ msgstr ""
4474
+
4475
+ #: shortcodes/pmpro_account.php:62 pages/account.php:36
4476
+ msgid "Update Billing Info"
4477
+ msgstr ""
4478
+
4479
+ #: shortcodes/pmpro_account.php:68 pages/account.php:42
4480
+ msgid "Change"
4481
+ msgstr ""
4482
+
4483
+ #: shortcodes/pmpro_account.php:90 pages/account.php:64
4484
+ msgid "View all Membership Options"
4485
+ msgstr ""
4486
+
4487
+ #: shortcodes/pmpro_account.php:99 pages/account.php:46 pages/account.php:50
4488
+ #: pages/account.php:71
4489
+ msgid "My Account"
4490
+ msgstr ""
4491
+
4492
+ #: shortcodes/pmpro_account.php:110 pages/account.php:55 pages/account.php:59
4493
+ #: pages/account.php:80
4494
+ msgid "Edit Profile"
4495
+ msgstr ""
4496
+
4497
+ #: shortcodes/pmpro_account.php:111 pages/account.php:56 pages/account.php:60
4498
+ #: pages/account.php:81
4499
+ msgid "Change Password"
4500
+ msgstr ""
4501
+
4502
+ #: shortcodes/pmpro_account.php:118 pages/account.php:87 pages/account.php:125
4503
+ #: pages/account.php:129
4504
+ msgid "Past Invoices"
4505
+ msgstr ""
4506
+
4507
+ #: shortcodes/pmpro_account.php:124 pages/account.php:93
4508
+ msgid "Amount"
4509
+ msgstr ""
4510
+
4511
+ #: shortcodes/pmpro_account.php:152 pages/account.php:121
4512
+ #: pages/account.php:140 pages/account.php:144
4513
+ msgid "View All Invoices"
4514
+ msgstr ""
4515
+
4516
+ #: shortcodes/pmpro_account.php:159 pages/account.php:128
4517
+ #: pages/account.php:146 pages/account.php:150
4518
+ msgid "Member Links"
4519
+ msgstr ""
4520
+
4521
#: adminpages/discountcodes.php:437
4522
msgid "Billing Ammount"
4523
msgstr ""
languages/pmpro.pot CHANGED
@@ -5,7 +5,7 @@
5
msgid ""
6
msgstr ""
7
"Project-Id-Version: pmpro\n"
8
- "POT-Creation-Date: 2015-03-25 14:50-0400\n"
9
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
10
"Last-Translator: \n"
11
"Language-Team: Stranger Studios <jason@strangerstudios.com>\n"
@@ -144,7 +144,7 @@ msgid "Payment Gateway &amp; SSL"
144
msgstr ""
145
146
#: adminpages/admin_header.php:152 adminpages/memberslist.php:158
147
- #: pages/account.php:77 adminpages/admin_header.php:131
148
#: adminpages/admin_header.php:152 adminpages/memberslist.php:115
149
#: adminpages/memberslist.php:148 adminpages/memberslist.php:158
150
#: pages/account.php:52 pages/account.php:56 pages/account.php:77
@@ -461,7 +461,7 @@ msgstr ""
461
#: adminpages/discountcodes.php:310 adminpages/discountcodes.php:586
462
#: adminpages/membershiplevels.php:286 adminpages/membershiplevels.php:541
463
#: adminpages/memberslist.php:154 adminpages/orders.php:900
464
- #: adminpages/reports/login.php:140 adminpages/discountcodes.php:306
465
#: adminpages/discountcodes.php:309 adminpages/discountcodes.php:310
466
#: adminpages/discountcodes.php:547 adminpages/discountcodes.php:557
467
#: adminpages/discountcodes.php:585 adminpages/discountcodes.php:586
@@ -737,7 +737,7 @@ msgstr ""
737
msgid "Search Discount Codes"
738
msgstr ""
739
740
- #: adminpages/discountcodes.php:570 adminpages/reports/login.php:81
741
#: adminpages/discountcodes.php:538 adminpages/discountcodes.php:541
742
#: adminpages/discountcodes.php:569 adminpages/discountcodes.php:570
743
#: adminpages/reports/login.php:81
@@ -751,7 +751,7 @@ msgid "Starts"
751
msgstr ""
752
753
#: adminpages/discountcodes.php:589 adminpages/memberslist.php:169
754
- #: adminpages/reports/login.php:145 includes/profile.php:98
755
#: adminpages/discountcodes.php:550 adminpages/discountcodes.php:560
756
#: adminpages/discountcodes.php:588 adminpages/discountcodes.php:589
757
#: adminpages/memberslist.php:121 adminpages/memberslist.php:159
@@ -972,7 +972,7 @@ msgid "Add New Membership Level"
972
msgstr ""
973
974
#: adminpages/membershiplevels.php:293 adminpages/membershiplevels.php:542
975
- #: adminpages/reports/login.php:142 adminpages/membershiplevels.php:291
976
#: adminpages/membershiplevels.php:293 adminpages/membershiplevels.php:506
977
#: adminpages/membershiplevels.php:512 adminpages/membershiplevels.php:514
978
#: adminpages/membershiplevels.php:541 adminpages/membershiplevels.php:542
@@ -1139,13 +1139,13 @@ msgstr ""
1139
msgid "Search Levels"
1140
msgstr ""
1141
1142
- #: adminpages/membershiplevels.php:544 pages/account.php:20
1143
- #: pages/cancel.php:53 pages/confirmation.php:83 pages/invoice.php:70
1144
- #: adminpages/membershiplevels.php:510 adminpages/membershiplevels.php:516
1145
- #: adminpages/membershiplevels.php:518 adminpages/membershiplevels.php:544
1146
- #: adminpages/membershiplevels.php:545 pages/account.php:20
1147
- #: pages/cancel.php:53 pages/confirmation.php:81 pages/confirmation.php:83
1148
- #: pages/invoice.php:68 pages/invoice.php:70
1149
msgid "Expiration"
1150
msgstr ""
1151
@@ -1199,7 +1199,7 @@ msgid "Export to CSV"
1199
msgstr ""
1200
1201
#: adminpages/memberslist.php:30 adminpages/orders.php:603
1202
- #: adminpages/reports/login.php:65 adminpages/reports/memberships.php:292
1203
#: adminpages/reports/sales.php:193 adminpages/memberslist.php:30
1204
#: adminpages/orders.php:603 adminpages/reports/login.php:65
1205
#: adminpages/reports/memberships.php:292 adminpages/reports/sales.php:185
@@ -1207,7 +1207,7 @@ msgstr ""
1207
msgid "Show"
1208
msgstr ""
1209
1210
- #: adminpages/memberslist.php:32 adminpages/reports/login.php:67
1211
#: adminpages/reports/memberships.php:317 adminpages/reports/sales.php:216
1212
#: adminpages/memberslist.php:32 adminpages/reports/login.php:67
1213
#: adminpages/reports/memberships.php:317 adminpages/reports/sales.php:208
@@ -1241,11 +1241,11 @@ msgstr ""
1241
msgid "%d members found."
1242
msgstr ""
1243
1244
- #: adminpages/memberslist.php:155 pages/account.php:76 pages/checkout.php:171
1245
- #: adminpages/memberslist.php:112 adminpages/memberslist.php:145
1246
- #: adminpages/memberslist.php:155 pages/account.php:51 pages/account.php:55
1247
- #: pages/account.php:76 pages/checkout.php:168 pages/checkout.php:171
1248
- #: pages/checkout.php:173
1249
msgid "Username"
1250
msgstr ""
1251
@@ -1270,7 +1270,7 @@ msgstr ""
1270
msgid "Billing Address"
1271
msgstr ""
1272
1273
- #: adminpages/memberslist.php:161 adminpages/reports/login.php:143
1274
#: classes/gateways/class.pmprogateway_authorizenet.php:303
1275
#: adminpages/memberslist.php:118 adminpages/memberslist.php:151
1276
#: adminpages/memberslist.php:161 adminpages/pagesettings.php:51
@@ -1285,7 +1285,7 @@ msgstr ""
1285
msgid "Fee"
1286
msgstr ""
1287
1288
- #: adminpages/memberslist.php:163 adminpages/reports/login.php:144
1289
#: adminpages/memberslist.php:120 adminpages/memberslist.php:153
1290
#: adminpages/memberslist.php:163 adminpages/reports/login.php:144
1291
msgid "Joined"
@@ -1296,13 +1296,13 @@ msgstr ""
1296
msgid "Ended"
1297
msgstr ""
1298
1299
- #: adminpages/memberslist.php:251 adminpages/reports/login.php:210
1300
#: adminpages/memberslist.php:195 adminpages/memberslist.php:223
1301
#: adminpages/memberslist.php:251 adminpages/reports/login.php:210
1302
msgid "No members found."
1303
msgstr ""
1304
1305
- #: adminpages/memberslist.php:251 adminpages/reports/login.php:210
1306
#: adminpages/memberslist.php:195 adminpages/memberslist.php:223
1307
#: adminpages/memberslist.php:251 adminpages/reports/login.php:210
1308
msgid "Search all levels"
@@ -1524,11 +1524,11 @@ msgstr ""
1524
msgid "Generated by the gateway. Useful to cross reference subscriptions."
1525
msgstr ""
1526
1527
- #: adminpages/orders.php:493 adminpages/orders.php:910 pages/account.php:91
1528
- #: pages/invoice.php:107 adminpages/orders.php:442 adminpages/orders.php:492
1529
- #: adminpages/orders.php:493 adminpages/orders.php:607
1530
- #: adminpages/orders.php:910 pages/account.php:91 pages/invoice.php:105
1531
- #: pages/invoice.php:107
1532
msgid "Date"
1533
msgstr ""
1534
@@ -1552,10 +1552,10 @@ msgstr ""
1552
msgid "Save Order"
1553
msgstr ""
1554
1555
- #: adminpages/orders.php:561 pages/account.php:44 pages/billing.php:330
1556
- #: pages/cancel.php:71 adminpages/orders.php:511 adminpages/orders.php:561
1557
- #: pages/account.php:44 pages/billing.php:295 pages/billing.php:299
1558
- #: pages/billing.php:330 pages/cancel.php:71
1559
msgid "Cancel"
1560
msgstr ""
1561
@@ -1620,7 +1620,7 @@ msgstr ""
1620
msgid "%d orders found."
1621
msgstr ""
1622
1623
- #: adminpages/orders.php:902 adminpages/reports/login.php:141
1624
#: classes/gateways/class.pmprogateway_payflowpro.php:116
1625
#: adminpages/orders.php:599 adminpages/orders.php:902
1626
#: adminpages/paymentsettings.php:211 adminpages/paymentsettings.php:215
@@ -1938,70 +1938,70 @@ msgstr ""
1938
msgid "Visits, Views, and Logins"
1939
msgstr ""
1940
1941
- #: adminpages/reports/login.php:26 adminpages/reports/login.php:26
1942
msgid "Visits Today"
1943
msgstr ""
1944
1945
- #: adminpages/reports/login.php:27 adminpages/reports/login.php:147
1946
#: adminpages/reports/login.php:27 adminpages/reports/login.php:147
1947
msgid "Visits This Month"
1948
msgstr ""
1949
1950
- #: adminpages/reports/login.php:28 adminpages/reports/login.php:28
1951
msgid "Visits All Time"
1952
msgstr ""
1953
1954
- #: adminpages/reports/login.php:31 adminpages/reports/login.php:31
1955
msgid "Views Today"
1956
msgstr ""
1957
1958
- #: adminpages/reports/login.php:32 adminpages/reports/login.php:149
1959
#: adminpages/reports/login.php:32 adminpages/reports/login.php:149
1960
msgid "Views This Month"
1961
msgstr ""
1962
1963
- #: adminpages/reports/login.php:33 adminpages/reports/login.php:33
1964
msgid "Views All Time"
1965
msgstr ""
1966
1967
- #: adminpages/reports/login.php:36 adminpages/reports/login.php:36
1968
msgid "Logins Today"
1969
msgstr ""
1970
1971
- #: adminpages/reports/login.php:37 adminpages/reports/login.php:152
1972
#: adminpages/reports/login.php:37 adminpages/reports/login.php:152
1973
msgid "Logins This Month"
1974
msgstr ""
1975
1976
- #: adminpages/reports/login.php:38 adminpages/reports/login.php:38
1977
msgid "Logins All Time"
1978
msgstr ""
1979
1980
- #: adminpages/reports/login.php:61 adminpages/reports/login.php:61
1981
msgid "Visits, Views, and Logins Report"
1982
msgstr ""
1983
1984
- #: adminpages/reports/login.php:66 adminpages/reports/login.php:66
1985
msgid "All Users"
1986
msgstr ""
1987
1988
- #: adminpages/reports/login.php:146 adminpages/reports/login.php:146
1989
msgid "Last Visit"
1990
msgstr ""
1991
1992
- #: adminpages/reports/login.php:148 adminpages/reports/login.php:148
1993
msgid "Total Visits"
1994
msgstr ""
1995
1996
- #: adminpages/reports/login.php:150 adminpages/reports/login.php:150
1997
msgid "Total Views"
1998
msgstr ""
1999
2000
- #: adminpages/reports/login.php:151 adminpages/reports/login.php:151
2001
msgid "Last Login"
2002
msgstr ""
2003
2004
- #: adminpages/reports/login.php:153 adminpages/reports/login.php:153
2005
msgid "Total Logins"
2006
msgstr ""
2007
@@ -2274,6 +2274,7 @@ msgstr ""
2274
2275
#: classes/class.pmproemail.php:762 classes/class.pmproemail.php:800
2276
#: classes/class.pmproemail.php:759 classes/class.pmproemail.php:762
2277
#, php-format
2278
msgid "The new level is %s"
2279
msgstr ""
@@ -2395,7 +2396,7 @@ msgid ""
2395
msgstr ""
2396
2397
#: classes/gateways/class.pmprogateway_authorizenet.php:39
2398
- #: paid-memberships-pro.php:122
2399
#: classes/gateways/class.pmprogateway_authorizenet.php:39
2400
#: paid-memberships-pro.php:122
2401
msgid "Authorize.net"
@@ -2448,7 +2449,7 @@ msgid "Could not connect to Authorize.net"
2448
msgstr ""
2449
2450
#: classes/gateways/class.pmprogateway_braintree.php:76
2451
- #: paid-memberships-pro.php:123
2452
#: classes/gateways/class.pmprogateway_braintree.php:63
2453
#: classes/gateways/class.pmprogateway_braintree.php:76
2454
#: paid-memberships-pro.php:123
@@ -2679,7 +2680,7 @@ msgid "Could not find the subscription."
2679
msgstr ""
2680
2681
#: classes/gateways/class.pmprogateway_check.php:48
2682
- #: paid-memberships-pro.php:116 adminpages/orders.php:399
2683
#: adminpages/orders.php:449 adminpages/paymentsettings.php:157
2684
#: adminpages/paymentsettings.php:159
2685
#: classes/gateways/class.pmprogateway_check.php:48
@@ -2791,7 +2792,7 @@ msgid ""
2791
msgstr ""
2792
2793
#: classes/gateways/class.pmprogateway_paypal.php:57
2794
- #: paid-memberships-pro.php:119
2795
#: classes/gateways/class.pmprogateway_paypal.php:57
2796
#: paid-memberships-pro.php:119
2797
msgid "PayPal Website Payments Pro"
@@ -2926,7 +2927,7 @@ msgid "Submit and Confirm"
2926
msgstr ""
2927
2928
#: classes/gateways/class.pmprogateway_paypal.php:605
2929
- #: classes/gateways/class.pmprogateway_paypalexpress.php:731
2930
#: classes/gateways/class.pmprogateway_paypalstandard.php:466
2931
#: classes/gateways/class.pmprogateway_paypal.php:385
2932
#: classes/gateways/class.pmprogateway_paypal.php:605
@@ -2945,7 +2946,7 @@ msgid ""
2945
msgstr ""
2946
2947
#: classes/gateways/class.pmprogateway_paypalexpress.php:63
2948
- #: paid-memberships-pro.php:118
2949
#: classes/gateways/class.pmprogateway_paypalexpress.php:63
2950
#: paid-memberships-pro.php:118
2951
msgid "PayPal Express"
@@ -2972,7 +2973,7 @@ msgid "The PayPal Token was lost."
2972
msgstr ""
2973
2974
#: classes/gateways/class.pmprogateway_paypalstandard.php:60
2975
- #: paid-memberships-pro.php:121
2976
#: classes/gateways/class.pmprogateway_paypalstandard.php:60
2977
#: paid-memberships-pro.php:121
2978
msgid "PayPal Standard"
@@ -2986,7 +2987,7 @@ msgid ""
2986
msgstr ""
2987
2988
#: classes/gateways/class.pmprogateway_stripe.php:93
2989
- #: paid-memberships-pro.php:117
2990
#: classes/gateways/class.pmprogateway_stripe.php:93
2991
#: paid-memberships-pro.php:117
2992
msgid "Stripe"
@@ -3064,7 +3065,7 @@ msgstr ""
3064
msgid "Could not cancel the old subscription. Updates have not been processed."
3065
msgstr ""
3066
3067
- #: classes/gateways/class.pmprogateway_stripe.php:1202
3068
#: classes/gateways/class.pmprogateway_stripe.php:190
3069
#: classes/gateways/class.pmprogateway_stripe.php:192
3070
#: classes/gateways/class.pmprogateway_stripe.php:199
@@ -3075,8 +3076,8 @@ msgstr ""
3075
msgid "Error creating customer record with Stripe:"
3076
msgstr ""
3077
3078
- #: classes/gateways/class.pmprogateway_stripe.php:1259
3079
- #: classes/gateways/class.pmprogateway_stripe.php:1409
3080
#: classes/gateways/class.pmprogateway_stripe.php:278
3081
#: classes/gateways/class.pmprogateway_stripe.php:279
3082
#: classes/gateways/class.pmprogateway_stripe.php:286
@@ -3092,7 +3093,7 @@ msgstr ""
3092
msgid "Error creating plan with Stripe:"
3093
msgstr ""
3094
3095
- #: classes/gateways/class.pmprogateway_stripe.php:1440
3096
#: classes/gateways/class.pmprogateway_stripe.php:294
3097
#: classes/gateways/class.pmprogateway_stripe.php:295
3098
#: classes/gateways/class.pmprogateway_stripe.php:302
@@ -3106,7 +3107,7 @@ msgstr ""
3106
msgid "Error subscribing customer to plan with Stripe:"
3107
msgstr ""
3108
3109
- #: classes/gateways/class.pmprogateway_stripe.php:1536
3110
#: classes/gateways/class.pmprogateway_stripe.php:383
3111
#: classes/gateways/class.pmprogateway_stripe.php:389
3112
#: classes/gateways/class.pmprogateway_stripe.php:410
@@ -3117,7 +3118,7 @@ msgstr ""
3117
msgid "Could not cancel old subscription."
3118
msgstr ""
3119
3120
- #: classes/gateways/class.pmprogateway_stripe.php:1553
3121
#: classes/gateways/class.pmprogateway_stripe.php:1533
3122
#: classes/gateways/class.pmprogateway_stripe.php:1534
3123
#: classes/gateways/class.pmprogateway_stripe.php:1535
@@ -3126,7 +3127,7 @@ msgid "Could not find the customer."
3126
msgstr ""
3127
3128
#: classes/gateways/class.pmprogateway_twocheckout.php:53
3129
- #: paid-memberships-pro.php:124
3130
#: classes/gateways/class.pmprogateway_twocheckout.php:53
3131
#: paid-memberships-pro.php:124
3132
msgid "2Checkout"
@@ -3397,7 +3398,7 @@ msgstr ""
3397
msgid "Vietnamese Dong"
3398
msgstr ""
3399
3400
- #: includes/functions.php:207 includes/functions.php:160
3401
#: includes/functions.php:196 includes/functions.php:202
3402
#: includes/functions.php:203 includes/functions.php:204
3403
#: includes/functions.php:207
@@ -3405,14 +3406,14 @@ msgstr ""
3405
msgid "The price for membership is <strong>%s</strong> now"
3406
msgstr ""
3407
3408
- #: includes/functions.php:209 includes/functions.php:204
3409
#: includes/functions.php:205 includes/functions.php:206
3410
#: includes/functions.php:209
3411
#, php-format
3412
msgid "<strong>%s</strong> now"
3413
msgstr ""
3414
3415
- #: includes/functions.php:218 includes/functions.php:169
3416
#: includes/functions.php:205 includes/functions.php:213
3417
#: includes/functions.php:214 includes/functions.php:215
3418
#: includes/functions.php:218
@@ -3420,7 +3421,7 @@ msgstr ""
3420
msgid " and then <strong>%s per %s for %d more %s</strong>."
3421
msgstr ""
3422
3423
- #: includes/functions.php:222 includes/functions.php:173
3424
#: includes/functions.php:209 includes/functions.php:217
3425
#: includes/functions.php:218 includes/functions.php:219
3426
#: includes/functions.php:222
@@ -3428,7 +3429,7 @@ msgstr ""
3428
msgid " and then <strong>%s every %d %s for %d more %s</strong>."
3429
msgstr ""
3430
3431
- #: includes/functions.php:227 includes/functions.php:178
3432
#: includes/functions.php:214 includes/functions.php:222
3433
#: includes/functions.php:223 includes/functions.php:224
3434
#: includes/functions.php:227
@@ -3436,33 +3437,33 @@ msgstr ""
3436
msgid " and then <strong>%s after %d %s</strong>."
3437
msgstr ""
3438
3439
- #: includes/functions.php:235 includes/functions.php:229
3440
#: includes/functions.php:230 includes/functions.php:231
3441
#: includes/functions.php:235
3442
#, php-format
3443
msgid "The price for membership is <strong>%s per %s</strong>."
3444
msgstr ""
3445
3446
- #: includes/functions.php:237 includes/functions.php:233
3447
#: includes/functions.php:237
3448
#, php-format
3449
msgid "<strong>%s per %s</strong>."
3450
msgstr ""
3451
3452
- #: includes/functions.php:242 includes/functions.php:233
3453
#: includes/functions.php:234 includes/functions.php:235
3454
#: includes/functions.php:238 includes/functions.php:242
3455
#, php-format
3456
msgid "The price for membership is <strong>%s every %d %s</strong>."
3457
msgstr ""
3458
3459
- #: includes/functions.php:244 includes/functions.php:240
3460
#: includes/functions.php:244
3461
#, php-format
3462