Paid Memberships Pro - Version 1.8.4.2

Version Description

  • BUG: Fixed bug where dropdown to set the account page in the page settings was showing up twice.
  • BUG: Fixed warning in pmpro_account shortcode.
  • BUG: Grammar fixes in admin pages. "Setup" changed to "Set Up" when used as a verb. (Thanks, sumobi on GitHub)
  • ENHANCEMENT: If the option is set, terms of service page embedded on the checkout page will not be passed through do_shortcode so shortcodes get processed in the text. (Thanks, cliffordp on GitHub)
  • ENHANCEMENT: The pmpro_account shortcode will now accept "membership" or "memberships" for the section name.
Download this release

Release Info

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

Code changes from version 1.8.4.1 to 1.8.4.2

Files changed (48) hide show
  1. adminpages/admin_header.php +2 -2
  2. adminpages/orders.php +1 -1
  3. adminpages/pagesettings.php +257 -257
  4. classes/class.memberorder.php +2 -2
  5. classes/gateways/class.pmprogateway.php +1 -1
  6. classes/gateways/class.pmprogateway_authorizenet.php +1 -1
  7. classes/gateways/class.pmprogateway_braintree.php +2 -2
  8. classes/gateways/class.pmprogateway_check.php +1 -1
  9. classes/gateways/class.pmprogateway_cybersource.php +2 -2
  10. classes/gateways/class.pmprogateway_payflowpro.php +1 -1
  11. classes/gateways/class.pmprogateway_paypal.php +1 -1
  12. classes/gateways/class.pmprogateway_paypalexpress.php +2 -2
  13. classes/gateways/class.pmprogateway_stripe.php +1 -1
  14. includes/functions.php +1 -1
  15. includes/init.php +1 -1
  16. languages/pmpro-cs_CZ.mo +0 -0
  17. languages/pmpro-cs_CZ.po +6 -6
  18. languages/pmpro-da_DK.mo +0 -0
  19. languages/pmpro-da_DK.po +6 -6
  20. languages/pmpro-de_DE.mo +0 -0
  21. languages/pmpro-de_DE.po +6 -6
  22. languages/pmpro-en_GB.po +6 -6
  23. languages/pmpro-es_CL.mo +0 -0
  24. languages/pmpro-es_CL.po +6 -6
  25. languages/pmpro-es_ES.mo +0 -0
  26. languages/pmpro-es_ES.po +6 -6
  27. languages/pmpro-es_ES.pot +6 -6
  28. languages/pmpro-es_PE.mo +0 -0
  29. languages/pmpro-es_PE.po +6 -6
  30. languages/pmpro-fr_FR.mo +0 -0
  31. languages/pmpro-fr_FR.po +6 -6
  32. languages/pmpro-it_IT.mo +0 -0
  33. languages/pmpro-it_IT.po +6 -6
  34. languages/pmpro-nb_NO.mo +0 -0
  35. languages/pmpro-nb_NO.po +6 -6
  36. languages/pmpro-nl_NL.mo +0 -0
  37. languages/pmpro-nl_NL.po +6 -6
  38. languages/pmpro-pt_BR.mo +0 -0
  39. languages/pmpro-pt_BR.po +6 -6
  40. languages/pmpro-sk_SK.mo +0 -0
  41. languages/pmpro-sk_SK.po +6 -6
  42. languages/pmpro.po +6 -6
  43. languages/pmpro.pot +6 -6
  44. pages/checkout.php +1 -1
  45. paid-memberships-pro.php +2 -2
  46. preheaders/checkout.php +4 -4
  47. readme.txt +9 -2
  48. shortcodes/pmpro_account.php +179 -179
adminpages/admin_header.php CHANGED
@@ -24,9 +24,9 @@
24
if(empty($pmpro_level_ready) && empty($edit))
25
$msgt .= " <a href=\"?page=pmpro-membershiplevels&edit=-1\">" . __("Add a membership level to get started.", "pmpro") . "</a>";
26
elseif($pmpro_level_ready && !$pmpro_pages_ready && $view != "pmpro-pagesettings")
27
- $msgt .= " <a href=\"?page=pmpro-pagesettings\">" . __("Setup the membership pages", "pmpro") . "</a>.";
28
elseif($pmpro_level_ready && $pmpro_pages_ready && !$pmpro_gateway_ready && $view != "pmpro-paymentsettings")
29
- $msgt .= " <a href=\"?page=pmpro-paymentsettings\">" . __("Setup your SSL certificate and payment gateway", "pmpro") . "</a>.";
30
31
if(empty($msgt))
32
$msg = false;
24
if(empty($pmpro_level_ready) && empty($edit))
25
$msgt .= " <a href=\"?page=pmpro-membershiplevels&edit=-1\">" . __("Add a membership level to get started.", "pmpro") . "</a>";
26
elseif($pmpro_level_ready && !$pmpro_pages_ready && $view != "pmpro-pagesettings")
27
+ $msgt .= " <a href=\"?page=pmpro-pagesettings\">" . __("Set up the membership pages", "pmpro") . "</a>.";
28
elseif($pmpro_level_ready && $pmpro_pages_ready && !$pmpro_gateway_ready && $view != "pmpro-paymentsettings")
29
+ $msgt .= " <a href=\"?page=pmpro-paymentsettings\">" . __("Set up your SSL certificate and payment gateway", "pmpro") . "</a>.";
30
31
if(empty($msgt))
32
$msg = false;
adminpages/orders.php CHANGED
@@ -494,7 +494,7 @@
494
<td>
495
<?php if(in_array("timestamp", $read_only_fields) && $order_id > 0) { echo date(option("date_format"), $order->timestamp); } else { ?>
496
<?php
497
- //setup date vars
498
if(!empty($order->timestamp))
499
$timestamp = $order->timestamp;
500
else
494
<td>
495
<?php if(in_array("timestamp", $read_only_fields) && $order_id > 0) { echo date(option("date_format"), $order->timestamp); } else { ?>
496
<?php
497
+ //set up date vars
498
if(!empty($order->timestamp))
499
$timestamp = $order->timestamp;
500
else
adminpages/pagesettings.php CHANGED
@@ -1,257 +1,257 @@
1
- <?php
2
- //only admins can get this
3
- if(!function_exists("current_user_can") || (!current_user_can("manage_options") && !current_user_can("pmpro_pagesettings")))
4
- {
5
- die(__("You do not have permissions to perform this action.", "pmpro"));
6
- }
7
-
8
- global $wpdb, $msg, $msgt;
9
-
10
- //get/set settings
11
- global $pmpro_pages;
12
- if(!empty($_REQUEST['savesettings']))
13
- {
14
- //page ids
15
- pmpro_setOption("account_page_id");
16
- pmpro_setOption("billing_page_id");
17
- pmpro_setOption("cancel_page_id");
18
- pmpro_setOption("checkout_page_id");
19
- pmpro_setOption("confirmation_page_id");
20
- pmpro_setOption("invoice_page_id");
21
- pmpro_setOption("levels_page_id");
22
-
23
- //update the pages array
24
- $pmpro_pages["account"] = pmpro_getOption("account_page_id");
25
- $pmpro_pages["billing"] = pmpro_getOption("billing_page_id");
26
- $pmpro_pages["cancel"] = pmpro_getOption("cancel_page_id");
27
- $pmpro_pages["checkout"] = pmpro_getOption("checkout_page_id");
28
- $pmpro_pages["confirmation"] = pmpro_getOption("confirmation_page_id");
29
- $pmpro_pages["invoice"] = pmpro_getOption("invoice_page_id");
30
- $pmpro_pages["levels"] = pmpro_getOption("levels_page_id");
31
-
32
- //assume success
33
- $msg = true;
34
- $msgt = "Your page settings have been updated.";
35
- }
36
-
37
- //are we generating pages?
38
- if(!empty($_REQUEST['createpages']))
39
- {
40
- global $pmpro_pages;
41
-
42
- $pages_created = array();
43
-
44
- //check the pages array
45
- foreach($pmpro_pages as $pmpro_page_name => $pmpro_page_id)
46
- {
47
- if(!$pmpro_page_id)
48
- {
49
- switch ($pmpro_page_name) {
50
- case 'account':
51
- $pmpro_page_title = __( 'Membership Account', 'pmpro' );
52
- break;
53
- case 'billing':
54
- $pmpro_page_title = __( 'Membership Billing', 'pmpro' );
55
- break;
56
- case 'cancel':
57
- $pmpro_page_title = __( 'Membership Cancel', 'pmpro' );
58
- break;
59
- case 'checkout':
60
- $pmpro_page_title = __( 'Membership Checkout', 'pmpro' );
61
- break;
62
- case 'confirmation':
63
- $pmpro_page_title = __( 'Membership Confirmation', 'pmpro' );
64
- break;
65
- case 'invoice':
66
- $pmpro_page_title = __( 'Membership Invoice', 'pmpro' );
67
- break;
68
- case 'levels':
69
- $pmpro_page_title = __( 'Membership Levels', 'pmpro' );
70
- break;
71
-
72
- default:
73
- $pmpro_page_title = sprintf( __( 'Membership %s', 'Page title template', 'pmpro' ), ucwords($pmpro_page_name) );
74
- break;
75
- }
76
-
77
- //no id set. create an array to store the page info
78
- $insert = array(
79
- 'post_title' => $pmpro_page_title,
80
- 'post_status' => 'publish',
81
- 'post_type' => 'page',
82
- 'post_content' => '[pmpro_' . $pmpro_page_name . ']',
83
- 'comment_status' => 'closed',
84
- 'ping_status' => 'closed'
85
- );
86
-
87
- //make non-account pages a subpage of account
88
- if($pmpro_page_name != "account")
89
- {
90
- $insert['post_parent'] = $pmpro_pages['account'];
91
- }
92
-
93
- //create the page
94
- $pmpro_pages[$pmpro_page_name] = wp_insert_post( $insert );
95
-
96
- //add besecure post option to pages that need it
97
- /* these pages are handling this themselves in the preheader
98
- if(in_array($pmpro_page_name, array("billing", "checkout")))
99
- update_post_meta($pmpro_pages[$pmpro_page_name], "besecure", 1);
100
- */
101
-
102
- //update the option too
103
- pmpro_setOption($pmpro_page_name . "_page_id", $pmpro_pages[$pmpro_page_name]);
104
- $pages_created[] = $pmpro_pages[$pmpro_page_name];
105
- }
106
- }
107
-
108
- if(!empty($pages_created))
109
- {
110
- $msg = true;
111
- $msgt = __("The following pages have been created for you", "pmpro") . ": " . implode(", ", $pages_created) . ".";
112
- }
113
- }
114
-
115
- require_once(dirname(__FILE__) . "/admin_header.php");
116
- ?>
117
-
118
-
119
- <form action="" method="post" enctype="multipart/form-data">
120
- <h2><?php _e('Pages', 'pmpro');?></h2>
121
- <?php
122
- global $pmpro_pages_ready;
123
- if($pmpro_pages_ready)
124
- {
125
- ?>
126
- <p><?php _e('Manage the WordPress pages assigned to each required Paid Memberships Pro page.', 'pmpro');?></p>
127
- <?php
128
- }
129
- else
130
- {
131
- ?>
132
- <p><?php _e('Assign the WordPress pages for each required Paid Memberships Pro page or', 'pmpro');?> <a href="?page=pmpro-pagesettings&createpages=1"><?php _e('click here to let us generate them for you', 'pmpro');?></a>.</p>
133
- <?php
134
- }
135
- ?>
136
- <table class="form-table">
137
- <tbody>
138
- <tr>
139
- <th scope="row" valign="top">
140
- <label for="account_page_id"><?php _e('Account Page', 'pmpro');?>:</label>
141
- </th>
142
- <td>
143
- <?php
144
- wp_dropdown_pages(array("name"=>"account_page_id", "show_option_none"=>"-- ".__( 'Choose One', 'pmpro' )." --", "selected"=>$pmpro_pages['account']));
145
- ?>
146
- <?php if(!empty($pmpro_pages['account'])) { ?>
147
- <a target="_blank" href="post.php?post=<?php echo $pmpro_pages['account'];?>&action=edit" class="button button-secondary pmpro_page_edit"><?php _e('edit page', 'pmpro');?></a>
148
- &nbsp;
149
- <a target="_blank" href="<?php echo get_permalink($pmpro_pages['account']);?>" class="button button-secondary pmpro_page_view"><?php _e('view page', 'pmpro');?></a>
150
- <?php } ?>
151
- <br /><small class="pmpro_lite"><?php _e('Include the shortcode', 'pmpro');?> [pmpro_account].</small>
152
- </td>
153
- <tr>
154
- <th scope="row" valign="top">
155
- <label for="billing_page_id"><?php _e('Billing Information Page', 'pmpro');?>:</label>
156
- </th>
157
- <td>
158
- <?php
159
- wp_dropdown_pages(array("name"=>"billing_page_id", "show_option_none"=>"-- ".__( 'Choose One', 'pmpro' )." --", "selected"=>$pmpro_pages['billing']));
160
- ?>
161
- <?php if(!empty($pmpro_pages['billing'])) { ?>
162
- <a target="_blank" href="post.php?post=<?php echo $pmpro_pages['billing']?>&action=edit" class="button button-secondary pmpro_page_edit"><?php _e('edit page', 'pmpro');?></a>
163
- &nbsp;
164
- <a target="_blank" href="<?php echo get_permalink($pmpro_pages['billing']);?>" class="button button-secondary pmpro_page_view"><?php _e('view page', 'pmpro');?></a>
165
- <?php } ?>
166
- <br /><small class="pmpro_lite"><?php _e('Include the shortcode', 'pmpro');?> [pmpro_billing].</small>
167
- </td>
168
- <tr>
169
- <th scope="row" valign="top">
170
- <label for="cancel_page_id"><?php _e('Cancel Page', 'pmpro');?>:</label>
171
- </th>
172
- <td>
173
- <?php
174
- wp_dropdown_pages(array("name"=>"cancel_page_id", "show_option_none"=>"-- ".__( 'Choose One', 'pmpro' )." --", "selected"=>$pmpro_pages['cancel']));
175
- ?>
176
- <?php if(!empty($pmpro_pages['cancel'])) { ?>
177
- <a target="_blank" href="post.php?post=<?php echo $pmpro_pages['cancel']?>&action=edit" class="button button-secondary pmpro_page_edit"><?php _e('edit page', 'pmpro');?></a>
178
- &nbsp;
179
- <a target="_blank" href="<?php echo get_permalink($pmpro_pages['cancel']);?>" class="button button-secondary pmpro_page_view"><?php _e('view page', 'pmpro');?></a>
180
- <?php } ?>
181
- <br /><small class="pmpro_lite"><?php _e('Include the shortcode', 'pmpro');?> [pmpro_cancel].</small>
182
- </td>
183
- </tr>
184
- <tr>
185
- <th scope="row" valign="top">
186
- <label for="checkout_page_id"><?php _e('Checkout Page', 'pmpro');?>:</label>
187
- </th>
188
- <td>
189
- <?php
190
- wp_dropdown_pages(array("name"=>"checkout_page_id", "show_option_none"=>"-- ".__( 'Choose One', 'pmpro' )." --", "selected"=>$pmpro_pages['checkout']));
191
- ?>
192
- <?php if(!empty($pmpro_pages['checkout'])) { ?>
193
- <a target="_blank" href="post.php?post=<?php echo $pmpro_pages['checkout']?>&action=edit" class="button button-secondary pmpro_page_edit"><?php _e('edit page', 'pmpro');?></a>
194
- &nbsp;
195
- <a target="_blank" href="<?php echo get_permalink($pmpro_pages['checkout']);?>" class="button button-secondary pmpro_page_view"><?php _e('view page', 'pmpro');?></a>
196
- <?php } ?>
197
- <br /><small class="pmpro_lite"><?php _e('Include the shortcode', 'pmpro');?> [pmpro_checkout].</small>
198
- </td>
199
- </tr>
200
- <tr>
201
- <th scope="row" valign="top">
202
- <label for="confirmation_page_id"><?php _e('Confirmation Page', 'pmpro');?>:</label>
203
- </th>
204
- <td>
205
- <?php
206
- wp_dropdown_pages(array("name"=>"confirmation_page_id", "show_option_none"=>"-- ".__( 'Choose One', 'pmpro' )." --", "selected"=>$pmpro_pages['confirmation']));
207
- ?>
208
- <?php if(!empty($pmpro_pages['confirmation'])) { ?>
209
- <a target="_blank" href="post.php?post=<?php echo $pmpro_pages['confirmation']?>&action=edit" class="button button-secondary pmpro_page_edit"><?php _e('edit page', 'pmpro');?></a>
210
- &nbsp;
211
- <a target="_blank" href="<?php echo get_permalink($pmpro_pages['confirmation']);?>" class="button button-secondary pmpro_page_view"><?php _e('view page', 'pmpro');?></a>
212
- <?php } ?>
213
- <br /><small class="pmpro_lite"><?php _e('Include the shortcode', 'pmpro');?> [pmpro_confirmation].</small>
214
- </td>
215
- </tr>
216
- <tr>
217
- <th scope="row" valign="top">
218
- <label for="invoice_page_id"><?php _e('Invoice Page', 'pmpro');?>:</label>
219
- </th>
220
- <td>
221
- <?php
222
- wp_dropdown_pages(array("name"=>"invoice_page_id", "show_option_none"=>"-- ".__( 'Choose One', 'pmpro' )." --", "selected"=>$pmpro_pages['invoice']));
223
- ?>
224
- <?php if(!empty($pmpro_pages['invoice'])) { ?>
225
- <a target="_blank" href="post.php?post=<?php echo $pmpro_pages['invoice']?>&action=edit" class="button button-secondary pmpro_page_edit"><?php _e('edit page', 'pmpro');?></a>
226
- &nbsp;
227
- <a target="_blank" href="<?php echo get_permalink($pmpro_pages['invoice']);?>" class="button button-secondary pmpro_page_view"><?php _e('view page', 'pmpro');?></a>
228
- <?php } ?>
229
- <br /><small class="pmpro_lite"><?php _e('Include the shortcode', 'pmpro');?> [pmpro_invoice].</small>
230
- </td>
231
- </tr>
232
- <tr>
233
- <th scope="row" valign="top">
234
- <label for="levels_page_id"><?php _e('Levels Page', 'pmpro');?>:</label>
235
- </th>
236
- <td>
237
- <?php
238
- wp_dropdown_pages(array("name"=>"levels_page_id", "show_option_none"=>"-- ".__( 'Choose One', 'pmpro' )." --", "selected"=>$pmpro_pages['levels']));
239
- ?>
240
- <?php if(!empty($pmpro_pages['levels'])) { ?>
241
- <a target="_blank" href="post.php?post=<?php echo $pmpro_pages['levels']?>&action=edit" class="button button-secondary pmpro_page_edit"><?php _e('edit page', 'pmpro');?></a>
242
- &nbsp;
243
- <a target="_blank" href="<?php echo get_permalink($pmpro_pages['levels']);?>" class="button button-secondary pmpro_page_view"><?php _e('view page', 'pmpro');?></a>
244
- <?php } ?>
245
- <br /><small class="pmpro_lite"><?php _e('Include the shortcode', 'pmpro');?> [pmpro_levels].</small>
246
- </td>
247
- </tr>
248
- </tbody>
249
- </table>
250
- <p class="submit">
251
- <input name="savesettings" type="submit" class="button button-primary" value="<?php _e('Save Settings', 'pmpro');?>" />
252
- </p>
253
- </form>
254
-
255
- <?php
256
- require_once(dirname(__FILE__) . "/admin_footer.php");
257
- ?>
1
+ <?php
2
+ //only admins can get this
3
+ if(!function_exists("current_user_can") || (!current_user_can("manage_options") && !current_user_can("pmpro_pagesettings")))
4
+ {
5
+ die(__("You do not have permissions to perform this action.", "pmpro"));
6
+ }
7
+
8
+ global $wpdb, $msg, $msgt;
9
+
10
+ //get/set settings
11
+ global $pmpro_pages;
12
+ if(!empty($_REQUEST['savesettings']))
13
+ {
14
+ //page ids
15
+ pmpro_setOption("account_page_id");
16
+ pmpro_setOption("billing_page_id");
17
+ pmpro_setOption("cancel_page_id");
18
+ pmpro_setOption("checkout_page_id");
19
+ pmpro_setOption("confirmation_page_id");
20
+ pmpro_setOption("invoice_page_id");
21
+ pmpro_setOption("levels_page_id");
22
+
23
+ //update the pages array
24
+ $pmpro_pages["account"] = pmpro_getOption("account_page_id");
25
+ $pmpro_pages["billing"] = pmpro_getOption("billing_page_id");
26
+ $pmpro_pages["cancel"] = pmpro_getOption("cancel_page_id");
27
+ $pmpro_pages["checkout"] = pmpro_getOption("checkout_page_id");
28
+ $pmpro_pages["confirmation"] = pmpro_getOption("confirmation_page_id");
29
+ $pmpro_pages["invoice"] = pmpro_getOption("invoice_page_id");
30
+ $pmpro_pages["levels"] = pmpro_getOption("levels_page_id");
31
+
32
+ //assume success
33
+ $msg = true;
34
+ $msgt = "Your page settings have been updated.";
35
+ }
36
+
37
+ //are we generating pages?
38
+ if(!empty($_REQUEST['createpages']))
39
+ {
40
+ global $pmpro_pages;
41
+
42
+ $pages_created = array();
43
+
44
+ //check the pages array
45
+ foreach($pmpro_pages as $pmpro_page_name => $pmpro_page_id)
46
+ {
47
+ if(!$pmpro_page_id)
48
+ {
49
+ switch ($pmpro_page_name) {
50
+ case 'account':
51
+ $pmpro_page_title = __( 'Membership Account', 'pmpro' );
52
+ break;
53
+ case 'billing':
54
+ $pmpro_page_title = __( 'Membership Billing', 'pmpro' );
55
+ break;
56
+ case 'cancel':
57
+ $pmpro_page_title = __( 'Membership Cancel', 'pmpro' );
58
+ break;
59
+ case 'checkout':
60
+ $pmpro_page_title = __( 'Membership Checkout', 'pmpro' );
61
+ break;
62
+ case 'confirmation':
63
+ $pmpro_page_title = __( 'Membership Confirmation', 'pmpro' );
64
+ break;
65
+ case 'invoice':
66
+ $pmpro_page_title = __( 'Membership Invoice', 'pmpro' );
67
+ break;
68
+ case 'levels':
69
+ $pmpro_page_title = __( 'Membership Levels', 'pmpro' );
70
+ break;
71
+
72
+ default:
73
+ $pmpro_page_title = sprintf( __( 'Membership %s', 'Page title template', 'pmpro' ), ucwords($pmpro_page_name) );
74
+ break;
75
+ }
76
+
77
+ //no id set. create an array to store the page info
78
+ $insert = array(
79
+ 'post_title' => $pmpro_page_title,
80
+ 'post_status' => 'publish',
81
+ 'post_type' => 'page',
82
+ 'post_content' => '[pmpro_' . $pmpro_page_name . ']',
83
+ 'comment_status' => 'closed',
84
+ 'ping_status' => 'closed'
85
+ );
86
+
87
+ //make non-account pages a subpage of account
88
+ if($pmpro_page_name != "account")
89
+ {
90
+ $insert['post_parent'] = $pmpro_pages['account'];
91
+ }
92
+
93
+ //create the page
94
+ $pmpro_pages[$pmpro_page_name] = wp_insert_post( $insert );
95
+
96
+ //add besecure post option to pages that need it
97
+ /* these pages are handling this themselves in the preheader
98
+ if(in_array($pmpro_page_name, array("billing", "checkout")))
99
+ update_post_meta($pmpro_pages[$pmpro_page_name], "besecure", 1);
100
+ */
101
+
102
+ //update the option too
103
+ pmpro_setOption($pmpro_page_name . "_page_id", $pmpro_pages[$pmpro_page_name]);
104
+ $pages_created[] = $pmpro_pages[$pmpro_page_name];
105
+ }
106
+ }
107
+
108
+ if(!empty($pages_created))
109
+ {
110
+ $msg = true;
111
+ $msgt = __("The following pages have been created for you", "pmpro") . ": " . implode(", ", $pages_created) . ".";
112
+ }
113
+ }
114
+
115
+ require_once(dirname(__FILE__) . "/admin_header.php");
116
+ ?>
117
+
118
+
119
+ <form action="" method="post" enctype="multipart/form-data">
120
+ <h2><?php _e('Pages', 'pmpro');?></h2>
121
+ <?php
122
+ global $pmpro_pages_ready;
123
+ if($pmpro_pages_ready)
124
+ {
125
+ ?>
126
+ <p><?php _e('Manage the WordPress pages assigned to each required Paid Memberships Pro page.', 'pmpro');?></p>
127
+ <?php
128
+ }
129
+ else
130
+ {
131
+ ?>
132
+ <p><?php _e('Assign the WordPress pages for each required Paid Memberships Pro page or', 'pmpro');?> <a href="?page=pmpro-pagesettings&createpages=1"><?php _e('click here to let us generate them for you', 'pmpro');?></a>.</p>
133
+ <?php
134
+ }
135
+ ?>
136
+ <table class="form-table">
137
+ <tbody>
138
+ <tr>
139
+ <th scope="row" valign="top">
140
+ <label for="account_page_id"><?php _e('Account Page', 'pmpro');?>:</label>
141
+ </th>
142
+ <td>
143
+ <?php
144
+ wp_dropdown_pages(array("name"=>"account_page_id", "show_option_none"=>"-- ".__( 'Choose One', 'pmpro' )." --", "selected"=>$pmpro_pages['account']));
145
+ ?>
146
+ <?php if(!empty($pmpro_pages['account'])) { ?>
147
+ <a target="_blank" href="post.php?post=<?php echo $pmpro_pages['account'];?>&action=edit" class="button button-secondary pmpro_page_edit"><?php _e('edit page', 'pmpro');?></a>
148
+ &nbsp;
149
+ <a target="_blank" href="<?php echo get_permalink($pmpro_pages['account']);?>" class="button button-secondary pmpro_page_view"><?php _e('view page', 'pmpro');?></a>
150
+ <?php } ?>
151
+ <br /><small class="pmpro_lite"><?php _e('Include the shortcode', 'pmpro');?> [pmpro_account].</small>
152
+ </td>
153
+ <tr>
154
+ <th scope="row" valign="top">
155
+ <label for="billing_page_id"><?php _e('Billing Information Page', 'pmpro');?>:</label>
156
+ </th>
157
+ <td>
158
+ <?php
159
+ wp_dropdown_pages(array("name"=>"billing_page_id", "show_option_none"=>"-- ".__( 'Choose One', 'pmpro' )." --", "selected"=>$pmpro_pages['billing']));
160
+ ?>
161
+ <?php if(!empty($pmpro_pages['billing'])) { ?>
162
+ <a target="_blank" href="post.php?post=<?php echo $pmpro_pages['billing']?>&action=edit" class="button button-secondary pmpro_page_edit"><?php _e('edit page', 'pmpro');?></a>
163
+ &nbsp;
164
+ <a target="_blank" href="<?php echo get_permalink($pmpro_pages['billing']);?>" class="button button-secondary pmpro_page_view"><?php _e('view page', 'pmpro');?></a>
165
+ <?php } ?>
166
+ <br /><small class="pmpro_lite"><?php _e('Include the shortcode', 'pmpro');?> [pmpro_billing].</small>
167
+ </td>
168
+ <tr>
169
+ <th scope="row" valign="top">
170
+ <label for="cancel_page_id"><?php _e('Cancel Page', 'pmpro');?>:</label>
171
+ </th>
172
+ <td>
173
+ <?php
174
+ wp_dropdown_pages(array("name"=>"cancel_page_id", "show_option_none"=>"-- ".__( 'Choose One', 'pmpro' )." --", "selected"=>$pmpro_pages['cancel']));
175
+ ?>
176
+ <?php if(!empty($pmpro_pages['cancel'])) { ?>
177
+ <a target="_blank" href="post.php?post=<?php echo $pmpro_pages['cancel']?>&action=edit" class="button button-secondary pmpro_page_edit"><?php _e('edit page', 'pmpro');?></a>
178
+ &nbsp;
179
+ <a target="_blank" href="<?php echo get_permalink($pmpro_pages['cancel']);?>" class="button button-secondary pmpro_page_view"><?php _e('view page', 'pmpro');?></a>
180
+ <?php } ?>
181
+ <br /><small class="pmpro_lite"><?php _e('Include the shortcode', 'pmpro');?> [pmpro_cancel].</small>
182
+ </td>
183
+ </tr>
184
+ <tr>
185
+ <th scope="row" valign="top">
186
+ <label for="checkout_page_id"><?php _e('Checkout Page', 'pmpro');?>:</label>
187
+ </th>
188
+ <td>
189
+ <?php
190
+ wp_dropdown_pages(array("name"=>"checkout_page_id", "show_option_none"=>"-- ".__( 'Choose One', 'pmpro' )." --", "selected"=>$pmpro_pages['checkout']));
191
+ ?>
192
+ <?php if(!empty($pmpro_pages['checkout'])) { ?>
193
+ <a target="_blank" href="post.php?post=<?php echo $pmpro_pages['checkout']?>&action=edit" class="button button-secondary pmpro_page_edit"><?php _e('edit page', 'pmpro');?></a>
194
+ &nbsp;
195
+ <a target="_blank" href="<?php echo get_permalink($pmpro_pages['checkout']);?>" class="button button-secondary pmpro_page_view"><?php _e('view page', 'pmpro');?></a>
196
+ <?php } ?>
197
+ <br /><small class="pmpro_lite"><?php _e('Include the shortcode', 'pmpro');?> [pmpro_checkout].</small>
198
+ </td>
199
+ </tr>
200
+ <tr>
201
+ <th scope="row" valign="top">
202
+ <label for="confirmation_page_id"><?php _e('Confirmation Page', 'pmpro');?>:</label>
203
+ </th>
204
+ <td>
205
+ <?php
206
+ wp_dropdown_pages(array("name"=>"confirmation_page_id", "show_option_none"=>"-- ".__( 'Choose One', 'pmpro' )." --", "selected"=>$pmpro_pages['confirmation']));
207
+ ?>
208
+ <?php if(!empty($pmpro_pages['confirmation'])) { ?>
209
+ <a target="_blank" href="post.php?post=<?php echo $pmpro_pages['confirmation']?>&action=edit" class="button button-secondary pmpro_page_edit"><?php _e('edit page', 'pmpro');?></a>
210
+ &nbsp;
211
+ <a target="_blank" href="<?php echo get_permalink($pmpro_pages['confirmation']);?>" class="button button-secondary pmpro_page_view"><?php _e('view page', 'pmpro');?></a>
212
+ <?php } ?>
213
+ <br /><small class="pmpro_lite"><?php _e('Include the shortcode', 'pmpro');?> [pmpro_confirmation].</small>
214
+ </td>
215
+ </tr>
216
+ <tr>
217
+ <th scope="row" valign="top">
218
+ <label for="invoice_page_id"><?php _e('Invoice Page', 'pmpro');?>:</label>
219
+ </th>
220
+ <td>
221
+ <?php
222
+ wp_dropdown_pages(array("name"=>"invoice_page_id", "show_option_none"=>"-- ".__( 'Choose One', 'pmpro' )." --", "selected"=>$pmpro_pages['invoice']));
223
+ ?>
224
+ <?php if(!empty($pmpro_pages['invoice'])) { ?>
225
+ <a target="_blank" href="post.php?post=<?php echo $pmpro_pages['invoice']?>&action=edit" class="button button-secondary pmpro_page_edit"><?php _e('edit page', 'pmpro');?></a>
226
+ &nbsp;
227
+ <a target="_blank" href="<?php echo get_permalink($pmpro_pages['invoice']);?>" class="button button-secondary pmpro_page_view"><?php _e('view page', 'pmpro');?></a>
228
+ <?php } ?>
229
+ <br /><small class="pmpro_lite"><?php _e('Include the shortcode', 'pmpro');?> [pmpro_invoice].</small>
230
+ </td>
231
+ </tr>
232
+ <tr>
233
+ <th scope="row" valign="top">
234
+ <label for="levels_page_id"><?php _e('Levels Page', 'pmpro');?>:</label>
235
+ </th>
236
+ <td>
237
+ <?php
238
+ wp_dropdown_pages(array("name"=>"levels_page_id", "show_option_none"=>"-- ".__( 'Choose One', 'pmpro' )." --", "selected"=>$pmpro_pages['levels']));
239
+ ?>
240
+ <?php if(!empty($pmpro_pages['levels'])) { ?>
241
+ <a target="_blank" href="post.php?post=<?php echo $pmpro_pages['levels']?>&action=edit" class="button button-secondary pmpro_page_edit"><?php _e('edit page', 'pmpro');?></a>
242
+ &nbsp;
243
+ <a target="_blank" href="<?php echo get_permalink($pmpro_pages['levels']);?>" class="button button-secondary pmpro_page_view"><?php _e('view page', 'pmpro');?></a>
244
+ <?php } ?>
245
+ <br /><small class="pmpro_lite"><?php _e('Include the shortcode', 'pmpro');?> [pmpro_levels].</small>
246
+ </td>
247
+ </tr>
248
+ </tbody>
249
+ </table>
250
+ <p class="submit">
251
+ <input name="savesettings" type="submit" class="button button-primary" value="<?php _e('Save Settings', 'pmpro');?>" />
252
+ </p>
253
+ </form>
254
+
255
+ <?php
256
+ require_once(dirname(__FILE__) . "/admin_footer.php");
257
+ ?>
classes/class.memberorder.php CHANGED
@@ -6,7 +6,7 @@
6
*/
7
function MemberOrder($id = NULL)
8
{
9
- //setup the gateway
10
$this->setGateway(pmpro_getOption("gateway"));
11
12
//get data if an id was passed
@@ -106,7 +106,7 @@
106
}
107
108
/**
109
- * Setup the Gateway class to use with this order.
110
*
111
* @param string $gateway Name/label for the gateway to set.
112
*
6
*/
7
function MemberOrder($id = NULL)
8
{
9
+ //set up the gateway
10
$this->setGateway(pmpro_getOption("gateway"));
11
12
//get data if an id was passed
106
}
107
108
/**
109
+ * Set up the Gateway class to use with this order.
110
*
111
* @param string $gateway Name/label for the gateway to set.
112
*
classes/gateways/class.pmprogateway.php CHANGED
@@ -61,7 +61,7 @@
61
//charge first payment
62
if($this->charge($order))
63
{
64
- //setup recurring billing
65
if(pmpro_isLevelRecurring($order->membership_level))
66
{
67
if(!pmpro_isLevelTrial($order->membership_level))
61
//charge first payment
62
if($this->charge($order))
63
{
64
+ //set up recurring billing
65
if(pmpro_isLevelRecurring($order->membership_level))
66
{
67
if(!pmpro_isLevelTrial($order->membership_level))
classes/gateways/class.pmprogateway_authorizenet.php CHANGED
@@ -177,7 +177,7 @@
177
//charge first payment
178
if($this->charge($order))
179
{
180
- //setup recurring billing
181
if(pmpro_isLevelRecurring($order->membership_level))
182
{
183
if(!pmpro_isLevelTrial($order->membership_level))
177
//charge first payment
178
if($this->charge($order))
179
{
180
+ //set up recurring billing
181
if(pmpro_isLevelRecurring($order->membership_level))
182
{
183
if(!pmpro_isLevelTrial($order->membership_level))
classes/gateways/class.pmprogateway_braintree.php CHANGED
@@ -234,7 +234,7 @@
234
<input type='hidden' name='AccountNumber' id='BraintreeAccountNumber' />
235
<script type="text/javascript" src="https://js.braintreegateway.com/v1/braintree.js"></script>
236
<script type="text/javascript">
237
- //setup braintree encryption
238
var braintree = Braintree.create('<?php echo pmpro_getOption("braintree_encryptionkey"); ?>');
239
braintree.onSubmitEncryptForm('pmpro_form');
240
@@ -658,7 +658,7 @@
658
if(empty($order->code))
659
$order->code = $order->getRandomCode();
660
661
- //setup customer
662
$this->getCustomer($order);
663
if(empty($this->customer) || !empty($order->error))
664
return false; //error retrieving customer
234
<input type='hidden' name='AccountNumber' id='BraintreeAccountNumber' />
235
<script type="text/javascript" src="https://js.braintreegateway.com/v1/braintree.js"></script>
236
<script type="text/javascript">
237
+ //set up braintree encryption
238
var braintree = Braintree.create('<?php echo pmpro_getOption("braintree_encryptionkey"); ?>');
239
braintree.onSubmitEncryptForm('pmpro_form');
240
658
if(empty($order->code))
659
$order->code = $order->getRandomCode();
660
661
+ //set up customer
662
$this->getCustomer($order);
663
if(empty($this->customer) || !empty($order->error))
664
return false; //error retrieving customer
classes/gateways/class.pmprogateway_check.php CHANGED
@@ -199,7 +199,7 @@
199
//charge first payment
200
if($this->charge($order))
201
{
202
- //setup recurring billing
203
if(pmpro_isLevelRecurring($order->membership_level))
204
{
205
if(!pmpro_isLevelTrial($order->membership_level))
199
//charge first payment
200
if($this->charge($order))
201
{
202
+ //set up recurring billing
203
if(pmpro_isLevelRecurring($order->membership_level))
204
{
205
if(!pmpro_isLevelTrial($order->membership_level))
classes/gateways/class.pmprogateway_cybersource.php CHANGED
@@ -177,7 +177,7 @@
177
//charge first payment
178
if($this->charge($order))
179
{
180
- //setup recurring billing
181
if(pmpro_isLevelRecurring($order->membership_level))
182
{
183
if(!pmpro_isLevelTrial($order->membership_level))
@@ -560,7 +560,7 @@
560
$request->merchantReferenceCode = $order->code;
561
562
/*
563
- setup billing amount/etc
564
*/
565
//figure out the amounts
566
$amount = $order->PaymentAmount;
177
//charge first payment
178
if($this->charge($order))
179
{
180
+ //set up recurring billing
181
if(pmpro_isLevelRecurring($order->membership_level))
182
{
183
if(!pmpro_isLevelTrial($order->membership_level))
560
$request->merchantReferenceCode = $order->code;
561
562
/*
563
+ set up billing amount/etc
564
*/
565
//figure out the amounts
566
$amount = $order->PaymentAmount;
classes/gateways/class.pmprogateway_payflowpro.php CHANGED
@@ -170,7 +170,7 @@
170
//charge first payment
171
if($this->charge($order))
172
{
173
- //setup recurring billing
174
if(pmpro_isLevelRecurring($order->membership_level))
175
{
176
$order->ProfileStartDate = date("Y-m-d", strtotime("+ " . $order->BillingFrequency . " " . $order->BillingPeriod, current_time("timestamp"))) . "T0:0:0";
170
//charge first payment
171
if($this->charge($order))
172
{
173
+ //set up recurring billing
174
if(pmpro_isLevelRecurring($order->membership_level))
175
{
176
$order->ProfileStartDate = date("Y-m-d", strtotime("+ " . $order->BillingFrequency . " " . $order->BillingPeriod, current_time("timestamp"))) . "T0:0:0";
classes/gateways/class.pmprogateway_paypal.php CHANGED
@@ -253,7 +253,7 @@
253
//charge first payment
254
if($this->charge($order))
255
{
256
- //setup recurring billing
257
if(pmpro_isLevelRecurring($order->membership_level))
258
{
259
$order->ProfileStartDate = date("Y-m-d", strtotime("+ " . $order->BillingFrequency . " " . $order->BillingPeriod, current_time("timestamp"))) . "T0:0:0";
253
//charge first payment
254
if($this->charge($order))
255
{
256
+ //set up recurring billing
257
if(pmpro_isLevelRecurring($order->membership_level))
258
{
259
$order->ProfileStartDate = date("Y-m-d", strtotime("+ " . $order->BillingFrequency . " " . $order->BillingPeriod, current_time("timestamp"))) . "T0:0:0";
classes/gateways/class.pmprogateway_paypalexpress.php CHANGED
@@ -276,7 +276,7 @@
276
$morder->Token = $morder->paypal_token; $pmpro_paypal_token = $morder->paypal_token;
277
if($morder->Token)
278
{
279
- //setup values
280
$morder->membership_id = $pmpro_level->id;
281
$morder->membership_name = $pmpro_level->name;
282
$morder->discount_code = $discount_code;
@@ -287,7 +287,7 @@
287
$morder->BillingFrequency = $pmpro_level->cycle_number;
288
$morder->Email = $bemail;
289
290
- //setup level var
291
$morder->getMembershipLevel();
292
$morder->membership_level = apply_filters("pmpro_checkout_level", $morder->membership_level);
293
276
$morder->Token = $morder->paypal_token; $pmpro_paypal_token = $morder->paypal_token;
277
if($morder->Token)
278
{
279
+ //set up values
280
$morder->membership_id = $pmpro_level->id;
281
$morder->membership_name = $pmpro_level->name;
282
$morder->discount_code = $discount_code;
287
$morder->BillingFrequency = $pmpro_level->cycle_number;
288
$morder->Email = $bemail;
289
290
+ //set up level var
291
$morder->getMembershipLevel();
292
$morder->membership_level = apply_filters("pmpro_checkout_level", $morder->membership_level);
293
classes/gateways/class.pmprogateway_stripe.php CHANGED
@@ -1317,7 +1317,7 @@
1317
$user_id = $current_user->ID;
1318
}
1319
1320
- //setup customer
1321
$result = $this->getCustomer($order);
1322
if(empty($result))
1323
return false; //error retrieving customer
1317
$user_id = $current_user->ID;
1318
}
1319
1320
+ //set up customer
1321
$result = $this->getCustomer($order);
1322
if(empty($result))
1323
return false; //error retrieving customer
includes/functions.php CHANGED
@@ -28,7 +28,7 @@ if(!function_exists("sornot"))
28
}
29
}
30
31
- //setup wpdb for the tables we need
32
function pmpro_setDBTables()
33
{
34
global $wpdb;
28
}
29
}
30
31
+ //set up wpdb for the tables we need
32
function pmpro_setDBTables()
33
{
34
global $wpdb;
includes/init.php CHANGED
@@ -1,6 +1,6 @@
1
<?php
2
/*
3
- Code that runs on the init, set_current_user, or wp hooks to setup PMPro
4
*/
5
//init code
6
function pmpro_init()
1
<?php
2
/*
3
+ Code that runs on the init, set_current_user, or wp hooks to set up PMPro
4
*/
5
//init code
6
function pmpro_init()
languages/pmpro-cs_CZ.mo CHANGED
Binary file
languages/pmpro-cs_CZ.po CHANGED
@@ -34,11 +34,11 @@ msgid "Add a membership level to get started."
34
msgstr "Pro začátek zadejte nějakou úroveň členství."
35
36
#: adminpages/admin_header.php:27
37
- msgid "Setup the membership pages"
38
msgstr "Nastavte stránky členství"
39
40
#: adminpages/admin_header.php:29
41
- msgid "Setup your SSL certificate and payment gateway"
42
msgstr "Nastavte Váš SSL certifikát a platební bránu"
43
44
#: adminpages/admin_header.php:38
@@ -3922,7 +3922,7 @@ msgstr "Pokladna: Informace o platbě"
3922
3923
#: preheaders/checkout.php:100 preheaders/checkout.php:99
3924
#: preheaders/checkout.php:102 preheaders/checkout.php:109
3925
- msgid "Setup Your Account"
3926
msgstr "Nastavení Vašeho účtu"
3927
3928
#: preheaders/checkout.php:300 preheaders/checkout.php:416
@@ -3985,7 +3985,7 @@ msgstr "Platba byla přijata."
3985
#: preheaders/checkout.php:665 preheaders/checkout.php:691
3986
#: preheaders/checkout.php:709 preheaders/checkout.php:710
3987
msgid ""
3988
- "Unknown error generating account. Please contact us to setup your membership."
3989
msgstr ""
3990
"Neznámá chyba při generování účtu. Prosím, kontaktujte nás pro nastavení "
3991
"vašeho členství."
@@ -4039,7 +4039,7 @@ msgstr ""
4039
#: preheaders/checkout.php:1064
4040
#, php-format
4041
msgid ""
4042
- "You must <a href=\"%s\">setup a Payment Gateway</a> before any payments will "
4043
"be processed."
4044
msgstr ""
4045
"Před zpracováním jakýchkoliv plateb musíte <a href=\"%s\">nastavit platební "
@@ -4050,7 +4050,7 @@ msgstr ""
4050
#: preheaders/checkout.php:986 preheaders/checkout.php:1003
4051
#: preheaders/checkout.php:1050 preheaders/checkout.php:1065
4052
#: preheaders/checkout.php:1066
4053
- msgid "A Payment Gateway must be setup before any payments will be processed."
4054
msgstr ""
4055
"Předtím, než budou moci být zpracovány jakékoliv platby, musí být nastavena "
4056
"platební brána."
34
msgstr "Pro začátek zadejte nějakou úroveň členství."
35
36
#: adminpages/admin_header.php:27
37
+ msgid "Set up the membership pages"
38
msgstr "Nastavte stránky členství"
39
40
#: adminpages/admin_header.php:29
41
+ msgid "Set up your SSL certificate and payment gateway"
42
msgstr "Nastavte Váš SSL certifikát a platební bránu"
43
44
#: adminpages/admin_header.php:38
3922
3923
#: preheaders/checkout.php:100 preheaders/checkout.php:99
3924
#: preheaders/checkout.php:102 preheaders/checkout.php:109
3925
+ msgid "Set up Your Account"
3926
msgstr "Nastavení Vašeho účtu"
3927
3928
#: preheaders/checkout.php:300 preheaders/checkout.php:416
3985
#: preheaders/checkout.php:665 preheaders/checkout.php:691
3986
#: preheaders/checkout.php:709 preheaders/checkout.php:710
3987
msgid ""
3988
+ "Unknown error generating account. Please contact us to set up your membership."
3989
msgstr ""
3990
"Neznámá chyba při generování účtu. Prosím, kontaktujte nás pro nastavení "
3991
"vašeho členství."
4039
#: preheaders/checkout.php:1064
4040
#, php-format
4041
msgid ""
4042
+ "You must <a href=\"%s\">set up a Payment Gateway</a> before any payments will "
4043
"be processed."
4044
msgstr ""
4045
"Před zpracováním jakýchkoliv plateb musíte <a href=\"%s\">nastavit platební "
4050
#: preheaders/checkout.php:986 preheaders/checkout.php:1003
4051
#: preheaders/checkout.php:1050 preheaders/checkout.php:1065
4052
#: preheaders/checkout.php:1066
4053
+ msgid "A Payment Gateway must be set up before any payments will be processed."
4054
msgstr ""
4055
"Předtím, než budou moci být zpracovány jakékoliv platby, musí být nastavena "
4056
"platební brána."
languages/pmpro-da_DK.mo CHANGED
Binary file
languages/pmpro-da_DK.po CHANGED
@@ -39,11 +39,11 @@ msgid "Add a membership level to get started."
39
msgstr "Tilføj et medlems niveau for at komme igang."
40
41
#: adminpages/admin_header.php:27
42
- msgid "Setup the membership pages"
43
msgstr "Opret medlemssiderne"
44
45
#: adminpages/admin_header.php:29
46
- msgid "Setup your SSL certificate and payment gateway"
47
msgstr "Opsætning af dine SSL certifikater og betalings gateway"
48
49
#: adminpages/admin_header.php:38
@@ -3235,7 +3235,7 @@ msgid "Checkout: Payment Information"
3235
msgstr "Gå til Kassen: Betalings Informationer"
3236
3237
#: preheaders/checkout.php:109
3238
- msgid "Setup Your Account"
3239
msgstr "Opsætning af din Konto"
3240
3241
#: preheaders/checkout.php:486 preheaders/checkout.php:468
@@ -3278,7 +3278,7 @@ msgstr "Betaling accepteret."
3278
#: preheaders/checkout.php:710 preheaders/checkout.php:691
3279
#: preheaders/checkout.php:709
3280
msgid ""
3281
- "Unknown error generating account. Please contact us to setup your membership."
3282
msgstr ""
3283
"Ukendt fejl under oprettelse af konto. Kontakt support for at få hjælp til "
3284
"at sætte dit medlemsskab op."
@@ -3326,7 +3326,7 @@ msgstr ""
3326
#: preheaders/checkout.php:1048 preheaders/checkout.php:1063
3327
#, php-format
3328
msgid ""
3329
- "You must <a href=\"%s\">setup a Payment Gateway</a> before any payments will "
3330
"be processed."
3331
msgstr ""
3332
"Du er nød til at angive en <a href=\"%s\">Betalings Gateway</a> før nogen "
@@ -3334,7 +3334,7 @@ msgstr ""
3334
3335
#: preheaders/checkout.php:1066 preheaders/checkout.php:1003
3336
#: preheaders/checkout.php:1050 preheaders/checkout.php:1065
3337
- msgid "A Payment Gateway must be setup before any payments will be processed."
3338
msgstr ""
3339
"En Betalings Gateway skal sættes op, før betalinger kan blive behandlet."
3340
39
msgstr "Tilføj et medlems niveau for at komme igang."
40
41
#: adminpages/admin_header.php:27
42
+ msgid "Set up the membership pages"
43
msgstr "Opret medlemssiderne"
44
45
#: adminpages/admin_header.php:29
46
+ msgid "Set up your SSL certificate and payment gateway"
47
msgstr "Opsætning af dine SSL certifikater og betalings gateway"
48
49
#: adminpages/admin_header.php:38
3235
msgstr "Gå til Kassen: Betalings Informationer"
3236
3237
#: preheaders/checkout.php:109
3238
+ msgid "Set up Your Account"
3239
msgstr "Opsætning af din Konto"
3240
3241
#: preheaders/checkout.php:486 preheaders/checkout.php:468
3278
#: preheaders/checkout.php:710 preheaders/checkout.php:691
3279
#: preheaders/checkout.php:709
3280
msgid ""
3281
+ "Unknown error generating account. Please contact us to set up your membership."
3282
msgstr ""
3283
"Ukendt fejl under oprettelse af konto. Kontakt support for at få hjælp til "
3284
"at sætte dit medlemsskab op."
3326
#: preheaders/checkout.php:1048 preheaders/checkout.php:1063
3327
#, php-format
3328
msgid ""
3329
+ "You must <a href=\"%s\">set up a Payment Gateway</a> before any payments will "
3330
"be processed."
3331
msgstr ""
3332
"Du er nød til at angive en <a href=\"%s\">Betalings Gateway</a> før nogen "
3334
3335
#: preheaders/checkout.php:1066 preheaders/checkout.php:1003
3336
#: preheaders/checkout.php:1050 preheaders/checkout.php:1065
3337
+ msgid "A Payment Gateway must be set up before any payments will be processed."
3338
msgstr ""
3339
"En Betalings Gateway skal sættes op, før betalinger kan blive behandlet."
3340
languages/pmpro-de_DE.mo CHANGED
Binary file
languages/pmpro-de_DE.po CHANGED
@@ -38,11 +38,11 @@ msgid "Add a membership level to get started."
38
msgstr "Fügen Sie ein Paket hinzu, um zu beginnen."
39
40
#: adminpages/admin_header.php:27
41
- msgid "Setup the membership pages"
42
msgstr "Mitglieds-Seiten erstellen"
43
44
#: adminpages/admin_header.php:29
45
- msgid "Setup your SSL certificate and payment gateway"
46
msgstr "SSL-Zertifikat und Zahlungsdienstleister einstellen"
47
48
#: adminpages/admin_header.php:38
@@ -3249,7 +3249,7 @@ msgid "Checkout: Payment Information"
3249
msgstr "Checkout: Zahlungs Informationen"
3250
3251
#: preheaders/checkout.php:109
3252
- msgid "Setup Your Account"
3253
msgstr "Account einrichten"
3254
3255
#: preheaders/checkout.php:486 preheaders/checkout.php:468
@@ -3296,7 +3296,7 @@ msgstr "Zahlung erfolgreich."
3296
#: preheaders/checkout.php:710 preheaders/checkout.php:691
3297
#: preheaders/checkout.php:709
3298
msgid ""
3299
- "Unknown error generating account. Please contact us to setup your membership."
3300
msgstr ""
3301
"Unbekannter Fehler beim Erstellen des Accounts. BItte kontaktieren Sie uns "
3302
"um Ihren Account einzurichten."
@@ -3344,7 +3344,7 @@ msgstr ""
3344
#: preheaders/checkout.php:1048 preheaders/checkout.php:1063
3345
#, php-format
3346
msgid ""
3347
- "You must <a href=\"%s\">setup a Payment Gateway</a> before any payments will "
3348
"be processed."
3349
msgstr ""
3350
"Sie müssen <a href=\"%s\">einen Zahlungsdienstleister auswählen</a> damit "
@@ -3352,7 +3352,7 @@ msgstr ""
3352
3353
#: preheaders/checkout.php:1066 preheaders/checkout.php:1003
3354
#: preheaders/checkout.php:1050 preheaders/checkout.php:1065
3355
- msgid "A Payment Gateway must be setup before any payments will be processed."
3356
msgstr ""
3357
"Ein Zahlungsdienstleister muss ausgewählt werden, bevor Zahlungen erfolgen "
3358
"können."
38
msgstr "Fügen Sie ein Paket hinzu, um zu beginnen."
39
40
#: adminpages/admin_header.php:27
41
+ msgid "Set up the membership pages"
42
msgstr "Mitglieds-Seiten erstellen"
43
44
#: adminpages/admin_header.php:29
45
+ msgid "Set up your SSL certificate and payment gateway"
46
msgstr "SSL-Zertifikat und Zahlungsdienstleister einstellen"
47
48
#: adminpages/admin_header.php:38
3249
msgstr "Checkout: Zahlungs Informationen"
3250
3251
#: preheaders/checkout.php:109
3252
+ msgid "Set up Your Account"
3253
msgstr "Account einrichten"
3254
3255
#: preheaders/checkout.php:486 preheaders/checkout.php:468
3296
#: preheaders/checkout.php:710 preheaders/checkout.php:691
3297
#: preheaders/checkout.php:709
3298
msgid ""
3299
+ "Unknown error generating account. Please contact us to set up your membership."
3300
msgstr ""
3301
"Unbekannter Fehler beim Erstellen des Accounts. BItte kontaktieren Sie uns "
3302
"um Ihren Account einzurichten."
3344
#: preheaders/checkout.php:1048 preheaders/checkout.php:1063
3345
#, php-format
3346
msgid ""
3347
+ "You must <a href=\"%s\">set up a Payment Gateway</a> before any payments will "
3348
"be processed."
3349
msgstr ""
3350
"Sie müssen <a href=\"%s\">einen Zahlungsdienstleister auswählen</a> damit "
3352
3353
#: preheaders/checkout.php:1066 preheaders/checkout.php:1003
3354
#: preheaders/checkout.php:1050 preheaders/checkout.php:1065
3355
+ msgid "A Payment Gateway must be set up before any payments will be processed."
3356
msgstr ""
3357
"Ein Zahlungsdienstleister muss ausgewählt werden, bevor Zahlungen erfolgen "
3358
"können."
languages/pmpro-en_GB.po CHANGED
@@ -1937,11 +1937,11 @@ msgid "Add a membership level to get started."
1937
msgstr ""
1938
1939
#: adminpages/admin_header.php:27
1940
- msgid "Setup the membership pages"
1941
msgstr ""
1942
1943
#: adminpages/admin_header.php:29
1944
- msgid "Setup your SSL certificate and payment gateway"
1945
msgstr ""
1946
1947
#: adminpages/admin_header.php:38
@@ -2558,7 +2558,7 @@ msgid "Checkout: Payment Information"
2558
msgstr ""
2559
2560
#: preheaders/checkout.php:109
2561
- msgid "Setup Your Account"
2562
msgstr ""
2563
2564
#: preheaders/checkout.php:482 preheaders/billing.php:258
@@ -2605,7 +2605,7 @@ msgstr ""
2605
2606
#: preheaders/checkout.php:710
2607
msgid ""
2608
- "Unknown error generating account. Please contact us to setup your membership."
2609
msgstr ""
2610
2611
#: preheaders/checkout.php:754 preheaders/checkout.php:823
@@ -2635,12 +2635,12 @@ msgstr ""
2635
#: preheaders/checkout.php:1064
2636
#, php-format
2637
msgid ""
2638
- "You must <a href=\"%s\">setup a Payment Gateway</a> before any payments will "
2639
"be processed."
2640
msgstr ""
2641
2642
#: preheaders/checkout.php:1066
2643
- msgid "A Payment Gateway must be setup before any payments will be processed."
2644
msgstr ""
2645
2646
#: preheaders/cancel.php:24
1937
msgstr ""
1938
1939
#: adminpages/admin_header.php:27
1940
+ msgid "Set up the membership pages"
1941
msgstr ""
1942
1943
#: adminpages/admin_header.php:29
1944
+ msgid "Set up your SSL certificate and payment gateway"
1945
msgstr ""
1946
1947
#: adminpages/admin_header.php:38
2558
msgstr ""
2559
2560
#: preheaders/checkout.php:109
2561
+ msgid "Set up Your Account"
2562
msgstr ""
2563
2564
#: preheaders/checkout.php:482 preheaders/billing.php:258
2605
2606
#: preheaders/checkout.php:710
2607
msgid ""
2608
+ "Unknown error generating account. Please contact us to set up your membership."
2609
msgstr ""
2610
2611
#: preheaders/checkout.php:754 preheaders/checkout.php:823
2635
#: preheaders/checkout.php:1064
2636
#, php-format
2637
msgid ""
2638
+ "You must <a href=\"%s\">set up a Payment Gateway</a> before any payments will "
2639
"be processed."
2640
msgstr ""
2641
2642
#: preheaders/checkout.php:1066
2643
+ msgid "A Payment Gateway must be set up before any payments will be processed."
2644
msgstr ""
2645
2646
#: preheaders/cancel.php:24
languages/pmpro-es_CL.mo CHANGED
Binary file
languages/pmpro-es_CL.po CHANGED
@@ -378,11 +378,11 @@ msgid "Add a membership level to get started."
378
msgstr "Añade un nivel de membresía para comenzar."
379
380
#: adminpages/admin_header.php:27
381
- msgid "Setup the membership pages"
382
msgstr "Configura las paginas de membresía"
383
384
#: adminpages/admin_header.php:29
385
- msgid "Setup your SSL certificate and payment gateway"
386
msgstr "Configura tu certificado SSL y tu pasarela de pagos"
387
388
#: adminpages/admin_header.php:38
@@ -2535,7 +2535,7 @@ msgid "Checkout: Payment Information"
2535
msgstr "Checkout: Información de pago"
2536
2537
#: preheaders/checkout.php:109
2538
- msgid "Setup Your Account"
2539
msgstr "Configura tu cuenta"
2540
2541
#: preheaders/checkout.php:468
@@ -2570,7 +2570,7 @@ msgstr "Pago aceptado."
2570
2571
#: preheaders/checkout.php:691
2572
msgid ""
2573
- "Unknown error generating account. Please contact us to setup your membership."
2574
msgstr ""
2575
"Error desconocido generando tu cuenta. Por favor contactanos para que "
2576
"podamos configurar tu membresía."
@@ -2612,14 +2612,14 @@ msgstr ""
2612
#: preheaders/checkout.php:1001
2613
#, php-format
2614
msgid ""
2615
- "You must <a href=\"%s\">setup a Payment Gateway</a> before any payments will "
2616
"be processed."
2617
msgstr ""
2618
"Debes <a href=\"%s\">Configurar una pasarela de pagos</a> antes de poder "
2619
"procesar pagos."
2620
2621
#: preheaders/checkout.php:1003
2622
- msgid "A Payment Gateway must be setup before any payments will be processed."
2623
msgstr ""
2624
"Una pasarela de pagos debe de ser configurada antes de que los pagos puedan "
2625
"ser procesados."
378
msgstr "Añade un nivel de membresía para comenzar."
379
380
#: adminpages/admin_header.php:27
381
+ msgid "Set up the membership pages"
382
msgstr "Configura las paginas de membresía"
383
384
#: adminpages/admin_header.php:29
385
+ msgid "Set up your SSL certificate and payment gateway"
386
msgstr "Configura tu certificado SSL y tu pasarela de pagos"
387
388
#: adminpages/admin_header.php:38
2535
msgstr "Checkout: Información de pago"
2536
2537
#: preheaders/checkout.php:109
2538
+ msgid "Set up Your Account"
2539
msgstr "Configura tu cuenta"
2540
2541
#: preheaders/checkout.php:468
2570
2571
#: preheaders/checkout.php:691
2572
msgid ""
2573
+ "Unknown error generating account. Please contact us to set up your membership."
2574
msgstr ""
2575
"Error desconocido generando tu cuenta. Por favor contactanos para que "
2576
"podamos configurar tu membresía."
2612
#: preheaders/checkout.php:1001
2613
#, php-format
2614
msgid ""
2615
+ "You must <a href=\"%s\">set up a Payment Gateway</a> before any payments will "
2616
"be processed."
2617
msgstr ""
2618
"Debes <a href=\"%s\">Configurar una pasarela de pagos</a> antes de poder "
2619
"procesar pagos."
2620
2621
#: preheaders/checkout.php:1003
2622
+ msgid "A Payment Gateway must be set up before any payments will be processed."
2623
msgstr ""
2624
"Una pasarela de pagos debe de ser configurada antes de que los pagos puedan "
2625
"ser procesados."
languages/pmpro-es_ES.mo CHANGED
Binary file
languages/pmpro-es_ES.po CHANGED
@@ -394,11 +394,11 @@ msgid "Add a membership level to get started."
394
msgstr "Añade un nivel de membresía para comenzar."
395
396
#: adminpages/admin_header.php:27
397
- msgid "Setup the membership pages"
398
msgstr "Configura las paginas de membresía"
399
400
#: adminpages/admin_header.php:29
401
- msgid "Setup your SSL certificate and payment gateway"
402
msgstr "Configura tu certificado SSL y tu pasarela de pagos"
403
404
#: adminpages/admin_header.php:38
@@ -2551,7 +2551,7 @@ msgid "Checkout: Payment Information"
2551
msgstr "Checkout: Información de pago"
2552
2553
#: preheaders/checkout.php:109
2554
- msgid "Setup Your Account"
2555
msgstr "Configura tu cuenta"
2556
2557
#: preheaders/checkout.php:468
@@ -2586,7 +2586,7 @@ msgstr "Pago aceptado."
2586
2587
#: preheaders/checkout.php:691
2588
msgid ""
2589
- "Unknown error generating account. Please contact us to setup your membership."
2590
msgstr ""
2591
"Error desconocido generando tu cuenta. Por favor contactanos para que "
2592
"podamos configurar tu membresía."
@@ -2628,14 +2628,14 @@ msgstr ""
2628
#: preheaders/checkout.php:1001
2629
#, php-format
2630
msgid ""
2631
- "You must <a href=\"%s\">setup a Payment Gateway</a> before any payments will "
2632
"be processed."
2633
msgstr ""
2634
"Debes <a href=\"%s\">Configurar una pasarela de pagos</a> antes de poder "
2635
"procesar pagos."
2636
2637
#: preheaders/checkout.php:1003
2638
- msgid "A Payment Gateway must be setup before any payments will be processed."
2639
msgstr ""
2640
"Una pasarela de pagos debe de ser configurada antes de que los pagos puedan "
2641
"ser procesados."
394
msgstr "Añade un nivel de membresía para comenzar."
395
396
#: adminpages/admin_header.php:27
397
+ msgid "Set up the membership pages"
398
msgstr "Configura las paginas de membresía"
399
400
#: adminpages/admin_header.php:29
401
+ msgid "Set up your SSL certificate and payment gateway"
402
msgstr "Configura tu certificado SSL y tu pasarela de pagos"
403
404
#: adminpages/admin_header.php:38
2551
msgstr "Checkout: Información de pago"
2552
2553
#: preheaders/checkout.php:109
2554
+ msgid "Set up Your Account"
2555
msgstr "Configura tu cuenta"
2556
2557
#: preheaders/checkout.php:468
2586
2587
#: preheaders/checkout.php:691
2588
msgid ""
2589
+ "Unknown error generating account. Please contact us to set up your membership."
2590
msgstr ""
2591
"Error desconocido generando tu cuenta. Por favor contactanos para que "
2592
"podamos configurar tu membresía."
2628
#: preheaders/checkout.php:1001
2629
#, php-format
2630
msgid ""
2631
+ "You must <a href=\"%s\">set up a Payment Gateway</a> before any payments will "
2632
"be processed."
2633
msgstr ""
2634
"Debes <a href=\"%s\">Configurar una pasarela de pagos</a> antes de poder "
2635
"procesar pagos."
2636
2637
#: preheaders/checkout.php:1003
2638
+ msgid "A Payment Gateway must be set up before any payments will be processed."
2639
msgstr ""
2640
"Una pasarela de pagos debe de ser configurada antes de que los pagos puedan "
2641
"ser procesados."
languages/pmpro-es_ES.pot CHANGED
@@ -378,11 +378,11 @@ msgid "Add a membership level to get started."
378
msgstr "Añade un nivel de membresía para comenzar."
379
380
#: adminpages/admin_header.php:27
381
- msgid "Setup the membership pages"
382
msgstr "Configura las paginas de membresía"
383
384
#: adminpages/admin_header.php:29
385
- msgid "Setup your SSL certificate and payment gateway"
386
msgstr "Configura tu certificado SSL y tu pasarela de pagos"
387
388
#: adminpages/admin_header.php:38
@@ -2535,7 +2535,7 @@ msgid "Checkout: Payment Information"
2535
msgstr "Checkout: Información de pago"
2536
2537
#: preheaders/checkout.php:109
2538
- msgid "Setup Your Account"
2539
msgstr "Configura tu cuenta"
2540
2541
#: preheaders/checkout.php:468
@@ -2570,7 +2570,7 @@ msgstr "Pago aceptado."
2570
2571
#: preheaders/checkout.php:691
2572
msgid ""
2573
- "Unknown error generating account. Please contact us to setup your membership."
2574
msgstr ""
2575
"Error desconocido generando tu cuenta. Por favor contactanos para que "
2576
"podamos configurar tu membresía."
@@ -2612,14 +2612,14 @@ msgstr ""
2612
#: preheaders/checkout.php:1001
2613
#, php-format
2614
msgid ""
2615
- "You must <a href=\"%s\">setup a Payment Gateway</a> before any payments will "
2616
"be processed."
2617
msgstr ""
2618
"Debes <a href=\"%s\">Configurar una pasarela de pagos</a> antes de poder "
2619
"procesar pagos."
2620
2621
#: preheaders/checkout.php:1003
2622
- msgid "A Payment Gateway must be setup before any payments will be processed."
2623
msgstr ""
2624
"Una pasarela de pagos debe de ser configurada antes de que los pagos puedan "
2625
"ser procesados."
378
msgstr "Añade un nivel de membresía para comenzar."
379
380
#: adminpages/admin_header.php:27
381
+ msgid "Set up the membership pages"
382
msgstr "Configura las paginas de membresía"
383
384
#: adminpages/admin_header.php:29
385
+ msgid "Set up your SSL certificate and payment gateway"
386
msgstr "Configura tu certificado SSL y tu pasarela de pagos"
387
388
#: adminpages/admin_header.php:38
2535
msgstr "Checkout: Información de pago"
2536
2537
#: preheaders/checkout.php:109
2538
+ msgid "Set up Your Account"
2539
msgstr "Configura tu cuenta"
2540
2541
#: preheaders/checkout.php:468
2570
2571
#: preheaders/checkout.php:691
2572
msgid ""
2573
+ "Unknown error generating account. Please contact us to set up your membership."
2574
msgstr ""
2575
"Error desconocido generando tu cuenta. Por favor contactanos para que "
2576
"podamos configurar tu membresía."
2612
#: preheaders/checkout.php:1001
2613
#, php-format
2614
msgid ""
2615
+ "You must <a href=\"%s\">set up a Payment Gateway</a> before any payments will "
2616
"be processed."
2617
msgstr ""
2618
"Debes <a href=\"%s\">Configurar una pasarela de pagos</a> antes de poder "
2619
"procesar pagos."
2620
2621
#: preheaders/checkout.php:1003
2622
+ msgid "A Payment Gateway must be set up before any payments will be processed."
2623
msgstr ""
2624
"Una pasarela de pagos debe de ser configurada antes de que los pagos puedan "
2625
"ser procesados."
languages/pmpro-es_PE.mo CHANGED
Binary file
languages/pmpro-es_PE.po CHANGED
@@ -378,11 +378,11 @@ msgid "Add a membership level to get started."
378
msgstr "Añade un nivel de membresía para comenzar."
379
380
#: adminpages/admin_header.php:27
381
- msgid "Setup the membership pages"
382
msgstr "Configura las paginas de membresía"
383
384
#: adminpages/admin_header.php:29
385
- msgid "Setup your SSL certificate and payment gateway"
386
msgstr "Configura tu certificado SSL y tu pasarela de pagos"
387
388
#: adminpages/admin_header.php:38
@@ -2535,7 +2535,7 @@ msgid "Checkout: Payment Information"
2535
msgstr "Checkout: Información de pago"
2536
2537
#: preheaders/checkout.php:109
2538
- msgid "Setup Your Account"
2539
msgstr "Configura tu cuenta"
2540
2541
#: preheaders/checkout.php:468
@@ -2570,7 +2570,7 @@ msgstr "Pago aceptado."
2570
2571
#: preheaders/checkout.php:691
2572
msgid ""
2573
- "Unknown error generating account. Please contact us to setup your membership."
2574
msgstr ""
2575
"Error desconocido generando tu cuenta. Por favor contactanos para que "
2576
"podamos configurar tu membresía."
@@ -2612,14 +2612,14 @@ msgstr ""
2612
#: preheaders/checkout.php:1001
2613
#, php-format
2614
msgid ""
2615
- "You must <a href=\"%s\">setup a Payment Gateway</a> before any payments will "
2616
"be processed."
2617
msgstr ""
2618
"Debes <a href=\"%s\">Configurar una pasarela de pagos</a> antes de poder "
2619
"procesar pagos."
2620
2621
#: preheaders/checkout.php:1003
2622
- msgid "A Payment Gateway must be setup before any payments will be processed."
2623
msgstr ""
2624
"Una pasarela de pagos debe de ser configurada antes de que los pagos puedan "
2625
"ser procesados."
378
msgstr "Añade un nivel de membresía para comenzar."
379
380
#: adminpages/admin_header.php:27
381
+ msgid "Set up the membership pages"
382
msgstr "Configura las paginas de membresía"
383
384
#: adminpages/admin_header.php:29
385
+ msgid "Set up your SSL certificate and payment gateway"
386
msgstr "Configura tu certificado SSL y tu pasarela de pagos"
387
388
#: adminpages/admin_header.php:38
2535
msgstr "Checkout: Información de pago"
2536
2537
#: preheaders/checkout.php:109
2538
+ msgid "Set up Your Account"
2539
msgstr "Configura tu cuenta"
2540
2541
#: preheaders/checkout.php:468
2570
2571
#: preheaders/checkout.php:691
2572
msgid ""
2573
+ "Unknown error generating account. Please contact us to set up your membership."
2574
msgstr ""
2575
"Error desconocido generando tu cuenta. Por favor contactanos para que "
2576
"podamos configurar tu membresía."
2612
#: preheaders/checkout.php:1001
2613
#, php-format
2614
msgid ""
2615
+ "You must <a href=\"%s\">set up a Payment Gateway</a> before any payments will "
2616
"be processed."
2617
msgstr ""
2618
"Debes <a href=\"%s\">Configurar una pasarela de pagos</a> antes de poder "
2619
"procesar pagos."
2620
2621
#: preheaders/checkout.php:1003
2622
+ msgid "A Payment Gateway must be set up before any payments will be processed."
2623
msgstr ""
2624
"Una pasarela de pagos debe de ser configurada antes de que los pagos puedan "
2625
"ser procesados."
languages/pmpro-fr_FR.mo CHANGED
Binary file
languages/pmpro-fr_FR.po CHANGED
@@ -45,11 +45,11 @@ msgid "Add a membership level to get started."
45
msgstr "Ajouter un niveau d'adhésion pour commencer."
46
47
#: adminpages/admin_header.php:27
48
- msgid "Setup the membership pages"
49
msgstr "Configurez les pages d'adhésion"
50
51
#: adminpages/admin_header.php:29
52
- msgid "Setup your SSL certificate and payment gateway"
53
msgstr "Configurez votre certificat SSL et la passerelle de paiement"
54
55
#: adminpages/admin_header.php:38
@@ -3066,7 +3066,7 @@ msgid "Checkout: Payment Information"
3066
msgstr "Vérification : conditions de vente"
3067
3068
#: preheaders/checkout.php:100
3069
- msgid "Setup Your Account"
3070
msgstr "Configurer votre compte"
3071
3072
#: preheaders/checkout.php:300
@@ -3106,7 +3106,7 @@ msgstr "Paiement accepté."
3106
3107
#: preheaders/checkout.php:509
3108
msgid ""
3109
- "Unknown error generating account. Please contact us to setup your membership."
3110
msgstr ""
3111
"Erreur inconnu lors de la génération du compte. S'il vous plaît contactez "
3112
"nous pour configurer votre adhésion."
@@ -3144,14 +3144,14 @@ msgstr ""
3144
#: preheaders/checkout.php:724
3145
#, php-format
3146
msgid ""
3147
- "You must <a href=\"%s\">setup a Payment Gateway</a> before any payments will "
3148
"be processed."
3149
msgstr ""
3150
"Vous devez <a href=\"%s\">configurer la passerelle de paiement</a> avant que "
3151
"les paiements soient traités."
3152
3153
#: preheaders/checkout.php:726
3154
- msgid "A Payment Gateway must be setup before any payments will be processed."
3155
msgstr ""
3156
"Une passerelle de paiement doit être configuré avant que les paiements "
3157
"puissent être traités."
45
msgstr "Ajouter un niveau d'adhésion pour commencer."
46
47
#: adminpages/admin_header.php:27
48
+ msgid "Set up the membership pages"
49
msgstr "Configurez les pages d'adhésion"
50
51
#: adminpages/admin_header.php:29
52
+ msgid "Set up your SSL certificate and payment gateway"
53
msgstr "Configurez votre certificat SSL et la passerelle de paiement"
54
55
#: adminpages/admin_header.php:38
3066
msgstr "Vérification : conditions de vente"
3067
3068
#: preheaders/checkout.php:100
3069
+ msgid "Set up Your Account"
3070
msgstr "Configurer votre compte"
3071
3072
#: preheaders/checkout.php:300
3106
3107
#: preheaders/checkout.php:509
3108
msgid ""
3109
+ "Unknown error generating account. Please contact us to set up your membership."
3110
msgstr ""
3111
"Erreur inconnu lors de la génération du compte. S'il vous plaît contactez "
3112
"nous pour configurer votre adhésion."
3144
#: preheaders/checkout.php:724
3145
#, php-format
3146
msgid ""
3147
+ "You must <a href=\"%s\">set up a Payment Gateway</a> before any payments will "
3148
"be processed."
3149
msgstr ""
3150
"Vous devez <a href=\"%s\">configurer la passerelle de paiement</a> avant que "
3151
"les paiements soient traités."
3152
3153
#: preheaders/checkout.php:726
3154
+ msgid "A Payment Gateway must be set up before any payments will be processed."
3155
msgstr ""
3156
"Une passerelle de paiement doit être configuré avant que les paiements "
3157
"puissent être traités."
languages/pmpro-it_IT.mo CHANGED
Binary file
languages/pmpro-it_IT.po CHANGED
@@ -34,11 +34,11 @@ msgid "Add a membership level to get started."
34
msgstr "Aggiungi un livello d'accesso per iniziare."
35
36
#: adminpages/admin_header.php:27
37
- msgid "Setup the membership pages"
38
msgstr "Configura le pagine dedicate alla membership."
39
40
#: adminpages/admin_header.php:29
41
- msgid "Setup your SSL certificate and payment gateway"
42
msgstr "Configura il tuo certificato SSL e il metodo di pagamento"
43
44
#: adminpages/admin_header.php:38
@@ -3332,7 +3332,7 @@ msgstr "Checkout: Informazione di Pagamento"
3332
3333
#: preheaders/checkout.php:100 preheaders/checkout.php:99
3334
#: preheaders/checkout.php:109
3335
- msgid "Setup Your Account"
3336
msgstr "Imposta il tuo conto"
3337
3338
#: preheaders/checkout.php:416
@@ -3387,7 +3387,7 @@ msgstr "Pagamento accettato"
3387
#: preheaders/checkout.php:691 preheaders/checkout.php:709
3388
#: preheaders/checkout.php:710
3389
msgid ""
3390
- "Unknown error generating account. Please contact us to setup your membership."
3391
msgstr ""
3392
"Errore sconosciuto creando il profilo. Contattaci per configurare la tua "
3393
"iscrizione."
@@ -3441,7 +3441,7 @@ msgstr ""
3441
#: preheaders/checkout.php:1063 preheaders/checkout.php:1064
3442
#, php-format
3443
msgid ""
3444
- "You must <a href=\"%s\">setup a Payment Gateway</a> before any payments will "
3445
"be processed."
3446
msgstr ""
3447
"E' necessario <a href=\"%s\">configurare un metodo di pagamento</a> prima "
@@ -3450,7 +3450,7 @@ msgstr ""
3450
#: preheaders/checkout.php:976 preheaders/checkout.php:969
3451
#: preheaders/checkout.php:1003 preheaders/checkout.php:1050
3452
#: preheaders/checkout.php:1065 preheaders/checkout.php:1066
3453
- msgid "A Payment Gateway must be setup before any payments will be processed."
3454
msgstr ""
3455
"E' necessario impostare un metodo di pagamento prima che qualunque pagamento "
3456
"possa essere effettuato."
34
msgstr "Aggiungi un livello d'accesso per iniziare."
35
36
#: adminpages/admin_header.php:27
37
+ msgid "Set up the membership pages"
38
msgstr "Configura le pagine dedicate alla membership."
39
40
#: adminpages/admin_header.php:29
41
+ msgid "Set up your SSL certificate and payment gateway"
42
msgstr "Configura il tuo certificato SSL e il metodo di pagamento"
43
44
#: adminpages/admin_header.php:38
3332
3333
#: preheaders/checkout.php:100 preheaders/checkout.php:99
3334
#: preheaders/checkout.php:109
3335
+ msgid "Set up Your Account"
3336
msgstr "Imposta il tuo conto"
3337
3338
#: preheaders/checkout.php:416
3387
#: preheaders/checkout.php:691 preheaders/checkout.php:709
3388
#: preheaders/checkout.php:710
3389
msgid ""
3390
+ "Unknown error generating account. Please contact us to set up your membership."
3391
msgstr ""
3392
"Errore sconosciuto creando il profilo. Contattaci per configurare la tua "
3393
"iscrizione."
3441
#: preheaders/checkout.php:1063 preheaders/checkout.php:1064
3442
#, php-format
3443
msgid ""
3444
+ "You must <a href=\"%s\">set up a Payment Gateway</a> before any payments will "
3445
"be processed."
3446
msgstr ""
3447
"E' necessario <a href=\"%s\">configurare un metodo di pagamento</a> prima "
3450
#: preheaders/checkout.php:976 preheaders/checkout.php:969
3451
#: preheaders/checkout.php:1003 preheaders/checkout.php:1050
3452
#: preheaders/checkout.php:1065 preheaders/checkout.php:1066
3453
+ msgid "A Payment Gateway must be set up before any payments will be processed."
3454
msgstr ""
3455
"E' necessario impostare un metodo di pagamento prima che qualunque pagamento "
3456
"possa essere effettuato."
languages/pmpro-nb_NO.mo CHANGED
Binary file
languages/pmpro-nb_NO.po CHANGED
@@ -52,12 +52,12 @@ msgstr "Legg til et medlemskap for å starte."
52
53
#: adminpages/admin_header.php:27
54
#@ pmpro
55
- msgid "Setup the membership pages"
56
msgstr "Oppsett for medlemskap-sidene"
57
58
#: adminpages/admin_header.php:29
59
#@ pmpro
60
- msgid "Setup your SSL certificate and payment gateway"
61
msgstr "Oppsett for SSL sertifikat og betalingsmåte"
62
63
#: adminpages/admin_header.php:38
@@ -3153,7 +3153,7 @@ msgstr ""
3153
3154
#: preheaders/checkout.php:109
3155
#@ pmpro
3156
- msgid "Setup Your Account"
3157
msgstr ""
3158
3159
#: preheaders/checkout.php:486
@@ -3195,7 +3195,7 @@ msgstr "Betaling er akseptert."
3195
3196
#: preheaders/checkout.php:710
3197
#@ pmpro
3198
- msgid "Unknown error generating account. Please contact us to setup your membership."
3199
msgstr "Det skjedde en ukjent feil når kontoen din skulle genereres. Ta kontakt med oss for å registrere medlemskapet ditt."
3200
3201
#: preheaders/checkout.php:754
@@ -3222,12 +3222,12 @@ msgstr ""
3222
#: preheaders/checkout.php:1064
3223
#, php-format
3224
#@ pmpro
3225
- msgid "You must <a href=\"%s\">setup a Payment Gateway</a> before any payments will be processed."
3226
msgstr ""
3227
3228
#: preheaders/checkout.php:1066
3229
#@ pmpro
3230
- msgid "A Payment Gateway must be setup before any payments will be processed."
3231
msgstr ""
3232
3233
#: scheduled/crons.php:31
52
53
#: adminpages/admin_header.php:27
54
#@ pmpro
55
+ msgid "Set up the membership pages"
56
msgstr "Oppsett for medlemskap-sidene"
57
58
#: adminpages/admin_header.php:29
59
#@ pmpro
60
+ msgid "Set up your SSL certificate and payment gateway"
61
msgstr "Oppsett for SSL sertifikat og betalingsmåte"
62
63
#: adminpages/admin_header.php:38
3153
3154
#: preheaders/checkout.php:109
3155
#@ pmpro
3156
+ msgid "Set up Your Account"
3157
msgstr ""
3158
3159
#: preheaders/checkout.php:486
3195
3196
#: preheaders/checkout.php:710
3197
#@ pmpro
3198
+ msgid "Unknown error generating account. Please contact us to set up your membership."
3199
msgstr "Det skjedde en ukjent feil når kontoen din skulle genereres. Ta kontakt med oss for å registrere medlemskapet ditt."
3200
3201
#: preheaders/checkout.php:754
3222
#: preheaders/checkout.php:1064
3223
#, php-format
3224
#@ pmpro
3225
+ msgid "You must <a href=\"%s\">set up a Payment Gateway</a> before any payments will be processed."
3226
msgstr ""
3227
3228
#: preheaders/checkout.php:1066
3229
#@ pmpro
3230
+ msgid "A Payment Gateway must be set up before any payments will be processed."
3231
msgstr ""
3232
3233
#: scheduled/crons.php:31
languages/pmpro-nl_NL.mo CHANGED
Binary file
languages/pmpro-nl_NL.po CHANGED
@@ -45,11 +45,11 @@ msgid "Add a membership level to get started."
45
msgstr "Word lid om te beginnen."
46
47
#: adminpages/admin_header.php:27
48
- msgid "Setup the membership pages"
49
msgstr "Maak de lidmaatschapspagina's op."
50
51
#: adminpages/admin_header.php:29
52
- msgid "Setup your SSL certificate and payment gateway"
53
msgstr "Zet de SSL certificaat en betaal gateway op"
54
55
#: adminpages/admin_header.php:38
@@ -3226,7 +3226,7 @@ msgid "Checkout: Payment Information"
3226
msgstr "Inschrijving: Betaalinformatie"
3227
3228
#: preheaders/checkout.php:109
3229
- msgid "Setup Your Account"
3230
msgstr "Stel je account in"
3231
3232
#: preheaders/checkout.php:486 preheaders/checkout.php:468
@@ -3269,7 +3269,7 @@ msgstr "Betaling geaccepteerd."
3269
#: preheaders/checkout.php:710 preheaders/checkout.php:691
3270
#: preheaders/checkout.php:709
3271
msgid ""
3272
- "Unknown error generating account. Please contact us to setup your membership."
3273
msgstr ""
3274
"Onbekende fout bij het maken van het account. Neem contact met ons op om je "
3275
"lidmaatschap in te stellen."
@@ -3317,7 +3317,7 @@ msgstr ""
3317
#: preheaders/checkout.php:1048 preheaders/checkout.php:1063
3318
#, php-format
3319
msgid ""
3320
- "You must <a href=\"%s\">setup a Payment Gateway</a> before any payments will "
3321
"be processed."
3322
msgstr ""
3323
"Je moet<a href=\"%s\">een Payment Gateway instellen</a> voordat betalingen "
@@ -3325,7 +3325,7 @@ msgstr ""
3325
3326
#: preheaders/checkout.php:1066 preheaders/checkout.php:1003
3327
#: preheaders/checkout.php:1050 preheaders/checkout.php:1065
3328
- msgid "A Payment Gateway must be setup before any payments will be processed."
3329
msgstr ""
3330
"Er moet een Payment Gateway ingesteld worden voordat betalingen doorgevoerd "
3331
"kunnen worden."
45
msgstr "Word lid om te beginnen."
46
47
#: adminpages/admin_header.php:27
48
+ msgid "Set up the membership pages"
49
msgstr "Maak de lidmaatschapspagina's op."
50
51
#: adminpages/admin_header.php:29
52
+ msgid "Set up your SSL certificate and payment gateway"
53
msgstr "Zet de SSL certificaat en betaal gateway op"
54
55
#: adminpages/admin_header.php:38
3226
msgstr "Inschrijving: Betaalinformatie"
3227
3228
#: preheaders/checkout.php:109
3229
+ msgid "Set up Your Account"
3230
msgstr "Stel je account in"
3231
3232
#: preheaders/checkout.php:486 preheaders/checkout.php:468
3269
#: preheaders/checkout.php:710 preheaders/checkout.php:691
3270
#: preheaders/checkout.php:709
3271
msgid ""
3272
+ "Unknown error generating account. Please contact us to set up your membership."
3273
msgstr ""
3274
"Onbekende fout bij het maken van het account. Neem contact met ons op om je "
3275
"lidmaatschap in te stellen."
3317
#: preheaders/checkout.php:1048 preheaders/checkout.php:1063
3318
#, php-format
3319
msgid ""
3320
+ "You must <a href=\"%s\">set up a Payment Gateway</a> before any payments will "
3321
"be processed."
3322
msgstr ""
3323
"Je moet<a href=\"%s\">een Payment Gateway instellen</a> voordat betalingen "
3325
3326
#: preheaders/checkout.php:1066 preheaders/checkout.php:1003
3327
#: preheaders/checkout.php:1050 preheaders/checkout.php:1065
3328
+ msgid "A Payment Gateway must be set up before any payments will be processed."
3329
msgstr ""
3330
"Er moet een Payment Gateway ingesteld worden voordat betalingen doorgevoerd "
3331
"kunnen worden."
languages/pmpro-pt_BR.mo CHANGED
Binary file
languages/pmpro-pt_BR.po CHANGED
@@ -384,11 +384,11 @@ msgid "Add a membership level to get started."
384
msgstr "Adicione um nível de usuário para começar."
385
386
#: adminpages/admin_header.php:27
387
- msgid "Setup the membership pages"
388
msgstr "Configure as páginas de assinatura"
389
390
#: adminpages/admin_header.php:29
391
- msgid "Setup your SSL certificate and payment gateway"
392
msgstr "Configure o seu Certificado SSL e Gateway de Pagamento"
393
394
#: adminpages/admin_header.php:38
@@ -2534,7 +2534,7 @@ msgid "Checkout: Payment Information"
2534
msgstr "Checkout: Informações de Pagamento"
2535
2536
#: preheaders/checkout.php:109
2537
- msgid "Setup Your Account"
2538
msgstr "Configure sua Conta"
2539
2540
#: preheaders/checkout.php:468
@@ -2569,7 +2569,7 @@ msgstr "Pagamento feito com sucesso."
2569
2570
#: preheaders/checkout.php:691
2571
msgid ""
2572
- "Unknown error generating account. Please contact us to setup your membership."
2573
msgstr ""
2574
"Erro desconhecido ao gerar sua conta. Por favor, entre em contato para "
2575
"fazermos as configurações da sua conta."
@@ -2611,14 +2611,14 @@ msgstr ""
2611
#: preheaders/checkout.php:1001
2612
#, php-format
2613
msgid ""
2614
- "You must <a href=\"%s\">setup a Payment Gateway</a> before any payments will "
2615
"be processed."
2616
msgstr ""
2617
"Você deve <a href=\"%s\">configurar um Gateway de Pagamento </a> antes para "
2618
"processar pagamentos."
2619
2620
#: preheaders/checkout.php:1003
2621
- msgid "A Payment Gateway must be setup before any payments will be processed."
2622
msgstr ""
2623
"Um Gateway de Pagamento deve ser configurado para qualquer pagamento ser "
2624
"processado."
384
msgstr "Adicione um nível de usuário para começar."
385
386
#: adminpages/admin_header.php:27
387
+ msgid "Set up the membership pages"
388
msgstr "Configure as páginas de assinatura"
389
390
#: adminpages/admin_header.php:29
391
+ msgid "Set up your SSL certificate and payment gateway"
392
msgstr "Configure o seu Certificado SSL e Gateway de Pagamento"
393
394
#: adminpages/admin_header.php:38
2534
msgstr "Checkout: Informações de Pagamento"
2535
2536
#: preheaders/checkout.php:109
2537
+ msgid "Set up Your Account"
2538
msgstr "Configure sua Conta"
2539
2540
#: preheaders/checkout.php:468
2569
2570
#: preheaders/checkout.php:691
2571
msgid ""
2572
+ "Unknown error generating account. Please contact us to set up your membership."
2573
msgstr ""
2574
"Erro desconhecido ao gerar sua conta. Por favor, entre em contato para "
2575
"fazermos as configurações da sua conta."
2611
#: preheaders/checkout.php:1001
2612
#, php-format
2613
msgid ""
2614
+ "You must <a href=\"%s\">set up a Payment Gateway</a> before any payments will "
2615
"be processed."
2616
msgstr ""
2617
"Você deve <a href=\"%s\">configurar um Gateway de Pagamento </a> antes para "
2618
"processar pagamentos."
2619
2620
#: preheaders/checkout.php:1003
2621
+ msgid "A Payment Gateway must be set up before any payments will be processed."
2622
msgstr ""
2623
"Um Gateway de Pagamento deve ser configurado para qualquer pagamento ser "
2624
"processado."
languages/pmpro-sk_SK.mo CHANGED
Binary file
languages/pmpro-sk_SK.po CHANGED
@@ -45,12 +45,12 @@ msgstr ""
45
46
# @ pmpro
47
#: adminpages/admin_header.php:27
48
- msgid "Setup the membership pages"
49
msgstr ""
50
51
# @ pmpro
52
#: adminpages/admin_header.php:29
53
- msgid "Setup your SSL certificate and payment gateway"
54
msgstr ""
55
56
# @ pmpro
@@ -3553,7 +3553,7 @@ msgstr "Pokladňa: Platobné informácie"
3553
3554
# @ pmpro
3555
#: preheaders/checkout.php:109
3556
- msgid "Setup Your Account"
3557
msgstr "Nastavenie vášho účtu"
3558
3559
# @ pmpro
@@ -3604,7 +3604,7 @@ msgstr "Platba prijatá."
3604
#: preheaders/checkout.php:710 preheaders/checkout.php:691
3605
#: preheaders/checkout.php:709
3606
msgid ""
3607
- "Unknown error generating account. Please contact us to setup your membership."
3608
msgstr ""
3609
"Neznáma chyba pri vytváraní účtu. Prosím, kontaktujte nás na nastavenie "
3610
"vášho členstva."
@@ -3657,7 +3657,7 @@ msgstr ""
3657
#: preheaders/checkout.php:1048 preheaders/checkout.php:1063
3658
#, php-format
3659
msgid ""
3660
- "You must <a href=\"%s\">setup a Payment Gateway</a> before any payments will "
3661
"be processed."
3662
msgstr ""
3663
"Musíte <a href=\"%s\"> nastaviť platobnú bránu</a> pred spracovaním "
@@ -3666,7 +3666,7 @@ msgstr ""
3666
# @ pmpro
3667
#: preheaders/checkout.php:1066 preheaders/checkout.php:1003
3668
#: preheaders/checkout.php:1050 preheaders/checkout.php:1065
3669
- msgid "A Payment Gateway must be setup before any payments will be processed."
3670
msgstr "Platobná brána musí byť nastavená pred spracovanám akejkoľvek platby."
3671
3672
# @ pmpro
45
46
# @ pmpro
47
#: adminpages/admin_header.php:27
48
+ msgid "Set up the membership pages"
49
msgstr ""
50
51
# @ pmpro
52
#: adminpages/admin_header.php:29
53
+ msgid "Set up your SSL certificate and payment gateway"
54
msgstr ""
55
56
# @ pmpro
3553
3554
# @ pmpro
3555
#: preheaders/checkout.php:109
3556
+ msgid "Set up Your Account"
3557
msgstr "Nastavenie vášho účtu"
3558
3559
# @ pmpro
3604
#: preheaders/checkout.php:710 preheaders/checkout.php:691
3605
#: preheaders/checkout.php:709
3606
msgid ""
3607
+ "Unknown error generating account. Please contact us to set up your membership."
3608
msgstr ""
3609
"Neznáma chyba pri vytváraní účtu. Prosím, kontaktujte nás na nastavenie "
3610
"vášho členstva."
3657
#: preheaders/checkout.php:1048 preheaders/checkout.php:1063
3658
#, php-format
3659
msgid ""
3660
+ "You must <a href=\"%s\">set up a Payment Gateway</a> before any payments will "
3661
"be processed."
3662
msgstr ""
3663
"Musíte <a href=\"%s\"> nastaviť platobnú bránu</a> pred spracovaním "
3666
# @ pmpro
3667
#: preheaders/checkout.php:1066 preheaders/checkout.php:1003
3668
#: preheaders/checkout.php:1050 preheaders/checkout.php:1065
3669
+ msgid "A Payment Gateway must be set up before any payments will be processed."
3670
msgstr "Platobná brána musí byť nastavená pred spracovanám akejkoľvek platby."
3671
3672
# @ pmpro
languages/pmpro.po CHANGED
@@ -40,11 +40,11 @@ msgid "Add a membership level to get started."
40
msgstr ""
41
42
#: adminpages/admin_header.php:27 adminpages/admin_header.php:27
43
- msgid "Setup the membership pages"
44
msgstr ""
45
46
#: adminpages/admin_header.php:29 adminpages/admin_header.php:29
47
- msgid "Setup your SSL certificate and payment gateway"
48
msgstr ""
49
50
#: adminpages/admin_header.php:38 adminpages/admin_header.php:38
@@ -4388,7 +4388,7 @@ msgstr ""
4388
#: preheaders/checkout.php:100 preheaders/checkout.php:99
4389
#: preheaders/checkout.php:100 preheaders/checkout.php:102
4390
#: preheaders/checkout.php:109
4391
- msgid "Setup Your Account"
4392
msgstr ""
4393
4394
#: preheaders/checkout.php:300 preheaders/checkout.php:300
@@ -4455,7 +4455,7 @@ msgstr ""
4455
#: preheaders/checkout.php:665 preheaders/checkout.php:691
4456
#: preheaders/checkout.php:709 preheaders/checkout.php:710
4457
msgid ""
4458
- "Unknown error generating account. Please contact us to setup your membership."
4459
msgstr ""
4460
4461
#: preheaders/checkout.php:569 preheaders/checkout.php:550
@@ -4501,7 +4501,7 @@ msgstr ""
4501
#: preheaders/checkout.php:1064
4502
#, php-format
4503
msgid ""
4504
- "You must <a href=\"%s\">setup a Payment Gateway</a> before any payments will "
4505
"be processed."
4506
msgstr ""
4507
@@ -4511,7 +4511,7 @@ msgstr ""
4511
#: preheaders/checkout.php:986 preheaders/checkout.php:1003
4512
#: preheaders/checkout.php:1050 preheaders/checkout.php:1065
4513
#: preheaders/checkout.php:1066
4514
- msgid "A Payment Gateway must be setup before any payments will be processed."
4515
msgstr ""
4516
4517
#: scheduled/crons.php:38 scheduled/crons.php:31 scheduled/crons.php:34
40
msgstr ""
41
42
#: adminpages/admin_header.php:27 adminpages/admin_header.php:27
43
+ msgid "Set up the membership pages"
44
msgstr ""
45
46
#: adminpages/admin_header.php:29 adminpages/admin_header.php:29
47
+ msgid "Set up your SSL certificate and payment gateway"
48
msgstr ""
49
50
#: adminpages/admin_header.php:38 adminpages/admin_header.php:38
4388
#: preheaders/checkout.php:100 preheaders/checkout.php:99
4389
#: preheaders/checkout.php:100 preheaders/checkout.php:102
4390
#: preheaders/checkout.php:109
4391
+ msgid "Set up Your Account"
4392
msgstr ""
4393
4394
#: preheaders/checkout.php:300 preheaders/checkout.php:300
4455
#: preheaders/checkout.php:665 preheaders/checkout.php:691
4456
#: preheaders/checkout.php:709 preheaders/checkout.php:710
4457
msgid ""
4458
+ "Unknown error generating account. Please contact us to set up your membership."
4459
msgstr ""
4460
4461
#: preheaders/checkout.php:569 preheaders/checkout.php:550
4501
#: preheaders/checkout.php:1064
4502
#, php-format
4503
msgid ""
4504
+ "You must <a href=\"%s\">set up a Payment Gateway</a> before any payments will "
4505
"be processed."
4506
msgstr ""
4507
4511
#: preheaders/checkout.php:986 preheaders/checkout.php:1003
4512
#: preheaders/checkout.php:1050 preheaders/checkout.php:1065
4513
#: preheaders/checkout.php:1066
4514
+ msgid "A Payment Gateway must be set up before any payments will be processed."
4515
msgstr ""
4516
4517
#: scheduled/crons.php:38 scheduled/crons.php:31 scheduled/crons.php:34
languages/pmpro.pot CHANGED
@@ -40,11 +40,11 @@ msgid "Add a membership level to get started."
40
msgstr ""
41
42
#: adminpages/admin_header.php:27 adminpages/admin_header.php:27
43
- msgid "Setup the membership pages"
44
msgstr ""
45
46
#: adminpages/admin_header.php:29 adminpages/admin_header.php:29
47
- msgid "Setup your SSL certificate and payment gateway"
48
msgstr ""
49
50
#: adminpages/admin_header.php:38 adminpages/admin_header.php:38
@@ -4388,7 +4388,7 @@ msgstr ""
4388
#: preheaders/checkout.php:100 preheaders/checkout.php:99
4389
#: preheaders/checkout.php:100 preheaders/checkout.php:102
4390
#: preheaders/checkout.php:109
4391
- msgid "Setup Your Account"
4392
msgstr ""
4393
4394
#: preheaders/checkout.php:300 preheaders/checkout.php:300
@@ -4455,7 +4455,7 @@ msgstr ""
4455
#: preheaders/checkout.php:665 preheaders/checkout.php:691
4456
#: preheaders/checkout.php:709 preheaders/checkout.php:710
4457
msgid ""
4458
- "Unknown error generating account. Please contact us to setup your membership."
4459
msgstr ""
4460
4461
#: preheaders/checkout.php:569 preheaders/checkout.php:550
@@ -4501,7 +4501,7 @@ msgstr ""
4501
#: preheaders/checkout.php:1064
4502
#, php-format
4503
msgid ""
4504
- "You must <a href=\"%s\">setup a Payment Gateway</a> before any payments will "
4505
"be processed."
4506
msgstr ""
4507
@@ -4511,7 +4511,7 @@ msgstr ""
4511
#: preheaders/checkout.php:986 preheaders/checkout.php:1003
4512
#: preheaders/checkout.php:1050 preheaders/checkout.php:1065
4513
#: preheaders/checkout.php:1066
4514
- msgid "A Payment Gateway must be setup before any payments will be processed."
4515
msgstr ""
4516
4517
#: scheduled/crons.php:38 scheduled/crons.php:31 scheduled/crons.php:34
40
msgstr ""
41
42
#: adminpages/admin_header.php:27 adminpages/admin_header.php:27
43
+ msgid "Set up the membership pages"
44
msgstr ""
45
46
#: adminpages/admin_header.php:29 adminpages/admin_header.php:29
47
+ msgid "Set up your SSL certificate and payment gateway"
48
msgstr ""
49
50
#: adminpages/admin_header.php:38 adminpages/admin_header.php:38
4388
#: preheaders/checkout.php:100 preheaders/checkout.php:99
4389
#: preheaders/checkout.php:100 preheaders/checkout.php:102
4390
#: preheaders/checkout.php:109
4391
+ msgid "Set up Your Account"
4392
msgstr ""
4393
4394
#: preheaders/checkout.php:300 preheaders/checkout.php:300
4455
#: preheaders/checkout.php:665 preheaders/checkout.php:691
4456
#: preheaders/checkout.php:709 preheaders/checkout.php:710
4457
msgid ""
4458
+ "Unknown error generating account. Please contact us to set up your membership."
4459
msgstr ""
4460
4461
#: preheaders/checkout.php:569 preheaders/checkout.php:550
4501
#: preheaders/checkout.php:1064
4502
#, php-format
4503
msgid ""
4504
+ "You must <a href=\"%s\">set up a Payment Gateway</a> before any payments will "
4505
"be processed."
4506
msgstr ""
4507
4511
#: preheaders/checkout.php:986 preheaders/checkout.php:1003
4512
#: preheaders/checkout.php:1050 preheaders/checkout.php:1065
4513
#: preheaders/checkout.php:1066
4514
+ msgid "A Payment Gateway must be set up before any payments will be processed."
4515
msgstr ""
4516
4517
#: scheduled/crons.php:38 scheduled/crons.php:31 scheduled/crons.php:34
pages/checkout.php CHANGED
@@ -667,7 +667,7 @@
667
<tr class="odd">
668
<td>
669
<div id="pmpro_license">
670
- <?php echo wpautop($tospage->post_content)?>
671
</div>
672
<input type="checkbox" name="tos" value="1" id="tos" /> <label class="pmpro_normal pmpro_clickable" for="tos"><?php printf(__('I agree to the %s', 'pmpro'), $tospage->post_title);?></label>
673
</td>
667
<tr class="odd">
668
<td>
669
<div id="pmpro_license">
670
+ <?php echo wpautop(do_shortcode($tospage->post_content));?>
671
</div>
672
<input type="checkbox" name="tos" value="1" id="tos" /> <label class="pmpro_normal pmpro_clickable" for="tos"><?php printf(__('I agree to the %s', 'pmpro'), $tospage->post_title);?></label>
673
</td>
paid-memberships-pro.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Paid Memberships Pro
4
Plugin URI: http://www.paidmembershipspro.com
5
Description: Plugin to Handle Memberships
6
- Version: 1.8.4.1
7
Author: Stranger Studios
8
Author URI: http://www.strangerstudios.com
9
*/
@@ -13,7 +13,7 @@ Author URI: http://www.strangerstudios.com
13
*/
14
15
//version constant
16
- define("PMPRO_VERSION", "1.8.4.1");
17
18
//if the session has been started yet, start it (ignore if running from command line)
19
if(defined('STDIN') )
3
Plugin Name: Paid Memberships Pro
4
Plugin URI: http://www.paidmembershipspro.com
5
Description: Plugin to Handle Memberships
6
+ Version: 1.8.4.2
7
Author: Stranger Studios
8
Author URI: http://www.strangerstudios.com
9
*/
13
*/
14
15
//version constant
16
+ define("PMPRO_VERSION", "1.8.4.2");
17
18
//if the session has been started yet, start it (ignore if running from command line)
19
if(defined('STDIN') )
preheaders/checkout.php CHANGED
@@ -97,7 +97,7 @@
97
$besecure = pmpro_getOption("use_ssl");
98
} else {
99
//no payment so we don't need ssl
100
- $pagetitle = __("Setup Your Account", 'pmpro');
101
$pmpro_requirebilling = false;
102
$besecure = false;
103
}
@@ -506,7 +506,7 @@
506
{
507
$pmpro_msg = $morder->error;
508
if (empty($pmpro_msg))
509
- $pmpro_msg = __("Unknown error generating account. Please contact us to setup your membership.", "pmpro");
510
$pmpro_msgt = "pmpro_error";
511
}
512
@@ -721,9 +721,9 @@
721
//show message if the payment gateway is not setup yet
722
if ($pmpro_requirebilling && !pmpro_getOption("gateway", true)) {
723
if (pmpro_isAdmin())
724
- $pmpro_msg = sprintf(__('You must <a href="%s">setup a Payment Gateway</a> before any payments will be processed.', 'pmpro'), get_admin_url(NULL, '/admin.php?page=pmpro-membershiplevels&view=payment'));
725
else
726
- $pmpro_msg = __("A Payment Gateway must be setup before any payments will be processed.", "pmpro");
727
$pmpro_msgt = "";
728
}
729
97
$besecure = pmpro_getOption("use_ssl");
98
} else {
99
//no payment so we don't need ssl
100
+ $pagetitle = __("Set Up Your Account", 'pmpro');
101
$pmpro_requirebilling = false;
102
$besecure = false;
103
}
506
{
507
$pmpro_msg = $morder->error;
508
if (empty($pmpro_msg))
509
+ $pmpro_msg = __("Unknown error generating account. Please contact us to set up your membership.", "pmpro");
510
$pmpro_msgt = "pmpro_error";
511
}
512
721
//show message if the payment gateway is not setup yet
722
if ($pmpro_requirebilling && !pmpro_getOption("gateway", true)) {
723
if (pmpro_isAdmin())
724
+ $pmpro_msg = sprintf(__('You must <a href="%s">set up a Payment Gateway</a> before any payments will be processed.', 'pmpro'), get_admin_url(NULL, '/admin.php?page=pmpro-membershiplevels&view=payment'));
725
else
726
+ $pmpro_msg = __("A Payment Gateway must be set up before any payments will be processed.", "pmpro");
727
$pmpro_msgt = "";
728
}
729
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: strangerstudios
3
Tags: memberships, membership, authorize.net, ecommerce, paypal, stripe, braintree, restrict access, restrict content, directory site, payflow
4
Requires at least: 3.5
5
Tested up to: 4.2.2
6
- Stable tag: 1.8.4.1
7
8
The easiest way to GET PAID with your WordPress site. Flexible content control by Membership Level, Reports, Affiliates and Discounts
9
@@ -102,6 +102,13 @@ Not sure? You can find out by doing a bit a research.
102
4. Offer Membership Discounts with specific price rules (restricted by level, unique pricing for each level, # of uses, expiration date.)
103
104
== Changelog ==
105
= 1.8.4.1 =
106
* BUG: Fixed issue introduced in 1.8.4 where levels wouldn't show up in the front end if they hadn't been reordered.
107
@@ -131,7 +138,7 @@ Not sure? You can find out by doing a bit a research.
131
* ENHANCEMENT: Added pmpro_account_bullets_top and pmpro_account_bullets_bottom hooks to add content to the accounts page.
132
* ENHANCEMENT: Added pmpro_get_recurring_payments_profile_details_nvpstr, pmpro_manage_recurring_payments_profile_status_nvpstr, pmpro_create_recurring_payments_profile_nvpstr, pmpro_do_express_checkout_payment_nvpstr, and pmpro_get_express_checkout_details_nvpstr hooks to filter specific nvp strings in the PayPal Express integration.
133
* ENHANCEMENT: Added labels to checkboxes in the dashboard settings pages.
134
- * ENHANCEMENT: Can now use the [pmpro_account] shortcode on other pages/widgets/etc. Can also limit to specific sections [pmpro_account sections='memberships,profile,invoices,links'] just remove sections from that list.
135
* ENHANCEMENT: Changed all uses of the global $table_prefix to use $wpdb->base_prefix to aid in compatibility when loading WordPress with other PHP code (e.g. phpBB). (Thanks, Dion)
136
* ENHANCEMENT: The notification script was updated to point to notifications.paidmembershipspro.com instead of www.paidmembershipspro.com/notifications/. This allows us to keep our notification script on a different server. This script is used to insert notifications into the PMPro admin pages when important updates are available.
137
3
Tags: memberships, membership, authorize.net, ecommerce, paypal, stripe, braintree, restrict access, restrict content, directory site, payflow
4
Requires at least: 3.5
5
Tested up to: 4.2.2
6
+ Stable tag: 1.8.4.2
7
8
The easiest way to GET PAID with your WordPress site. Flexible content control by Membership Level, Reports, Affiliates and Discounts
9
102
4. Offer Membership Discounts with specific price rules (restricted by level, unique pricing for each level, # of uses, expiration date.)
103
104
== Changelog ==
105
+ = 1.8.4.2 =
106
+ * BUG: Fixed bug where dropdown to set the account page in the page settings was showing up twice.
107
+ * BUG: Fixed warning in pmpro_account shortcode.
108
+ * BUG: Grammar fixes in admin pages. "Setup" changed to "Set Up" when used as a verb. (Thanks, sumobi on GitHub)
109
+ * ENHANCEMENT: If the option is set, terms of service page embedded on the checkout page will not be passed through do_shortcode so shortcodes get processed in the text. (Thanks, cliffordp on GitHub)
110
+ * ENHANCEMENT: The pmpro_account shortcode will now accept "membership" or "memberships" for the section name.
111
+
112
= 1.8.4.1 =
113
* BUG: Fixed issue introduced in 1.8.4 where levels wouldn't show up in the front end if they hadn't been reordered.
114
138
* ENHANCEMENT: Added pmpro_account_bullets_top and pmpro_account_bullets_bottom hooks to add content to the accounts page.
139
* ENHANCEMENT: Added pmpro_get_recurring_payments_profile_details_nvpstr, pmpro_manage_recurring_payments_profile_status_nvpstr, pmpro_create_recurring_payments_profile_nvpstr, pmpro_do_express_checkout_payment_nvpstr, and pmpro_get_express_checkout_details_nvpstr hooks to filter specific nvp strings in the PayPal Express integration.
140
* ENHANCEMENT: Added labels to checkboxes in the dashboard settings pages.
141
+ * ENHANCEMENT: Can now use the [pmpro_account] shortcode on other pages/widgets/etc. Can also limit to specific sections [pmpro_account sections='membership,profile,invoices,links'] just remove sections from that list.
142
* ENHANCEMENT: Changed all uses of the global $table_prefix to use $wpdb->base_prefix to aid in compatibility when loading WordPress with other PHP code (e.g. phpBB). (Thanks, Dion)
143
* ENHANCEMENT: The notification script was updated to point to notifications.paidmembershipspro.com instead of www.paidmembershipspro.com/notifications/. This allows us to keep our notification script on a different server. This script is used to insert notifications into the PMPro admin pages when important updates are available.
144
shortcodes/pmpro_account.php CHANGED
@@ -1,180 +1,180 @@
1
- <?php
2
- /*
3
- Shortcode to show membership account information
4
- */
5
- function pmpro_shortcode_account($atts, $content=null, $code="")
6
- {
7
- global $wpdb, $pmpro_msg, $pmpro_msgt, $pmpro_levels, $current_user, $levels;
8
-
9
- // $atts ::= array of attributes
10
- // $content ::= text within enclosing form of shortcode element
11
- // $code ::= the shortcode found, when == callback name
12
- // examples: [pmpro_account] [pmpro_account sections="membership,profile"/]
13
-
14
- extract(shortcode_atts(array(
15
- 'section' => '',
16
- 'sections' => 'membership,profile,invoices,links'
17
- ), $atts));
18
-
19
- //did they use 'section' instead of 'sections'?
20
- if(!empty($section))
21
- $sections = $section;
22
-
23
- //turn into an array
24
- $sections = explode(',', $sections);
25
-
26
- ob_start();
27
-
28
- //if a member is logged in, show them some info here (1. past invoices. 2. billing information with button to update.)
29
- if($current_user->membership_level->ID)
30
- {
31
- $ssorder = new MemberOrder();
32
- $ssorder->getLastMemberOrder();
33
- $invoices = $wpdb->get_results("SELECT *, UNIX_TIMESTAMP(timestamp) as timestamp FROM $wpdb->pmpro_membership_orders WHERE user_id = '$current_user->ID' ORDER BY timestamp DESC LIMIT 6");
34
- ?>
35
- <div id="pmpro_account">
36
-
37
- <?php if(in_array('membership', $sections)) { ?>
38
- <div id="pmpro_account-membership" class="pmpro_box">
39
-
40
- <h3><?php _e("My Memberships", "pmpro");?></h3>
41
- <table width="100%" cellpadding="0" cellspacing="0" border="0">
42
- <thead>
43
- <tr>
44
- <th><?php _e("Level", "pmpro");?></th>
45
- <th><?php _e("Billing", "pmpro"); ?></th>
46
- <th><?php _e("Expiration", "pmpro"); ?></th>
47
- </tr>
48
- </thead>
49
- <tbody>
50
- <?php
51
- //TODO: v2.0 will loop through levels here
52
- $level = $current_user->membership_level;
53
- ?>
54
- <tr>
55
- <td class="pmpro_account-membership-levelname">
56
- <?php echo $current_user->membership_level->name?>
57
- <div class="pmpro_actionlinks">
58
- <?php do_action("pmpro_member_action_links_before"); ?>
59
- <a href="<?php echo pmpro_url("checkout", "?level=" . $current_user->membership_level->id, "https")?>"><?php _e("Renew", "pmpro");?></a>
60
-
61
- <?php if((isset($ssorder->status) && $ssorder->status == "success") && (isset($ssorder->gateway) && in_array($ssorder->gateway, array("authorizenet", "paypal", "stripe", "braintree", "payflow", "cybersource")))) { ?>
62
- <a href="<?php echo pmpro_url("billing", "", "https")?>"><?php _e("Update Billing Info", "pmpro"); ?></a>
63
- <?php } ?>
64
-
65
- <?php
66
- //To do: Only show CHANGE link if this level is in a group that has upgrade/downgrade rules
67
- if(count($pmpro_levels) > 1 && !defined("PMPRO_DEFAULT_LEVEL")) { ?>
68
- <a href="<?php echo pmpro_url("levels")?>"><?php _e("Change", "pmpro");?></a>
69
- <?php } ?>
70
- <a href="<?php echo pmpro_url("cancel", "?level=" . $current_user->membership_level->id)?>"><?php _e("Cancel", "pmpro");?></a>
71
- <?php do_action("pmpro_member_action_links_after"); ?>
72
- </div> <!-- end pmpro_actionlinks -->
73
- </td>
74
- <td class="pmpro_account-membership-levelfee">
75
- <p><?php echo pmpro_getLevelCost($level, true, true);?></p>
76
- </td>
77
- <td class="pmpro_account-membership-expiration">
78
- <?php
79
- if($current_user->membership_level->enddate)
80
- echo date(get_option('date_format'), $current_user->membership_level->enddate);
81
- else
82
- echo "---";
83
- ?>
84
- </td>
85
- </tr>
86
- </tbody>
87
- </table>
88
- <?php //Todo: If there are multiple levels defined that aren't all in the same group defined as upgrades/downgrades ?>
89
- <div class="pmpro_actionlinks">
90
- <a href="<?php echo pmpro_url("levels")?>"><?php _e("View all Membership Options", "pmpro");?></a>
91
- </div>
92
-
93
- </div> <!-- end pmpro_account-membership -->
94
- <?php } ?>
95
-
96
- <?php if(in_array('profile', $sections)) { ?>
97
- <div id="pmpro_account-profile" class="pmpro_box">
98
- <?php get_currentuserinfo(); ?>
99
- <h3><?php _e("My Account", "pmpro");?></h3>
100
- <?php if($current_user->user_firstname) { ?>
101
- <p><?php echo $current_user->user_firstname?> <?php echo $current_user->user_lastname?></p>
102
- <?php } ?>
103
- <ul>
104
- <?php do_action('pmpro_account_bullets_top');?>
105
- <li><strong><?php _e("Username", "pmpro");?>:</strong> <?php echo $current_user->user_login?></li>
106
- <li><strong><?php _e("Email", "pmpro");?>:</strong> <?php echo $current_user->user_email?></li>
107
- <?php do_action('pmpro_account_bullets_bottom');?>
108
- </ul>
109
- <div class="pmpro_actionlinks">
110
- <a href="<?php echo admin_url('profile.php')?>"><?php _e("Edit Profile", "pmpro");?></a>
111
- <a href="<?php echo admin_url('profile.php')?>"><?php _e('Change Password', 'pmpro');?></a>
112
- </div>
113
- </div> <!-- end pmpro_account-profile -->
114
- <?php } ?>
115
-
116
- <?php if(in_array('invoices', $sections) && !empty($invoices)) { ?>
117
- <div id="pmpro_account-invoices" class="pmpro_box">
118
- <h3><?php _e("Past Invoices", "pmpro");?></h3>
119
- <table width="100%" cellpadding="0" cellspacing="0" border="0">
120
- <thead>
121
- <tr>
122
- <th><?php _e("Date", "pmpro"); ?></th>
123
- <th><?php _e("Level", "pmpro"); ?></th>
124
- <th><?php _e("Amount", "pmpro"); ?></th>
125
- </tr>
126
- </thead>
127
- <tbody>
128
- <?php
129
- $count = 0;
130
- foreach($invoices as $invoice)
131
- {
132
- if($count++ > 4)
133
- break;
134
-
135
- //get an member order object
136
- $invoice_id = $invoice->id;
137
- $invoice = new MemberOrder;
138
- $invoice->getMemberOrderByID($invoice_id);
139
- $invoice->getMembershipLevel();
140
- ?>
141
- <tr id="pmpro_account-invoice-<?php echo $invoice->code; ?>">
142
- <td><a href="<?php echo pmpro_url("invoice", "?invoice=" . $invoice->code)?>"><?php echo date(get_option("date_format"), $invoice->timestamp)?></td>
143
- <td><?php echo $invoice->membership_level->name?></td>
144
- <td><?php echo pmpro_formatPrice($invoice->total)?></td>
145
- </tr>
146
- <?php
147
- }
148
- ?>
149
- </tbody>
150
- </table>
151
- <?php if($count == 6) { ?>
152
- <div class="pmpro_actionlinks"><a href="<?php echo pmpro_url("invoice"); ?>"><?php _e("View All Invoices", "pmpro");?></a></div>
153
- <?php } ?>
154
- </div> <!-- end pmpro_account-invoices -->
155
- <?php } ?>
156
-
157
- <?php if(in_array('links', $sections) && (has_filter('pmpro_member_links_top') || has_filter('pmpro_member_links_bottom'))) { ?>
158
- <div id="pmpro_account-links" class="pmpro_box">
159
- <h3><?php _e("Member Links", "pmpro");?></h3>
160
- <ul>
161
- <?php
162
- do_action("pmpro_member_links_top");
163
- ?>
164
-
165
- <?php
166
- do_action("pmpro_member_links_bottom");
167
- ?>
168
- </ul>
169
- </div> <!-- end pmpro_account-links -->
170
- <?php } ?>
171
- </div> <!-- end pmpro_account -->
172
- <?php
173
- }
174
-
175
- $content = ob_get_contents();
176
- ob_end_clean();
177
-
178
- return $content;
179
- }
180
add_shortcode('pmpro_account', 'pmpro_shortcode_account');
1
+ <?php
2
+ /*
3
+ Shortcode to show membership account information
4
+ */
5
+ function pmpro_shortcode_account($atts, $content=null, $code="")
6
+ {
7
+ global $wpdb, $pmpro_msg, $pmpro_msgt, $pmpro_levels, $current_user, $levels;
8
+
9
+ // $atts ::= array of attributes
10
+ // $content ::= text within enclosing form of shortcode element
11
+ // $code ::= the shortcode found, when == callback name
12
+ // examples: [pmpro_account] [pmpro_account sections="membership,profile"/]
13
+
14
+ extract(shortcode_atts(array(
15
+ 'section' => '',
16
+ 'sections' => 'membership,profile,invoices,links'
17
+ ), $atts));
18
+
19
+ //did they use 'section' instead of 'sections'?
20
+ if(!empty($section))
21
+ $sections = $section;
22
+
23
+ //turn into an array
24
+ $sections = explode(',', $sections);
25
+
26
+ ob_start();
27
+
28
+ //if a member is logged in, show them some info here (1. past invoices. 2. billing information with button to update.)
29
+ if(pmpro_hasMembershipLevel())
30
+ {
31
+ $ssorder = new MemberOrder();
32
+ $ssorder->getLastMemberOrder();
33
+ $invoices = $wpdb->get_results("SELECT *, UNIX_TIMESTAMP(timestamp) as timestamp FROM $wpdb->pmpro_membership_orders WHERE user_id = '$current_user->ID' ORDER BY timestamp DESC LIMIT 6");
34
+ ?>
35
+ <div id="pmpro_account">
36
+
37
+ <?php if(in_array('membership', $sections) || in_array('memberships', $sections)) { ?>
38
+ <div id="pmpro_account-membership" class="pmpro_box">
39
+
40
+ <h3><?php _e("My Memberships", "pmpro");?></h3>
41
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
42
+ <thead>
43
+ <tr>
44
+ <th><?php _e("Level", "pmpro");?></th>
45
+ <th><?php _e("Billing", "pmpro"); ?></th>
46
+ <th><?php _e("Expiration", "pmpro"); ?></th>
47
+ </tr>
48
+ </thead>
49
+ <tbody>
50
+ <?php
51
+ //TODO: v2.0 will loop through levels here
52
+ $level = $current_user->membership_level;
53
+ ?>
54
+ <tr>
55
+ <td class="pmpro_account-membership-levelname">
56
+ <?php echo $current_user->membership_level->name?>
57
+ <div class="pmpro_actionlinks">
58
+ <?php do_action("pmpro_member_action_links_before"); ?>
59
+ <a href="<?php echo pmpro_url("checkout", "?level=" . $current_user->membership_level->id, "https")?>"><?php _e("Renew", "pmpro");?></a>
60
+
61
+ <?php if((isset($ssorder->status) && $ssorder->status == "success") && (isset($ssorder->gateway) && in_array($ssorder->gateway, array("authorizenet", "paypal", "stripe", "braintree", "payflow", "cybersource")))) { ?>
62
+ <a href="<?php echo pmpro_url("billing", "", "https")?>"><?php _e("Update Billing Info", "pmpro"); ?></a>
63
+ <?php } ?>
64
+
65
+ <?php
66
+ //To do: Only show CHANGE link if this level is in a group that has upgrade/downgrade rules
67
+ if(count($pmpro_levels) > 1 && !defined("PMPRO_DEFAULT_LEVEL")) { ?>
68
+ <a href="<?php echo pmpro_url("levels")?>"><?php _e("Change", "pmpro");?></a>
69
+ <?php } ?>
70
+ <a href="<?php echo pmpro_url("cancel", "?level=" . $current_user->membership_level->id)?>"><?php _e("Cancel", "pmpro");?></a>
71
+ <?php do_action("pmpro_member_action_links_after"); ?>
72
+ </div> <!-- end pmpro_actionlinks -->
73
+ </td>
74
+ <td class="pmpro_account-membership-levelfee">
75
+ <p><?php echo pmpro_getLevelCost($level, true, true);?></p>
76
+ </td>
77
+ <td class="pmpro_account-membership-expiration">
78
+ <?php
79
+ if($current_user->membership_level->enddate)
80
+ echo date(get_option('date_format'), $current_user->membership_level->enddate);
81
+ else
82
+ echo "---";
83
+ ?>
84
+ </td>
85
+ </tr>
86
+ </tbody>
87
+ </table>
88
+ <?php //Todo: If there are multiple levels defined that aren't all in the same group defined as upgrades/downgrades ?>
89
+ <div class="pmpro_actionlinks">
90
+ <a href="<?php echo pmpro_url("levels")?>"><?php _e("View all Membership Options", "pmpro");?></a>
91
+ </div>
92
+
93
+ </div> <!-- end pmpro_account-membership -->
94
+ <?php } ?>
95
+
96
+ <?php if(in_array('profile', $sections)) { ?>
97
+ <div id="pmpro_account-profile" class="pmpro_box">
98
+ <?php get_currentuserinfo(); ?>
99
+ <h3><?php _e("My Account", "pmpro");?></h3>
100
+ <?php if($current_user->user_firstname) { ?>
101
+ <p><?php echo $current_user->user_firstname?> <?php echo $current_user->user_lastname?></p>
102
+ <?php } ?>
103
+ <ul>
104
+ <?php do_action('pmpro_account_bullets_top');?>
105
+ <li><strong><?php _e("Username", "pmpro");?>:</strong> <?php echo $current_user->user_login?></li>
106
+ <li><strong><?php _e("Email", "pmpro");?>:</strong> <?php echo $current_user->user_email?></li>
107
+ <?php do_action('pmpro_account_bullets_bottom');?>
108
+ </ul>
109
+ <div class="pmpro_actionlinks">
110
+ <a href="<?php echo admin_url('profile.php')?>"><?php _e("Edit Profile", "pmpro");?></a>
111
+ <a href="<?php echo admin_url('profile.php')?>"><?php _e('Change Password', 'pmpro');?></a>
112
+ </div>
113
+ </div> <!-- end pmpro_account-profile -->
114
+ <?php } ?>
115
+
116
+ <?php if(in_array('invoices', $sections) && !empty($invoices)) { ?>
117
+ <div id="pmpro_account-invoices" class="pmpro_box">
118
+ <h3><?php _e("Past Invoices", "pmpro");?></h3>
119
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
120
+ <thead>
121
+ <tr>
122
+ <th><?php _e("Date", "pmpro"); ?></th>
123
+ <th><?php _e("Level", "pmpro"); ?></th>
124
+ <th><?php _e("Amount", "pmpro"); ?></th>
125
+ </tr>
126
+ </thead>
127
+ <tbody>
128
+ <?php
129
+ $count = 0;
130
+ foreach($invoices as $invoice)
131
+ {
132
+ if($count++ > 4)
133
+ break;
134
+
135
+ //get an member order object
136
+ $invoice_id = $invoice->id;
137
+ $invoice = new MemberOrder;
138
+ $invoice->getMemberOrderByID($invoice_id);
139
+ $invoice->getMembershipLevel();
140
+ ?>
141
+ <tr id="pmpro_account-invoice-<?php echo $invoice->code; ?>">
142
+ <td><a href="<?php echo pmpro_url("invoice", "?invoice=" . $invoice->code)?>"><?php echo date(get_option("date_format"), $invoice->timestamp)?></td>
143
+ <td><?php echo $invoice->membership_level->name?></td>
144
+ <td><?php echo pmpro_formatPrice($invoice->total)?></td>
145
+ </tr>
146
+ <?php
147
+ }
148
+ ?>
149
+ </tbody>
150
+ </table>
151
+ <?php if($count == 6) { ?>
152
+ <div class="pmpro_actionlinks"><a href="<?php echo pmpro_url("invoice"); ?>"><?php _e("View All Invoices", "pmpro");?></a></div>
153
+ <?php } ?>
154
+ </div> <!-- end pmpro_account-invoices -->
155
+ <?php } ?>
156
+
157
+ <?php if(in_array('links', $sections) && (has_filter('pmpro_member_links_top') || has_filter('pmpro_member_links_bottom'))) { ?>
158
+ <div id="pmpro_account-links" class="pmpro_box">
159
+ <h3><?php _e("Member Links", "pmpro");?></h3>
160
+ <ul>
161
+ <?php
162
+ do_action("pmpro_member_links_top");
163
+ ?>
164
+
165
+ <?php
166
+ do_action("pmpro_member_links_bottom");
167
+ ?>
168
+ </ul>
169
+ </div> <!-- end pmpro_account-links -->
170
+ <?php } ?>
171
+ </div> <!-- end pmpro_account -->
172
+ <?php
173
+ }
174
+
175
+ $content = ob_get_contents();
176
+ ob_end_clean();
177
+
178
+ return $content;
179
+ }
180
add_shortcode('pmpro_account', 'pmpro_shortcode_account');