SportsPress – Sports Club & League Manager - Version 2.5.10

Version Description

  • Fix - Date ranges not being applied to calendars.
Download this release

Release Info

Developer brianmiyaji
Plugin Icon 128x128 SportsPress – Sports Club & League Manager
Version 2.5.10
Comparing to
See all releases

Code changes from version 2.4.3 to 2.5.10

Files changed (145) hide show
  1. assets/css/admin.css +32 -5
  2. assets/css/dashboard.css +8 -1
  3. assets/css/icons.css +69 -11
  4. assets/css/menu.css +80 -15
  5. assets/css/sportspress-style.css +30 -0
  6. assets/css/sportspress.css +18 -1
  7. assets/fonts/sportspress.eot +0 -0
  8. assets/fonts/sportspress.svg +21 -6
  9. assets/fonts/sportspress.ttf +0 -0
  10. assets/fonts/sportspress.woff +0 -0
  11. assets/fonts/sportspress.woff2 +0 -0
  12. assets/images/welcome/screenshot-awards.png +0 -0
  13. assets/images/welcome/screenshot-better-career-totals.png +0 -0
  14. assets/images/welcome/screenshot-event-performance-importer.png +0 -0
  15. assets/images/welcome/screenshot-friendly-competitions.png +0 -0
  16. assets/images/welcome/screenshot-group-stages.png +0 -0
  17. assets/images/welcome/screenshot-membership-payments.png +0 -0
  18. assets/images/welcome/screenshot-officials.png +0 -0
  19. assets/images/welcome/screenshot-performance-icons.png +0 -0
  20. assets/images/welcome/screenshot-sponsor-levels.png +0 -0
  21. assets/images/welcome/screenshot-team-galleries.png +0 -0
  22. assets/images/welcome/screenshot-team-player-registration.png +0 -0
  23. assets/js/admin/sportspress-admin.js +15 -0
  24. assets/js/admin/widgets.js +15 -0
  25. assets/js/jquery.countdown.min.js +3 -3
  26. dummy-data/event-performance-sample.csv +9 -0
  27. dummy-data/officials-sample.csv +5 -0
  28. dummy-data/players-sample.csv +1 -1
  29. dummy-data/staff-sample.csv +1 -1
  30. dummy-data/teams-sample.csv +1 -1
  31. feeds/ical.php +7 -0
  32. includes/abstracts/abstract-sp-secondary-post.php +73 -0
  33. includes/admin/class-sp-admin-assets.php +3 -3
  34. includes/admin/class-sp-admin-importers.php +24 -2
  35. includes/admin/class-sp-admin-menus.php +8 -8
  36. includes/admin/class-sp-admin-permalink-settings.php +2 -2
  37. includes/admin/class-sp-admin-sample-data.php +2 -2
  38. includes/admin/class-sp-admin-setup-wizard.php +11 -5
  39. includes/admin/class-sp-admin-sports.php +3 -3
  40. includes/admin/class-sp-admin-taxonomies.php +67 -22
  41. includes/admin/class-sp-admin-welcome.php +101 -19
  42. includes/admin/class-sp-admin.php +26 -22
  43. includes/admin/importers/class-sp-event-importer.php +2 -2
  44. includes/admin/importers/class-sp-event-performance-importer.php +209 -0
  45. includes/admin/importers/class-sp-fixture-importer.php +2 -2
  46. includes/admin/importers/class-sp-importer.php +1 -1
  47. includes/admin/importers/class-sp-official-importer.php +117 -0
  48. includes/admin/importers/class-sp-player-importer.php +39 -7
  49. includes/admin/importers/class-sp-staff-importer.php +39 -7
  50. includes/admin/importers/class-sp-team-importer.php +40 -8
  51. includes/admin/post-types/class-sp-admin-cpt-calendar.php +3 -3
  52. includes/admin/post-types/class-sp-admin-cpt-event.php +35 -3
  53. includes/admin/post-types/class-sp-admin-cpt-list.php +3 -3
  54. includes/admin/post-types/class-sp-admin-cpt-official.php +52 -0
  55. includes/admin/post-types/class-sp-admin-cpt-player.php +11 -8
  56. includes/admin/post-types/class-sp-admin-cpt-staff.php +3 -3
  57. includes/admin/post-types/class-sp-admin-cpt-table.php +3 -3
  58. includes/admin/post-types/class-sp-admin-cpt-team.php +3 -3
  59. includes/admin/post-types/class-sp-admin-meta-boxes.php +1 -1
  60. includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php +2 -2
  61. includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php +22 -20
  62. includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php +34 -6
  63. includes/admin/post-types/meta-boxes/class-sp-meta-box-event-mode.php +2 -2
  64. includes/admin/post-types/meta-boxes/class-sp-meta-box-event-officials.php +75 -0
  65. includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php +69 -22
  66. includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php +13 -2
  67. includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php +57 -2
  68. includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php +5 -4
  69. includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php +10 -17
  70. includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-shortcode.php +2 -2
  71. includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php +40 -21
  72. includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php +49 -1
  73. includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php +4 -4
  74. includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php +2 -2
  75. includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php +2 -2
  76. includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php +2 -2
  77. includes/admin/settings/class-sp-settings-events.php +75 -38
  78. includes/admin/settings/class-sp-settings-general.php +44 -2
  79. includes/admin/settings/class-sp-settings-modules.php +5 -5
  80. includes/admin/settings/class-sp-settings-players.php +2 -2
  81. includes/admin/settings/class-sp-settings-status.php +2 -2
  82. includes/admin/settings/class-sp-settings-teams.php +12 -4
  83. includes/admin/sp-admin-functions.php +22 -2
  84. includes/admin/views/html-admin-page-status.php +1 -1
  85. includes/api/class-sp-rest-api.php +24 -1
  86. includes/api/class-sp-rest-players-controller.php +178 -0
  87. includes/api/class-sp-rest-posts-controller.php +53 -0
  88. includes/class-sp-ajax.php +13 -6
  89. includes/class-sp-calendar.php +88 -42
  90. includes/class-sp-event.php +67 -4
  91. includes/class-sp-frontend-scripts.php +2 -2
  92. includes/class-sp-install.php +4 -0
  93. includes/class-sp-league-table.php +45 -2
  94. includes/class-sp-modules.php +40 -1
  95. includes/class-sp-player-list.php +55 -95
  96. includes/class-sp-player.php +2 -2
  97. includes/class-sp-post-types.php +6 -6
  98. includes/class-sp-shortcodes.php +13 -1
  99. includes/class-sp-staff.php +43 -2
  100. includes/libraries/class-phpstack.php +1 -1
  101. includes/shortcodes/class-sp-shortcode-staff-profile.php +28 -0
  102. includes/shortcodes/class-sp-shortcode-staff.php +2 -2
  103. includes/sp-api-functions.php +19 -4
  104. includes/sp-conditional-functions.php +13 -1
  105. includes/sp-core-functions.php +95 -11
  106. includes/sp-template-functions.php +87 -1
  107. includes/sp-template-hooks.php +12 -4
  108. includes/widgets/class-sp-widget-countdown.php +23 -3
  109. includes/widgets/class-sp-widget-event-blocks.php +34 -7
  110. includes/widgets/class-sp-widget-event-calendar.php +35 -8
  111. includes/widgets/class-sp-widget-event-list.php +34 -7
  112. languages/sportspress.pot +2616 -1686
  113. license.txt +1 -1
  114. modules/sportspress-birthdays.php +4 -4
  115. modules/sportspress-calendars.php +4 -4
  116. modules/sportspress-icons.php +28 -7
  117. modules/sportspress-lazy-loading.php +37 -8
  118. modules/sportspress-officials.php +654 -0
  119. modules/sportspress-overview.php +4 -4
  120. modules/sportspress-tutorials.php +4 -4
  121. readme.txt +81 -2
  122. sportspress.php +11 -5
  123. templates/countdown.php +11 -2
  124. templates/event-blocks.php +28 -9
  125. templates/event-calendar.php +21 -6
  126. templates/event-list.php +64 -38
  127. templates/event-officials-list.php +35 -0
  128. templates/event-officials-table.php +43 -0
  129. templates/event-officials.php +44 -0
  130. templates/event-performance-table.php +49 -10
  131. templates/event-performance.php +5 -1
  132. templates/event-results.php +2 -2
  133. templates/event-staff.php +7 -6
  134. templates/league-table.php +13 -7
  135. templates/official-details.php +137 -0
  136. templates/player-details.php +2 -2
  137. templates/player-gallery.php +15 -2
  138. templates/player-list.php +29 -9
  139. templates/player-statistics-league.php +2 -2
  140. templates/staff-content.php +24 -0
  141. templates/staff-excerpt.php +24 -0
  142. templates/staff-header.php +25 -0
  143. templates/team-details.php +2 -2
  144. templates/team-staff.php +9 -6
  145. wpml-config.xml +3 -1
assets/css/admin.css CHANGED
@@ -40,6 +40,16 @@
40
  display: none;
41
  }
42
 
 
 
 
 
 
 
 
 
 
 
43
  #sp_videodiv .inside > fieldset > p:first-child {
44
  margin-top: 7px !important;
45
  }
@@ -157,6 +167,10 @@
157
  color: #888;
158
  }
159
 
 
 
 
 
160
  /* Settings */
161
  .sportspress table.form-table, .sportspress table.form-table .forminp-radio ul {
162
  margin: 0;
@@ -278,6 +292,7 @@ table.widefat.sp-data-table th,
278
  table.widefat.sp-data-table td {
279
  padding-right: 0;
280
  }
 
281
  table.widefat.sp-data-table th:last-child,
282
  table.widefat.sp-data-table td:last-child {
283
  padding-right: 10px;
@@ -286,9 +301,6 @@ table.widefat.sp-data-table td:last-child {
286
  table.widefat.sp-data-table td {
287
  line-height: 2;
288
  overflow: visible;
289
- }
290
-
291
- table.widefat.sp-data-table td:first-child {
292
  white-space: nowrap;
293
  }
294
 
@@ -315,6 +327,11 @@ table.widefat.sp-data-table input.small-text {
315
  min-width: 0;
316
  }
317
 
 
 
 
 
 
318
  table.widefat.sp-data-table input.name {
319
  min-width: 0;
320
  width: auto;
@@ -521,6 +538,18 @@ table.widefat.sp-sortable-table tbody tr .icon {
521
  -webkit-transition: none;
522
  }
523
 
 
 
 
 
 
 
 
 
 
 
 
 
524
  /* Paragraph */
525
  .sp-para {
526
  margin: 1em 0;
@@ -981,8 +1010,6 @@ table.sp-status-table td mark.yes {
981
  line-height: 1.5;
982
  }
983
  .sp-import-table .sp-delete-row {
984
- font-size: 16px;
985
- line-height: 1.5;
986
  color: #a00;
987
  }
988
  .sp-import-table .sp-delete-row:hover {
40
  display: none;
41
  }
42
 
43
+ .sp-add-new-h2 {
44
+ top: 0;
45
+ float: right;
46
+ }
47
+
48
+ .sp-tablenav-input {
49
+ height: 28px;
50
+ margin: 0 4px 0 0;
51
+ }
52
+
53
  #sp_videodiv .inside > fieldset > p:first-child {
54
  margin-top: 7px !important;
55
  }
167
  color: #888;
168
  }
169
 
170
+ .form-table td input.sp-number-input {
171
+ width: auto;
172
+ }
173
+
174
  /* Settings */
175
  .sportspress table.form-table, .sportspress table.form-table .forminp-radio ul {
176
  margin: 0;
292
  table.widefat.sp-data-table td {
293
  padding-right: 0;
294
  }
295
+
296
  table.widefat.sp-data-table th:last-child,
297
  table.widefat.sp-data-table td:last-child {
298
  padding-right: 10px;
301
  table.widefat.sp-data-table td {
302
  line-height: 2;
303
  overflow: visible;
 
 
 
304
  white-space: nowrap;
305
  }
306
 
327
  min-width: 0;
328
  }
329
 
330
+ table.widefat.sp-data-table input.tiny-text {
331
+ width: 25px;
332
+ min-width: 0;
333
+ }
334
+
335
  table.widefat.sp-data-table input.name {
336
  min-width: 0;
337
  width: auto;
538
  -webkit-transition: none;
539
  }
540
 
541
+ /* CodeMirror */
542
+
543
+ .sp-settings-section .CodeMirror {
544
+ border: 1px solid #ddd;
545
+ box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
546
+ }
547
+
548
+ .sp-settings-section .CodeMirror-gutters {
549
+ background: #f9f9f9;
550
+ border-color: #e1e1e1;
551
+ }
552
+
553
  /* Paragraph */
554
  .sp-para {
555
  margin: 1em 0;
1010
  line-height: 1.5;
1011
  }
1012
  .sp-import-table .sp-delete-row {
 
 
1013
  color: #a00;
1014
  }
1015
  .sp-import-table .sp-delete-row:hover {
assets/css/dashboard.css CHANGED
@@ -13,7 +13,9 @@
13
  #dashboard_right_now .sp_player-count a:before,
14
  #dashboard_right_now .sp_player-count span:before,
15
  #dashboard_right_now .sp_staff-count a:before,
16
- #dashboard_right_now .sp_staff-count span:before {
 
 
17
  font-family: 'sportspress';
18
  }
19
 
@@ -37,6 +39,11 @@
37
  content: "\f338";
38
  }
39
 
 
 
 
 
 
40
  #sportspress_dashboard_status .sp_status_list {
41
  overflow: hidden;
42
  margin: 0;
13
  #dashboard_right_now .sp_player-count a:before,
14
  #dashboard_right_now .sp_player-count span:before,
15
  #dashboard_right_now .sp_staff-count a:before,
16
+ #dashboard_right_now .sp_staff-count span:before,
17
+ #dashboard_right_now .sp_official-count a:before,
18
+ #dashboard_right_now .sp_official-count span:before {
19
  font-family: 'sportspress';
20
  }
21
 
39
  content: "\f338";
40
  }
41
 
42
+ #dashboard_right_now .sp_official-count a:before,
43
+ #dashboard_right_now .sp_official-count span:before {
44
+ content: "\f227";
45
+ }
46
+
47
  #sportspress_dashboard_status .sp_status_list {
48
  overflow: hidden;
49
  margin: 0;
assets/css/icons.css CHANGED
@@ -1,12 +1,12 @@
1
  /* SportsPress icons */
2
  @font-face {
3
  font-family: 'sportspress';
4
- src:url('../fonts/sportspress.eot?-76nsup');
5
- src:url('../fonts/sportspress.eot?#iefix-76nsup') format('embedded-opentype'),
6
- url('../fonts/sportspress.woff2?-76nsup') format('woff2'),
7
- url('../fonts/sportspress.ttf?-76nsup') format('truetype'),
8
- url('../fonts/sportspress.woff?-76nsup') format('woff'),
9
- url('../fonts/sportspress.svg?-76nsup#sportspress') format('svg');
10
  font-weight: normal;
11
  font-style: normal;
12
  }
@@ -30,24 +30,82 @@
30
  -moz-osx-font-smoothing: grayscale;
31
  }
32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  .sp-icon-baseball:before {
34
  content: "\e701";
35
  }
36
  .sp-icon-basketball:before {
37
  content: "\e602";
38
  }
 
 
 
39
  .sp-icon-cricketball:before {
40
  content: "\e604";
41
  }
42
- .sp-icon-soccerball:before {
43
- content: "\e700";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  .sp-icon-shoe:before {
46
  content: "\e800";
47
  }
48
  .sp-icon-card:before {
49
  content: "\e801";
50
  }
51
- .sp-icon-sub:before {
52
- content: "\f503";
53
- }
1
  /* SportsPress icons */
2
  @font-face {
3
  font-family: 'sportspress';
4
+ src:url('../fonts/sportspress.eot?ddphik');
5
+ src:url('../fonts/sportspress.eot?#iefixddphik') format('embedded-opentype'),
6
+ url('../fonts/sportspress.woff2?ddphik') format('woff2'),
7
+ url('../fonts/sportspress.ttf?ddphik') format('truetype'),
8
+ url('../fonts/sportspress.woff?ddphik') format('woff'),
9
+ url('../fonts/sportspress.svg?ddphik#sportspress') format('svg');
10
  font-weight: normal;
11
  font-style: normal;
12
  }
30
  -moz-osx-font-smoothing: grayscale;
31
  }
32
 
33
+ /* Performance Icons */
34
+ .sp-icon-sub:before {
35
+ content: "\f503";
36
+ }
37
+ .sp-icon-star-filled:before {
38
+ content: "\f155";
39
+ }
40
+ .sp-icon-update:before {
41
+ content: "\f113";
42
+ }
43
+ .sp-icon-undo:before {
44
+ content: "\f171";
45
+ }
46
+ .sp-icon-redo:before {
47
+ content: "\f172";
48
+ }
49
+ .sp-icon-marker:before {
50
+ content: "\f159";
51
+ }
52
+ .sp-icon-no:before {
53
+ content: "\f158";
54
+ }
55
+ .sp-icon-heart:before {
56
+ content: "\f487";
57
+ }
58
+
59
+ /* Performance Icons - Sports */
60
+ .sp-icon-soccerball:before {
61
+ content: "\e700";
62
+ }
63
  .sp-icon-baseball:before {
64
  content: "\e701";
65
  }
66
  .sp-icon-basketball:before {
67
  content: "\e602";
68
  }
69
+ .sp-icon-golfball:before {
70
+ content: "\e603";
71
+ }
72
  .sp-icon-cricketball:before {
73
  content: "\e604";
74
  }
75
+ .sp-icon-bowling:before {
76
+ content: "\e605";
77
+ }
78
+ .sp-icon-ice-hockey:before {
79
+ content: "\e606";
80
+ }
81
+ .sp-icon-football:before {
82
+ content: "\e607";
83
+ }
84
+ .sp-icon-poolball:before {
85
+ content: "\e608";
86
+ }
87
+ .sp-icon-table-tennis:before {
88
+ content: "\e609";
89
+ }
90
+ .sp-icon-tennis:before {
91
+ content: "\e610";
92
  }
93
+ .sp-icon-racing-flag:before {
94
+ content: "\e611";
95
+ }
96
+
97
+ /* Performance Icons - Sports (Alt) */
98
+ .sp-icon-soccerball-alt:before {
99
+ content: "\e600";
100
+ }
101
+ .sp-icon-baseball-alt:before {
102
+ content: "\e601";
103
+ }
104
+
105
+ /* Performance Icons - Misc */
106
  .sp-icon-shoe:before {
107
  content: "\e800";
108
  }
109
  .sp-icon-card:before {
110
  content: "\e801";
111
  }
 
 
 
assets/css/menu.css CHANGED
@@ -1,12 +1,12 @@
1
  /* SportsPress menu styles */
2
  @font-face {
3
  font-family: 'sportspress';
4
- src:url('../fonts/sportspress.eot?wwkd2y');
5
- src:url('../fonts/sportspress.eot?#iefixwwkd2y') format('embedded-opentype'),
6
- url('../fonts/sportspress.woff2?wwkd2y') format('woff2'),
7
- url('../fonts/sportspress.ttf?wwkd2y') format('truetype'),
8
- url('../fonts/sportspress.woff?wwkd2y') format('woff'),
9
- url('../fonts/sportspress.svg?wwkd2y#sportspress') format('svg');
10
  font-weight: normal;
11
  font-style: normal;
12
  }
@@ -48,6 +48,9 @@
48
  .sp-icon-bracket-center:before {
49
  content: "\f181"
50
  }
 
 
 
51
  .sp-icon-calculator:before {
52
  content: "\f108";
53
  }
@@ -155,13 +158,43 @@
155
  .sp-icon-user-scores:before {
156
  content: "\f101";
157
  }
 
 
 
158
  .sp-icon-wordpay:before {
159
  content: "\f526";
160
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161
 
162
- /* Performance Icons */
163
- .sp-icon-card:before {
164
- content: "\e801";
165
  }
166
  .sp-icon-baseball:before {
167
  content: "\e701";
@@ -169,20 +202,51 @@
169
  .sp-icon-basketball:before {
170
  content: "\e602";
171
  }
 
 
 
172
  .sp-icon-cricketball:before {
173
  content: "\e604";
174
  }
175
- .sp-icon-golfball:before {
176
- content: "\e603";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
177
  }
 
 
 
 
 
178
  .sp-icon-shoe:before {
179
  content: "\e800";
180
  }
181
- .sp-icon-soccerball:before {
182
- content: "\e700";
183
  }
184
- .sp-icon-sub:before {
185
- content: "\f503";
186
  }
187
 
188
  #adminmenu #toplevel_page_sportspress .toplevel_page_sportspress div.wp-menu-image:before,
@@ -191,6 +255,7 @@
191
  #adminmenu #menu-posts-sp_team .menu-icon-sp_team div.wp-menu-image:before,
192
  #adminmenu #menu-posts-sp_player .menu-icon-sp_player div.wp-menu-image:before,
193
  #adminmenu #menu-posts-sp_staff .menu-icon-sp_staff div.wp-menu-image:before,
 
194
  #sp_formatdiv #post-formats-select .post-format-icon:before,
195
  #sp_modediv #post-formats-select .post-format-icon:before {
196
  font-family: sportspress, dashicons;
1
  /* SportsPress menu styles */
2
  @font-face {
3
  font-family: 'sportspress';
4
+ src:url('../fonts/sportspress.eot?ddphik');
5
+ src:url('../fonts/sportspress.eot?#iefixddphik') format('embedded-opentype'),
6
+ url('../fonts/sportspress.woff2?ddphik') format('woff2'),
7
+ url('../fonts/sportspress.ttf?ddphik') format('truetype'),
8
+ url('../fonts/sportspress.woff?ddphik') format('woff'),
9
+ url('../fonts/sportspress.svg?ddphik#sportspress') format('svg');
10
  font-weight: normal;
11
  font-style: normal;
12
  }
48
  .sp-icon-bracket-center:before {
49
  content: "\f181"
50
  }
51
+ .sp-icon-buddypress:before {
52
+ content: "\f507";
53
+ }
54
  .sp-icon-calculator:before {
55
  content: "\f108";
56
  }
158
  .sp-icon-user-scores:before {
159
  content: "\f101";
160
  }
161
+ .sp-icon-woo:before {
162
+ content: "\f174";
163
+ }
164
  .sp-icon-wordpay:before {
165
  content: "\f526";
166
  }
167
+ .sp-icon-yoast:before {
168
+ content: "\f179";
169
+ }
170
+ .sp-icon-sub:before {
171
+ content: "\f503";
172
+ }
173
+ .sp-icon-star-filled:before {
174
+ content: "\f155";
175
+ }
176
+ .sp-icon-update:before {
177
+ content: "\f113";
178
+ }
179
+ .sp-icon-undo:before {
180
+ content: "\f171";
181
+ }
182
+ .sp-icon-redo:before {
183
+ content: "\f172";
184
+ }
185
+ .sp-icon-marker:before {
186
+ content: "\f159";
187
+ }
188
+ .sp-icon-no:before {
189
+ content: "\f158";
190
+ }
191
+ .sp-icon-heart:before {
192
+ content: "\f487";
193
+ }
194
 
195
+ /* Performance Icons - Sports */
196
+ .sp-icon-soccerball:before {
197
+ content: "\e700";
198
  }
199
  .sp-icon-baseball:before {
200
  content: "\e701";
202
  .sp-icon-basketball:before {
203
  content: "\e602";
204
  }
205
+ .sp-icon-golfball:before {
206
+ content: "\e603";
207
+ }
208
  .sp-icon-cricketball:before {
209
  content: "\e604";
210
  }
211
+ .sp-icon-bowling:before {
212
+ content: "\e605";
213
+ }
214
+ .sp-icon-ice-hockey:before {
215
+ content: "\e606";
216
+ }
217
+ .sp-icon-football:before {
218
+ content: "\e607";
219
+ }
220
+ .sp-icon-poolball:before {
221
+ content: "\e608";
222
+ }
223
+ .sp-icon-table-tennis:before {
224
+ content: "\e609";
225
+ }
226
+ .sp-icon-tennis:before {
227
+ content: "\e610";
228
+ }
229
+ .sp-icon-racing-flag:before {
230
+ content: "\e611";
231
+ }
232
+
233
+ /* Performance Icons - Sports (Alt) */
234
+ .sp-icon-soccerball-alt:before {
235
+ content: "\e600";
236
  }
237
+ .sp-icon-baseball-alt:before {
238
+ content: "\e601";
239
+ }
240
+
241
+ /* Performance Icons - Misc */
242
  .sp-icon-shoe:before {
243
  content: "\e800";
244
  }
245
+ .sp-icon-card:before {
246
+ content: "\e801";
247
  }
248
+ .sp-icon-card:before {
249
+ content: "\e801";
250
  }
251
 
252
  #adminmenu #toplevel_page_sportspress .toplevel_page_sportspress div.wp-menu-image:before,
255
  #adminmenu #menu-posts-sp_team .menu-icon-sp_team div.wp-menu-image:before,
256
  #adminmenu #menu-posts-sp_player .menu-icon-sp_player div.wp-menu-image:before,
257
  #adminmenu #menu-posts-sp_staff .menu-icon-sp_staff div.wp-menu-image:before,
258
+ #adminmenu #menu-posts-sp_official .menu-icon-sp_official div.wp-menu-image:before,
259
  #sp_formatdiv #post-formats-select .post-format-icon:before,
260
  #sp_modediv #post-formats-select .post-format-icon:before {
261
  font-family: sportspress, dashicons;
assets/css/sportspress-style.css CHANGED
@@ -345,6 +345,20 @@
345
  text-decoration: none !important;
346
  }
347
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
348
  /* Event Lists */
349
 
350
  .sp-template-event-list .data-home {
@@ -672,9 +686,17 @@
672
  padding: 15px 5px !important;
673
  }
674
 
 
 
 
 
675
  .widget .sp-template-event-calendar tbody td {
676
  padding: 10px 5px !important;
677
  }
 
 
 
 
678
  }
679
 
680
  @media screen and (min-width: 801px) {
@@ -682,10 +704,18 @@
682
  padding: 20px 5px !important;
683
  }
684
 
 
 
 
 
685
  .widget .sp-template-event-calendar tbody td {
686
  padding: 10px 5px !important;
687
  }
688
 
 
 
 
 
689
  .sp-template-event-performance-icons.sp-template-event-performance-section:nth-child(2n) {
690
  padding-top: 61px !important;
691
  }
345
  text-decoration: none !important;
346
  }
347
 
348
+ .sp-template-event-calendar tbody td {
349
+ position: relative !important;
350
+ }
351
+
352
+ .sp-template-event-calendar tbody td a:before {
353
+ content: '•' !important;
354
+ position: absolute !important;
355
+ font-size: 20px !important;
356
+ line-height: 1 !important;
357
+ width: 1em !important;
358
+ top: 0 !important;
359
+ right: 0 !important;
360
+ }
361
+
362
  /* Event Lists */
363
 
364
  .sp-template-event-list .data-home {
686
  padding: 15px 5px !important;
687
  }
688
 
689
+ .sp-template-event-calendar tbody td a:before {
690
+ font-size: 25px !important;
691
+ }
692
+
693
  .widget .sp-template-event-calendar tbody td {
694
  padding: 10px 5px !important;
695
  }
696
+
697
+ .widget .sp-template-event-calendar tbody td a:before {
698
+ font-size: 20px !important;
699
+ }
700
  }
701
 
702
  @media screen and (min-width: 801px) {
704
  padding: 20px 5px !important;
705
  }
706
 
707
+ .sp-template-event-calendar tbody td a:before {
708
+ font-size: 30px !important;
709
+ }
710
+
711
  .widget .sp-template-event-calendar tbody td {
712
  padding: 10px 5px !important;
713
  }
714
 
715
+ .widget .sp-template-event-calendar tbody td a:before {
716
+ font-size: 20px !important;
717
+ }
718
+
719
  .sp-template-event-performance-icons.sp-template-event-performance-section:nth-child(2n) {
720
  padding-top: 61px !important;
721
  }
assets/css/sportspress.css CHANGED
@@ -217,6 +217,11 @@
217
  max-height: 2em;
218
  }
219
 
 
 
 
 
 
220
  /* Button */
221
  .sp-button {
222
  border: none;
@@ -288,6 +293,17 @@
288
  .sp-event-performance .sp-performance-icons {
289
  width: 25%;
290
  }
 
 
 
 
 
 
 
 
 
 
 
291
 
292
  /* Event Performance (Icons) */
293
  .sp-event-performance-teams .sp-template-event-performance-icons {
@@ -316,7 +332,8 @@
316
  .sp-event-calendar a {
317
  text-decoration: none;
318
  }
319
- .sp-event-calendar tbody td, .sp-event-calendar thead th {
 
320
  text-align: center;
321
  }
322
  .sp-event-calendar #next {
217
  max-height: 2em;
218
  }
219
 
220
+ /* Staff */
221
+ .sp-staff-role-delimiter {
222
+ margin: 0 0.125em;
223
+ }
224
+
225
  /* Button */
226
  .sp-button {
227
  border: none;
293
  .sp-event-performance .sp-performance-icons {
294
  width: 25%;
295
  }
296
+ .sp-event-performance .sp-event-star {
297
+ color: #f4d014;
298
+ }
299
+ .sp-event-performance .sp-event-star-number {
300
+ margin-left: -20px;
301
+ width: 20px;
302
+ text-align: center;
303
+ display: inline-block;
304
+ font-size: smaller;
305
+ line-height: 20px;
306
+ }
307
 
308
  /* Event Performance (Icons) */
309
  .sp-event-performance-teams .sp-template-event-performance-icons {
332
  .sp-event-calendar a {
333
  text-decoration: none;
334
  }
335
+ .sp-event-calendar tbody td,
336
+ .sp-event-calendar thead th {
337
  text-align: center;
338
  }
339
  .sp-event-calendar #next {
assets/fonts/sportspress.eot CHANGED
Binary file
assets/fonts/sportspress.svg CHANGED
@@ -7,16 +7,20 @@
7
  <font-face units-per-em="512" ascent="480" descent="-32" />
8
  <missing-glyph horiz-adv-x="512" />
9
  <glyph unicode="&#x20;" horiz-adv-x="256" d="" />
10
- <glyph unicode="&#xe600;" glyph-name="soccer" d="M256 6.4c-127.28 0-230.4 103.12-230.4 230.4s103.12 230.4 230.4 230.4 230.4-103.12 230.4-230.4-103.12-230.4-230.4-230.4zM401.040 381.84c-18.32 18.24-40.080 32.88-65.44 43.6s-51.84 16.16-79.6 16.16-54.24-5.36-79.6-16.16-47.2-25.28-65.44-43.6-32.88-40.080-43.6-65.44-16.16-51.84-16.16-79.6 5.36-54.24 16.16-79.6 25.28-47.2 43.6-65.44c18.32-18.24 40.080-32.88 65.44-43.6s51.84-16.16 79.6-16.16 54.24 5.36 79.6 16.16 47.2 25.36 65.44 43.6c18.24 18.32 32.88 40.080 43.6 65.44s16.16 51.84 16.16 79.6-5.36 54.24-16.16 79.6-25.36 47.2-43.6 65.44zM332.8 134.4l-25.6-64v-5.2c-16.8-5.040-33.84-7.6-51.2-7.6s-34.4 2.56-51.2 7.6v5.2l-25.6 64h-70c-18.96 27.2-29.44 57.2-31.6 90l50.4 38v76.8l-14 6.8c18.64 24 42.16 42.24 70.4 54.8l71.6-36 71.6 36c28.24-12.56 51.6-30.8 70-54.8l-13.6-6.8v-76.8l50.4-38c-2.16-32.8-12.64-62.8-31.6-90h-70zM256 300.8l-64-44 24.4-70.8h79.2l24.4 70.8-64 44z" />
11
- <glyph unicode="&#xe601;" glyph-name="baseball" d="M371.52 96.32c0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0-0.080 0.080-0.16 0.24-0.32 0.32 0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0-0.080 0.080-0.16 0.16-0.16 0.24 0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0s-0.080 0.080-0.080 0.080v0c0 0-0.080 0.080-0.080 0.080s0 0 0 0-0.080 0.080-0.080 0.080c0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0s0 0-0.080 0.080c0 0 0 0 0 0.080 0 0 0 0.080-0.080 0.080 0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0-0.080 0.080 0 0 0 0-0.080 0.080 0 0 0 0-0.080 0.080 0 0 0 0-0.080 0.080 0 0 0 0-0.080 0.080 0 0 0 0-0.080 0.080 0 0-0.080 0.080-0.080 0.080s0 0 0 0 0 0.080-0.080 0.080c0 0 0 0 0 0s0 0-0.080 0.080c0 0 0 0 0 0-0.080 0.080-0.16 0.16-0.16 0.24 0 0 0 0 0 0s0 0.080-0.080 0.080c0 0 0 0 0 0s0 0.080-0.080 0.080-0.080 0.080-0.16 0.16v0c0 0-0.080 0.080-0.080 0.080s0 0 0 0-0.080 0.080-0.080 0.080v0c-0.080 0.080-0.16 0.16-0.24 0.24 0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0-0.080 0.080-0.16 0.24-0.32 0.32v0c-0.88 0.96-1.76 2-2.56 2.96l5.36 4.48c-4.96 6-9.6 12.32-13.76 18.88l-6.48-4.32c-1.36 2-2.64 4.080-3.92 6.16v0c0 0 0 0.080-0.080 0.080 0 0 0 0 0 0-0.080 0.080-0.16 0.24-0.24 0.32 0 0 0 0 0 0s0 0.080-0.080 0.080c0 0 0 0 0 0 0 0.080-0.080 0.080-0.080 0.16 0 0 0 0 0 0s0 0.080 0 0.080c0 0 0 0 0 0.080 0 0 0 0.080 0 0.080s0 0 0 0.080c0 0 0 0 0 0.080 0 0 0 0.080-0.080 0.080 0 0 0 0.080-0.080 0.080 0 0 0 0.080 0 0.080s0 0 0 0.080c0 0 0 0 0 0.080 0 0 0 0 0 0.080 0 0 0 0.080-0.080 0.080 0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0s0 0.080-0.080 0.080c0 0 0 0 0 0s0 0.080-0.080 0.080c0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0s0 0.080-0.080 0.080c0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0.080-0.080 0.080-0.080 0.16 0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0-0.080 0.080-0.16 0.24-0.24 0.4 0 0 0 0 0 0 0 0.080-0.080 0.080-0.080 0.080s0 0 0 0c-0.080 0.16-0.16 0.24-0.24 0.4 0 0 0 0 0 0-2.96 4.96-5.68 10.080-8.16 15.36l7.52 3.6c-2.8 6.24-5.36 12.64-7.52 19.2l-7.92-2.72c-1.68 4.96-3.2 10-4.56 15.040 0 0 0 0 0 0 0 0.16-0.080 0.32-0.080 0.4 0 0 0 0 0 0 0 0.16-0.080 0.32-0.080 0.4 0 0 0 0 0 0 0 0.16-0.080 0.24-0.080 0.4 0 0 0 0 0 0 0 0.16-0.080 0.32-0.080 0.4 0 0 0 0 0 0 0 0.080 0 0.080 0 0.16 0 0 0 0 0 0 0 0.080-0.080 0.16-0.080 0.32 0 0 0 0 0 0 0 0.080 0 0.080 0 0.16 0 0 0 0 0 0 0 0.080-0.080 0.16-0.080 0.32 0 0 0 0 0 0 0 0.080 0 0.080 0 0.16 0 0 0 0 0 0 0 0.16-0.080 0.24-0.080 0.4 0 0 0 0 0 0 0 0.16-0.080 0.32-0.080 0.4 0 0 0 0 0 0 0 0.16-0.080 0.32-0.080 0.4 0 0 0 0 0 0 0 0.16-0.080 0.32-0.080 0.4 0 0 0 0 0 0 0 0.16-0.080 0.32-0.080 0.4 0 0 0 0 0 0-0.56 2.56-1.12 5.2-1.6 7.84l8.56 1.6c-1.12 6.48-1.92 13.040-2.4 19.68l-6.88-0.48v28.48l6.88-0.48c0.48 6.64 1.28 13.2 2.4 19.68l-8.56 1.6c0.48 2.64 1.040 5.28 1.6 7.84 0 0 0 0 0 0 0 0.16 0.080 0.32 0.080 0.4 0 0 0 0 0 0 0 0.16 0.080 0.32 0.080 0.4 0 0 0 0 0 0 0 0.16 0.080 0.32 0.080 0.4 0 0 0 0 0 0 0 0.16 0.080 0.32 0.080 0.4 0 0 0 0 0 0 0 0.16 0.080 0.24 0.080 0.4 0 0 0 0 0 0 0 0.080 0 0.080 0 0.16 0 0 0 0 0 0 0 0.080 0.080 0.16 0.080 0.32 0 0 0 0 0 0 0 0.080 0 0.080 0 0.16v0c0 0.080 0.080 0.16 0.080 0.32 0 0 0 0 0 0 0 0.080 0 0.080 0 0.16 0 0 0 0 0 0 0 0.16 0.080 0.32 0.080 0.4 0 0 0 0 0 0 0 0.16 0.080 0.24 0.080 0.4 0 0 0 0 0 0 0 0.16 0.080 0.32 0.080 0.4 0 0 0 0 0 0 0 0.16 0.080 0.32 0.080 0.4 0 0 0 0 0 0 1.28 5.12 2.8 10.16 4.56 15.040l7.92-2.72c2.16 6.56 4.64 12.96 7.52 19.2l-7.52 3.6c2.48 5.28 5.2 10.4 8.16 15.36 0 0 0 0 0 0 0.080 0.16 0.16 0.24 0.24 0.4 0 0 0 0 0 0 0 0.080 0.080 0.080 0.080 0.080s0 0 0 0c0.080 0.080 0.16 0.24 0.24 0.4 0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0 0 0.080 0.080 0.080 0.080 0.16v0c0 0 0.080 0.080 0.080 0.080s0 0 0 0 0 0.080 0.080 0.080c0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0s0 0.080 0.080 0.080c0 0 0 0 0 0s0 0.080 0.080 0.080c0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0s0 0.080 0.080 0.080c0 0 0 0 0 0.080 0 0 0 0.080 0 0.080s0 0 0 0.080c0 0 0 0.080 0 0.080s0 0.080 0.080 0.080c0 0 0 0.080 0.080 0.080 0 0 0 0 0 0.080 0 0 0 0 0 0.080 0 0 0 0.080 0 0.080s0 0 0 0.080c0 0 0 0.080 0 0.080s0 0 0 0c0 0.080 0.080 0.080 0.080 0.16 0 0 0 0 0 0s0 0.080 0.080 0.080c0 0 0 0 0 0 0.080 0.080 0.16 0.24 0.24 0.32 0 0 0 0 0 0s0 0.080 0.080 0.080v0c1.28 2.080 2.56 4.080 3.92 6.16l6.48-4.32c4.24 6.56 8.8 12.88 13.76 18.88l-5.36 4.48c0.88 1.040 1.68 2 2.56 2.96v0c0.080 0.080 0.16 0.24 0.32 0.32 0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0 0.080 0.080 0.16 0.16 0.24 0.24v0c0 0 0.080 0.080 0.080 0.080s0 0 0 0 0.080 0.080 0.080 0.080v0c0.080 0.080 0.080 0.080 0.16 0.16 0 0 0 0.080 0.080 0.080 0 0 0 0 0 0s0 0.080 0.080 0.080c0 0 0 0 0 0 0.080 0.080 0.16 0.16 0.16 0.24 0 0 0 0 0 0s0 0.080 0.080 0.080c0 0 0 0 0 0s0 0.080 0.080 0.080c0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0.080 0.080 0 0 0 0 0.080 0.080 0 0 0 0 0.080 0.080 0 0 0 0 0.080 0.080 0 0 0 0 0.080 0.080 0 0 0 0 0.080 0.080 0 0 0.080 0.080 0.080 0.080s0 0 0 0 0.080 0.080 0.080 0.080c0 0 0 0 0 0.080 0 0 0 0.080 0.080 0.080 0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0s0.080 0.080 0.080 0.080v0c0 0 0.080 0.080 0.080 0.080s0 0 0 0 0.080 0.080 0.080 0.080c0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0 0.080 0.080 0.16 0.16 0.16 0.24 0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0 0.080 0.080 0.16 0.24 0.32 0.32 0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0 3.44 3.68 7.040 7.2 10.72 10.64-33.76 30.56-77.92 48.4-126.24 48.4s-92.48-17.84-126.24-47.28c3.68-3.36 7.28-6.96 10.72-10.64 0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0 0.080-0.080 0.16-0.24 0.32-0.32 0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0 0.080-0.080 0.16-0.16 0.16-0.24 0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0s0.080-0.080 0.080-0.080v0c0 0 0.080-0.080 0.080-0.080s0 0 0 0 0.080-0.080 0.080-0.080c0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0s0-0.080 0.080-0.080c0 0 0 0 0-0.080 0 0 0.080-0.080 0.080-0.080s0 0 0 0 0.080-0.080 0.080-0.080c0 0 0 0 0.080-0.080 0 0 0 0 0.080-0.080 0 0 0 0 0.080-0.080 0 0 0 0 0.080-0.080 0 0 0 0 0.080-0.080 0 0 0 0 0.080-0.080 0 0 0.080-0.080 0.080-0.080s0 0 0 0 0-0.080 0.080-0.080c0 0 0 0 0 0s0-0.080 0.080-0.080c0 0 0 0 0 0 0.080-0.080 0.16-0.16 0.16-0.24 0 0 0 0 0 0s0-0.080 0.080-0.080c0 0 0 0 0 0s0-0.080 0.080-0.080v0c0.080-0.080 0.080-0.080 0.16-0.16v0c0 0 0.080-0.080 0.080-0.080s0 0 0 0 0.080-0.080 0.080-0.080v0c0.080-0.080 0.16-0.16 0.24-0.24 0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0 0.080-0.080 0.16-0.24 0.32-0.32v0c0.88-0.96 1.76-2 2.56-2.96l-5.36-4.48c4.96-6 9.6-12.32 13.76-18.88l6.48 4.32c1.36-2 2.64-4.080 3.92-6.16v0c0 0 0-0.080 0.080-0.080 0 0 0 0 0 0 0.080-0.080 0.16-0.24 0.24-0.32 0 0 0 0 0 0s0-0.080 0.080-0.080c0 0 0 0 0 0 0-0.080 0.080-0.080 0.080-0.16 0 0 0 0 0 0s0-0.080 0.080-0.080c0 0 0 0 0-0.080 0 0 0-0.080 0-0.080s0 0 0-0.080c0 0 0 0 0-0.080 0 0 0-0.080 0.080-0.080 0 0 0-0.080 0.080-0.080 0 0 0-0.080 0-0.080s0 0 0-0.080c0 0 0-0.080 0-0.080s0 0 0-0.080c0 0 0-0.080 0.080-0.080 0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0s0-0.080 0.080-0.080c0 0 0 0 0 0s0-0.080 0.080-0.080c0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0s0-0.080 0.080-0.080c0 0 0 0 0 0s0.080-0.080 0.080-0.080v0c0-0.080 0.080-0.080 0.080-0.16 0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0 0.080-0.080 0.16-0.24 0.24-0.4 0 0 0 0 0 0 0-0.080 0.080-0.080 0.080-0.080s0 0 0 0c0.080-0.16 0.16-0.24 0.24-0.4 0 0 0 0 0 0 2.96-4.96 5.68-10.080 8.16-15.36l-7.52-3.6c2.8-6.24 5.36-12.64 7.52-19.2l7.92 2.72c1.68-4.96 3.2-10 4.56-15.040 0 0 0 0 0 0 0-0.16 0.080-0.32 0.080-0.4 0 0 0 0 0 0 0-0.16 0.080-0.32 0.080-0.4 0 0 0 0 0 0 0-0.16 0.080-0.24 0.080-0.4 0 0 0 0 0 0 0-0.16 0.080-0.32 0.080-0.4 0 0 0 0 0 0 0-0.080 0-0.080 0-0.16 0 0 0 0 0 0 0-0.080 0.080-0.16 0.080-0.32v0c0-0.080 0-0.080 0-0.16 0 0 0 0 0 0 0-0.080 0.080-0.16 0.080-0.32 0 0 0 0 0 0 0-0.080 0-0.080 0-0.16 0 0 0 0 0 0 0-0.16 0.080-0.24 0.080-0.4 0 0 0 0 0 0 0-0.16 0.080-0.32 0.080-0.4 0 0 0 0 0 0 0-0.16 0.080-0.32 0.080-0.4 0 0 0 0 0 0 0-0.16 0.080-0.32 0.080-0.4 0 0 0 0 0 0 0-0.16 0.080-0.32 0.080-0.4 0 0 0 0 0 0 0.56-2.56 1.12-5.2 1.6-7.84l-8.56-1.6c1.12-6.48 1.92-13.040 2.4-19.68l6.88 0.48v-28.48l-6.88 0.48c-0.48-6.64-1.28-13.2-2.4-19.68l8.56-1.6c-0.48-2.64-1.040-5.28-1.6-7.84 0 0 0 0 0 0 0-0.16-0.080-0.32-0.080-0.4 0 0 0 0 0 0 0-0.16-0.080-0.32-0.080-0.4 0 0 0 0 0 0 0-0.16-0.080-0.32-0.080-0.4 0 0 0 0 0 0 0-0.16-0.080-0.32-0.080-0.4 0 0 0 0 0 0 0-0.16-0.080-0.32-0.080-0.4 0 0 0 0 0 0 0-0.080 0-0.080 0-0.16 0 0 0 0 0 0 0-0.080-0.080-0.16-0.080-0.32 0 0 0 0 0 0 0-0.080 0-0.080 0-0.16 0 0 0 0 0 0 0-0.080-0.080-0.16-0.080-0.32 0 0 0 0 0 0 0-0.080 0-0.080 0-0.16 0 0 0 0 0 0 0-0.16-0.080-0.32-0.080-0.4 0 0 0 0 0 0 0-0.16-0.080-0.32-0.080-0.4 0 0 0 0 0 0 0-0.16-0.080-0.32-0.080-0.4 0 0 0 0 0 0 0-0.16-0.080-0.32-0.080-0.4 0 0 0 0 0 0-1.28-5.12-2.8-10.16-4.56-15.040l-7.92 2.72c-2.16-6.56-4.64-12.96-7.52-19.2l7.52-3.6c-2.48-5.28-5.2-10.4-8.16-15.36 0 0 0 0 0 0-0.080-0.16-0.16-0.24-0.24-0.4 0 0 0 0 0 0 0-0.080-0.080-0.080-0.080-0.080s0 0 0 0c-0.080-0.080-0.16-0.24-0.24-0.4 0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0 0-0.080-0.080-0.080-0.080-0.16 0 0-0.080-0.080-0.080-0.080s0 0 0 0 0-0.080-0.080-0.080c0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0s0-0.080-0.080-0.080c0 0 0 0 0 0s0-0.080-0.080-0.080c0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0s0-0.080-0.080-0.080c0 0 0 0 0-0.080 0 0 0 0 0-0.080 0 0 0 0 0-0.080 0 0 0-0.080 0-0.080s0-0.080-0.080-0.080c0 0 0-0.080-0.080-0.080 0 0 0 0 0-0.080 0 0 0 0 0-0.080 0 0 0-0.080 0-0.080s0 0 0-0.080c0 0 0-0.080-0.080-0.080 0 0 0 0 0 0 0-0.080-0.080-0.080-0.080-0.16 0 0 0 0 0 0s0-0.080-0.080-0.080c0 0 0 0 0 0-0.080-0.080-0.16-0.24-0.24-0.32 0 0 0 0 0 0s0-0.080-0.080-0.080v0c-1.28-2.080-2.56-4.080-3.92-6.16l-6.48 4.32c-4.24-6.56-8.8-12.88-13.76-18.88l5.36-4.48c-0.88-1.040-1.68-2-2.56-2.96v0c-0.080-0.080-0.16-0.24-0.32-0.32 0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0-0.080-0.080-0.16-0.16-0.24-0.24v0c0 0-0.080-0.080-0.080-0.080s0 0 0 0-0.080-0.080-0.080-0.080v0c-0.080-0.080-0.080-0.080-0.16-0.16v0c0 0-0.080-0.080-0.080-0.080s0 0 0 0 0-0.080-0.080-0.080c0 0 0 0 0 0-0.080-0.080-0.16-0.16-0.16-0.24 0 0 0 0 0 0s0 0-0.080-0.080c0 0 0 0 0 0s0-0.080-0.080-0.080c0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0-0.080-0.080 0 0 0 0-0.080-0.080 0 0 0 0-0.080-0.080 0 0 0 0-0.080-0.080 0 0 0 0-0.080-0.080 0 0 0 0-0.080-0.080 0 0-0.080-0.080-0.080-0.080s0 0 0 0-0.080-0.080-0.080-0.080c0 0 0 0 0-0.080 0 0 0 0-0.080-0.080 0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0s-0.080-0.080-0.080-0.080v0c0 0-0.080-0.080-0.080-0.080s0 0 0 0-0.080-0.080-0.080-0.080c0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0-0.080-0.080-0.16-0.16-0.16-0.24 0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0-0.080-0.080-0.16-0.24-0.32-0.32 0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0-3.44-3.68-7.040-7.2-10.72-10.64 33.76-30.56 77.92-48.4 126.24-48.4s92.48 17.84 126.24 47.28c-3.76 3.44-7.28 6.96-10.72 10.64v0zM144.72 134l-6.8 4.56c4.56 6.72 8.64 13.92 12.080 21.28l6.96-3.28c0.64 1.36 1.2 2.72 1.76 4.080 1.92 4.56 3.68 9.2 5.2 13.84l-7.2 2.48c2.64 7.68 4.72 15.6 6.24 23.6l7.2-1.36c1.040 6.080 1.76 12.16 2.24 18.32l-7.2 0.56c0.32 4.080 0.4 8.16 0.4 12.24s-0.16 8.16-0.4 12.24l7.2 0.56c-0.4 6.16-1.2 12.32-2.24 18.32l-7.2-1.36c-1.44 8-3.6 15.92-6.24 23.6l7.2 2.48c-1.52 4.64-3.28 9.28-5.2 13.84-0.56 1.36-1.2 2.72-1.76 4.080l-6.96-3.28c-3.44 7.36-7.52 14.48-12.080 21.28l6.8 4.56c-3.92 6.16-8.24 12.080-12.96 17.76l-6.88-5.84c-4.72 5.6-9.84 10.96-15.28 15.84-28.48-33.28-45.6-76.64-45.6-124s17.12-90.72 45.52-124.16c5.44 4.96 10.56 10.24 15.28 15.84l6.88-5.84c4.8 5.68 9.12 11.6 13.040 17.76v0zM402.48 354.56c-5.44-4.96-10.56-10.24-15.28-15.84l-6.88 5.84c-4.72-5.68-9.040-11.6-12.96-17.76l6.8-4.56c-4.56-6.72-8.64-13.92-12.080-21.28l-6.96 3.28c-0.64-1.36-1.2-2.72-1.76-4.080-1.92-4.56-3.68-9.2-5.2-13.84l7.2-2.48c-2.64-7.68-4.72-15.6-6.24-23.6l-7.2 1.36c-1.040-6.080-1.76-12.16-2.24-18.32l7.2-0.56c-0.32-4.080-0.4-8.16-0.4-12.24s0.16-8.16 0.4-12.24l-7.2-0.56c0.4-6.16 1.2-12.32 2.24-18.32l7.2 1.36c1.44-8 3.6-15.92 6.24-23.6l-7.2-2.48c1.52-4.64 3.28-9.28 5.2-13.84 0.56-1.36 1.2-2.72 1.76-4.080l6.96 3.28c3.44-7.36 7.52-14.48 12.080-21.28l-6.8-4.56c3.92-6.16 8.24-12.080 12.96-17.76l6.88 5.84c4.72-5.6 9.84-10.96 15.28-15.84 28.4 33.44 45.52 76.8 45.52 124.16s-17.12 90.56-45.52 124z" />
12
  <glyph unicode="&#xe602;" glyph-name="basketball" d="M460.4 256c-2.8 42.080-19.12 80.4-44.64 110.72-3.040-2.56-5.92-5.28-8.72-8.16-27.76-27.76-44.32-63.84-47.28-102.56h100.64zM395.6 387.36c-30.8 27.12-70.4 44.56-114 47.44v-178.8h49.2c3.44 52.24 27.84 98.8 64.8 131.36zM130.64 358.56c-2.8 2.8-5.76 5.52-8.72 8.16-25.6-30.32-41.92-68.64-44.72-110.72h100.64c-2.96 38.8-19.44 74.8-47.2 102.56zM206.8 256h49.2v178.8c-43.6-2.88-83.2-20.24-114-47.44 36.96-32.56 61.36-79.12 64.8-131.36zM407.040 127.76c2.8-2.8 5.76-5.52 8.72-8.16 25.52 30.32 41.84 68.72 44.64 110.72h-100.72c3.040-38.72 19.52-74.72 47.36-102.56zM330.8 230.4h-49.2v-178.8c43.6 2.88 83.2 20.24 114 47.44-36.96 32.56-61.36 79.12-64.8 131.36zM77.2 230.4c2.8-42.080 19.040-80.4 44.64-110.72 3.040 2.56 5.92 5.28 8.72 8.16 27.76 27.76 44.32 63.84 47.28 102.64 0.080-0.080-100.64-0.080-100.64-0.080zM142 99.040c30.8-27.12 70.4-44.56 114-47.44v178.8h-49.2c-3.44-52.24-27.84-98.8-64.8-131.36z" />
13
- <glyph unicode="&#xe603;" glyph-name="golf" d="M383.6 282c0-14.080 11.52-25.6 25.6-25.6 0 0 0 0 0 0-8-19.12-19.44-36.48-33.6-51.2h-43.28c0-10.4 6.32-19.44 15.28-23.44-26.4-17.52-58-27.76-92.080-27.76s-65.68 10.24-92.080 27.76c8.96 4 15.28 12.96 15.28 23.44h-43.28c-14.16 14.72-25.6 32.080-33.6 51.2 0 0 0 0 0 0 14.080 0 25.6 11.52 25.6 25.6h-33.92c-2.88 12.32-4.48 25.2-4.48 38.4 0 91.92 74.48 166.4 166.4 166.4s166.4-74.48 166.4-166.4c0-13.2-1.52-26.080-4.48-38.4h-33.76zM306.8 256.4c14.080 0 25.6 11.52 25.6 25.6h-51.2c0-14.080 11.52-25.6 25.6-25.6zM255.6 179.6c14.080 0 25.6 11.52 25.6 25.6h-51.2c0-14.080 11.52-25.6 25.6-25.6zM204.4 256.4c14.080 0 25.6 11.52 25.6 25.6h-51.2c0-14.080 11.52-25.6 25.6-25.6zM153.2 333.2c14.080 0 25.6 11.52 25.6 25.6h-51.2c0-14.080 11.52-25.6 25.6-25.6zM178.8 435.6c0-14.080 11.52-25.6 25.6-25.6s25.6 11.52 25.6 25.6h-51.2zM230 358.8c0-14.080 11.52-25.6 25.6-25.6s25.6 11.52 25.6 25.6h-51.2zM281.2 435.6c0-14.080 11.52-25.6 25.6-25.6s25.6 11.52 25.6 25.6h-51.2zM332.4 358.8c0-14.080 11.52-25.6 25.6-25.6s25.6 11.52 25.6 25.6h-51.2zM310.88 136.48l-29.68-59.28v-102.4h-51.2v102.4l-29.68 59.28c17.52-5.28 36.080-8.080 55.28-8.080s37.76 2.88 55.28 8.080z" />
14
- <glyph unicode="&#xe604;" glyph-name="cricket" d="M233.44 26.88l226.080 226.080c6.56-59.68-13.040-121.6-58.72-167.36s-107.68-65.28-167.36-58.72zM151.92 53.92c-14.56 8.56-28.24 19.12-40.8 31.68-12.48 12.48-23.040 26.24-31.68 40.8l280.64 280.48c14.56-8.56 28.24-19.12 40.8-31.68 12.48-12.48 23.040-26.24 31.68-40.8l-280.64-280.48zM52.48 207.84c-6.56 59.68 12.96 121.68 58.72 167.36s107.68 65.28 167.36 58.72l-226.080-226.080zM309.040 428.24c9.12-2.48 18.16-5.52 26.96-9.28l-268.56-268.56c-3.76 8.8-6.8 17.84-9.28 26.96l250.88 250.88zM444.56 310.4c3.76-8.8 6.8-17.84 9.28-26.96l-250.88-250.88c-9.12 2.48-18.16 5.52-26.96 9.28l268.56 268.56z" />
15
  <glyph unicode="&#xe605;" glyph-name="bowling" d="M368.4 332.8c-6.64 10.64-10 23.44-10 38.4 0 12.24 3.36 21.76 10.24 28.4s16.16 10 28.16 10 21.44-3.36 28.16-10 10.24-16.16 10.24-28.4c0-14.96-3.36-27.76-10-38.4h-56.8zM382 281.6c1.36 4.8 2 9.040 2 12.8 0 4.56-0.56 8.8-1.6 12.8h28.8c-1.040-4-1.6-8.24-1.6-12.8 0-3.44 0.64-7.76 2-12.8h-29.6zM371.6 256h50.4c2.16-4.24 7.36-14 15.6-29.2s14.24-27.36 17.76-36.4 5.44-17.040 5.44-24c0-12-0.16-21.84-0.4-29.6s-0.96-18-2.24-30.8-3.36-23.84-6.56-32.96-7.2-16.48-12-21.76h-85.2c2.64 27.44 4 63.2 4 107.2 0 20.56-2.4 40.16-7.2 58.8 0.56 1.040 3.44 6.56 8.8 16.4 5.36 9.76 9.2 17.28 11.6 22.32zM204.8 25.6c-5.84 5.84-10.72 14.56-14.56 26.24s-6.48 25.36-7.84 41.2-2.24 28.56-2.56 38-0.64 21.2-0.64 35.36c0 8 1.84 16.64 5.6 26s9.76 21.040 18 35.2c8.24 14.16 13.6 23.6 16 28.4h74.4c2.4-4.56 7.76-13.92 16-28.16s14.24-26.080 18-35.36 5.6-18 5.6-26c0-14.16-0.16-25.92-0.64-35.36s-1.28-22.16-2.56-38-3.92-29.6-7.84-41.2-8.72-20.48-14.56-26.32h-102.4zM218.4 332.8c-2.96 5.040-5.2 9.36-6.8 12.8s-3.12 8.64-4.64 15.6-2.16 14.56-2.16 22.8c0 14.16 4.96 26.24 15.040 36.16s22 15.040 36.16 15.040c14.16 0 26.24-4.96 36.16-15.040s15.040-22 15.040-36.16c0-8.24-0.72-15.84-2.24-22.8s-3.040-12.16-4.64-15.6-3.84-7.76-6.8-12.8h-75.12zM157.6 51.2h-85.2c-4.8 5.36-8.8 12.64-12 21.76s-5.44 20.16-6.56 32.96-1.92 23.040-2.24 30.8-0.4 17.68-0.4 29.68c0 6.96 1.76 14.96 5.44 24s9.52 21.2 17.76 36.4 13.44 24.96 15.6 29.2h50.4c1.84-3.76 3.92-7.76 6.24-12s4.8-9.040 7.6-14.4c2.8-5.36 4.96-9.44 6.56-12.4-4.8-18.64-7.2-38.24-7.2-58.8 0-44.24 1.36-80 4-107.2zM100.4 281.6c1.36 4.8 2 9.040 2 12.8 0 4.56-0.56 8.8-1.6 12.8h28.8c-1.040-4-1.6-8.24-1.6-12.8 0-3.76 0.64-8 2-12.8h-29.6zM86.8 332.8c-6.64 10.64-10 23.44-10 38.4 0 12.24 3.36 21.76 10.24 28.4s16.16 10 28.16 10 21.44-3.36 28.16-10 10.24-16.16 10.24-28.4c0-14.96-3.36-27.76-10-38.4h-56.8zM228.8 281.6c1.040 4.8 1.6 9.040 1.6 12.8 0 4.56-0.4 8.8-1.2 12.8h53.6c-0.8-4-1.2-8.24-1.2-12.8 0-3.76 0.56-8 1.6-12.8h-54.4z" />
16
  <glyph unicode="&#xe606;" glyph-name="ice-hockey" d="M397.2 284.64l-104.24-210.56c-6.16-12.4-22.8-22.88-36.88-22.88h-153.76c-13.92 0-25.52 11.44-25.52 25.6v25.68c0 14.24 11.36 25.6 25.36 25.6h128.24l96.64 192.4 70.16-35.84zM408.56 307.52l38.080 76.64c6.96 14.080 1.44 31.12-12.56 38.16l-19.44 9.76c-13.92 7.040-30.88 1.52-37.76-12.24l-38.4-76.56 70.080-35.76zM166.4 179.2c21.2 0 38.4 17.2 38.4 38.4s-17.2 38.4-38.4 38.4-38.4-17.2-38.4-38.4c0-21.2 17.2-38.4 38.4-38.4v0z" />
17
  <glyph unicode="&#xe607;" glyph-name="football" d="M458.48 371.6c-3.36 30.48-30.8 57.92-61.28 61.28-82.8 9.12-190.080-6.32-263.68-80-73.6-73.6-89.040-180.96-79.92-263.68 3.36-30.48 30.8-57.92 61.28-61.28 82.72-9.12 190.080 6.32 263.68 79.92 73.6 73.68 89.040 180.96 79.92 263.76v0zM181.28 202.72c5.92 5.92 15.52 5.92 21.52 0l25.6-25.6c5.92-5.92 5.92-15.52 0-21.52-2.96-2.96-6.88-4.48-10.72-4.48s-7.76 1.52-10.72 4.48l-25.6 25.6c-6.080 6-6.080 15.6-0.080 21.52zM187.92 52.48c-23.2 11.76-44.64 27.28-63.6 46.24s-34.48 40.48-46.32 63.68c1.44 17.52 4.32 36.32 9.28 55.68 1.68 6.56 3.6 13.040 5.68 19.36 7.52-42.080 27.68-80.72 58.48-111.6 30.8-30.8 69.52-50.96 111.52-58.48-26.8-8.8-52.88-13.040-75.040-14.88zM279.52 206.88c-2.96-2.96-6.88-4.48-10.72-4.48s-7.76 1.52-10.72 4.48l-25.6 25.6c-5.92 5.92-5.92 15.52 0 21.52 5.92 5.92 15.6 5.92 21.52 0l25.6-25.6c5.92-6 5.92-15.6-0.080-21.52zM330.72 258.080c-2.96-2.96-6.88-4.48-10.72-4.48s-7.76 1.52-10.72 4.48l-25.6 25.6c-5.92 5.92-5.92 15.52 0 21.52s15.52 5.92 21.52 0l25.6-25.6c5.92-6 5.92-15.6-0.080-21.52zM424.72 242.72c-1.68-6.56-3.6-13.040-5.68-19.36-7.52 42.080-27.68 80.72-58.48 111.6-30.8 30.8-69.52 50.96-111.52 58.48 26.8 8.8 52.88 13.040 75.040 14.88 23.2-11.76 44.64-27.28 63.6-46.24s34.48-40.48 46.32-63.68c-1.44-17.52-4.32-36.32-9.28-55.68v0z" />
18
- <glyph unicode="&#xe700;" glyph-name="goal" d="M335.6 419.040c25.36-10.72 47.12-25.36 65.44-43.6 18.24-18.24 32.8-40.080 43.6-65.44s16.16-51.84 16.16-79.6-5.44-54.24-16.16-79.6c-10.72-25.36-25.36-47.12-43.6-65.44-18.24-18.24-40.080-32.8-65.44-43.6s-51.84-16.16-79.6-16.16-54.24 5.44-79.6 16.16-47.12 25.36-65.44 43.6c-18.32 18.24-32.8 40.080-43.6 65.44s-16.16 51.84-16.16 79.6 5.44 54.24 16.16 79.6 25.36 47.12 43.6 65.44 40.080 32.8 65.44 43.6 51.84 16.16 79.6 16.16 54.24-5.44 79.6-16.16zM114 339.6l14-6.8v-76.8l-50.4-38c2.16-32.8 12.64-62.8 31.6-90h70l25.6-64v-5.2c16.8-5.040 33.84-7.6 51.2-7.6s34.4 2.56 51.2 7.6v5.2l25.6 64h70c18.96 27.2 29.44 57.2 31.6 90l-50.4 38v76.8l13.6 6.8c-18.4 24-41.76 42.24-70 54.8l-71.6-36-71.6 36c-28.24-12.56-51.76-30.8-70.4-54.8zM320 250.4l-24.4-70.8h-79.2l-24.4 70.8 64 44 64-44z" />
19
- <glyph unicode="&#xe701;" glyph-name="baseball-icon" d="M256 25.6c-113.12 0-204.8 91.68-204.8 204.8s91.68 204.8 204.8 204.8 204.8-91.68 204.8-204.8-91.68-204.8-204.8-204.8zM76.8 230.4c0-48.8 19.52-93.040 51.12-125.28 31.68 32.32 51.28 76.48 51.28 125.28s-19.6 93.040-51.28 125.28c-31.6-32.24-51.12-76.48-51.12-125.28zM147.2 372.72c35.68-36.88 57.6-87.040 57.6-142.32s-22-105.52-57.6-142.32c30.16-23.12 67.92-36.88 108.8-36.88s78.64 13.76 108.8 36.88c-35.68 36.88-57.6 87.040-57.6 142.32s22 105.52 57.6 142.32c-30.16 23.12-67.84 36.88-108.8 36.88s-78.64-13.76-108.8-36.88zM384.080 355.68c-31.68-32.24-51.28-76.48-51.28-125.28s19.6-93.040 51.28-125.28c31.6 32.32 51.12 76.56 51.12 125.28s-19.52 93.040-51.12 125.28z" />
 
 
 
 
20
  <glyph unicode="&#xe800;" glyph-name="shoe" d="M461.52 280.88l-21.2-20c-0.96-0.96-2.56-1.12-3.68-0.24l-27.040 19.84c4.080 4.24 8.4 8.48 13.36 13.2 3.36 3.2 6.4 6.080 9.6 8.88 2.8 2.56 5.36 4.88 7.76 7.28 1.28 1.2 2.56 2.4 3.84 3.6l17.84-28.96c0.72-1.2 0.48-2.72-0.48-3.6zM432.64 318.080c-5.040-4.8-10.96-10-17.36-16.080-4.56-4.24-9.28-8.88-14.16-14-22.8-24.080-189.76-191.36-224-223.6-34.24-32.4-94.64-54.96-120.32-27.68-25.68 27.2 24.080 72.24 39.84 119.44 15.76 47.28 59.36 108.4 59.36 108.4-6.64 13.92 5.2 26.88 9.84 31.28 1.040 1.040 1.76 1.52 1.76 1.52-8.16 16.16 13.44 36.56 13.44 36.56l17.36 94.88c0.32 1.76 1.12 3.28 2.32 4.32 1.76 1.68 4.32 2.48 6.88 2l38.16-6.72c25.12-4.56-9.92-70.56 0.96-70.72 6.96-0.16 20.24 5.28 32.96 17.28 7.12 6.72 14.080 15.6 19.6 26.64 11.44 22.88-12.72 46.96-4.56 54.72 2.72 2.64 9.44 3.36 22.48 1.6 51.6-7.76 92.8-59.040 121.44-90.24 19.44-21.2 12.24-32.4-6-49.6zM165.28 232.16l-16-26c-1.2-1.84 0.16-4.32 2.48-4.32l114.72 1.6c0.64 0.080 1.36 0.24 1.92 0.8l28.32 26.72c1.92 1.84 0.56 5.040-1.92 4.96l-127.2-2.48c-0.88 0.080-1.76-0.48-2.32-1.28zM351.84 290l-156-4.64c-0.96-0.080-1.84-0.56-2.32-1.36l-15.92-25.92c-1.2-2 0.24-4.4 2.56-4.4l141.68 2.64c0.64 0.080 1.36 0.24 1.92 0.8l30.24 27.76c1.76 1.92 0.4 5.12-2.16 5.12zM195.52 26.32c0.72-1.2 0.48-2.72-0.48-3.6l-21.2-20c-0.96-0.96-2.56-1.12-3.68-0.24l-29.28 21.52c-0.56 0.48-0.96 1.12-1.040 2.080 14.32 6.64 28.16 15.52 40 25.68l15.68-25.44zM228 98.24l16.16-26.080c0.72-1.2 0.48-2.72-0.48-3.6l-21.2-20c-0.96-0.96-2.56-1.12-3.68-0.24l-23.76 17.6c8.48 8.16 19.84 19.36 32.96 32.32zM405.68 230.72c0.72-1.2 0.48-2.72-0.48-3.6l-21.2-20.080c-0.96-0.96-2.56-1.12-3.68-0.24l-25.040 18.56c12.56 12.56 23.92 24 33.040 33.28l17.36-27.92z" />
21
  <glyph unicode="&#xe801;" glyph-name="card" d="M153.6 435.2h204.8c14.16 0 25.6-11.44 25.6-25.6v-358.4c0-14.16-11.44-25.6-25.6-25.6h-204.8c-14.16 0-25.6 11.44-25.6 25.6v358.4c0 14.16 11.44 25.6 25.6 25.6z" />
22
  <glyph unicode="&#xf101;" glyph-name="user-scores" d="M153.6 256h204.8v-51.2h-204.8v51.2zM153.6 332.8h204.8v-51.2h-204.8v51.2zM435.2 435.2h-358.4c-14.16 0-25.6-11.44-25.6-25.6v-281.6c0-14.16 11.44-25.6 25.6-25.6h51.2v-76.8l115.2 76.8h192c14.16 0 25.6 11.44 25.6 25.6v281.6c0 14.16-11.44 25.6-25.6 25.6zM409.6 153.6h-166.4l-64-38.4v38.4h-76.8v230.4h307.2v-230.4z" />
@@ -24,17 +28,26 @@
24
  <glyph unicode="&#xf108;" glyph-name="calculator" d="M409.6 435.2h-307.2c-14.16 0-25.6-11.44-25.6-25.6v-358.4c0-14.16 11.44-25.6 25.6-25.6h307.2c14.16 0 25.6 11.44 25.6 25.6v358.4c0 14.16-11.44 25.6-25.6 25.6zM179.2 76.8h-51.2v51.2h51.2v-51.2zM179.2 153.6h-51.2v51.2h51.2v-51.2zM179.2 230.4h-51.2v51.2h51.2v-51.2zM281.6 76.8h-51.2v51.2h51.2v-51.2zM281.6 153.6h-51.2v51.2h51.2v-51.2zM281.6 230.4h-51.2v51.2h51.2v-51.2zM384 76.8h-51.2v51.2h51.2v-51.2zM384 153.6h-51.2v51.2h51.2v-51.2zM384 230.4h-51.2v51.2h51.2v-51.2zM384 332.8h-256v51.2h256v-51.2z" />
25
  <glyph unicode="&#xf111;" glyph-name="sportspress" d="M484.88 328.96l-30.72-222.64c-7.68-54.32-36.72-80.64-92.72-80.64h-264.32c-55.92 0-77.84 26.32-70.16 80.64l30.72 222.64c8.24 54.32 37.28 80.64 93.2 80.64h264.32c56-0.080 77.92-26.4 69.68-80.64zM206.88 359.040c-42.88 0-67.44-30.080-73.28-74.48l-4.88-36c-6.32-44.4 10.4-69.68 53.36-69.68h100.16c13.52 0 11.2-11.84 11.2-11.84-1.44-8.8-6.32-13.2-15.12-13.2h-166.96l-10.080-76.96h201.6c42.88 0 65.84 20.48 72.16 64.88l7.28 49.6c6.32 44.4-10.72 64.88-53.6 64.88h-100.72c-8.8 0-12.64 4.4-11.68 13.2 0 0-0.56 11.84 14.8 11.84h166.4l10.88 77.76h-201.52z" />
26
  <glyph unicode="&#xf112;" glyph-name="key" d="M460.8 332.8l-25.6 25.6-26.4-25.6v-51.2l-24.8-25.6-25.6 25.6-25.6-25.6v-51.2l-29.84-29.84c2.72-10.96 4.24-22.4 4.24-34.16 0-77.76-63.040-140.8-140.8-140.8s-140.8 63.040-140.8 140.8 63.040 140.8 140.8 140.8c18.88 0 36.96-3.76 53.44-10.48l188.96 189.68h77.6v-102.4l-25.6-25.6zM128 153.6c-28.24 0-51.2-22.96-51.2-51.2s22.96-51.2 51.2-51.2 51.2 22.96 51.2 51.2-22.96 51.2-51.2 51.2zM422.4 435.2c-4 0-7.52-1.84-9.92-4.72l-151.76-151.76c-2.88-2.32-4.72-5.92-4.72-9.92 0-7.040 5.76-12.8 12.8-12.8 3.52 0 6.72 1.44 9.040 3.76l0.080-0.080 153.6 153.6-0.080 0.080c2.32 2.32 3.76 5.52 3.76 9.12 0 6.96-5.68 12.72-12.8 12.72z" />
 
27
  <glyph unicode="&#xf116;" glyph-name="menu" d="M435.2 25.6h-358.4c-14.16 0-25.6 11.44-25.6 25.6v358.4c0 14.16 11.44 25.6 25.6 25.6h358.4c14.16 0 25.6-11.44 25.6-25.6v-358.4c0-14.16-11.44-25.6-25.6-25.6zM409.6 384h-307.2v-76.8h307.2v76.8zM409.6 256h-307.2v-179.2h307.2v179.2zM179.2 332.8h-51.2v25.6h51.2v-25.6zM230.4 332.8h-25.6v25.6h25.6v-25.6zM281.6 332.8h-25.6v25.6h25.6v-25.6zM332.8 332.8h-25.6v25.6h25.6v-25.6zM384 332.8h-25.6v25.6h25.6v-25.6z" />
28
  <glyph unicode="&#xf145;" glyph-name="calendar" d="M384 435.2h-51.2v-51.2h51.2v51.2zM435.2 435.2h-25.6v-76.8h-102.4v76.8h-102.4v-76.8h-102.4v76.8h-25.6c-14.16 0-25.6-11.44-25.6-25.6v-358.4c0-14.16 11.44-25.6 25.6-25.6h358.4c14.16 0 25.6 11.44 25.6 25.6v358.4c0 14.16-11.44 25.6-25.6 25.6zM409.6 76.8h-307.2v230.4h307.2v-230.4zM179.2 435.2h-51.2v-51.2h51.2v51.2zM281.6 256h-51.2v-51.2h51.2v51.2zM358.4 256h-51.2v-51.2h51.2v51.2zM204.8 179.2h-51.2v-51.2h51.2v51.2zM204.8 256h-51.2v-51.2h51.2v51.2zM281.6 179.2h-51.2v-51.2h51.2v51.2zM358.4 179.2h-51.2v-51.2h51.2v51.2z" />
29
  <glyph unicode="&#xf147;" glyph-name="eye" d="M256 426.667c-92.805 0-185.597-66.375-256-199.111 70.403-132.736 163.195-199.111 256-199.111s185.597 66.375 256 199.111c-70.403 132.736-163.195 199.111-256 199.111zM256 85.334c-67.486 0-135.945 51.43-190.667 142.222 54.722 90.792 123.18 142.222 190.667 142.222s135.945-51.43 190.667-142.222c-54.722-90.792-123.18-142.222-190.667-142.222zM312.889 227.556c0-31.417-25.472-56.889-56.889-56.889s-56.889 25.472-56.889 56.889 25.472 56.889 56.889 56.889 56.889-25.472 56.889-56.889z" />
 
 
 
30
  <glyph unicode="&#xf163;" glyph-name="list" d="M153.6 332.8h51.2v-51.2h-51.2v51.2zM153.6 256h51.2v-51.2h-51.2v51.2zM153.6 179.2h51.2v-51.2h-51.2v51.2zM256 179.2h102.4v-51.2h-102.4v51.2zM435.2 435.2h-358.4c-14.16 0-25.6-11.44-25.6-25.6v-358.4c0-14.16 11.44-25.6 25.6-25.6h358.4c14.16 0 25.6 11.44 25.6 25.6v358.4c0 14.16-11.44 25.6-25.6 25.6zM409.6 76.8h-307.2v307.2h307.2v-307.2zM256 256h102.4v-51.2h-102.4v51.2zM256 332.8h102.4v-51.2h-102.4v51.2z" />
31
  <glyph unicode="&#xf164;" glyph-name="blocks" d="M153.6 179.2h204.8v-51.2h-204.8v51.2zM153.6 256h204.8v-51.2h-204.8v51.2zM435.2 435.2h-358.4c-14.16 0-25.6-11.44-25.6-25.6v-358.4c0-14.16 11.44-25.6 25.6-25.6h358.4c14.16 0 25.6 11.44 25.6 25.6v358.4c0 14.16-11.44 25.6-25.6 25.6zM409.6 76.8h-307.2v307.2h307.2v-307.2zM153.6 332.8h204.8v-51.2h-204.8v51.2z" />
 
 
 
 
32
  <glyph unicode="&#xf181;" glyph-name="bracket-center" d="M435.2 205.2h51.2c14.16 0 25.6-11.44 25.6-25.6v-102.4c0-14.16-11.44-25.6-25.6-25.6h-51.2c-14.16 0-25.6 11.44-25.6 25.6v25.6h-51.2c-14.16 0-25.6 11.44-25.6 25.6v76.8h-25.6v-25.6c0-14.16-11.44-25.6-25.6-25.6h-51.2c-14.16 0-25.6 11.44-25.6 25.6v25.6h-25.6v-76.8c0-14.16-11.44-25.6-25.6-25.6h-51.2v-25.6c0-14.16-11.44-25.6-25.6-25.6h-51.2c-14.16 0-25.6 11.44-25.6 25.6v102.4c0 14.16 11.44 25.6 25.6 25.6h51.2c14.16 0 25.6-11.44 25.6-25.6v-25.6h25.6v153.6h-25.6v-25.6c0-14.16-11.44-25.6-25.6-25.6h-51.2c-14.16 0-25.6 11.44-25.6 25.6v102.4c0 14.16 11.44 25.6 25.6 25.6h51.2c14.16 0 25.6-11.44 25.6-25.6v-25.6h51.2c14.16 0 25.6-11.44 25.6-25.6v-76.8h25.6v25.6c0 14.16 11.44 25.6 25.6 25.6h51.2c14.16 0 25.6-11.44 25.6-25.6v-25.6h25.6v76.8c0 14.16 11.44 25.6 25.6 25.6h51.2v25.6c0 14.16 11.44 25.6 25.6 25.6h51.2c14.16 0 25.6-11.44 25.6-25.6v-102.4c0-14.16-11.44-25.6-25.6-25.6h-51.2c-14.16 0-25.6 11.44-25.6 25.6v25.6h-25.6v-153.6h25.6v25.6c0 14.16 11.44 25.6 25.6 25.6z" />
33
  <glyph unicode="&#xf182;" glyph-name="trash" d="M288 256h64v-160h-64zM480 384h-128v64c0 17.688-14.312 32-32 32h-128c-17.688 0-32-14.312-32-32v-64h-128c-17.688 0-32-14.312-32-32v-32h32v-320c0-17.688 14.312-32 32-32h384c17.688 0 32 14.312 32 32v320h32v32c0 17.688-14.312 32-32 32zM224 416h64v-32h-64v32zM416 32h-320v288h320v-288zM160 256h64v-160h-64z" />
34
  <glyph unicode="&#xf185;" glyph-name="chart" d="M76.8 102.4h102.4v204.8h-102.4v-204.8zM204.8 102.4h102.4v307.2h-102.4v-307.2zM332.8 307.2v-204.8h102.4v204.8h-102.4z" />
35
  <glyph unicode="&#xf203;" glyph-name="timeline" d="M457.2 70l-54.8-41.6c-2.4-1.84-5.44-2.8-8.96-2.8s-6.56 0.96-8.96 2.8v22.8h-186.88c-4.56-7.76-10.64-13.92-18.4-18.56s-16.24-7.040-25.6-7.040c-14.16 0-26.24 4.96-36.16 15.040s-15.040 22-15.040 36.16c0 14.16 4.96 26.24 15.040 36.16s22 15.040 36.16 15.040c9.36 0 17.84-2.32 25.6-7.040s13.84-10.88 18.4-18.56h186.8v23.2c2.4 1.84 5.44 2.8 8.96 2.8s6.56-0.96 8.96-2.8l54.8-41.6c2.4-1.84 3.6-4.16 3.6-7.040s-1.12-5.12-3.52-6.96zM351.2 336c-2.4-2.16-5.44-3.2-8.96-3.2s-6.56 1.040-8.96 3.2v22.4h-186.88c-4.56-7.76-10.64-13.92-18.4-18.56s-16.24-7.040-25.6-7.040c-14.16 0-26.24 4.96-36.16 15.040s-15.040 22-15.040 36.16 4.96 26.24 15.040 36.16 22 15.040 36.16 15.040c9.36 0 17.84-2.32 25.6-7.040s13.84-10.88 18.4-18.56h186.8v23.2c2.4 1.84 5.44 2.8 8.96 2.8s6.64-0.96 9.040-2.8l54.8-41.6c2.4-1.84 3.6-4.16 3.6-6.8s-1.2-5.040-3.6-7.2l-54.8-41.2zM128 281.6c9.36 0 17.84-2.32 25.6-7.040 7.76-4.64 13.84-10.88 18.4-18.56h91.2c4.56 7.76 10.64 13.92 18.4 18.56s16.24 7.040 25.6 7.040c14.16 0 26.24-4.96 36.16-15.040s15.040-22 15.040-36.16c0-14.16-4.96-26.24-15.040-36.16s-22-15.040-36.16-15.040c-9.36 0-17.84 2.32-25.6 7.040s-13.84 10.88-18.4 18.56h-91.2c-4.56-7.76-10.64-13.92-18.4-18.56s-16.24-7.040-25.6-7.040c-14.16 0-26.24 4.96-36.16 15.040s-15.040 22-15.040 36.16c0 14.16 4.96 26.24 15.040 36.16s22 15.040 36.16 15.040zM307.36 204.8c7.040 0 13.040 2.56 18 7.6s7.36 11.12 7.36 18.24c0 7.040-2.48 13.040-7.36 18s-10.96 7.36-18 7.36-13.12-2.48-18.24-7.36-7.6-10.96-7.6-18c0-7.040 2.56-13.12 7.6-18.24s11.2-7.6 18.24-7.6z" />
36
  <glyph unicode="&#xf227;" glyph-name="whistle" d="M301.84 256c3.44-12.24 5.36-25.12 5.36-38.4 0-77.76-63.040-140.8-140.8-140.8s-140.8 63.040-140.8 140.8 63.040 140.8 140.8 140.8h89.6v-25.6c0-14.16 11.44-25.6 25.6-25.6s25.6 11.44 25.6 25.6v25.6h179.2v-102.4h-184.56z" />
37
  <glyph unicode="&#xf237;" glyph-name="minimal" d="M358 204.8v-76.8c0-14.16-11.44-25.6-25.6-25.6h-128v-25.6c0-14.16-11.44-25.6-25.6-25.6h-128v51.2h102.4v51.2h-102.4v51.2h128c14.16 0 25.6-11.44 25.6-25.6v-25.6h102.4v153.6h-102.4v-25.6c0-14.16-11.44-25.6-25.6-25.6h-128v51.2h102.4v51.2h-102.4v51.2h128c14.16 0 25.6-11.44 25.6-25.6v-25.6h128c14.16 0 25.6-11.44 25.6-25.6v-76.8h102.4v-51.2h-102.4z" />
 
38
  <glyph unicode="&#xf307;" glyph-name="tshirt" d="M459.6 307.2h-76.8v-179.2h-256v179.2h-76.8v102.4h132.4c10.56-29.84 38.96-51.2 72.4-51.2s61.84 21.36 72.4 51.2h132.4v-102.4zM382.8 102.4v-51.2h-256v51.2h256z" />
39
  <glyph unicode="&#xf309;" glyph-name="color" d="M435.2 204.8c0-98.96-80.24-179.2-179.2-179.2s-179.2 80.24-179.2 179.2c0 49.52 20.080 94.32 52.48 126.72v0l126.72 126.72 126.72-126.72c32.4-32.4 52.48-77.2 52.48-126.72zM343.28 298l-87.44 87.44-89.040-89.040c-23.84-23.28-38.8-55.6-38.8-91.6 0-70.72 57.28-128 128-128s128 57.28 128 128c0 36.88-15.76 69.84-40.72 93.2zM256 102.4l0.080 246.8 70.4-70.4c19.6-18.64 31.92-44.8 31.92-74 0-56.56-45.84-102.4-102.4-102.4z" />
40
  <glyph unicode="&#xf313;" glyph-name="tournament" d="M384 286v149.2h25.6c14.16 0 25.6-11.44 25.6-25.6v-51.2c0-33.44-21.36-61.84-51.2-72.4zM153.6 51.52h204.8v-51.52h-204.8v51.52zM179.2 76.8l25.6 25.6h25.6v25.6l25.6 25.6 25.6-25.6v-25.6h25.6l25.6-25.6h-153.6zM256 179.2c-56.56 0-102.4 45.84-102.4 102.4v179.2h204.8v-179.2c0-56.56-45.84-102.4-102.4-102.4zM76.8 358.4v51.2c0 14.16 11.44 25.6 25.6 25.6h25.6v-149.2c-29.84 10.56-51.2 38.96-51.2 72.4z" />
@@ -53,10 +66,12 @@
53
  <glyph unicode="&#xf464;" glyph-name="edit" d="M435.2 25.6h-358.4c-14.16 0-25.6 11.44-25.6 25.6v358.4c0 14.16 11.44 25.6 25.6 25.6h256l-51.2-51.2h-179.2v-307.2h307.2v179.2l51.2 51.2v-256c0-14.16-11.44-25.6-25.6-25.6zM153.6 128v76.8l230.4 230.4h25.6l51.2-51.2v-25.6l-230.4-230.4h-76.8zM268.8 217.6l140.8 140.8-25.6 25.6-140.8-140.8 25.6-25.6zM204.8 204.8l-25.6-25.6v-25.6h25.6l25.6 25.6-25.6 25.6z" />
54
  <glyph unicode="&#xf469;" glyph-name="time" d="M188.8 313.76c-11.44-7.040 30.64-108.56 40.88-125.12 8.96-14.56 28-18.96 42.48-10.080 14.56 9.040 19.040 28 10.080 42.48-10.16 16.56-82 99.76-93.44 92.72v0zM180.24 424.88c23.76 8.24 49.2 12.88 75.76 12.88s52-4.56 75.76-12.88c8.4-2.88 19.6 2.96 14.64 15.68-3.6 9.2-7.12 18.24-8.48 21.92-3.36 8.64-15.36 15.84-20.56 17.040-19.76 4.48-40.24 6.96-61.28 6.96s-41.52-2.48-61.36-6.96c-5.2-1.2-17.2-8.32-20.56-17.040-1.44-3.68-4.88-12.64-8.48-21.92-5.040-12.72 6.080-18.56 14.56-15.68v0zM488.88 404.8c-4.88 5.92-10.16 11.68-15.68 17.2s-11.28 10.72-17.12 15.68c-3.92 3.28-15.44 6-22.72-1.28s-42.16-42.16-42.16-42.16c10.32-7.36 20.32-15.52 29.6-24.72s17.36-19.28 24.72-29.6c0 0 34.88 34.88 42.16 42.16 7.2 7.36 4.48 18.88 1.2 22.72v0zM256 412.16c-114.56 0-207.36-92.8-207.36-207.36-0.080-114.56 92.72-207.36 207.36-207.36 114.48 0 207.36 92.8 207.36 207.36 0 114.48-92.88 207.36-207.36 207.36v0zM256 48.64c-86.24 0-156.16 69.92-156.16 156.16s69.84 156.16 156.16 156.16c86.24 0 156.16-69.92 156.16-156.16s-69.92-156.16-156.16-156.16z" />
55
  <glyph unicode="&#xf481;" glyph-name="clipboard" d="M376.16 25.6h-238.080c-20.48 0-35.84 15.36-35.84 35.84v312.32c0 10.24 5.12 20.48 12.8 28.16l28.16-66.56h225.28l28.16 69.12c7.68-5.12 12.8-15.36 12.8-28.16v-312.32c2.56-23.040-15.36-38.4-33.28-38.4zM358.24 307.2h-204.8v-230.4h204.8v230.4zM332.64 230.4h-153.6v25.6h153.6v-25.6zM332.64 179.2h-153.6v25.6h153.6v-25.6zM332.64 128h-153.6v25.6h153.6v-25.6zM163.68 358.4l-23.040 51.2h56.32l7.68 20.48 10.24 30.72h81.92l10.24-30.72 10.24-20.48h56.32l-23.040-51.2h-186.88z" />
 
56
  <glyph unicode="&#xf488;" glyph-name="sponsor" d="M405.2 82.080l-91.2 71.6h-134.8v-76.8c0-7.2-2.56-13.28-7.6-18.24s-11.040-7.36-18-7.36h-25.6c-7.2 0-13.28 2.48-18.24 7.36s-7.36 11.040-7.36 18.24v76.8c-7.2 0-13.28 2.48-18.24 7.36s-7.36 11.040-7.36 18.24v102.4c0 7.2 2.48 13.28 7.36 18.24s11.040 7.36 18.24 7.36h211.6l91.2 71.6c2.96 3.2 6.88 4.88 11.84 4.96s9.2-0.88 12.8-3.040c3.6-2.16 5.44-4.8 5.44-8v-285.2c0-3.2-1.76-5.84-5.44-8s-7.84-3.040-12.8-2.8c-5.040 0.4-8.88 2.080-11.84 5.28v0zM268.8 307.28h-51.2c3.44 0 6.48-1.28 8.96-3.84s3.84-5.52 3.84-8.96v-128c0-3.44-1.28-6.48-3.84-8.96s-5.52-3.84-8.96-3.84h51.2c-3.76 0-6.8 1.28-9.2 3.84s-3.6 5.52-3.6 8.96v128c0 3.44 1.2 6.48 3.6 8.96s5.36 3.84 9.2 3.84v0 0 0z" />
57
  <glyph unicode="&#xf489;" glyph-name="statistics" d="M153.6 333.2h128v-51.2h-128v51.2zM153.6 256.4h51.2v-51.2h-51.2v51.2zM153.6 179.6h102.4v-51.2h-102.4v51.2zM281.6 179.6h76.8v-51.2h-76.8v51.2zM435.2 435.6h-358.4c-14.16 0-25.6-11.44-25.6-25.6v-358.4c0-14.16 11.44-25.6 25.6-25.6h358.4c14.16 0 25.6 11.44 25.6 25.6v358.4c0 14.16-11.44 25.6-25.6 25.6zM409.6 77.2h-307.2v307.2h307.2v-307.2zM230.4 256.4h128v-51.2h-128v51.2zM307.2 333.2h51.2v-51.2h-51.2v51.2z" />
58
  <glyph unicode="&#xf503;" glyph-name="sub" d="M409.6 353.28h-256v51.2l-102.4-87.040 102.4-81.92v46.080h256v71.68zM460.8 138.24l-102.4 87.040v-51.2h-256v-71.68h256v-46.080l102.4 81.92z" />
59
  <glyph unicode="&#xf504;" glyph-name="popup" d="M435.2 435.2h-204.8c-14.16 0-25.6-11.44-25.6-25.6v-204.8c0-14.16 11.44-25.6 25.6-25.6h204.8c14.16 0 25.6 11.44 25.6 25.6v204.8c0 14.16-11.44 25.6-25.6 25.6zM409.6 230.4h-153.6v153.6h153.6v-153.6zM256 76.8h-153.6v153.6h51.2v51.2h-76.8c-14.16 0-25.6-11.44-25.6-25.6v-204.8c0-14.16 11.44-25.6 25.6-25.6h204.8c14.16 0 25.6 11.44 25.6 25.6v76.8h-51.2v-51.2z" />
 
60
  <glyph unicode="&#xf508;" glyph-name="availability" d="M384 435.2h-51.2v-51.2h51.2v51.2zM435.2 435.2h-25.6v-76.8h-102.4v76.8h-102.4v-76.8h-102.4v76.8h-25.6c-14.16 0-25.6-11.44-25.6-25.6v-358.4c0-14.16 11.44-25.6 25.6-25.6h358.4c14.16 0 25.6 11.44 25.6 25.6v358.4c0 14.16-11.44 25.6-25.6 25.6zM409.6 76.8h-307.2v230.4h307.2v-230.4zM179.2 435.2h-51.2v-51.2h51.2v51.2zM230.4 115.2l-76.4 76.4 29.12 29.12 47.28-47.28 98.8 98.8 29.2-29.040-128-128z" />
61
  <glyph unicode="&#xf509;" glyph-name="scoreboard" d="M435.2 25.6h-358.4c-14.16 0-25.6 11.44-25.6 25.6v358.4c0 14.16 11.44 25.6 25.6 25.6h358.4c14.16 0 25.6-11.44 25.6-25.6v-358.4c0-14.16-11.44-25.6-25.6-25.6zM409.6 384h-307.2v-307.2h307.2v307.2zM217.6 307.2l12.8-12.8v-51.2l-12.8-12.8 12.8-12.8v-51.2l-12.8-12.8h-64l-12.8 12.8v51.2l12.8 12.8-12.8 12.8v51.2l12.8 12.8h64zM166.4 179.2h38.4v38.4h-38.4v-38.4zM166.4 243.2h38.4v38.4h-38.4v-38.4zM256 268.8c7.040 0 12.8-5.76 12.8-12.8s-5.76-12.8-12.8-12.8-12.8 5.76-12.8 12.8 5.76 12.8 12.8 12.8zM256 217.6c7.040 0 12.8-5.76 12.8-12.8s-5.76-12.8-12.8-12.8-12.8 5.76-12.8 12.8 5.76 12.8 12.8 12.8zM358.4 307.2l12.8-12.8v-51.2l-12.8-12.8 12.8-12.8v-51.2l-12.8-12.8h-64l-12.8 12.8v51.2l12.8 12.8-12.8 12.8v51.2l12.8 12.8h64zM307.2 179.2h38.4v38.4h-38.4v-38.4zM307.2 243.2h38.4v38.4h-38.4v-38.4z" />
62
  <glyph unicode="&#xf524;" glyph-name="ticket" d="M125.6 190.96l90.96-90.96 166.8 166.88-90.96 90.88-166.8-166.8zM489.12 315.84l-38.72 38.64c-7.36-4-15.76-6.32-24.8-6.32-28.56 0-51.76 23.2-51.76 51.84 0 8.96 2.24 17.44 6.32 24.8l-38.72 38.72c-10.080 10.080-26.56 10.080-36.64 0l-281.92-281.84c-10.080-10.080-10.080-26.56 0-36.64l38.72-38.72c7.36 4 15.84 6.32 24.8 6.32 28.64 0 51.84-23.2 51.84-51.76 0-8.96-2.24-17.44-6.32-24.8l38.72-38.72c10.080-10.080 26.56-10.080 36.64 0l281.84 281.76c10 10.16 10 26.64 0 36.72v0zM216.56 58.4l-132.56 132.56 208.48 208.4 132.48-132.48-208.4-208.48z" />
7
  <font-face units-per-em="512" ascent="480" descent="-32" />
8
  <missing-glyph horiz-adv-x="512" />
9
  <glyph unicode="&#x20;" horiz-adv-x="256" d="" />
10
+ <glyph unicode="&#xe600;" glyph-name="soccerball-alt" d="M256 6.4c-127.28 0-230.4 103.12-230.4 230.4s103.12 230.4 230.4 230.4 230.4-103.12 230.4-230.4-103.12-230.4-230.4-230.4zM401.040 381.84c-18.32 18.24-40.080 32.88-65.44 43.6s-51.84 16.16-79.6 16.16-54.24-5.36-79.6-16.16-47.2-25.28-65.44-43.6-32.88-40.080-43.6-65.44-16.16-51.84-16.16-79.6 5.36-54.24 16.16-79.6 25.28-47.2 43.6-65.44c18.32-18.24 40.080-32.88 65.44-43.6s51.84-16.16 79.6-16.16 54.24 5.36 79.6 16.16 47.2 25.36 65.44 43.6c18.24 18.32 32.88 40.080 43.6 65.44s16.16 51.84 16.16 79.6-5.36 54.24-16.16 79.6-25.36 47.2-43.6 65.44zM332.8 134.4l-25.6-64v-5.2c-16.8-5.040-33.84-7.6-51.2-7.6s-34.4 2.56-51.2 7.6v5.2l-25.6 64h-70c-18.96 27.2-29.44 57.2-31.6 90l50.4 38v76.8l-14 6.8c18.64 24 42.16 42.24 70.4 54.8l71.6-36 71.6 36c28.24-12.56 51.6-30.8 70-54.8l-13.6-6.8v-76.8l50.4-38c-2.16-32.8-12.64-62.8-31.6-90h-70zM256 300.8l-64-44 24.4-70.8h79.2l24.4 70.8-64 44z" />
11
+ <glyph unicode="&#xe601;" glyph-name="baseball-icon" d="M371.52 96.32c0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0-0.080 0.080-0.16 0.24-0.32 0.32 0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0-0.080 0.080-0.16 0.16-0.16 0.24 0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0s-0.080 0.080-0.080 0.080v0c0 0-0.080 0.080-0.080 0.080s0 0 0 0-0.080 0.080-0.080 0.080c0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0s0 0-0.080 0.080c0 0 0 0 0 0.080 0 0 0 0.080-0.080 0.080 0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0-0.080 0.080 0 0 0 0-0.080 0.080 0 0 0 0-0.080 0.080 0 0 0 0-0.080 0.080 0 0 0 0-0.080 0.080 0 0 0 0-0.080 0.080 0 0-0.080 0.080-0.080 0.080s0 0 0 0 0 0.080-0.080 0.080c0 0 0 0 0 0s0 0-0.080 0.080c0 0 0 0 0 0-0.080 0.080-0.16 0.16-0.16 0.24 0 0 0 0 0 0s0 0.080-0.080 0.080c0 0 0 0 0 0s0 0.080-0.080 0.080-0.080 0.080-0.16 0.16v0c0 0-0.080 0.080-0.080 0.080s0 0 0 0-0.080 0.080-0.080 0.080v0c-0.080 0.080-0.16 0.16-0.24 0.24 0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0-0.080 0.080-0.16 0.24-0.32 0.32v0c-0.88 0.96-1.76 2-2.56 2.96l5.36 4.48c-4.96 6-9.6 12.32-13.76 18.88l-6.48-4.32c-1.36 2-2.64 4.080-3.92 6.16v0c0 0 0 0.080-0.080 0.080 0 0 0 0 0 0-0.080 0.080-0.16 0.24-0.24 0.32 0 0 0 0 0 0s0 0.080-0.080 0.080c0 0 0 0 0 0 0 0.080-0.080 0.080-0.080 0.16 0 0 0 0 0 0s0 0.080 0 0.080c0 0 0 0 0 0.080 0 0 0 0.080 0 0.080s0 0 0 0.080c0 0 0 0 0 0.080 0 0 0 0.080-0.080 0.080 0 0 0 0.080-0.080 0.080 0 0 0 0.080 0 0.080s0 0 0 0.080c0 0 0 0 0 0.080 0 0 0 0 0 0.080 0 0 0 0.080-0.080 0.080 0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0s0 0.080-0.080 0.080c0 0 0 0 0 0s0 0.080-0.080 0.080c0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0s0 0.080-0.080 0.080c0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0.080-0.080 0.080-0.080 0.16 0 0 0 0 0 0s-0.080 0.080-0.080 0.080c0 0 0 0 0 0-0.080 0.080-0.16 0.24-0.24 0.4 0 0 0 0 0 0 0 0.080-0.080 0.080-0.080 0.080s0 0 0 0c-0.080 0.16-0.16 0.24-0.24 0.4 0 0 0 0 0 0-2.96 4.96-5.68 10.080-8.16 15.36l7.52 3.6c-2.8 6.24-5.36 12.64-7.52 19.2l-7.92-2.72c-1.68 4.96-3.2 10-4.56 15.040 0 0 0 0 0 0 0 0.16-0.080 0.32-0.080 0.4 0 0 0 0 0 0 0 0.16-0.080 0.32-0.080 0.4 0 0 0 0 0 0 0 0.16-0.080 0.24-0.080 0.4 0 0 0 0 0 0 0 0.16-0.080 0.32-0.080 0.4 0 0 0 0 0 0 0 0.080 0 0.080 0 0.16 0 0 0 0 0 0 0 0.080-0.080 0.16-0.080 0.32 0 0 0 0 0 0 0 0.080 0 0.080 0 0.16 0 0 0 0 0 0 0 0.080-0.080 0.16-0.080 0.32 0 0 0 0 0 0 0 0.080 0 0.080 0 0.16 0 0 0 0 0 0 0 0.16-0.080 0.24-0.080 0.4 0 0 0 0 0 0 0 0.16-0.080 0.32-0.080 0.4 0 0 0 0 0 0 0 0.16-0.080 0.32-0.080 0.4 0 0 0 0 0 0 0 0.16-0.080 0.32-0.080 0.4 0 0 0 0 0 0 0 0.16-0.080 0.32-0.080 0.4 0 0 0 0 0 0-0.56 2.56-1.12 5.2-1.6 7.84l8.56 1.6c-1.12 6.48-1.92 13.040-2.4 19.68l-6.88-0.48v28.48l6.88-0.48c0.48 6.64 1.28 13.2 2.4 19.68l-8.56 1.6c0.48 2.64 1.040 5.28 1.6 7.84 0 0 0 0 0 0 0 0.16 0.080 0.32 0.080 0.4 0 0 0 0 0 0 0 0.16 0.080 0.32 0.080 0.4 0 0 0 0 0 0 0 0.16 0.080 0.32 0.080 0.4 0 0 0 0 0 0 0 0.16 0.080 0.32 0.080 0.4 0 0 0 0 0 0 0 0.16 0.080 0.24 0.080 0.4 0 0 0 0 0 0 0 0.080 0 0.080 0 0.16 0 0 0 0 0 0 0 0.080 0.080 0.16 0.080 0.32 0 0 0 0 0 0 0 0.080 0 0.080 0 0.16v0c0 0.080 0.080 0.16 0.080 0.32 0 0 0 0 0 0 0 0.080 0 0.080 0 0.16 0 0 0 0 0 0 0 0.16 0.080 0.32 0.080 0.4 0 0 0 0 0 0 0 0.16 0.080 0.24 0.080 0.4 0 0 0 0 0 0 0 0.16 0.080 0.32 0.080 0.4 0 0 0 0 0 0 0 0.16 0.080 0.32 0.080 0.4 0 0 0 0 0 0 1.28 5.12 2.8 10.16 4.56 15.040l7.92-2.72c2.16 6.56 4.64 12.96 7.52 19.2l-7.52 3.6c2.48 5.28 5.2 10.4 8.16 15.36 0 0 0 0 0 0 0.080 0.16 0.16 0.24 0.24 0.4 0 0 0 0 0 0 0 0.080 0.080 0.080 0.080 0.080s0 0 0 0c0.080 0.080 0.16 0.24 0.24 0.4 0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0 0 0.080 0.080 0.080 0.080 0.16v0c0 0 0.080 0.080 0.080 0.080s0 0 0 0 0 0.080 0.080 0.080c0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0s0 0.080 0.080 0.080c0 0 0 0 0 0s0 0.080 0.080 0.080c0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0s0 0.080 0.080 0.080c0 0 0 0 0 0.080 0 0 0 0.080 0 0.080s0 0 0 0.080c0 0 0 0.080 0 0.080s0 0.080 0.080 0.080c0 0 0 0.080 0.080 0.080 0 0 0 0 0 0.080 0 0 0 0 0 0.080 0 0 0 0.080 0 0.080s0 0 0 0.080c0 0 0 0.080 0 0.080s0 0 0 0c0 0.080 0.080 0.080 0.080 0.16 0 0 0 0 0 0s0 0.080 0.080 0.080c0 0 0 0 0 0 0.080 0.080 0.16 0.24 0.24 0.32 0 0 0 0 0 0s0 0.080 0.080 0.080v0c1.28 2.080 2.56 4.080 3.92 6.16l6.48-4.32c4.24 6.56 8.8 12.88 13.76 18.88l-5.36 4.48c0.88 1.040 1.68 2 2.56 2.96v0c0.080 0.080 0.16 0.24 0.32 0.32 0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0 0.080 0.080 0.16 0.16 0.24 0.24v0c0 0 0.080 0.080 0.080 0.080s0 0 0 0 0.080 0.080 0.080 0.080v0c0.080 0.080 0.080 0.080 0.16 0.16 0 0 0 0.080 0.080 0.080 0 0 0 0 0 0s0 0.080 0.080 0.080c0 0 0 0 0 0 0.080 0.080 0.16 0.16 0.16 0.24 0 0 0 0 0 0s0 0.080 0.080 0.080c0 0 0 0 0 0s0 0.080 0.080 0.080c0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0.080 0.080 0 0 0 0 0.080 0.080 0 0 0 0 0.080 0.080 0 0 0 0 0.080 0.080 0 0 0 0 0.080 0.080 0 0 0 0 0.080 0.080 0 0 0.080 0.080 0.080 0.080s0 0 0 0 0.080 0.080 0.080 0.080c0 0 0 0 0 0.080 0 0 0 0.080 0.080 0.080 0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0s0.080 0.080 0.080 0.080v0c0 0 0.080 0.080 0.080 0.080s0 0 0 0 0.080 0.080 0.080 0.080c0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0 0.080 0.080 0.16 0.16 0.16 0.24 0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0 0.080 0.080 0.16 0.24 0.32 0.32 0 0 0 0 0 0s0.080 0.080 0.080 0.080c0 0 0 0 0 0 3.44 3.68 7.040 7.2 10.72 10.64-33.76 30.56-77.92 48.4-126.24 48.4s-92.48-17.84-126.24-47.28c3.68-3.36 7.28-6.96 10.72-10.64 0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0 0.080-0.080 0.16-0.24 0.32-0.32 0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0 0.080-0.080 0.16-0.16 0.16-0.24 0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0s0.080-0.080 0.080-0.080v0c0 0 0.080-0.080 0.080-0.080s0 0 0 0 0.080-0.080 0.080-0.080c0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0s0-0.080 0.080-0.080c0 0 0 0 0-0.080 0 0 0.080-0.080 0.080-0.080s0 0 0 0 0.080-0.080 0.080-0.080c0 0 0 0 0.080-0.080 0 0 0 0 0.080-0.080 0 0 0 0 0.080-0.080 0 0 0 0 0.080-0.080 0 0 0 0 0.080-0.080 0 0 0 0 0.080-0.080 0 0 0.080-0.080 0.080-0.080s0 0 0 0 0-0.080 0.080-0.080c0 0 0 0 0 0s0-0.080 0.080-0.080c0 0 0 0 0 0 0.080-0.080 0.16-0.16 0.16-0.24 0 0 0 0 0 0s0-0.080 0.080-0.080c0 0 0 0 0 0s0-0.080 0.080-0.080v0c0.080-0.080 0.080-0.080 0.16-0.16v0c0 0 0.080-0.080 0.080-0.080s0 0 0 0 0.080-0.080 0.080-0.080v0c0.080-0.080 0.16-0.16 0.24-0.24 0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0 0.080-0.080 0.16-0.24 0.32-0.32v0c0.88-0.96 1.76-2 2.56-2.96l-5.36-4.48c4.96-6 9.6-12.32 13.76-18.88l6.48 4.32c1.36-2 2.64-4.080 3.92-6.16v0c0 0 0-0.080 0.080-0.080 0 0 0 0 0 0 0.080-0.080 0.16-0.24 0.24-0.32 0 0 0 0 0 0s0-0.080 0.080-0.080c0 0 0 0 0 0 0-0.080 0.080-0.080 0.080-0.16 0 0 0 0 0 0s0-0.080 0.080-0.080c0 0 0 0 0-0.080 0 0 0-0.080 0-0.080s0 0 0-0.080c0 0 0 0 0-0.080 0 0 0-0.080 0.080-0.080 0 0 0-0.080 0.080-0.080 0 0 0-0.080 0-0.080s0 0 0-0.080c0 0 0-0.080 0-0.080s0 0 0-0.080c0 0 0-0.080 0.080-0.080 0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0s0-0.080 0.080-0.080c0 0 0 0 0 0s0-0.080 0.080-0.080c0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0s0-0.080 0.080-0.080c0 0 0 0 0 0s0.080-0.080 0.080-0.080v0c0-0.080 0.080-0.080 0.080-0.16 0 0 0 0 0 0s0.080-0.080 0.080-0.080c0 0 0 0 0 0 0.080-0.080 0.16-0.24 0.24-0.4 0 0 0 0 0 0 0-0.080 0.080-0.080 0.080-0.080s0 0 0 0c0.080-0.16 0.16-0.24 0.24-0.4 0 0 0 0 0 0 2.96-4.96 5.68-10.080 8.16-15.36l-7.52-3.6c2.8-6.24 5.36-12.64 7.52-19.2l7.92 2.72c1.68-4.96 3.2-10 4.56-15.040 0 0 0 0 0 0 0-0.16 0.080-0.32 0.080-0.4 0 0 0 0 0 0 0-0.16 0.080-0.32 0.080-0.4 0 0 0 0 0 0 0-0.16 0.080-0.24 0.080-0.4 0 0 0 0 0 0 0-0.16 0.080-0.32 0.080-0.4 0 0 0 0 0 0 0-0.080 0-0.080 0-0.16 0 0 0 0 0 0 0-0.080 0.080-0.16 0.080-0.32v0c0-0.080 0-0.080 0-0.16 0 0 0 0 0 0 0-0.080 0.080-0.16 0.080-0.32 0 0 0 0 0 0 0-0.080 0-0.080 0-0.16 0 0 0 0 0 0 0-0.16 0.080-0.24 0.080-0.4 0 0 0 0 0 0 0-0.16 0.080-0.32 0.080-0.4 0 0 0 0 0 0 0-0.16 0.080-0.32 0.080-0.4 0 0 0 0 0 0 0-0.16 0.080-0.32 0.080-0.4 0 0 0 0 0 0 0-0.16 0.080-0.32 0.080-0.4 0 0 0 0 0 0 0.56-2.56 1.12-5.2 1.6-7.84l-8.56-1.6c1.12-6.48 1.92-13.040 2.4-19.68l6.88 0.48v-28.48l-6.88 0.48c-0.48-6.64-1.28-13.2-2.4-19.68l8.56-1.6c-0.48-2.64-1.040-5.28-1.6-7.84 0 0 0 0 0 0 0-0.16-0.080-0.32-0.080-0.4 0 0 0 0 0 0 0-0.16-0.080-0.32-0.080-0.4 0 0 0 0 0 0 0-0.16-0.080-0.32-0.080-0.4 0 0 0 0 0 0 0-0.16-0.080-0.32-0.080-0.4 0 0 0 0 0 0 0-0.16-0.080-0.32-0.080-0.4 0 0 0 0 0 0 0-0.080 0-0.080 0-0.16 0 0 0 0 0 0 0-0.080-0.080-0.16-0.080-0.32 0 0 0 0 0 0 0-0.080 0-0.080 0-0.16 0 0 0 0 0 0 0-0.080-0.080-0.16-0.080-0.32 0 0 0 0 0 0 0-0.080 0-0.080 0-0.16 0 0 0 0 0 0 0-0.16-0.080-0.32-0.080-0.4 0 0 0 0 0 0 0-0.16-0.080-0.32-0.080-0.4 0 0 0 0 0 0 0-0.16-0.080-0.32-0.080-0.4 0 0 0 0 0 0 0-0.16-0.080-0.32-0.080-0.4 0 0 0 0 0 0-1.28-5.12-2.8-10.16-4.56-15.040l-7.92 2.72c-2.16-6.56-4.64-12.96-7.52-19.2l7.52-3.6c-2.48-5.28-5.2-10.4-8.16-15.36 0 0 0 0 0 0-0.080-0.16-0.16-0.24-0.24-0.4 0 0 0 0 0 0 0-0.080-0.080-0.080-0.080-0.080s0 0 0 0c-0.080-0.080-0.16-0.24-0.24-0.4 0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0 0-0.080-0.080-0.080-0.080-0.16 0 0-0.080-0.080-0.080-0.080s0 0 0 0 0-0.080-0.080-0.080c0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0s0-0.080-0.080-0.080c0 0 0 0 0 0s0-0.080-0.080-0.080c0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0s0-0.080-0.080-0.080c0 0 0 0 0-0.080 0 0 0 0 0-0.080 0 0 0 0 0-0.080 0 0 0-0.080 0-0.080s0-0.080-0.080-0.080c0 0 0-0.080-0.080-0.080 0 0 0 0 0-0.080 0 0 0 0 0-0.080 0 0 0-0.080 0-0.080s0 0 0-0.080c0 0 0-0.080-0.080-0.080 0 0 0 0 0 0 0-0.080-0.080-0.080-0.080-0.16 0 0 0 0 0 0s0-0.080-0.080-0.080c0 0 0 0 0 0-0.080-0.080-0.16-0.24-0.24-0.32 0 0 0 0 0 0s0-0.080-0.080-0.080v0c-1.28-2.080-2.56-4.080-3.92-6.16l-6.48 4.32c-4.24-6.56-8.8-12.88-13.76-18.88l5.36-4.48c-0.88-1.040-1.68-2-2.56-2.96v0c-0.080-0.080-0.16-0.24-0.32-0.32 0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0-0.080-0.080-0.16-0.16-0.24-0.24v0c0 0-0.080-0.080-0.080-0.080s0 0 0 0-0.080-0.080-0.080-0.080v0c-0.080-0.080-0.080-0.080-0.16-0.16v0c0 0-0.080-0.080-0.080-0.080s0 0 0 0 0-0.080-0.080-0.080c0 0 0 0 0 0-0.080-0.080-0.16-0.16-0.16-0.24 0 0 0 0 0 0s0 0-0.080-0.080c0 0 0 0 0 0s0-0.080-0.080-0.080c0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0-0.080-0.080 0 0 0 0-0.080-0.080 0 0 0 0-0.080-0.080 0 0 0 0-0.080-0.080 0 0 0 0-0.080-0.080 0 0 0 0-0.080-0.080 0 0-0.080-0.080-0.080-0.080s0 0 0 0-0.080-0.080-0.080-0.080c0 0 0 0 0-0.080 0 0 0 0-0.080-0.080 0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0s-0.080-0.080-0.080-0.080v0c0 0-0.080-0.080-0.080-0.080s0 0 0 0-0.080-0.080-0.080-0.080c0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0-0.080-0.080-0.16-0.16-0.16-0.24 0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0-0.080-0.080-0.16-0.24-0.32-0.32 0 0 0 0 0 0s-0.080-0.080-0.080-0.080c0 0 0 0 0 0-3.44-3.68-7.040-7.2-10.72-10.64 33.76-30.56 77.92-48.4 126.24-48.4s92.48 17.84 126.24 47.28c-3.76 3.44-7.28 6.96-10.72 10.64v0zM144.72 134l-6.8 4.56c4.56 6.72 8.64 13.92 12.080 21.28l6.96-3.28c0.64 1.36 1.2 2.72 1.76 4.080 1.92 4.56 3.68 9.2 5.2 13.84l-7.2 2.48c2.64 7.68 4.72 15.6 6.24 23.6l7.2-1.36c1.040 6.080 1.76 12.16 2.24 18.32l-7.2 0.56c0.32 4.080 0.4 8.16 0.4 12.24s-0.16 8.16-0.4 12.24l7.2 0.56c-0.4 6.16-1.2 12.32-2.24 18.32l-7.2-1.36c-1.44 8-3.6 15.92-6.24 23.6l7.2 2.48c-1.52 4.64-3.28 9.28-5.2 13.84-0.56 1.36-1.2 2.72-1.76 4.080l-6.96-3.28c-3.44 7.36-7.52 14.48-12.080 21.28l6.8 4.56c-3.92 6.16-8.24 12.080-12.96 17.76l-6.88-5.84c-4.72 5.6-9.84 10.96-15.28 15.84-28.48-33.28-45.6-76.64-45.6-124s17.12-90.72 45.52-124.16c5.44 4.96 10.56 10.24 15.28 15.84l6.88-5.84c4.8 5.68 9.12 11.6 13.040 17.76v0zM402.48 354.56c-5.44-4.96-10.56-10.24-15.28-15.84l-6.88 5.84c-4.72-5.68-9.040-11.6-12.96-17.76l6.8-4.56c-4.56-6.72-8.64-13.92-12.080-21.28l-6.96 3.28c-0.64-1.36-1.2-2.72-1.76-4.080-1.92-4.56-3.68-9.2-5.2-13.84l7.2-2.48c-2.64-7.68-4.72-15.6-6.24-23.6l-7.2 1.36c-1.040-6.080-1.76-12.16-2.24-18.32l7.2-0.56c-0.32-4.080-0.4-8.16-0.4-12.24s0.16-8.16 0.4-12.24l-7.2-0.56c0.4-6.16 1.2-12.32 2.24-18.32l7.2 1.36c1.44-8 3.6-15.92 6.24-23.6l-7.2-2.48c1.52-4.64 3.28-9.28 5.2-13.84 0.56-1.36 1.2-2.72 1.76-4.080l6.96 3.28c3.44-7.36 7.52-14.48 12.080-21.28l-6.8-4.56c3.92-6.16 8.24-12.080 12.96-17.76l6.88 5.84c4.72-5.6 9.84-10.96 15.28-15.84 28.4 33.44 45.52 76.8 45.52 124.16s-17.12 90.56-45.52 124z" />
12
  <glyph unicode="&#xe602;" glyph-name="basketball" d="M460.4 256c-2.8 42.080-19.12 80.4-44.64 110.72-3.040-2.56-5.92-5.28-8.72-8.16-27.76-27.76-44.32-63.84-47.28-102.56h100.64zM395.6 387.36c-30.8 27.12-70.4 44.56-114 47.44v-178.8h49.2c3.44 52.24 27.84 98.8 64.8 131.36zM130.64 358.56c-2.8 2.8-5.76 5.52-8.72 8.16-25.6-30.32-41.92-68.64-44.72-110.72h100.64c-2.96 38.8-19.44 74.8-47.2 102.56zM206.8 256h49.2v178.8c-43.6-2.88-83.2-20.24-114-47.44 36.96-32.56 61.36-79.12 64.8-131.36zM407.040 127.76c2.8-2.8 5.76-5.52 8.72-8.16 25.52 30.32 41.84 68.72 44.64 110.72h-100.72c3.040-38.72 19.52-74.72 47.36-102.56zM330.8 230.4h-49.2v-178.8c43.6 2.88 83.2 20.24 114 47.44-36.96 32.56-61.36 79.12-64.8 131.36zM77.2 230.4c2.8-42.080 19.040-80.4 44.64-110.72 3.040 2.56 5.92 5.28 8.72 8.16 27.76 27.76 44.32 63.84 47.28 102.64 0.080-0.080-100.64-0.080-100.64-0.080zM142 99.040c30.8-27.12 70.4-44.56 114-47.44v178.8h-49.2c-3.44-52.24-27.84-98.8-64.8-131.36z" />
13
+ <glyph unicode="&#xe603;" glyph-name="golfball" d="M383.6 282c0-14.080 11.52-25.6 25.6-25.6 0 0 0 0 0 0-8-19.12-19.44-36.48-33.6-51.2h-43.28c0-10.4 6.32-19.44 15.28-23.44-26.4-17.52-58-27.76-92.080-27.76s-65.68 10.24-92.080 27.76c8.96 4 15.28 12.96 15.28 23.44h-43.28c-14.16 14.72-25.6 32.080-33.6 51.2 0 0 0 0 0 0 14.080 0 25.6 11.52 25.6 25.6h-33.92c-2.88 12.32-4.48 25.2-4.48 38.4 0 91.92 74.48 166.4 166.4 166.4s166.4-74.48 166.4-166.4c0-13.2-1.52-26.080-4.48-38.4h-33.76zM306.8 256.4c14.080 0 25.6 11.52 25.6 25.6h-51.2c0-14.080 11.52-25.6 25.6-25.6zM255.6 179.6c14.080 0 25.6 11.52 25.6 25.6h-51.2c0-14.080 11.52-25.6 25.6-25.6zM204.4 256.4c14.080 0 25.6 11.52 25.6 25.6h-51.2c0-14.080 11.52-25.6 25.6-25.6zM153.2 333.2c14.080 0 25.6 11.52 25.6 25.6h-51.2c0-14.080 11.52-25.6 25.6-25.6zM178.8 435.6c0-14.080 11.52-25.6 25.6-25.6s25.6 11.52 25.6 25.6h-51.2zM230 358.8c0-14.080 11.52-25.6 25.6-25.6s25.6 11.52 25.6 25.6h-51.2zM281.2 435.6c0-14.080 11.52-25.6 25.6-25.6s25.6 11.52 25.6 25.6h-51.2zM332.4 358.8c0-14.080 11.52-25.6 25.6-25.6s25.6 11.52 25.6 25.6h-51.2zM310.88 136.48l-29.68-59.28v-102.4h-51.2v102.4l-29.68 59.28c17.52-5.28 36.080-8.080 55.28-8.080s37.76 2.88 55.28 8.080z" />
14
+ <glyph unicode="&#xe604;" glyph-name="cricketball" d="M233.44 26.88l226.080 226.080c6.56-59.68-13.040-121.6-58.72-167.36s-107.68-65.28-167.36-58.72zM151.92 53.92c-14.56 8.56-28.24 19.12-40.8 31.68-12.48 12.48-23.040 26.24-31.68 40.8l280.64 280.48c14.56-8.56 28.24-19.12 40.8-31.68 12.48-12.48 23.040-26.24 31.68-40.8l-280.64-280.48zM52.48 207.84c-6.56 59.68 12.96 121.68 58.72 167.36s107.68 65.28 167.36 58.72l-226.080-226.080zM309.040 428.24c9.12-2.48 18.16-5.52 26.96-9.28l-268.56-268.56c-3.76 8.8-6.8 17.84-9.28 26.96l250.88 250.88zM444.56 310.4c3.76-8.8 6.8-17.84 9.28-26.96l-250.88-250.88c-9.12 2.48-18.16 5.52-26.96 9.28l268.56 268.56z" />
15
  <glyph unicode="&#xe605;" glyph-name="bowling" d="M368.4 332.8c-6.64 10.64-10 23.44-10 38.4 0 12.24 3.36 21.76 10.24 28.4s16.16 10 28.16 10 21.44-3.36 28.16-10 10.24-16.16 10.24-28.4c0-14.96-3.36-27.76-10-38.4h-56.8zM382 281.6c1.36 4.8 2 9.040 2 12.8 0 4.56-0.56 8.8-1.6 12.8h28.8c-1.040-4-1.6-8.24-1.6-12.8 0-3.44 0.64-7.76 2-12.8h-29.6zM371.6 256h50.4c2.16-4.24 7.36-14 15.6-29.2s14.24-27.36 17.76-36.4 5.44-17.040 5.44-24c0-12-0.16-21.84-0.4-29.6s-0.96-18-2.24-30.8-3.36-23.84-6.56-32.96-7.2-16.48-12-21.76h-85.2c2.64 27.44 4 63.2 4 107.2 0 20.56-2.4 40.16-7.2 58.8 0.56 1.040 3.44 6.56 8.8 16.4 5.36 9.76 9.2 17.28 11.6 22.32zM204.8 25.6c-5.84 5.84-10.72 14.56-14.56 26.24s-6.48 25.36-7.84 41.2-2.24 28.56-2.56 38-0.64 21.2-0.64 35.36c0 8 1.84 16.64 5.6 26s9.76 21.040 18 35.2c8.24 14.16 13.6 23.6 16 28.4h74.4c2.4-4.56 7.76-13.92 16-28.16s14.24-26.080 18-35.36 5.6-18 5.6-26c0-14.16-0.16-25.92-0.64-35.36s-1.28-22.16-2.56-38-3.92-29.6-7.84-41.2-8.72-20.48-14.56-26.32h-102.4zM218.4 332.8c-2.96 5.040-5.2 9.36-6.8 12.8s-3.12 8.64-4.64 15.6-2.16 14.56-2.16 22.8c0 14.16 4.96 26.24 15.040 36.16s22 15.040 36.16 15.040c14.16 0 26.24-4.96 36.16-15.040s15.040-22 15.040-36.16c0-8.24-0.72-15.84-2.24-22.8s-3.040-12.16-4.64-15.6-3.84-7.76-6.8-12.8h-75.12zM157.6 51.2h-85.2c-4.8 5.36-8.8 12.64-12 21.76s-5.44 20.16-6.56 32.96-1.92 23.040-2.24 30.8-0.4 17.68-0.4 29.68c0 6.96 1.76 14.96 5.44 24s9.52 21.2 17.76 36.4 13.44 24.96 15.6 29.2h50.4c1.84-3.76 3.92-7.76 6.24-12s4.8-9.040 7.6-14.4c2.8-5.36 4.96-9.44 6.56-12.4-4.8-18.64-7.2-38.24-7.2-58.8 0-44.24 1.36-80 4-107.2zM100.4 281.6c1.36 4.8 2 9.040 2 12.8 0 4.56-0.56 8.8-1.6 12.8h28.8c-1.040-4-1.6-8.24-1.6-12.8 0-3.76 0.64-8 2-12.8h-29.6zM86.8 332.8c-6.64 10.64-10 23.44-10 38.4 0 12.24 3.36 21.76 10.24 28.4s16.16 10 28.16 10 21.44-3.36 28.16-10 10.24-16.16 10.24-28.4c0-14.96-3.36-27.76-10-38.4h-56.8zM228.8 281.6c1.040 4.8 1.6 9.040 1.6 12.8 0 4.56-0.4 8.8-1.2 12.8h53.6c-0.8-4-1.2-8.24-1.2-12.8 0-3.76 0.56-8 1.6-12.8h-54.4z" />
16
  <glyph unicode="&#xe606;" glyph-name="ice-hockey" d="M397.2 284.64l-104.24-210.56c-6.16-12.4-22.8-22.88-36.88-22.88h-153.76c-13.92 0-25.52 11.44-25.52 25.6v25.68c0 14.24 11.36 25.6 25.36 25.6h128.24l96.64 192.4 70.16-35.84zM408.56 307.52l38.080 76.64c6.96 14.080 1.44 31.12-12.56 38.16l-19.44 9.76c-13.92 7.040-30.88 1.52-37.76-12.24l-38.4-76.56 70.080-35.76zM166.4 179.2c21.2 0 38.4 17.2 38.4 38.4s-17.2 38.4-38.4 38.4-38.4-17.2-38.4-38.4c0-21.2 17.2-38.4 38.4-38.4v0z" />
17
  <glyph unicode="&#xe607;" glyph-name="football" d="M458.48 371.6c-3.36 30.48-30.8 57.92-61.28 61.28-82.8 9.12-190.080-6.32-263.68-80-73.6-73.6-89.040-180.96-79.92-263.68 3.36-30.48 30.8-57.92 61.28-61.28 82.72-9.12 190.080 6.32 263.68 79.92 73.6 73.68 89.040 180.96 79.92 263.76v0zM181.28 202.72c5.92 5.92 15.52 5.92 21.52 0l25.6-25.6c5.92-5.92 5.92-15.52 0-21.52-2.96-2.96-6.88-4.48-10.72-4.48s-7.76 1.52-10.72 4.48l-25.6 25.6c-6.080 6-6.080 15.6-0.080 21.52zM187.92 52.48c-23.2 11.76-44.64 27.28-63.6 46.24s-34.48 40.48-46.32 63.68c1.44 17.52 4.32 36.32 9.28 55.68 1.68 6.56 3.6 13.040 5.68 19.36 7.52-42.080 27.68-80.72 58.48-111.6 30.8-30.8 69.52-50.96 111.52-58.48-26.8-8.8-52.88-13.040-75.040-14.88zM279.52 206.88c-2.96-2.96-6.88-4.48-10.72-4.48s-7.76 1.52-10.72 4.48l-25.6 25.6c-5.92 5.92-5.92 15.52 0 21.52 5.92 5.92 15.6 5.92 21.52 0l25.6-25.6c5.92-6 5.92-15.6-0.080-21.52zM330.72 258.080c-2.96-2.96-6.88-4.48-10.72-4.48s-7.76 1.52-10.72 4.48l-25.6 25.6c-5.92 5.92-5.92 15.52 0 21.52s15.52 5.92 21.52 0l25.6-25.6c5.92-6 5.92-15.6-0.080-21.52zM424.72 242.72c-1.68-6.56-3.6-13.040-5.68-19.36-7.52 42.080-27.68 80.72-58.48 111.6-30.8 30.8-69.52 50.96-111.52 58.48 26.8 8.8 52.88 13.040 75.040 14.88 23.2-11.76 44.64-27.28 63.6-46.24s34.48-40.48 46.32-63.68c-1.44-17.52-4.32-36.32-9.28-55.68v0z" />
18
+ <glyph unicode="&#xe608;" glyph-name="poolball" d="M256 435.2c-113.12 0-204.8-91.68-204.8-204.8s91.68-204.8 204.8-204.8 204.8 91.68 204.8 204.8-91.68 204.8-204.8 204.8zM256 140.8c-56.56 0-102.4 45.84-102.4 102.4s45.84 102.4 102.4 102.4 102.4-45.84 102.4-102.4-45.84-102.4-102.4-102.4zM294.48 243.2c8 6.72 12.72 15.68 12.72 25.6 0 21.52-22.48 38.4-51.2 38.4s-51.2-16.88-51.2-38.4c0-9.92 4.8-18.88 12.72-25.6-8-6.72-12.72-15.68-12.72-25.6 0-21.52 22.48-38.4 51.2-38.4s51.2 16.88 51.2 38.4c0 9.92-4.8 18.88-12.72 25.6zM230.4 268.8c0 5.2 10 12.8 25.6 12.8s25.6-7.6 25.6-12.8c0-5.2-10-12.8-25.6-12.8 0 0 0 0 0 0s0 0 0 0c-15.6 0-25.6 7.6-25.6 12.8zM256 204.8c-15.6 0-25.6 7.6-25.6 12.8s10 12.8 25.6 12.8c0 0 0 0 0 0s0 0 0 0c15.6 0 25.6-7.6 25.6-12.8s-10-12.8-25.6-12.8z" />
19
+ <glyph unicode="&#xe609;" glyph-name="table-tennis" d="M435.2 371.2c0-21.2-17.2-38.4-38.4-38.4s-38.4 17.2-38.4 38.4 17.2 38.4 38.4 38.4c21.2 0 38.4-17.2 38.4-38.4zM439.28 69.44l-76.24 71.36c-12.72 10-8.8 12.8-3.76 25.6 0 0 0 0.080 0 0.080 24.32 53.76 11.92 122.16-35.6 169.76-31.68 31.68-72.64 47.76-112.4 47.76-35.44 0-69.84-12.8-95.76-38.72-54.96-54.96-50.96-148.16 9.040-208.16 31.68-31.68 72.64-47.76 112.4-47.76 19.84 0 39.44 4 57.36 12.16 0 0 0.080 0 0.080 0.080 6.4 2.48 10.32 4.64 13.92 4.64s6.8-2.16 11.68-8.4l71.36-76.24c3.52-4.48 8.4-6.72 13.36-6.72 4.32 0 8.64 1.68 12.080 5.2l24 23.92c7.52 7.52 6.8 18.96-1.52 25.44v0 0zM182.16 130.96l147.76 147.76c4.4-9.12 7.68-18.64 9.92-28.48l-129.2-129.2c-7.36 1.6-14.64 3.92-21.76 6.88-2.32 0.96-4.56 1.92-6.72 3.040v0 0z" />
20
+ <glyph unicode="&#xe610;" glyph-name="tennis" d="M384 140.8c-25.6 25.6-25.6 64-25.6 115.2v0c0 43.040-18.4 88.88-54.4 124.8-35.92 35.92-81.68 54.4-124.72 54.4-34.56 0-67.36-11.92-91.76-36.32-54.8-54.8-46.72-151.76 18.080-216.48 35.92-35.92 81.68-54.4 124.72-54.4 51.28 0 89.68 0 115.28-25.6l76.8-76.8c25.6 0 38.4 12.8 38.4 38.4l-76.8 76.8zM256 382.8c9.84-6.32 19.12-13.76 27.68-22.32s16-17.76 22.32-27.68h-50v50zM153.6 180.4c-9.84 6.32-19.12 13.76-27.68 22.32s-16 17.76-22.32 27.68h50v-50zM153.6 256h-63.28c-5.44 13.36-8.72 27.040-9.92 40.72-0.32 3.52-0.4 7.040-0.4 10.48h73.6v-51.2zM153.6 332.8h-70.72c4.16 17.6 12.56 33.28 25.040 45.68 9.12 9.12 19.92 16.080 32.080 20.8 4.4 1.68 8.88 3.12 13.6 4.16v-70.64zM230.4 156.8c0 0-0.080 0-0.080 0-17.12 0-34.48 3.6-51.12 10.32v63.28h51.2v-73.6zM230.4 256h-51.2v51.2h51.2v-51.2zM230.4 332.8h-51.2v73.6c0 0 0.080 0 0.080 0v0c17.12 0 34.48-3.6 51.12-10.32v-63.28zM301.68 184.72c-9.12-9.12-19.92-16.080-32.080-20.8-4.4-1.68-8.88-3.12-13.6-4.16v70.64h70.72c-4.16-17.6-12.56-33.28-25.040-45.68zM256 256v51.2h63.28c5.44-13.36 8.72-27.040 9.92-40.72 0.32-3.52 0.4-7.040 0.4-10.48h-73.6zM128 89.6c0-21.2-17.2-38.4-38.4-38.4s-38.4 17.2-38.4 38.4 17.2 38.4 38.4 38.4 38.4-17.2 38.4-38.4z" />
21
+ <glyph unicode="&#xe611;" glyph-name="racing-flag" d="M204.8 358.4h51.2v-51.2h-51.2v51.2zM256 307.2v-51.2c25.6 0 25.6-25.6 51.2-25.6v51.2c-25.6 0-25.6 25.6-51.2 25.6zM307.2 332.8h51.2v-51.2h-51.2v51.2zM307.2 409.6c-12.8 0-19.2 6.4-25.6 12.8s-12.8 12.8-25.6 12.8h-128v-256h128c12.8 0 19.2-6.4 25.6-12.8s12.8-12.8 25.6-12.8h128v256h-128zM409.6 281.6h-51.2v-51.2h51.2v-51.2h-51.2v51.2h-51.2v-51.2c-12.8 0-19.2 6.4-25.6 12.8s-12.8 12.8-25.6 12.8v51.2h-51.2v-51.2h-51.2v51.2h51.2v51.2h-51.2v51.2h51.2v51.2h51.2v-51.2c12.8 0 19.2-6.4 25.6-12.8s12.8-12.8 25.6-12.8v51.2h51.2v-51.2h51.2v-51.2zM51.2 435.2h51.2v-409.6h-51.2v409.6z" />
22
+ <glyph unicode="&#xe700;" glyph-name="soccerball" d="M335.6 419.040c25.36-10.72 47.12-25.36 65.44-43.6 18.24-18.24 32.8-40.080 43.6-65.44s16.16-51.84 16.16-79.6-5.44-54.24-16.16-79.6c-10.72-25.36-25.36-47.12-43.6-65.44-18.24-18.24-40.080-32.8-65.44-43.6s-51.84-16.16-79.6-16.16-54.24 5.44-79.6 16.16-47.12 25.36-65.44 43.6c-18.32 18.24-32.8 40.080-43.6 65.44s-16.16 51.84-16.16 79.6 5.44 54.24 16.16 79.6 25.36 47.12 43.6 65.44 40.080 32.8 65.44 43.6 51.84 16.16 79.6 16.16 54.24-5.44 79.6-16.16zM114 339.6l14-6.8v-76.8l-50.4-38c2.16-32.8 12.64-62.8 31.6-90h70l25.6-64v-5.2c16.8-5.040 33.84-7.6 51.2-7.6s34.4 2.56 51.2 7.6v5.2l25.6 64h70c18.96 27.2 29.44 57.2 31.6 90l-50.4 38v76.8l13.6 6.8c-18.4 24-41.76 42.24-70 54.8l-71.6-36-71.6 36c-28.24-12.56-51.76-30.8-70.4-54.8zM320 250.4l-24.4-70.8h-79.2l-24.4 70.8 64 44 64-44z" />
23
+ <glyph unicode="&#xe701;" glyph-name="baseball" d="M256 25.6c-113.12 0-204.8 91.68-204.8 204.8s91.68 204.8 204.8 204.8 204.8-91.68 204.8-204.8-91.68-204.8-204.8-204.8zM76.8 230.4c0-48.8 19.52-93.040 51.12-125.28 31.68 32.32 51.28 76.48 51.28 125.28s-19.6 93.040-51.28 125.28c-31.6-32.24-51.12-76.48-51.12-125.28zM147.2 372.72c35.68-36.88 57.6-87.040 57.6-142.32s-22-105.52-57.6-142.32c30.16-23.12 67.92-36.88 108.8-36.88s78.64 13.76 108.8 36.88c-35.68 36.88-57.6 87.040-57.6 142.32s22 105.52 57.6 142.32c-30.16 23.12-67.84 36.88-108.8 36.88s-78.64-13.76-108.8-36.88zM384.080 355.68c-31.68-32.24-51.28-76.48-51.28-125.28s19.6-93.040 51.28-125.28c31.6 32.32 51.12 76.56 51.12 125.28s-19.52 93.040-51.12 125.28z" />
24
  <glyph unicode="&#xe800;" glyph-name="shoe" d="M461.52 280.88l-21.2-20c-0.96-0.96-2.56-1.12-3.68-0.24l-27.040 19.84c4.080 4.24 8.4 8.48 13.36 13.2 3.36 3.2 6.4 6.080 9.6 8.88 2.8 2.56 5.36 4.88 7.76 7.28 1.28 1.2 2.56 2.4 3.84 3.6l17.84-28.96c0.72-1.2 0.48-2.72-0.48-3.6zM432.64 318.080c-5.040-4.8-10.96-10-17.36-16.080-4.56-4.24-9.28-8.88-14.16-14-22.8-24.080-189.76-191.36-224-223.6-34.24-32.4-94.64-54.96-120.32-27.68-25.68 27.2 24.080 72.24 39.84 119.44 15.76 47.28 59.36 108.4 59.36 108.4-6.64 13.92 5.2 26.88 9.84 31.28 1.040 1.040 1.76 1.52 1.76 1.52-8.16 16.16 13.44 36.56 13.44 36.56l17.36 94.88c0.32 1.76 1.12 3.28 2.32 4.32 1.76 1.68 4.32 2.48 6.88 2l38.16-6.72c25.12-4.56-9.92-70.56 0.96-70.72 6.96-0.16 20.24 5.28 32.96 17.28 7.12 6.72 14.080 15.6 19.6 26.64 11.44 22.88-12.72 46.96-4.56 54.72 2.72 2.64 9.44 3.36 22.48 1.6 51.6-7.76 92.8-59.040 121.44-90.24 19.44-21.2 12.24-32.4-6-49.6zM165.28 232.16l-16-26c-1.2-1.84 0.16-4.32 2.48-4.32l114.72 1.6c0.64 0.080 1.36 0.24 1.92 0.8l28.32 26.72c1.92 1.84 0.56 5.040-1.92 4.96l-127.2-2.48c-0.88 0.080-1.76-0.48-2.32-1.28zM351.84 290l-156-4.64c-0.96-0.080-1.84-0.56-2.32-1.36l-15.92-25.92c-1.2-2 0.24-4.4 2.56-4.4l141.68 2.64c0.64 0.080 1.36 0.24 1.92 0.8l30.24 27.76c1.76 1.92 0.4 5.12-2.16 5.12zM195.52 26.32c0.72-1.2 0.48-2.72-0.48-3.6l-21.2-20c-0.96-0.96-2.56-1.12-3.68-0.24l-29.28 21.52c-0.56 0.48-0.96 1.12-1.040 2.080 14.32 6.64 28.16 15.52 40 25.68l15.68-25.44zM228 98.24l16.16-26.080c0.72-1.2 0.48-2.72-0.48-3.6l-21.2-20c-0.96-0.96-2.56-1.12-3.68-0.24l-23.76 17.6c8.48 8.16 19.84 19.36 32.96 32.32zM405.68 230.72c0.72-1.2 0.48-2.72-0.48-3.6l-21.2-20.080c-0.96-0.96-2.56-1.12-3.68-0.24l-25.040 18.56c12.56 12.56 23.92 24 33.040 33.28l17.36-27.92z" />
25
  <glyph unicode="&#xe801;" glyph-name="card" d="M153.6 435.2h204.8c14.16 0 25.6-11.44 25.6-25.6v-358.4c0-14.16-11.44-25.6-25.6-25.6h-204.8c-14.16 0-25.6 11.44-25.6 25.6v358.4c0 14.16 11.44 25.6 25.6 25.6z" />
26
  <glyph unicode="&#xf101;" glyph-name="user-scores" d="M153.6 256h204.8v-51.2h-204.8v51.2zM153.6 332.8h204.8v-51.2h-204.8v51.2zM435.2 435.2h-358.4c-14.16 0-25.6-11.44-25.6-25.6v-281.6c0-14.16 11.44-25.6 25.6-25.6h51.2v-76.8l115.2 76.8h192c14.16 0 25.6 11.44 25.6 25.6v281.6c0 14.16-11.44 25.6-25.6 25.6zM409.6 153.6h-166.4l-64-38.4v38.4h-76.8v230.4h307.2v-230.4z" />
28
  <glyph unicode="&#xf108;" glyph-name="calculator" d="M409.6 435.2h-307.2c-14.16 0-25.6-11.44-25.6-25.6v-358.4c0-14.16 11.44-25.6 25.6-25.6h307.2c14.16 0 25.6 11.44 25.6 25.6v358.4c0 14.16-11.44 25.6-25.6 25.6zM179.2 76.8h-51.2v51.2h51.2v-51.2zM179.2 153.6h-51.2v51.2h51.2v-51.2zM179.2 230.4h-51.2v51.2h51.2v-51.2zM281.6 76.8h-51.2v51.2h51.2v-51.2zM281.6 153.6h-51.2v51.2h51.2v-51.2zM281.6 230.4h-51.2v51.2h51.2v-51.2zM384 76.8h-51.2v51.2h51.2v-51.2zM384 153.6h-51.2v51.2h51.2v-51.2zM384 230.4h-51.2v51.2h51.2v-51.2zM384 332.8h-256v51.2h256v-51.2z" />
29
  <glyph unicode="&#xf111;" glyph-name="sportspress" d="M484.88 328.96l-30.72-222.64c-7.68-54.32-36.72-80.64-92.72-80.64h-264.32c-55.92 0-77.84 26.32-70.16 80.64l30.72 222.64c8.24 54.32 37.28 80.64 93.2 80.64h264.32c56-0.080 77.92-26.4 69.68-80.64zM206.88 359.040c-42.88 0-67.44-30.080-73.28-74.48l-4.88-36c-6.32-44.4 10.4-69.68 53.36-69.68h100.16c13.52 0 11.2-11.84 11.2-11.84-1.44-8.8-6.32-13.2-15.12-13.2h-166.96l-10.080-76.96h201.6c42.88 0 65.84 20.48 72.16 64.88l7.28 49.6c6.32 44.4-10.72 64.88-53.6 64.88h-100.72c-8.8 0-12.64 4.4-11.68 13.2 0 0-0.56 11.84 14.8 11.84h166.4l10.88 77.76h-201.52z" />
30
  <glyph unicode="&#xf112;" glyph-name="key" d="M460.8 332.8l-25.6 25.6-26.4-25.6v-51.2l-24.8-25.6-25.6 25.6-25.6-25.6v-51.2l-29.84-29.84c2.72-10.96 4.24-22.4 4.24-34.16 0-77.76-63.040-140.8-140.8-140.8s-140.8 63.040-140.8 140.8 63.040 140.8 140.8 140.8c18.88 0 36.96-3.76 53.44-10.48l188.96 189.68h77.6v-102.4l-25.6-25.6zM128 153.6c-28.24 0-51.2-22.96-51.2-51.2s22.96-51.2 51.2-51.2 51.2 22.96 51.2 51.2-22.96 51.2-51.2 51.2zM422.4 435.2c-4 0-7.52-1.84-9.92-4.72l-151.76-151.76c-2.88-2.32-4.72-5.92-4.72-9.92 0-7.040 5.76-12.8 12.8-12.8 3.52 0 6.72 1.44 9.040 3.76l0.080-0.080 153.6 153.6-0.080 0.080c2.32 2.32 3.76 5.52 3.76 9.12 0 6.96-5.68 12.72-12.8 12.72z" />
31
+ <glyph unicode="&#xf113;" glyph-name="update" d="M256 409.6q39.424 0 74.368-16.128t60.032-44.8l-43.776-49.92q-15.872 20.992-39.68 33.28t-50.944 12.288q-40.192 0-71.040-25.088t-39.552-63.232h59.392l-89.6-102.4-89.6 102.4h53.248q6.144 43.008 30.976 78.080t63.36 55.296 82.816 20.224zM256 50.176q-39.68 0-74.496 16.128t-59.904 44.8l43.776 49.92q15.872-20.992 39.68-33.28t50.944-12.288q40.192 0 71.040 25.088t39.552 63.232h-59.392l89.6 102.4 89.6-102.4h-53.248q-4.608-32.256-20.352-60.544t-39.040-48.768-53.888-32.384-63.872-11.904z" />
32
  <glyph unicode="&#xf116;" glyph-name="menu" d="M435.2 25.6h-358.4c-14.16 0-25.6 11.44-25.6 25.6v358.4c0 14.16 11.44 25.6 25.6 25.6h358.4c14.16 0 25.6-11.44 25.6-25.6v-358.4c0-14.16-11.44-25.6-25.6-25.6zM409.6 384h-307.2v-76.8h307.2v76.8zM409.6 256h-307.2v-179.2h307.2v179.2zM179.2 332.8h-51.2v25.6h51.2v-25.6zM230.4 332.8h-25.6v25.6h25.6v-25.6zM281.6 332.8h-25.6v25.6h25.6v-25.6zM332.8 332.8h-25.6v25.6h25.6v-25.6zM384 332.8h-25.6v25.6h25.6v-25.6z" />
33
  <glyph unicode="&#xf145;" glyph-name="calendar" d="M384 435.2h-51.2v-51.2h51.2v51.2zM435.2 435.2h-25.6v-76.8h-102.4v76.8h-102.4v-76.8h-102.4v76.8h-25.6c-14.16 0-25.6-11.44-25.6-25.6v-358.4c0-14.16 11.44-25.6 25.6-25.6h358.4c14.16 0 25.6 11.44 25.6 25.6v358.4c0 14.16-11.44 25.6-25.6 25.6zM409.6 76.8h-307.2v230.4h307.2v-230.4zM179.2 435.2h-51.2v-51.2h51.2v51.2zM281.6 256h-51.2v-51.2h51.2v51.2zM358.4 256h-51.2v-51.2h51.2v51.2zM204.8 179.2h-51.2v-51.2h51.2v51.2zM204.8 256h-51.2v-51.2h51.2v51.2zM281.6 179.2h-51.2v-51.2h51.2v51.2zM358.4 179.2h-51.2v-51.2h51.2v51.2z" />
34
  <glyph unicode="&#xf147;" glyph-name="eye" d="M256 426.667c-92.805 0-185.597-66.375-256-199.111 70.403-132.736 163.195-199.111 256-199.111s185.597 66.375 256 199.111c-70.403 132.736-163.195 199.111-256 199.111zM256 85.334c-67.486 0-135.945 51.43-190.667 142.222 54.722 90.792 123.18 142.222 190.667 142.222s135.945-51.43 190.667-142.222c-54.722-90.792-123.18-142.222-190.667-142.222zM312.889 227.556c0-31.417-25.472-56.889-56.889-56.889s-56.889 25.472-56.889 56.889 25.472 56.889 56.889 56.889 56.889-25.472 56.889-56.889z" />
35
+ <glyph unicode="&#xf155;" glyph-name="star-filled" d="M256 460.8l76.8-153.6 153.6-19.2-105.472-118.272 28.672-169.728-153.6 76.8-153.6-76.8 28.928 169.728-105.728 118.272 153.6 19.2z" />
36
+ <glyph unicode="&#xf158;" glyph-name="no" d="M398.080 135.68l-56.064-52.736-87.552 93.44-93.184-87.808-52.736 55.808 93.184 87.808-87.552 93.184 55.808 52.736 87.808-93.184 93.184 87.552 52.48-55.808-93.184-87.808z" />
37
+ <glyph unicode="&#xf159;" glyph-name="marker" d="M256 435.2q41.728 0 79.616-16.256t65.28-43.648 43.648-65.28 16.256-79.616-16.256-79.616-43.648-65.28-65.28-43.648-79.616-16.256-79.616 16.256-65.28 43.648-43.648 65.28-16.256 79.616 16.256 79.616 43.648 65.28 65.28 43.648 79.616 16.256zM256 102.4q34.816 0 64.256 17.152t46.592 46.592 17.152 64.256-17.152 64.256-46.592 46.592-64.256 17.152-64.256-17.152-46.592-46.592-17.152-64.256 17.152-64.256 46.592-46.592 64.256-17.152z" />
38
  <glyph unicode="&#xf163;" glyph-name="list" d="M153.6 332.8h51.2v-51.2h-51.2v51.2zM153.6 256h51.2v-51.2h-51.2v51.2zM153.6 179.2h51.2v-51.2h-51.2v51.2zM256 179.2h102.4v-51.2h-102.4v51.2zM435.2 435.2h-358.4c-14.16 0-25.6-11.44-25.6-25.6v-358.4c0-14.16 11.44-25.6 25.6-25.6h358.4c14.16 0 25.6 11.44 25.6 25.6v358.4c0 14.16-11.44 25.6-25.6 25.6zM409.6 76.8h-307.2v307.2h307.2v-307.2zM256 256h102.4v-51.2h-102.4v51.2zM256 332.8h102.4v-51.2h-102.4v51.2z" />
39
  <glyph unicode="&#xf164;" glyph-name="blocks" d="M153.6 179.2h204.8v-51.2h-204.8v51.2zM153.6 256h204.8v-51.2h-204.8v51.2zM435.2 435.2h-358.4c-14.16 0-25.6-11.44-25.6-25.6v-358.4c0-14.16 11.44-25.6 25.6-25.6h358.4c14.16 0 25.6 11.44 25.6 25.6v358.4c0 14.16-11.44 25.6-25.6 25.6zM409.6 76.8h-307.2v307.2h307.2v-307.2zM153.6 332.8h204.8v-51.2h-204.8v51.2z" />
40
+ <glyph unicode="&#xf171;" glyph-name="undo" d="M441.088 227.84q20.224-47.616 20.224-99.84t-20.224-99.84l-71.168 29.952q14.080 33.792 14.080 69.888 0 36.352-14.080 69.632-13.312 32-38.4 57.088-24.832 24.832-56.832 38.4-33.792 14.080-69.888 14.080v-76.8l-153.6 115.2 153.6 115.2v-76.288q52.224 0 99.84-20.224 46.592-19.712 81.408-55.040 35.328-34.816 55.040-81.408z" />
41
+ <glyph unicode="&#xf172;" glyph-name="redo" d="M70.912 227.84q19.712 46.592 55.040 81.408 34.816 35.328 81.408 55.040 47.616 20.224 99.84 20.224v76.288l153.6-115.2-153.6-115.2v76.8q-36.096 0-69.888-14.080-31.744-13.568-56.832-38.4-25.088-25.088-38.4-57.088-14.080-33.28-14.080-69.632 0-36.096 14.080-69.888l-71.168-29.952q-20.224 47.616-20.224 99.84t20.224 99.84z" />
42
+ <glyph unicode="&#xf174;" glyph-name="woo" d="M302.72 262.4c0 3.2-1.44 24.080-13.040 24.080-17.44 0-21.76-33.68-21.76-38.56 0-1.6 1.44-27.28 13.040-27.28 15.92 0 21.76 33.68 21.76 41.76v0zM396.96 262.4c0 3.2-1.44 24.080-13.040 24.080-17.36 0-21.76-33.68-21.76-38.56 0-1.6 1.44-27.28 13.040-27.28 15.92 0 21.76 33.68 21.76 41.76v0zM83.2 460.8c-31.84 0-57.6-25.84-57.6-57.76v-303.36c0-31.92 25.76-57.76 57.6-57.76h158.4l57.6-57.76v57.76h129.6c31.84 0 57.6 25.84 57.6 57.76v303.36c0 31.92-25.76 57.76-57.6 57.76h-345.6zM328.8 264c0-25.68-14.48-72.24-47.84-72.24-2.88 0-8.64 1.68-11.84 2.8-15.12 5.2-23.44 23.2-24.4 30.88 0 0-1.44 8.32-1.44 18.96 0 10.72 1.44 21.12 1.44 21.12 7.28 35.28 20.32 49.76 44.96 49.76 27.52 0.080 39.12-27.2 39.12-51.28v0zM244.080 320.16c0-1.6-20.32-65.84-20.32-99.52v-35.28c-1.2-5.6-1.92-11.28-10.16-11.28-21.76 0-41.44 70.64-42.88 75.44-2.88-3.2-29.040-75.44-44.96-75.44-11.6 0-20.32 52.96-21.76 57.76-4.32 25.68-12.16 73.44-12.16 76.64 0 9.6 0.56 18.080 12.16 18.080 2.88 0 10.080-2.8 11.040-8 5.44-28.96 7.76-56.16 13.6-86.72 0.88-1.36 0.72-3.28 2.16-4.88 1.44 4.8 31.2 78.72 44.24 78.72 10.48 0 14.16-20.8 15.6-28.8 2.88-9.6 6.080-25.76 10.48-38.56 0 6.4 5.84 94.72 30.48 94.72 8.72 0 12.48-3.28 12.48-12.88v0zM423.040 264c0-25.68-14.48-72.24-47.84-72.24-2.88 0-8.64 1.68-11.84 2.8-15.12 5.2-23.36 23.2-24.4 30.88 0 0-1.84 8.32-1.84 19.040s1.84 21.040 1.84 21.040c7.28 35.28 20.24 49.76 44.96 49.76 27.52 0.080 39.12-27.2 39.12-51.28v0z" />
43
+ <glyph unicode="&#xf179;" glyph-name="yoast-seo" d="M205.2 98.64c6.48 16.56 6.48 34.88 0 51.52l-75.68 194.56h67.6l45.52-142.48 71.36 198h-191.92c-39.84 0-72.48-32.64-72.48-72.48v-192.8c0-39.84 32.64-72.48 72.48-72.48h54c15.2 8.4 23.44 21.52 29.12 36.16zM460.8 327.68c0 39.84-32.64 72.48-72.48 72.48h-2.88l-101.92-272.96c-9.12-25.44-18.48-47.040-28.88-64.88h206.16v265.36zM333.36 474.080l-88.96-247.12-40.16 125.76h-84.96l79.92-205.2c5.76-14.8 5.76-30.96 0-45.76-7.040-18.080-18.080-35.6-50.56-39.92l-6.88-0.96v-72.48h7.92c77.92 0 113.36 54.56 142.64 136.24l130.32 349.44h-89.28zM277.52 130.080c-31.36-87.76-64.48-122.72-119.84-125.68v42.88c35.76 7.12 48.96 29.6 56.32 48.72 7.12 18.4 7.12 38.8 0 57.2l-71.52 183.76h50.32l50.8-159.040 101.040 280.4h55.44l-122.56-328.24z" />
44
  <glyph unicode="&#xf181;" glyph-name="bracket-center" d="M435.2 205.2h51.2c14.16 0 25.6-11.44 25.6-25.6v-102.4c0-14.16-11.44-25.6-25.6-25.6h-51.2c-14.16 0-25.6 11.44-25.6 25.6v25.6h-51.2c-14.16 0-25.6 11.44-25.6 25.6v76.8h-25.6v-25.6c0-14.16-11.44-25.6-25.6-25.6h-51.2c-14.16 0-25.6 11.44-25.6 25.6v25.6h-25.6v-76.8c0-14.16-11.44-25.6-25.6-25.6h-51.2v-25.6c0-14.16-11.44-25.6-25.6-25.6h-51.2c-14.16 0-25.6 11.44-25.6 25.6v102.4c0 14.16 11.44 25.6 25.6 25.6h51.2c14.16 0 25.6-11.44 25.6-25.6v-25.6h25.6v153.6h-25.6v-25.6c0-14.16-11.44-25.6-25.6-25.6h-51.2c-14.16 0-25.6 11.44-25.6 25.6v102.4c0 14.16 11.44 25.6 25.6 25.6h51.2c14.16 0 25.6-11.44 25.6-25.6v-25.6h51.2c14.16 0 25.6-11.44 25.6-25.6v-76.8h25.6v25.6c0 14.16 11.44 25.6 25.6 25.6h51.2c14.16 0 25.6-11.44 25.6-25.6v-25.6h25.6v76.8c0 14.16 11.44 25.6 25.6 25.6h51.2v25.6c0 14.16 11.44 25.6 25.6 25.6h51.2c14.16 0 25.6-11.44 25.6-25.6v-102.4c0-14.16-11.44-25.6-25.6-25.6h-51.2c-14.16 0-25.6 11.44-25.6 25.6v25.6h-25.6v-153.6h25.6v25.6c0 14.16 11.44 25.6 25.6 25.6z" />
45
  <glyph unicode="&#xf182;" glyph-name="trash" d="M288 256h64v-160h-64zM480 384h-128v64c0 17.688-14.312 32-32 32h-128c-17.688 0-32-14.312-32-32v-64h-128c-17.688 0-32-14.312-32-32v-32h32v-320c0-17.688 14.312-32 32-32h384c17.688 0 32 14.312 32 32v320h32v32c0 17.688-14.312 32-32 32zM224 416h64v-32h-64v32zM416 32h-320v288h320v-288zM160 256h64v-160h-64z" />
46
  <glyph unicode="&#xf185;" glyph-name="chart" d="M76.8 102.4h102.4v204.8h-102.4v-204.8zM204.8 102.4h102.4v307.2h-102.4v-307.2zM332.8 307.2v-204.8h102.4v204.8h-102.4z" />
47
  <glyph unicode="&#xf203;" glyph-name="timeline" d="M457.2 70l-54.8-41.6c-2.4-1.84-5.44-2.8-8.96-2.8s-6.56 0.96-8.96 2.8v22.8h-186.88c-4.56-7.76-10.64-13.92-18.4-18.56s-16.24-7.040-25.6-7.040c-14.16 0-26.24 4.96-36.16 15.040s-15.040 22-15.040 36.16c0 14.16 4.96 26.24 15.040 36.16s22 15.040 36.16 15.040c9.36 0 17.84-2.32 25.6-7.040s13.84-10.88 18.4-18.56h186.8v23.2c2.4 1.84 5.44 2.8 8.96 2.8s6.56-0.96 8.96-2.8l54.8-41.6c2.4-1.84 3.6-4.16 3.6-7.040s-1.12-5.12-3.52-6.96zM351.2 336c-2.4-2.16-5.44-3.2-8.96-3.2s-6.56 1.040-8.96 3.2v22.4h-186.88c-4.56-7.76-10.64-13.92-18.4-18.56s-16.24-7.040-25.6-7.040c-14.16 0-26.24 4.96-36.16 15.040s-15.040 22-15.040 36.16 4.96 26.24 15.040 36.16 22 15.040 36.16 15.040c9.36 0 17.84-2.32 25.6-7.040s13.84-10.88 18.4-18.56h186.8v23.2c2.4 1.84 5.44 2.8 8.96 2.8s6.64-0.96 9.040-2.8l54.8-41.6c2.4-1.84 3.6-4.16 3.6-6.8s-1.2-5.040-3.6-7.2l-54.8-41.2zM128 281.6c9.36 0 17.84-2.32 25.6-7.040 7.76-4.64 13.84-10.88 18.4-18.56h91.2c4.56 7.76 10.64 13.92 18.4 18.56s16.24 7.040 25.6 7.040c14.16 0 26.24-4.96 36.16-15.040s15.040-22 15.040-36.16c0-14.16-4.96-26.24-15.040-36.16s-22-15.040-36.16-15.040c-9.36 0-17.84 2.32-25.6 7.040s-13.84 10.88-18.4 18.56h-91.2c-4.56-7.76-10.64-13.92-18.4-18.56s-16.24-7.040-25.6-7.040c-14.16 0-26.24 4.96-36.16 15.040s-15.040 22-15.040 36.16c0 14.16 4.96 26.24 15.040 36.16s22 15.040 36.16 15.040zM307.36 204.8c7.040 0 13.040 2.56 18 7.6s7.36 11.12 7.36 18.24c0 7.040-2.48 13.040-7.36 18s-10.96 7.36-18 7.36-13.12-2.48-18.24-7.36-7.6-10.96-7.6-18c0-7.040 2.56-13.12 7.6-18.24s11.2-7.6 18.24-7.6z" />
48
  <glyph unicode="&#xf227;" glyph-name="whistle" d="M301.84 256c3.44-12.24 5.36-25.12 5.36-38.4 0-77.76-63.040-140.8-140.8-140.8s-140.8 63.040-140.8 140.8 63.040 140.8 140.8 140.8h89.6v-25.6c0-14.16 11.44-25.6 25.6-25.6s25.6 11.44 25.6 25.6v25.6h179.2v-102.4h-184.56z" />
49
  <glyph unicode="&#xf237;" glyph-name="minimal" d="M358 204.8v-76.8c0-14.16-11.44-25.6-25.6-25.6h-128v-25.6c0-14.16-11.44-25.6-25.6-25.6h-128v51.2h102.4v51.2h-102.4v51.2h128c14.16 0 25.6-11.44 25.6-25.6v-25.6h102.4v153.6h-102.4v-25.6c0-14.16-11.44-25.6-25.6-25.6h-128v51.2h102.4v51.2h-102.4v51.2h128c14.16 0 25.6-11.44 25.6-25.6v-25.6h128c14.16 0 25.6-11.44 25.6-25.6v-76.8h102.4v-51.2h-102.4z" />
50
+ <glyph unicode="&#xf306;" glyph-name="instagram" d="M459.6 145.92c-0.96-21.84-4.48-36.72-9.52-49.68-5.2-13.44-12.24-24.88-23.6-36.24-11.44-11.44-22.8-18.4-36.24-23.6-13.040-5.040-27.92-8.56-49.68-9.52-21.84-0.96-28.8-1.2-84.4-1.2s-62.64 0.24-84.4 1.2c-21.84 0.96-36.72 4.48-49.68 9.52-13.44 5.2-24.88 12.24-36.24 23.6-11.44 11.44-18.4 22.8-23.6 36.24-5.040 13.040-8.56 27.92-9.52 49.68-1.12 21.84-1.36 28.8-1.36 84.4s0.24 62.64 1.2 84.4c0.96 21.84 4.48 36.72 9.52 49.68 5.2 13.44 12.24 24.88 23.6 36.24 11.44 11.44 22.8 18.4 36.24 23.6 13.040 5.040 27.92 8.56 49.68 9.52 21.84 1.2 28.8 1.44 84.4 1.44s62.64-0.24 84.4-1.2c21.84-0.96 36.72-4.48 49.68-9.52 13.52-5.28 24.96-12.24 36.32-23.68 11.44-11.44 18.4-22.8 23.6-36.24 5.040-13.040 8.56-27.92 9.52-49.68 0.96-21.84 1.2-28.8 1.2-84.4s-0.080-62.72-1.12-84.56zM422.72 313.12c-0.96 19.92-4.24 30.88-7.040 38.080-3.76 9.52-8.16 16.4-15.28 23.6s-14 11.52-23.6 15.28c-7.2 2.8-18 6.16-38.080 7.040-21.6 0.96-28.080 1.2-82.72 1.2s-61.12-0.24-82.72-1.2c-19.92-0.96-30.88-4.24-38.080-7.040-9.52-3.76-16.4-8.16-23.6-15.28s-11.52-14-15.28-23.6c-2.8-7.2-6.16-18-7.040-38.080-0.96-21.6-1.2-28.080-1.2-82.72s0.24-61.12 1.2-82.72c0.96-19.92 4.24-30.88 7.040-38.080 3.76-9.52 8.16-16.4 15.28-23.6s14-11.6 23.6-15.28c7.2-2.8 18-6.16 38.080-7.040 21.6-0.96 28.080-1.2 82.72-1.2s61.12 0.24 82.72 1.2c19.92 0.96 30.88 4.24 38.080 7.040 9.52 3.76 16.4 8.16 23.6 15.28s11.6 14 15.28 23.6c2.8 7.2 6.16 18 7.040 38.080 0.96 21.6 1.2 28.080 1.2 82.72s-0.16 61.12-1.2 82.72zM365.36 315.12c-13.52 0-24.56 10.96-24.56 24.56s10.96 24.56 24.56 24.56c13.52 0 24.56-10.96 24.56-24.56s-10.96-24.56-24.56-24.56zM256 125.2c-58.080 0-105.2 47.040-105.2 105.2s47.12 105.2 105.2 105.2 105.2-47.12 105.2-105.2-47.12-105.2-105.2-105.2zM256 298.64c-37.68 0-68.24-30.56-68.24-68.24s30.56-68.24 68.24-68.24 68.24 30.56 68.24 68.24-30.48 68.24-68.24 68.24z" />
51
  <glyph unicode="&#xf307;" glyph-name="tshirt" d="M459.6 307.2h-76.8v-179.2h-256v179.2h-76.8v102.4h132.4c10.56-29.84 38.96-51.2 72.4-51.2s61.84 21.36 72.4 51.2h132.4v-102.4zM382.8 102.4v-51.2h-256v51.2h256z" />
52
  <glyph unicode="&#xf309;" glyph-name="color" d="M435.2 204.8c0-98.96-80.24-179.2-179.2-179.2s-179.2 80.24-179.2 179.2c0 49.52 20.080 94.32 52.48 126.72v0l126.72 126.72 126.72-126.72c32.4-32.4 52.48-77.2 52.48-126.72zM343.28 298l-87.44 87.44-89.040-89.040c-23.84-23.28-38.8-55.6-38.8-91.6 0-70.72 57.28-128 128-128s128 57.28 128 128c0 36.88-15.76 69.84-40.72 93.2zM256 102.4l0.080 246.8 70.4-70.4c19.6-18.64 31.92-44.8 31.92-74 0-56.56-45.84-102.4-102.4-102.4z" />
53
  <glyph unicode="&#xf313;" glyph-name="tournament" d="M384 286v149.2h25.6c14.16 0 25.6-11.44 25.6-25.6v-51.2c0-33.44-21.36-61.84-51.2-72.4zM153.6 51.52h204.8v-51.52h-204.8v51.52zM179.2 76.8l25.6 25.6h25.6v25.6l25.6 25.6 25.6-25.6v-25.6h25.6l25.6-25.6h-153.6zM256 179.2c-56.56 0-102.4 45.84-102.4 102.4v179.2h204.8v-179.2c0-56.56-45.84-102.4-102.4-102.4zM76.8 358.4v51.2c0 14.16 11.44 25.6 25.6 25.6h25.6v-149.2c-29.84 10.56-51.2 38.96-51.2 72.4z" />
66
  <glyph unicode="&#xf464;" glyph-name="edit" d="M435.2 25.6h-358.4c-14.16 0-25.6 11.44-25.6 25.6v358.4c0 14.16 11.44 25.6 25.6 25.6h256l-51.2-51.2h-179.2v-307.2h307.2v179.2l51.2 51.2v-256c0-14.16-11.44-25.6-25.6-25.6zM153.6 128v76.8l230.4 230.4h25.6l51.2-51.2v-25.6l-230.4-230.4h-76.8zM268.8 217.6l140.8 140.8-25.6 25.6-140.8-140.8 25.6-25.6zM204.8 204.8l-25.6-25.6v-25.6h25.6l25.6 25.6-25.6 25.6z" />
67
  <glyph unicode="&#xf469;" glyph-name="time" d="M188.8 313.76c-11.44-7.040 30.64-108.56 40.88-125.12 8.96-14.56 28-18.96 42.48-10.080 14.56 9.040 19.040 28 10.080 42.48-10.16 16.56-82 99.76-93.44 92.72v0zM180.24 424.88c23.76 8.24 49.2 12.88 75.76 12.88s52-4.56 75.76-12.88c8.4-2.88 19.6 2.96 14.64 15.68-3.6 9.2-7.12 18.24-8.48 21.92-3.36 8.64-15.36 15.84-20.56 17.040-19.76 4.48-40.24 6.96-61.28 6.96s-41.52-2.48-61.36-6.96c-5.2-1.2-17.2-8.32-20.56-17.040-1.44-3.68-4.88-12.64-8.48-21.92-5.040-12.72 6.080-18.56 14.56-15.68v0zM488.88 404.8c-4.88 5.92-10.16 11.68-15.68 17.2s-11.28 10.72-17.12 15.68c-3.92 3.28-15.44 6-22.72-1.28s-42.16-42.16-42.16-42.16c10.32-7.36 20.32-15.52 29.6-24.72s17.36-19.28 24.72-29.6c0 0 34.88 34.88 42.16 42.16 7.2 7.36 4.48 18.88 1.2 22.72v0zM256 412.16c-114.56 0-207.36-92.8-207.36-207.36-0.080-114.56 92.72-207.36 207.36-207.36 114.48 0 207.36 92.8 207.36 207.36 0 114.48-92.88 207.36-207.36 207.36v0zM256 48.64c-86.24 0-156.16 69.92-156.16 156.16s69.84 156.16 156.16 156.16c86.24 0 156.16-69.92 156.16-156.16s-69.92-156.16-156.16-156.16z" />
68
  <glyph unicode="&#xf481;" glyph-name="clipboard" d="M376.16 25.6h-238.080c-20.48 0-35.84 15.36-35.84 35.84v312.32c0 10.24 5.12 20.48 12.8 28.16l28.16-66.56h225.28l28.16 69.12c7.68-5.12 12.8-15.36 12.8-28.16v-312.32c2.56-23.040-15.36-38.4-33.28-38.4zM358.24 307.2h-204.8v-230.4h204.8v230.4zM332.64 230.4h-153.6v25.6h153.6v-25.6zM332.64 179.2h-153.6v25.6h153.6v-25.6zM332.64 128h-153.6v25.6h153.6v-25.6zM163.68 358.4l-23.040 51.2h56.32l7.68 20.48 10.24 30.72h81.92l10.24-30.72 10.24-20.48h56.32l-23.040-51.2h-186.88z" />
69
+ <glyph unicode="&#xf487;" glyph-name="heart" d="M256 48.128q61.44 25.856 107.648 67.968t72.576 91.008q24.832 46.848 27.264 89.344t-19.072 70.656q-36.864 46.336-95.488 44.544-25.344-0.768-49.664-10.88t-43.264-26.496q-18.944 16.384-43.264 26.496t-49.664 10.88q-58.624 1.792-95.488-44.544-21.504-28.16-19.072-70.656t27.776-89.344q25.856-48.896 72.064-91.008t107.648-67.968z" />
70
  <glyph unicode="&#xf488;" glyph-name="sponsor" d="M405.2 82.080l-91.2 71.6h-134.8v-76.8c0-7.2-2.56-13.28-7.6-18.24s-11.040-7.36-18-7.36h-25.6c-7.2 0-13.28 2.48-18.24 7.36s-7.36 11.040-7.36 18.24v76.8c-7.2 0-13.28 2.48-18.24 7.36s-7.36 11.040-7.36 18.24v102.4c0 7.2 2.48 13.28 7.36 18.24s11.040 7.36 18.24 7.36h211.6l91.2 71.6c2.96 3.2 6.88 4.88 11.84 4.96s9.2-0.88 12.8-3.040c3.6-2.16 5.44-4.8 5.44-8v-285.2c0-3.2-1.76-5.84-5.44-8s-7.84-3.040-12.8-2.8c-5.040 0.4-8.88 2.080-11.84 5.28v0zM268.8 307.28h-51.2c3.44 0 6.48-1.28 8.96-3.84s3.84-5.52 3.84-8.96v-128c0-3.44-1.28-6.48-3.84-8.96s-5.52-3.84-8.96-3.84h51.2c-3.76 0-6.8 1.28-9.2 3.84s-3.6 5.52-3.6 8.96v128c0 3.44 1.2 6.48 3.6 8.96s5.36 3.84 9.2 3.84v0 0 0z" />
71
  <glyph unicode="&#xf489;" glyph-name="statistics" d="M153.6 333.2h128v-51.2h-128v51.2zM153.6 256.4h51.2v-51.2h-51.2v51.2zM153.6 179.6h102.4v-51.2h-102.4v51.2zM281.6 179.6h76.8v-51.2h-76.8v51.2zM435.2 435.6h-358.4c-14.16 0-25.6-11.44-25.6-25.6v-358.4c0-14.16 11.44-25.6 25.6-25.6h358.4c14.16 0 25.6 11.44 25.6 25.6v358.4c0 14.16-11.44 25.6-25.6 25.6zM409.6 77.2h-307.2v307.2h307.2v-307.2zM230.4 256.4h128v-51.2h-128v51.2zM307.2 333.2h51.2v-51.2h-51.2v51.2z" />
72
  <glyph unicode="&#xf503;" glyph-name="sub" d="M409.6 353.28h-256v51.2l-102.4-87.040 102.4-81.92v46.080h256v71.68zM460.8 138.24l-102.4 87.040v-51.2h-256v-71.68h256v-46.080l102.4 81.92z" />
73
  <glyph unicode="&#xf504;" glyph-name="popup" d="M435.2 435.2h-204.8c-14.16 0-25.6-11.44-25.6-25.6v-204.8c0-14.16 11.44-25.6 25.6-25.6h204.8c14.16 0 25.6 11.44 25.6 25.6v204.8c0 14.16-11.44 25.6-25.6 25.6zM409.6 230.4h-153.6v153.6h153.6v-153.6zM256 76.8h-153.6v153.6h51.2v51.2h-76.8c-14.16 0-25.6-11.44-25.6-25.6v-204.8c0-14.16 11.44-25.6 25.6-25.6h204.8c14.16 0 25.6 11.44 25.6 25.6v76.8h-51.2v-51.2z" />
74
+ <glyph unicode="&#xf507;" glyph-name="buddypress" d="M512 230.4c0 27.84-4.32 54.72-12.96 80.8s-20.8 49.52-36.64 70.56c-15.76 20.96-34.16 39.36-55.2 55.2s-44.48 28-70.56 36.64-52.8 12.8-80.64 12.8-54.72-4.32-80.8-12.96-49.52-20.8-70.56-36.64-39.36-34.16-55.2-55.2-28-44.48-36.64-70.56-12.8-52.8-12.8-80.64 4.32-54.72 12.96-80.8 20.8-49.52 36.64-70.56 34.16-39.36 55.2-55.2c20.96-15.76 44.48-28 70.56-36.64s52.8-12.8 80.64-12.8 54.72 4.32 80.8 12.96 49.52 20.8 70.56 36.64c20.96 15.76 39.36 34.16 55.2 55.2 15.76 20.96 28 44.48 36.64 70.56 8.48 25.92 12.8 52.8 12.8 80.64v0zM256 460.56c31.2 0 61.040-6.080 89.44-18.16s52.88-28.48 73.44-49.040c20.56-20.56 36.88-45.040 49.040-73.44s18.24-58.32 18.24-89.52-6.080-61.040-18.16-89.44-28.48-52.88-49.040-73.44c-20.56-20.56-45.040-36.88-73.44-49.040s-58.32-18.24-89.52-18.24-61.040 6.080-89.44 18.16-52.88 28.48-73.44 49.040c-20.64 20.56-36.96 45.040-49.12 73.52s-18.16 58.24-18.16 89.44 6.080 61.040 18.16 89.44 28.48 52.88 49.040 73.44 45.040 36.88 73.44 49.040 58.32 18.24 89.52 18.24v0zM241.946 434.656c-82.675-6.113-153.988-61.481-179.942-139.728-11.535-35.019-13.459-74.143-5.243-110.735 16.342-73.007 74.372-133.265 146.646-152.216 20.363-5.327 29.452-6.375 53.398-6.375s33.035 1.048 53.398 6.375c47.891 12.576 90.714 43.665 118.593 86.106 16.867 25.675 27.529 54.93 31.723 86.893 1.747 13.624 1.312 44.8-0.875 57.638-3.67 21.047-9.439 39.124-18.789 58.075-36.793 74.843-115.796 120.080-198.908 113.966zM313.608 391.778c23.596-4.192 44.746-22.792 53.135-46.896 2.272-6.637 2.709-9.083 3.059-19.387 0.349-10.043 0.088-13.012-1.486-19.212-5.419-21.833-20.712-39.91-40.813-48.294-5.505-2.359-11.711-4.192-11.711-3.58 0 0.175 1.312 3.057 2.971 6.287 12.060 23.928 12.060 53.272 0 77.112-9.613 19.213-29.189 35.979-49.291 42.181-2.622 0.874-5.419 1.746-6.118 2.009-1.835 0.611 6.729 4.891 15.293 7.686 11.014 3.577 22.288 4.276 34.959 2.093zM260.298 366.888c27.092-7.337 47.28-29.082 51.998-55.978 1.574-8.821 0.699-24.279-1.747-32.138-6.555-20.609-19.227-35.019-38.716-44.102-9.526-4.454-17.654-6.113-29.277-6.113-31.024 0-56.806 18.951-66.856 49.166-2.446 7.337-2.709 9.083-2.709 20.26-0.088 10.306 0.262 13.274 1.923 19.213 7.778 26.723 29.277 46.111 56.806 51.088 5.857 1.139 22.462 0.265 28.578-1.395zM369.54 246.898c26.305-8.297 42.298-28.383 49.377-62.004 1.835-8.995 4.108-33.884 3.233-36.154-0.525-1.223-2.622-1.397-15.906-1.397-8.39 0-15.293 0.262-15.293 0.524 0 3.668-3.233 20.61-5.243 27.334-8.652 29.169-27.529 51.175-49.552 57.726-2.096 0.611-3.758 1.484-3.758 1.833 0 0.437 2.798 3.93 6.292 7.859l6.292 7.161 9.263-0.524c5.858-0.263 11.365-1.136 15.297-2.358zM220.709 202.359l22.548-22.269 8.041 7.86c4.457 4.28 15.993 15.545 25.607 24.977l17.478 17.204 6.555-0.786c18.091-2.271 35.307-10.13 47.805-22.008 14.856-14.060 23.334-31.526 26.916-55.192 1.312-8.733 1.835-34.409 0.786-39.649l-0.525-2.707h-132.75c-93.861 0-132.838 0.262-133.188 0.96-1.224 1.834-1.573 25.937-0.525 35.544 5.156 48.993 31.811 78.247 75.682 82.964 8.476 0.874 4.806 3.582 35.569-26.897z" />
75
  <glyph unicode="&#xf508;" glyph-name="availability" d="M384 435.2h-51.2v-51.2h51.2v51.2zM435.2 435.2h-25.6v-76.8h-102.4v76.8h-102.4v-76.8h-102.4v76.8h-25.6c-14.16 0-25.6-11.44-25.6-25.6v-358.4c0-14.16 11.44-25.6 25.6-25.6h358.4c14.16 0 25.6 11.44 25.6 25.6v358.4c0 14.16-11.44 25.6-25.6 25.6zM409.6 76.8h-307.2v230.4h307.2v-230.4zM179.2 435.2h-51.2v-51.2h51.2v51.2zM230.4 115.2l-76.4 76.4 29.12 29.12 47.28-47.28 98.8 98.8 29.2-29.040-128-128z" />
76
  <glyph unicode="&#xf509;" glyph-name="scoreboard" d="M435.2 25.6h-358.4c-14.16 0-25.6 11.44-25.6 25.6v358.4c0 14.16 11.44 25.6 25.6 25.6h358.4c14.16 0 25.6-11.44 25.6-25.6v-358.4c0-14.16-11.44-25.6-25.6-25.6zM409.6 384h-307.2v-307.2h307.2v307.2zM217.6 307.2l12.8-12.8v-51.2l-12.8-12.8 12.8-12.8v-51.2l-12.8-12.8h-64l-12.8 12.8v51.2l12.8 12.8-12.8 12.8v51.2l12.8 12.8h64zM166.4 179.2h38.4v38.4h-38.4v-38.4zM166.4 243.2h38.4v38.4h-38.4v-38.4zM256 268.8c7.040 0 12.8-5.76 12.8-12.8s-5.76-12.8-12.8-12.8-12.8 5.76-12.8 12.8 5.76 12.8 12.8 12.8zM256 217.6c7.040 0 12.8-5.76 12.8-12.8s-5.76-12.8-12.8-12.8-12.8 5.76-12.8 12.8 5.76 12.8 12.8 12.8zM358.4 307.2l12.8-12.8v-51.2l-12.8-12.8 12.8-12.8v-51.2l-12.8-12.8h-64l-12.8 12.8v51.2l12.8 12.8-12.8 12.8v51.2l12.8 12.8h64zM307.2 179.2h38.4v38.4h-38.4v-38.4zM307.2 243.2h38.4v38.4h-38.4v-38.4z" />
77
  <glyph unicode="&#xf524;" glyph-name="ticket" d="M125.6 190.96l90.96-90.96 166.8 166.88-90.96 90.88-166.8-166.8zM489.12 315.84l-38.72 38.64c-7.36-4-15.76-6.32-24.8-6.32-28.56 0-51.76 23.2-51.76 51.84 0 8.96 2.24 17.44 6.32 24.8l-38.72 38.72c-10.080 10.080-26.56 10.080-36.64 0l-281.92-281.84c-10.080-10.080-10.080-26.56 0-36.64l38.72-38.72c7.36 4 15.84 6.32 24.8 6.32 28.64 0 51.84-23.2 51.84-51.76 0-8.96-2.24-17.44-6.32-24.8l38.72-38.72c10.080-10.080 26.56-10.080 36.64 0l281.84 281.76c10 10.16 10 26.64 0 36.72v0zM216.56 58.4l-132.56 132.56 208.48 208.4 132.48-132.48-208.4-208.48z" />
assets/fonts/sportspress.ttf CHANGED
Binary file
assets/fonts/sportspress.woff CHANGED
Binary file
assets/fonts/sportspress.woff2 CHANGED
Binary file
assets/images/welcome/screenshot-awards.png ADDED
Binary file
assets/images/welcome/screenshot-better-career-totals.png DELETED
Binary file
assets/images/welcome/screenshot-event-performance-importer.png ADDED
Binary file
assets/images/welcome/screenshot-friendly-competitions.png DELETED
Binary file
assets/images/welcome/screenshot-group-stages.png ADDED
Binary file
assets/images/welcome/screenshot-membership-payments.png DELETED
Binary file
assets/images/welcome/screenshot-officials.png ADDED
Binary file
assets/images/welcome/screenshot-performance-icons.png ADDED
Binary file
assets/images/welcome/screenshot-sponsor-levels.png ADDED
Binary file
assets/images/welcome/screenshot-team-galleries.png DELETED
Binary file
assets/images/welcome/screenshot-team-player-registration.png DELETED
Binary file
assets/js/admin/sportspress-admin.js CHANGED
@@ -604,6 +604,21 @@ jQuery(document).ready(function($){
604
  });
605
  $(".sp-date-selector select").trigger("change");
606
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
607
  // Apply color scheme
608
  $(".sp-color-option").on("click", function() {
609
  colors = $(this).find("label").data("sp-colors").split(",");
604
  });
605
  $(".sp-date-selector select").trigger("change");
606
 
607
+ // Toggle date range selectors
608
+ $(".sp-date-relative input").change(function() {
609
+ $relative = $(this).closest(".sp-date-relative").siblings(".sp-date-range-relative").toggle(0, $(this).attr("checked"));
610
+ $absolute = $(this).closest(".sp-date-relative").siblings(".sp-date-range-absolute").toggle(0, $(this).attr("checked"));
611
+
612
+ if ($(this).attr("checked")) {
613
+ $relative.show();
614
+ $absolute.hide();
615
+ } else {
616
+ $absolute.show();
617
+ $relative.hide();
618
+ }
619
+ });
620
+ $(".sp-date-selector input").trigger("change");
621
+
622
  // Apply color scheme
623
  $(".sp-color-option").on("click", function() {
624
  colors = $(this).find("label").data("sp-colors").split(",");
assets/js/admin/widgets.js CHANGED
@@ -23,4 +23,19 @@ jQuery(document).ready(function($){
23
  }
24
  });
25
  $(".sp-date-selector select").trigger("change");
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  });
23
  }
24
  });
25
  $(".sp-date-selector select").trigger("change");
26
+
27
+ // Toggle date range selectors
28
+ $("body").on("change", ".sp-date-relative input", function() {
29
+ $relative = $(this).closest(".sp-date-relative").siblings(".sp-date-range-relative").toggle(0, $(this).attr("checked"));
30
+ $absolute = $(this).closest(".sp-date-relative").siblings(".sp-date-range-absolute").toggle(0, $(this).attr("checked"));
31
+
32
+ if ($(this).attr("checked")) {
33
+ $relative.show();
34
+ $absolute.hide();
35
+ } else {
36
+ $absolute.show();
37
+ $relative.hide();
38
+ }
39
+ });
40
+ $(".sp-date-selector input").trigger("change");
41
  });
assets/js/jquery.countdown.min.js CHANGED
@@ -1,6 +1,6 @@
1
  /*!
2
- * The Final Countdown for jQuery v2.0.2 (http://hilios.github.io/jQuery.countdown/)
3
- * Copyright (c) 2013 Edson Hilios
4
  *
5
  * Permission is hereby granted, free of charge, to any person obtaining a copy of
6
  * this software and associated documentation files (the "Software"), to deal in
@@ -19,4 +19,4 @@
19
  * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
  */
22
- !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){"use strict";function b(a){if(a instanceof Date)return a;if(String(a).match(g))return String(a).match(/^[0-9]*$/)&&(a=Number(a)),new Date(a);throw new Error("Couldn't cast `"+a+"` to a date object.")}function c(a){return function(b){var c=b.match(/%(-|!)?[A-Z]{1}(:[^;]+;)?/gi);if(c)for(var e=0,f=c.length;f>e;++e){var g=c[e].match(/%(-|!)?([a-zA-Z]{1})(:[^;]+;)?/),i=new RegExp(g[0]),j=g[1]||"",k=g[3]||"",l=null;g=g[2],h.hasOwnProperty(g)&&(l=h[g],l=Number(a[l])),null!==l&&("!"===j&&(l=d(k,l)),""===j&&10>l&&(l="0"+l.toString()),b=b.replace(i,l.toString()))}return b=b.replace(/%%/,"%")}}function d(a,b){var c="s",d="";return a&&(a=a.replace(/(:|;|\s)/gi,"").split(/\,/),1===a.length?c=a[0]:(d=a[0],c=a[1])),1===Math.abs(b)?d:c}var e=100,f=[],g=[];g.push(/^[0-9]*$/.source),g.push(/([0-9]{1,2}\/){2}[0-9]{4}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),g.push(/[0-9]{4}(\/[0-9]{1,2}){2}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),g=new RegExp(g.join("|"));var h={Y:"years",m:"months",w:"weeks",d:"days",D:"totalDays",H:"hours",M:"minutes",S:"seconds"},i=function(b,c,d){this.el=b,this.$el=a(b),this.interval=null,this.offset={},this.setFinalDate(c),this.instanceNumber=f.length,f.push(this),this.$el.data("countdown-instance",this.instanceNumber),d&&(this.$el.on("update.countdown",d),this.$el.on("stoped.countdown",d),this.$el.on("finish.countdown",d)),this.start()};a.extend(i.prototype,{start:function(){if(null!==this.interval)throw new Error("Countdown is already running!");var a=this;this.update(),this.interval=setInterval(function(){a.update.call(a)},e)},stop:function(){clearInterval(this.interval),this.interval=null,this.dispatchEvent("stoped")},pause:function(){this.stop.call(this)},resume:function(){this.start.call(this)},remove:function(){this.stop(),delete f[this.instanceNumber]},setFinalDate:function(a){this.finalDate=b(a)},update:function(){return 0===this.$el.closest("html").length?(this.remove(),void 0):(this.totalSecsLeft=this.finalDate.valueOf()-(new Date).valueOf(),this.totalSecsLeft=Math.ceil(this.totalSecsLeft/1e3),this.totalSecsLeft=this.totalSecsLeft<0?0:this.totalSecsLeft,this.offset={seconds:this.totalSecsLeft%60,minutes:Math.floor(this.totalSecsLeft/60)%60,hours:Math.floor(this.totalSecsLeft/60/60)%24,days:Math.floor(this.totalSecsLeft/60/60/24)%7,totalDays:Math.floor(this.totalSecsLeft/60/60/24),weeks:Math.floor(this.totalSecsLeft/60/60/24/7),months:Math.floor(this.totalSecsLeft/60/60/24/30),years:Math.floor(this.totalSecsLeft/60/60/24/365)},0===this.totalSecsLeft?(this.stop(),this.dispatchEvent("finish")):this.dispatchEvent("update"),void 0)},dispatchEvent:function(b){var d=a.Event(b+".countdown");d.finalDate=this.finalDate,d.offset=a.extend({},this.offset),d.strftime=c(this.offset),this.$el.trigger(d)}}),a.fn.countdown=function(){var b=Array.prototype.slice.call(arguments,0);return this.each(function(){var c=a(this).data("countdown-instance");if(void 0!==c){var d=f[c],e=b[0];i.prototype.hasOwnProperty(e)?d[e].apply(d,b.slice(1)):null===String(e).match(/^[$A-Z_][0-9A-Z_$]*$/i)?d.setFinalDate.call(d,e):a.error("Method %s does not exist on jQuery.countdown".replace(/\%s/gi,e))}else new i(this,b[0],b[1])})}});
1
  /*!
2
+ * The Final Countdown for jQuery v2.2.0 (http://hilios.github.io/jQuery.countdown/)
3
+ * Copyright (c) 2016 Edson Hilios
4
  *
5
  * Permission is hereby granted, free of charge, to any person obtaining a copy of
6
  * this software and associated documentation files (the "Software"), to deal in
19
  * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
  */
22
+ !function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){"use strict";function b(a){if(a instanceof Date)return a;if(String(a).match(g))return String(a).match(/^[0-9]*$/)&&(a=Number(a)),String(a).match(/\-/)&&(a=String(a).replace(/\-/g,"/")),new Date(a);throw new Error("Couldn't cast `"+a+"` to a date object.")}function c(a){var b=a.toString().replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1");return new RegExp(b)}function d(a){return function(b){var d=b.match(/%(-|!)?[A-Z]{1}(:[^;]+;)?/gi);if(d)for(var f=0,g=d.length;f<g;++f){var h=d[f].match(/%(-|!)?([a-zA-Z]{1})(:[^;]+;)?/),j=c(h[0]),k=h[1]||"",l=h[3]||"",m=null;h=h[2],i.hasOwnProperty(h)&&(m=i[h],m=Number(a[m])),null!==m&&("!"===k&&(m=e(l,m)),""===k&&m<10&&(m="0"+m.toString()),b=b.replace(j,m.toString()))}return b=b.replace(/%%/,"%")}}function e(a,b){var c="s",d="";return a&&(a=a.replace(/(:|;|\s)/gi,"").split(/\,/),1===a.length?c=a[0]:(d=a[0],c=a[1])),Math.abs(b)>1?c:d}var f=[],g=[],h={precision:100,elapse:!1,defer:!1};g.push(/^[0-9]*$/.source),g.push(/([0-9]{1,2}\/){2}[0-9]{4}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),g.push(/[0-9]{4}([\/\-][0-9]{1,2}){2}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),g=new RegExp(g.join("|"));var i={Y:"years",m:"months",n:"daysToMonth",d:"daysToWeek",w:"weeks",W:"weeksToMonth",H:"hours",M:"minutes",S:"seconds",D:"totalDays",I:"totalHours",N:"totalMinutes",T:"totalSeconds"},j=function(b,c,d){this.el=b,this.$el=a(b),this.interval=null,this.offset={},this.options=a.extend({},h),this.firstTick=!0,this.instanceNumber=f.length,f.push(this),this.$el.data("countdown-instance",this.instanceNumber),d&&("function"==typeof d?(this.$el.on("update.countdown",d),this.$el.on("stoped.countdown",d),this.$el.on("finish.countdown",d)):this.options=a.extend({},h,d)),this.setFinalDate(c),this.options.defer===!1&&this.start()};a.extend(j.prototype,{start:function(){null!==this.interval&&clearInterval(this.interval);var a=this;this.update(),this.interval=setInterval(function(){a.update.call(a)},this.options.precision)},stop:function(){clearInterval(this.interval),this.interval=null,this.dispatchEvent("stoped")},toggle:function(){this.interval?this.stop():this.start()},pause:function(){this.stop()},resume:function(){this.start()},remove:function(){this.stop.call(this),f[this.instanceNumber]=null,delete this.$el.data().countdownInstance},setFinalDate:function(a){this.finalDate=b(a)},update:function(){if(0===this.$el.closest("html").length)return void this.remove();var a,b=new Date;return a=this.finalDate.getTime()-b.getTime(),a=Math.ceil(a/1e3),a=!this.options.elapse&&a<0?0:Math.abs(a),this.totalSecsLeft===a||this.firstTick?void(this.firstTick=!1):(this.totalSecsLeft=a,this.elapsed=b>=this.finalDate,this.offset={seconds:this.totalSecsLeft%60,minutes:Math.floor(this.totalSecsLeft/60)%60,hours:Math.floor(this.totalSecsLeft/60/60)%24,days:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToWeek:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToMonth:Math.floor(this.totalSecsLeft/60/60/24%30.4368),weeks:Math.floor(this.totalSecsLeft/60/60/24/7),weeksToMonth:Math.floor(this.totalSecsLeft/60/60/24/7)%4,months:Math.floor(this.totalSecsLeft/60/60/24/30.4368),years:Math.abs(this.finalDate.getFullYear()-b.getFullYear()),totalDays:Math.floor(this.totalSecsLeft/60/60/24),totalHours:Math.floor(this.totalSecsLeft/60/60),totalMinutes:Math.floor(this.totalSecsLeft/60),totalSeconds:this.totalSecsLeft},void(this.options.elapse||0!==this.totalSecsLeft?this.dispatchEvent("update"):(this.stop(),this.dispatchEvent("finish"))))},dispatchEvent:function(b){var c=a.Event(b+".countdown");c.finalDate=this.finalDate,c.elapsed=this.elapsed,c.offset=a.extend({},this.offset),c.strftime=d(this.offset),this.$el.trigger(c)}}),a.fn.countdown=function(){var b=Array.prototype.slice.call(arguments,0);return this.each(function(){var c=a(this).data("countdown-instance");if(void 0!==c){var d=f[c],e=b[0];j.prototype.hasOwnProperty(e)?d[e].apply(d,b.slice(1)):null===String(e).match(/^[$A-Z_][0-9A-Z_$]*$/i)?(d.setFinalDate.call(d,e),d.start()):a.error("Method %s does not exist on jQuery.countdown".replace(/\%s/gi,e))}else new j(this,b[0],b[1])})}});
dummy-data/event-performance-sample.csv ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ Player,Goals,Assists,Yellow Cards,Red Cards
2
+ Dee Callery,0,1,0,0
3
+ Romeo Melvin,2,0,1,0
4
+ Ty Carrell,0,2,0,0
5
+ Alonzo Ohalloran,1,1,0,0
6
+ Nelson Giddings,1,0,0,1
7
+ Ellis Nicholls,0,1,0,0
8
+ Corey Kirk,0,0,1,0
9
+ Spencer Duncan,0,0,0,1
dummy-data/officials-sample.csv ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ Name
2
+ Marco Andrews
3
+ Daniel Jacobs
4
+ Erick Herbertson
5
+ Rupert Abraham
dummy-data/players-sample.csv CHANGED
@@ -1,4 +1,4 @@
1
- Number,Name,Positions,Teams,Competitions,Seasons,Nationality
2
  1,Joe Allen,Goalkeeper,Eagles,Primary League|Secondary League,2014,aus
3
  3,Steven Gerrard,Defender,Kangaroos,Primary League,2014|2013,usa
4
  5,Daniel Sturridge,Midfielder|Forward,Sharks,Primary League|Secondary League,2014|2013,eng
1
+ Number,Name,Positions,Teams,Leagues,Seasons,Nationality
2
  1,Joe Allen,Goalkeeper,Eagles,Primary League|Secondary League,2014,aus
3
  3,Steven Gerrard,Defender,Kangaroos,Primary League,2014|2013,usa
4
  5,Daniel Sturridge,Midfielder|Forward,Sharks,Primary League|Secondary League,2014|2013,eng
dummy-data/staff-sample.csv CHANGED
@@ -1,4 +1,4 @@
1
- Name,Jobs,Teams,Competitions,Seasons,Nationality
2
  Bobby Brown,Coach,Eagles,Primary League|Secondary League,2014,aus
3
  Charles Johnson,Assistant Coach,Kangaroos,Primary League,2014,eng
4
  Matt Smith,Waterboy,Sharks,Primary League|Secondary League,2013|2014,aus
1
+ Name,Jobs,Teams,Leagues,Seasons,Nationality
2
  Bobby Brown,Coach,Eagles,Primary League|Secondary League,2014,aus
3
  Charles Johnson,Assistant Coach,Kangaroos,Primary League,2014,eng
4
  Matt Smith,Waterboy,Sharks,Primary League|Secondary League,2013|2014,aus
dummy-data/teams-sample.csv CHANGED
@@ -1,4 +1,4 @@
1
- Name,Competitions,Seasons,Site URL,Abbreviation,Home
2
  Eagles,Primary League|Secondary League,2014,http://tboy.co/eagles,EAGLES,Little Park
3
  Sharks,Primary League|Secondary League,2014|2013,http://tboy.co/sharks,SHARKS
4
  Kangaroos,Primary League,2014|2013,http://tboy.co/roos,ROOS,Big Stadium
1
+ Name,Leagues,Seasons,Site URL,Abbreviation,Home
2
  Eagles,Primary League|Secondary League,2014,http://tboy.co/eagles,EAGLES,Little Park
3
  Sharks,Primary League|Secondary League,2014|2013,http://tboy.co/sharks,SHARKS
4
  Kangaroos,Primary League,2014|2013,http://tboy.co/roos,ROOS,Big Stadium
feeds/ical.php CHANGED
@@ -154,6 +154,13 @@ $output .= "END:VCALENDAR";
154
 
155
  // Print headers
156
  header('Content-type: text/calendar; charset=utf-8');
 
 
 
 
 
 
 
157
  header('Content-Disposition: inline; filename=' . $post->post_name . '.ics');
158
 
159
  // Print content
154
 
155
  // Print headers
156
  header('Content-type: text/calendar; charset=utf-8');
157
+
158
+ // The E-Tag is not being changed when the output file is generated – Some Webdav clients do not like this and
159
+ // do not then 'see' that the file has changed – updates to the calendars are then not displayed to the user.
160
+ // Props @garygomm https://wordpress.org/support/topic/calendar-feed-issue-not-updating-after-change/
161
+ $etag = md5($output);
162
+ header('Etag:' . '"'.$etag.'"');
163
+
164
  header('Content-Disposition: inline; filename=' . $post->post_name . '.ics');
165
 
166
  // Print content
includes/abstracts/abstract-sp-secondary-post.php ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Abstract Secondary Post Class
4
+ *
5
+ * The SportsPress secondary post class extends custom posts with handling of secondary post types.
6
+ *
7
+ * @class SP_Secondary_Post
8
+ * @version 2.5.3
9
+ * @package SportsPress/Abstracts
10
+ * @category Abstract Class
11
+ * @author ThemeBoy
12
+ */
13
+ abstract class SP_Secondary_Post extends SP_Custom_Post {
14
+
15
+ /** @var string The date filter for events. */
16
+ public $date = 0;
17
+
18
+ /** @var string The date to range from. */
19
+ public $from = 'now';
20
+
21
+ /** @var string The date to range to. */
22
+ public $to = 'now';
23
+
24
+ /** @var string The number of days to query in the past. */
25
+ public $past = 0;
26
+
27
+ /** @var string The number of days to query in the future. */
28
+ public $future = 0;
29
+
30
+ /** @var boolean Determines whether the date range is relative. */
31
+ public $relative = false;
32
+
33
+ /**
34
+ * __construct function.
35
+ *
36
+ * @access public
37
+ * @param mixed $post
38
+ */
39
+ public function __construct( $post ) {
40
+ if ( $post instanceof WP_Post || $post instanceof SP_Secondary_Post ):
41
+ $this->ID = absint( $post->ID );
42
+ $this->post = $post;
43
+ else:
44
+ $this->ID = absint( $post );
45
+ $this->post = get_post( $this->ID );
46
+ endif;
47
+ }
48
+
49
+ public function range( $where = '', $format = 'Y-m-d' ) {
50
+ $from = new DateTime( $this->from );
51
+ $to = new DateTime( $this->to );
52
+
53
+ $to->modify( '+1 day' );
54
+
55
+ $where .= " AND post_date BETWEEN '" . $from->format( $format ) . "' AND '" . $to->format( $format ) . "'";
56
+
57
+ return $where;
58
+ }
59
+
60
+ public function relative( $where = '', $format = 'Y-m-d' ) {
61
+ $from = new DateTime( 'now' );
62
+ $to = new DateTime( 'now' );
63
+
64
+ $from->modify( '-' . abs( (int) $this->past ) . ' day' );
65
+ $to->modify( '+' . abs( (int) $this->future ) . ' day' );
66
+
67
+ $to->modify( '+1 day' );
68
+
69
+ $where .= " AND post_date BETWEEN '" . $from->format( $format ) . "' AND '" . $to->format( $format ) . "'";
70
+
71
+ return $where;
72
+ }
73
+ }
includes/admin/class-sp-admin-assets.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin
8
- * @version 2.2
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -59,7 +59,7 @@ class SP_Admin_Assets {
59
  wp_enqueue_style( 'sportspress-admin-equation-styles', SP()->plugin_url() . '/assets/css/equation.css', array(), SP_VERSION );
60
  }
61
 
62
- if ( in_array( $screen->id, array( 'sp_calendar', 'widgets' ) ) ) {
63
  wp_enqueue_style( 'jquery-ui-style' , '//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css' );
64
  wp_enqueue_style( 'sportspress-admin-datepicker-styles', SP()->plugin_url() . '/assets/css/datepicker.css', array( 'jquery-ui-style' ), SP_VERSION );
65
  }
@@ -82,7 +82,7 @@ class SP_Admin_Assets {
82
 
83
  wp_register_script( 'jquery-caret', SP()->plugin_url() . '/assets/js/jquery.caret.min.js', array( 'jquery' ), '1.02', true );
84
 
85
- wp_register_script( 'jquery-countdown', SP()->plugin_url() . '/assets/js/jquery.countdown.min.js', array( 'jquery' ), '2.0.2', true );
86
 
87
  wp_register_script( 'jquery-fitvids', SP()->plugin_url() . '/assets/js/jquery.fitvids.js', array( 'jquery' ), '1.1', true );
88
 
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin
8
+ * @version 2.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
59
  wp_enqueue_style( 'sportspress-admin-equation-styles', SP()->plugin_url() . '/assets/css/equation.css', array(), SP_VERSION );
60
  }
61
 
62
+ if ( in_array( $screen->id, apply_filters( 'sportspress_admin_datepicker_screen_ids', array( 'sp_calendar', 'sp_table', 'sp_list', 'widgets' ) ) ) ) {
63
  wp_enqueue_style( 'jquery-ui-style' , '//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css' );
64
  wp_enqueue_style( 'sportspress-admin-datepicker-styles', SP()->plugin_url() . '/assets/css/datepicker.css', array( 'jquery-ui-style' ), SP_VERSION );
65
  }
82
 
83
  wp_register_script( 'jquery-caret', SP()->plugin_url() . '/assets/js/jquery.caret.min.js', array( 'jquery' ), '1.02', true );
84
 
85
+ wp_register_script( 'jquery-countdown', SP()->plugin_url() . '/assets/js/jquery.countdown.min.js', array( 'jquery' ), '2.2.0', true );
86
 
87
  wp_register_script( 'jquery-fitvids', SP()->plugin_url() . '/assets/js/jquery.fitvids.js', array( 'jquery' ), '1.1', true );
88
 
includes/admin/class-sp-admin-importers.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin
8
- * @version 2.1
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -28,6 +28,7 @@ class SP_Admin_Importers {
28
  * Add menu items
29
  */
30
  public function register_importers() {
 
31
  $importers = apply_filters( 'sportspress_importers', array(
32
  'sp_event_csv' => array(
33
  'name' => __( 'SportsPress Events (CSV)', 'sportspress' ),
@@ -36,7 +37,7 @@ class SP_Admin_Importers {
36
  ),
37
  'sp_fixture_csv' => array(
38
  'name' => __( 'SportsPress Fixtures (CSV)', 'sportspress' ),
39
- 'description' => __( 'Import <strong>fixtures</strong> from a csv file.', 'sportspress'),
40
  'callback' => array( $this, 'fixtures_importer' ),
41
  ),
42
  'sp_team_csv' => array(
@@ -56,6 +57,14 @@ class SP_Admin_Importers {
56
  ),
57
  ) );
58
 
 
 
 
 
 
 
 
 
59
  foreach ( $importers as $id => $importer ) {
60
  register_importer( $id, $importer['name'], $importer['description'], $importer['callback'] );
61
  }
@@ -74,6 +83,19 @@ class SP_Admin_Importers {
74
  $importer->dispatch();
75
  }
76
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
  /**
78
  * Add menu item
79
  */
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin
8
+ * @version 2.5.1
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
28
  * Add menu items
29
  */
30
  public function register_importers() {
31
+ global $pagenow;
32
  $importers = apply_filters( 'sportspress_importers', array(
33
  'sp_event_csv' => array(
34
  'name' => __( 'SportsPress Events (CSV)', 'sportspress' ),
37
  ),
38
  'sp_fixture_csv' => array(
39
  'name' => __( 'SportsPress Fixtures (CSV)', 'sportspress' ),
40
+ 'description' => __( 'Import <strong>upcoming events</strong> from a csv file.', 'sportspress'),
41
  'callback' => array( $this, 'fixtures_importer' ),
42
  ),
43
  'sp_team_csv' => array(
57
  ),
58
  ) );
59
 
60
+ if ( 'import.php' !== $pagenow ) {
61
+ $importers['sp_event_performance_csv'] = array(
62
+ 'name' => __( 'SportsPress Box Score (CSV)', 'sportspress' ),
63
+ 'description' => '<a href="' . admin_url( add_query_arg( array( 'post_type' => 'sp_event' ), 'edit.php' ) ) . '">' . sprintf( __( 'Select %s', 'sportspress' ), __( 'Event', 'sportspress' ) ) . '</a>',
64
+ 'callback' => array( $this, 'event_performance_importer' ),
65
+ );
66
+ }
67
+
68
  foreach ( $importers as $id => $importer ) {
69
  register_importer( $id, $importer['name'], $importer['description'], $importer['callback'] );
70
  }
83
  $importer->dispatch();
84
  }
85
 
86
+ /**
87
+ * Add menu item
88
+ */
89
+ public function event_performance_importer() {
90
+ $this->includes();
91
+
92
+ require 'importers/class-sp-event-performance-importer.php';
93
+
94
+ // Dispatch
95
+ $importer = new SP_Event_Performance_Importer();
96
+ $importer->dispatch();
97
+ }
98
+
99
  /**
100
  * Add menu item
101
  */
includes/admin/class-sp-admin-menus.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin
8
- * @version 1.9.12
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -58,7 +58,7 @@ class SP_Admin_Menus {
58
  * Add menu item
59
  */
60
  public function leagues_menu() {
61
- add_submenu_page( 'sportspress', __( 'Competitions', 'sportspress' ), __( 'Competitions', 'sportspress' ), 'manage_sportspress', 'edit-tags.php?taxonomy=sp_league');
62
  }
63
 
64
  /**
@@ -192,26 +192,26 @@ class SP_Admin_Menus {
192
  $menu[ $separator_position ] = array( '', 'read', 'separator-sportspress', '', 'wp-menu-separator sportspress' );
193
  endif;
194
 
195
- // Remove "Competitions" and "Seasons" links from Events submenu
196
  if ( isset( $submenu['edit.php?post_type=sp_event'] ) ):
197
  $submenu['edit.php?post_type=sp_event'] = array_filter( $submenu['edit.php?post_type=sp_event'], array( $this, 'remove_leagues' ) );
198
  $submenu['edit.php?post_type=sp_event'] = array_filter( $submenu['edit.php?post_type=sp_event'], array( $this, 'remove_seasons' ) );
199
  endif;
200
 
201
- // Remove "Venues", "Competitions" and "Seasons" links from Teams submenu
202
  if ( isset( $submenu['edit.php?post_type=sp_team'] ) ):
203
  $submenu['edit.php?post_type=sp_team'] = array_filter( $submenu['edit.php?post_type=sp_team'], array( $this, 'remove_venues' ) );
204
  $submenu['edit.php?post_type=sp_team'] = array_filter( $submenu['edit.php?post_type=sp_team'], array( $this, 'remove_leagues' ) );
205
  $submenu['edit.php?post_type=sp_team'] = array_filter( $submenu['edit.php?post_type=sp_team'], array( $this, 'remove_seasons' ) );
206
  endif;
207
 
208
- // Remove "Competitions" and "Seasons" links from Players submenu
209
  if ( isset( $submenu['edit.php?post_type=sp_player'] ) ):
210
  $submenu['edit.php?post_type=sp_player'] = array_filter( $submenu['edit.php?post_type=sp_player'], array( $this, 'remove_leagues' ) );
211
  $submenu['edit.php?post_type=sp_player'] = array_filter( $submenu['edit.php?post_type=sp_player'], array( $this, 'remove_seasons' ) );
212
  endif;
213
 
214
- // Remove "Competitions" and "Seasons" links from Staff submenu
215
  if ( isset( $submenu['edit.php?post_type=sp_staff'] ) ):
216
  $submenu['edit.php?post_type=sp_staff'] = array_filter( $submenu['edit.php?post_type=sp_staff'], array( $this, 'remove_leagues' ) );
217
  $submenu['edit.php?post_type=sp_staff'] = array_filter( $submenu['edit.php?post_type=sp_staff'], array( $this, 'remove_seasons' ) );
@@ -247,7 +247,7 @@ class SP_Admin_Menus {
247
  }
248
 
249
  public function remove_leagues( $arr = array() ) {
250
- return $arr[0] != __( 'Competitions', 'sportspress' );
251
  }
252
 
253
  public function remove_positions( $arr = array() ) {
@@ -281,4 +281,4 @@ class SP_Admin_Menus {
281
 
282
  endif;
283
 
284
- return new SP_Admin_Menus();
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin
8
+ * @version 2.5.1
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
58
  * Add menu item
59
  */
60
  public function leagues_menu() {
61
+ add_submenu_page( 'sportspress', __( 'Leagues', 'sportspress' ), __( 'Leagues', 'sportspress' ), 'manage_sportspress', 'edit-tags.php?taxonomy=sp_league');
62
  }
63
 
64
  /**
192
  $menu[ $separator_position ] = array( '', 'read', 'separator-sportspress', '', 'wp-menu-separator sportspress' );
193
  endif;
194
 
195
+ // Remove "Leagues" and "Seasons" links from Events submenu
196
  if ( isset( $submenu['edit.php?post_type=sp_event'] ) ):
197
  $submenu['edit.php?post_type=sp_event'] = array_filter( $submenu['edit.php?post_type=sp_event'], array( $this, 'remove_leagues' ) );
198
  $submenu['edit.php?post_type=sp_event'] = array_filter( $submenu['edit.php?post_type=sp_event'], array( $this, 'remove_seasons' ) );
199
  endif;
200
 
201
+ // Remove "Venues", "Leagues" and "Seasons" links from Teams submenu
202
  if ( isset( $submenu['edit.php?post_type=sp_team'] ) ):
203
  $submenu['edit.php?post_type=sp_team'] = array_filter( $submenu['edit.php?post_type=sp_team'], array( $this, 'remove_venues' ) );
204
  $submenu['edit.php?post_type=sp_team'] = array_filter( $submenu['edit.php?post_type=sp_team'], array( $this, 'remove_leagues' ) );
205
  $submenu['edit.php?post_type=sp_team'] = array_filter( $submenu['edit.php?post_type=sp_team'], array( $this, 'remove_seasons' ) );
206
  endif;
207
 
208
+ // Remove "Leagues" and "Seasons" links from Players submenu
209
  if ( isset( $submenu['edit.php?post_type=sp_player'] ) ):
210
  $submenu['edit.php?post_type=sp_player'] = array_filter( $submenu['edit.php?post_type=sp_player'], array( $this, 'remove_leagues' ) );
211
  $submenu['edit.php?post_type=sp_player'] = array_filter( $submenu['edit.php?post_type=sp_player'], array( $this, 'remove_seasons' ) );
212
  endif;
213
 
214
+ // Remove "Leagues" and "Seasons" links from Staff submenu
215
  if ( isset( $submenu['edit.php?post_type=sp_staff'] ) ):
216
  $submenu['edit.php?post_type=sp_staff'] = array_filter( $submenu['edit.php?post_type=sp_staff'], array( $this, 'remove_leagues' ) );
217
  $submenu['edit.php?post_type=sp_staff'] = array_filter( $submenu['edit.php?post_type=sp_staff'], array( $this, 'remove_seasons' ) );
247
  }
248
 
249
  public function remove_leagues( $arr = array() ) {
250
+ return $arr[0] != __( 'Leagues', 'sportspress' );
251
  }
252
 
253
  public function remove_positions( $arr = array() ) {
281
 
282
  endif;
283
 
284
+ return new SP_Admin_Menus();
includes/admin/class-sp-admin-permalink-settings.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin
8
- * @version 1.4
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -26,7 +26,7 @@ class SP_Admin_Permalink_Settings {
26
  array( 'venue', __( 'Venues', 'sportspress' ) ),
27
  array( 'calendar', __( 'Calendars', 'sportspress' ) ),
28
  array( 'team', __( 'Teams', 'sportspress' ) ),
29
- array( 'league', __( 'Competitions', 'sportspress' ) ),
30
  array( 'season', __( 'Seasons', 'sportspress' ) ),
31
  array( 'table', __( 'League Tables', 'sportspress' ) ),
32
  array( 'player', __( 'Players', 'sportspress' ) ),
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin
8
+ * @version 2.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
26
  array( 'venue', __( 'Venues', 'sportspress' ) ),
27
  array( 'calendar', __( 'Calendars', 'sportspress' ) ),
28
  array( 'team', __( 'Teams', 'sportspress' ) ),
29
+ array( 'league', __( 'Leagues', 'sportspress' ) ),
30
  array( 'season', __( 'Seasons', 'sportspress' ) ),
31
  array( 'table', __( 'League Tables', 'sportspress' ) ),
32
  array( 'player', __( 'Players', 'sportspress' ) ),
includes/admin/class-sp-admin-sample-data.php CHANGED
@@ -5,7 +5,7 @@
5
  * The SportsPress admin sample data class stores demo content.
6
  *
7
  * @class SP_Admin_Sample_Data
8
- * @version 2.3
9
  * @package SportsPress/Admin
10
  * @category Class
11
  * @author ThemeBoy
@@ -40,7 +40,7 @@ class SP_Admin_Sample_Data {
40
  // Terms to insert
41
  $taxonomies = array();
42
 
43
- // Competitions
44
  $taxonomies['sp_league'] = array( _x( 'Primary League', 'example', 'sportspress' ), _x( 'Secondary League', 'example', 'sportspress' ) );
45
 
46
  // Seasons
5
  * The SportsPress admin sample data class stores demo content.
6
  *
7
  * @class SP_Admin_Sample_Data
8
+ * @version 2.5
9
  * @package SportsPress/Admin
10
  * @category Class
11
  * @author ThemeBoy
40
  // Terms to insert
41
  $taxonomies = array();
42
 
43
+ // Leagues
44
  $taxonomies['sp_league'] = array( _x( 'Primary League', 'example', 'sportspress' ), _x( 'Secondary League', 'example', 'sportspress' ) );
45
 
46
  // Seasons
includes/admin/class-sp-admin-setup-wizard.php CHANGED
@@ -9,7 +9,7 @@
9
  * @author WooThemes
10
  * @category Admin
11
  * @package SportsPress/Admin
12
- * @version 2.4
13
  */
14
  if ( ! defined( 'ABSPATH' ) ) {
15
  exit;
@@ -280,7 +280,7 @@ class SP_Admin_Setup_Wizard {
280
  </td>
281
  </tr>
282
  <tr>
283
- <th scope="row"><?php _e( 'Main Competition', 'sportspress' ); ?> <i class="dashicons dashicons-editor-help sp-desc-tip" title="<?php _e( 'The name of a league or division.', 'sportspress' ); ?>"></i></th>
284
  <td>
285
  <input name="league" type="text" class="widefat" value="<?php _ex( 'Primary League', 'example', 'sportspress' ); ?>">
286
  </td>
@@ -329,19 +329,25 @@ class SP_Admin_Setup_Wizard {
329
  }
330
  update_option( 'sportspress_sport', $sport );
331
 
332
- // Insert competition
333
  $league = sanitize_text_field( $_POST['league'] );
334
  if ( ! is_string( $league ) || empty( $league ) ) {
335
  $league = _x( 'Primary League', 'example', 'sportspress' );
336
  }
337
- wp_insert_term( $league, 'sp_league' );
 
 
 
338
 
339
  // Insert season
340
  $season = sanitize_text_field( $_POST['season'] );
341
  if ( ! is_string( $season ) || empty( $season ) ) {
342
  $season = date( 'Y' );
343
  }
344
- wp_insert_term( $season, 'sp_season' );
 
 
 
345
 
346
  wp_redirect( esc_url_raw( $this->get_next_step_link() ) );
347
  exit;
9
  * @author WooThemes
10
  * @category Admin
11
  * @package SportsPress/Admin
12
+ * @version 2.5.5
13
  */
14
  if ( ! defined( 'ABSPATH' ) ) {
15
  exit;
280
  </td>
281
  </tr>
282
  <tr>
283
+ <th scope="row"><?php _e( 'Main League', 'sportspress' ); ?> <i class="dashicons dashicons-editor-help sp-desc-tip" title="<?php _e( 'The name of a league or division.', 'sportspress' ); ?>"></i></th>
284
  <td>
285
  <input name="league" type="text" class="widefat" value="<?php _ex( 'Primary League', 'example', 'sportspress' ); ?>">
286
  </td>
329
  }
330
  update_option( 'sportspress_sport', $sport );
331
 
332
+ // Insert league
333
  $league = sanitize_text_field( $_POST['league'] );
334
  if ( ! is_string( $league ) || empty( $league ) ) {
335
  $league = _x( 'Primary League', 'example', 'sportspress' );
336
  }
337
+ $inserted = wp_insert_term( $league, 'sp_league' );
338
+ if ( ! is_wp_error( $inserted ) ) {
339
+ update_option( 'sportspress_league', sp_array_value( $inserted, 'term_id', null ) );
340
+ }
341
 
342
  // Insert season
343
  $season = sanitize_text_field( $_POST['season'] );
344
  if ( ! is_string( $season ) || empty( $season ) ) {
345
  $season = date( 'Y' );
346
  }
347
+ $inserted = wp_insert_term( $season, 'sp_season' );
348
+ if ( ! is_wp_error( $inserted ) ) {
349
+ update_option( 'sportspress_season', sp_array_value( $inserted, 'term_id', null ) );
350
+ }
351
 
352
  wp_redirect( esc_url_raw( $this->get_next_step_link() ) );
353
  exit;
includes/admin/class-sp-admin-sports.php CHANGED
@@ -5,7 +5,7 @@
5
  * The SportsPress admin sports class stores preset sport data.
6
  *
7
  * @class SP_Admin_Sports
8
- * @version 2.4
9
  * @package SportsPress/Admin
10
  * @category Class
11
  * @author ThemeBoy
@@ -108,13 +108,13 @@ class SP_Admin_Sports {
108
  $name = sp_array_value( $position, 'name', __( 'Position', 'sportspress' ) );
109
  $sections = sp_array_value( $position, 'sections', array( 0, 1 ) );
110
  }
111
- $slug = $i . '-' . sanitize_title( $name );
112
- $term = wp_insert_term( $name, 'sp_position', array( 'slug' => $slug ) );
113
  if ( is_wp_error( $term ) ) continue;
114
  $t_id = $term['term_id'];
115
  $term_meta = get_option( "taxonomy_$t_id" );
116
  $term_meta['sp_sections'] = $sections;
117
  update_option( "taxonomy_$t_id", $term_meta );
 
118
  $i++;
119
  }
120
 
5
  * The SportsPress admin sports class stores preset sport data.
6
  *
7
  * @class SP_Admin_Sports
8
+ * @version 2.5.2
9
  * @package SportsPress/Admin
10
  * @category Class
11
  * @author ThemeBoy
108
  $name = sp_array_value( $position, 'name', __( 'Position', 'sportspress' ) );
109
  $sections = sp_array_value( $position, 'sections', array( 0, 1 ) );
110
  }
111
+ $term = wp_insert_term( $name, 'sp_position' );
 
112
  if ( is_wp_error( $term ) ) continue;
113
  $t_id = $term['term_id'];
114
  $term_meta = get_option( "taxonomy_$t_id" );
115
  $term_meta['sp_sections'] = $sections;
116
  update_option( "taxonomy_$t_id", $term_meta );
117
+ update_term_meta( $t_id, 'sp_order', $i + 1 );
118
  $i++;
119
  }
120
 
includes/admin/class-sp-admin-taxonomies.php CHANGED
@@ -7,7 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) {
7
  * Handles taxonomies in admin
8
  *
9
  * @class SP_Admin_Taxonomies
10
- * @version 2.0
11
  * @package SportsPress/Admin
12
  * @category Class
13
  * @author ThemeBoy
@@ -19,6 +19,14 @@ class SP_Admin_Taxonomies {
19
  */
20
  public function __construct() {
21
 
 
 
 
 
 
 
 
 
22
  // Add venue field
23
  add_action( 'sp_venue_add_form_fields', array( $this, 'add_venue_fields' ) );
24
  add_action( 'sp_venue_edit_form_fields', array( $this, 'edit_venue_fields' ), 10, 1 );
@@ -31,9 +39,17 @@ class SP_Admin_Taxonomies {
31
  add_action( 'edited_sp_position', array( $this, 'save_fields' ), 10, 1 );
32
  add_action( 'create_sp_position', array( $this, 'save_fields' ), 10, 1 );
33
 
34
- // Change league and season columns
 
 
 
 
35
  add_filter( 'manage_edit-sp_league_columns', array( $this, 'taxonomy_columns' ) );
 
 
 
36
  add_filter( 'manage_edit-sp_season_columns', array( $this, 'taxonomy_columns' ) );
 
37
 
38
  // Change venue columns
39
  add_filter( 'manage_edit-sp_venue_columns', array( $this, 'venue_columns' ) );
@@ -43,8 +59,28 @@ class SP_Admin_Taxonomies {
43
  add_filter( 'manage_edit-sp_position_columns', array( $this, 'position_columns' ) );
44
  add_filter( 'manage_sp_position_custom_column', array( $this, 'column_value' ), 10, 3 );
45
 
46
- // Change role columns
47
- add_filter( 'manage_edit-sp_role_columns', array( $this, 'role_columns' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  }
49
 
50
  /**
@@ -169,8 +205,13 @@ class SP_Admin_Taxonomies {
169
  </select>
170
  </td>
171
  </tr>
172
-
173
- </div>
 
 
 
 
 
174
  <?php
175
  }
176
 
@@ -193,6 +234,9 @@ class SP_Admin_Taxonomies {
193
  }
194
  update_option( "taxonomy_$t_id", $term_meta );
195
  }
 
 
 
196
  }
197
 
198
  /**
@@ -203,8 +247,15 @@ class SP_Admin_Taxonomies {
203
  * @return array
204
  */
205
  public function taxonomy_columns( $columns ) {
206
- $columns['posts'] = __( 'Events', 'sportspress' );
207
- return $columns;
 
 
 
 
 
 
 
208
  }
209
 
210
  /**
@@ -217,7 +268,7 @@ class SP_Admin_Taxonomies {
217
  public function venue_columns( $columns ) {
218
  $new_columns = array();
219
  $new_columns['sp_address'] = __( 'Address', 'sportspress' );
220
- $new_columns['posts'] = __( 'Events', 'sportspress' );
221
 
222
  unset( $columns['description'] );
223
  unset( $columns['slug'] );
@@ -236,7 +287,9 @@ class SP_Admin_Taxonomies {
236
  public function position_columns( $columns ) {
237
  $new_columns = array();
238
  $new_columns['sp_sections'] = __( 'Statistics', 'sportspress' );
239
- $new_columns['posts'] = __( 'Players', 'sportspress' );
 
 
240
 
241
  unset( $columns['description'] );
242
  unset( $columns['slug'] );
@@ -245,18 +298,6 @@ class SP_Admin_Taxonomies {
245
  return array_merge( $columns, $new_columns );
246
  }
247
 
248
- /**
249
- * Posts column changed to Staff in admin.
250
- *
251
- * @access public
252
- * @param mixed $columns
253
- * @return array
254
- */
255
- public function role_columns( $columns ) {
256
- $columns['posts'] = __( 'Staff', 'sportspress' );
257
- return $columns;
258
- }
259
-
260
  /**
261
  * Column value added to category admin.
262
  *
@@ -294,6 +335,10 @@ class SP_Admin_Taxonomies {
294
 
295
  $columns .= implode( ', ', $section_names );
296
 
 
 
 
 
297
  }
298
 
299
  return $columns;
7
  * Handles taxonomies in admin
8
  *
9
  * @class SP_Admin_Taxonomies
10
+ * @version 2.5.1
11
  * @package SportsPress/Admin
12
  * @category Class
13
  * @author ThemeBoy
19
  */
20
  public function __construct() {
21
 
22
+ // Add league field
23
+ add_action( 'sp_league_edit_form_fields', array( $this, 'edit_taxonomy_fields' ), 10, 1 );
24
+ add_action( 'edited_sp_league', array( $this, 'save_fields' ), 10, 1 );
25
+
26
+ // Add season field
27
+ add_action( 'sp_season_edit_form_fields', array( $this, 'edit_taxonomy_fields' ), 10, 1 );
28
+ add_action( 'edited_sp_season', array( $this, 'save_fields' ), 10, 1 );
29
+
30
  // Add venue field
31
  add_action( 'sp_venue_add_form_fields', array( $this, 'add_venue_fields' ) );
32
  add_action( 'sp_venue_edit_form_fields', array( $this, 'edit_venue_fields' ), 10, 1 );
39
  add_action( 'edited_sp_position', array( $this, 'save_fields' ), 10, 1 );
40
  add_action( 'create_sp_position', array( $this, 'save_fields' ), 10, 1 );
41
 
42
+ // Add job field
43
+ add_action( 'sp_role_edit_form_fields', array( $this, 'edit_taxonomy_fields' ), 10, 1 );
44
+ add_action( 'edited_sp_role', array( $this, 'save_fields' ), 10, 1 );
45
+
46
+ // Change league columns
47
  add_filter( 'manage_edit-sp_league_columns', array( $this, 'taxonomy_columns' ) );
48
+ add_filter( 'manage_sp_league_custom_column', array( $this, 'column_value' ), 10, 3 );
49
+
50
+ // Change season columns
51
  add_filter( 'manage_edit-sp_season_columns', array( $this, 'taxonomy_columns' ) );
52
+ add_filter( 'manage_sp_season_custom_column', array( $this, 'column_value' ), 10, 3 );
53
 
54
  // Change venue columns
55
  add_filter( 'manage_edit-sp_venue_columns', array( $this, 'venue_columns' ) );
59
  add_filter( 'manage_edit-sp_position_columns', array( $this, 'position_columns' ) );
60
  add_filter( 'manage_sp_position_custom_column', array( $this, 'column_value' ), 10, 3 );
61
 
62
+ // Change job columns
63
+ add_filter( 'manage_edit-sp_role_columns', array( $this, 'taxonomy_columns' ) );
64
+ add_filter( 'manage_sp_role_custom_column', array( $this, 'column_value' ), 10, 3 );
65
+ }
66
+
67
+ /**
68
+ * Edit league/season fields.
69
+ *
70
+ * @access public
71
+ * @param mixed $term Term (category) being edited
72
+ */
73
+ public function edit_taxonomy_fields( $term ) {
74
+ $t_id = $term->term_id;
75
+ ?>
76
+ <?php if ( function_exists( 'get_term_meta' ) ) { ?>
77
+ <?php $order = get_term_meta( $t_id, 'sp_order', true ); ?>
78
+ <tr class="form-field">
79
+ <th scope="row" valign="top"><label for="sp_order"><?php _e( 'Order', 'sportspress' ); ?></label></th>
80
+ <td><input name="sp_order" class="sp-number-input" type="text" step="1" size="4" id="sp_order" value="<?php echo (int) $order; ?>"></td>
81
+ </tr>
82
+ <?php } ?>
83
+ <?php
84
  }
85
 
86
  /**
205
  </select>
206
  </td>
207
  </tr>
208
+ <?php if ( function_exists( 'get_term_meta' ) ) { ?>
209
+ <?php $order = get_term_meta( $t_id, 'sp_order', true ); ?>
210
+ <tr class="form-field">
211
+ <th scope="row" valign="top"><label for="sp_order"><?php _e( 'Order', 'sportspress' ); ?></label></th>
212
+ <td><input name="sp_order" class="sp-number-input" type="text" step="1" size="4" id="sp_order" value="<?php echo (int) $order; ?>"></td>
213
+ </tr>
214
+ <?php } ?>
215
  <?php
216
  }
217
 
234
  }
235
  update_option( "taxonomy_$t_id", $term_meta );
236
  }
237
+ if ( function_exists( 'add_term_meta' ) ) {
238
+ update_term_meta( $term_id, 'sp_order', (int) sp_array_value( $_POST, 'sp_order', 0 ) );
239
+ }
240
  }
241
 
242
  /**
247
  * @return array
248
  */
249
  public function taxonomy_columns( $columns ) {
250
+ $new_columns = array();
251
+
252
+ if ( function_exists( 'get_term_meta' ) ) $new_columns['sp_order'] = __( 'Order', 'sportspress' );
253
+
254
+ $new_columns['posts'] = $columns['posts'];
255
+
256
+ unset( $columns['posts'] );
257
+
258
+ return array_merge( $columns, $new_columns );
259
  }
260
 
261
  /**
268
  public function venue_columns( $columns ) {
269
  $new_columns = array();
270
  $new_columns['sp_address'] = __( 'Address', 'sportspress' );
271
+ $new_columns['posts'] = $columns['posts'];
272
 
273
  unset( $columns['description'] );
274
  unset( $columns['slug'] );
287
  public function position_columns( $columns ) {
288
  $new_columns = array();
289
  $new_columns['sp_sections'] = __( 'Statistics', 'sportspress' );
290
+
291
+ if ( function_exists( 'get_term_meta' ) ) $new_columns['sp_order'] = __( 'Order', 'sportspress' );
292
+ $new_columns['posts'] = $columns['posts'];
293
 
294
  unset( $columns['description'] );
295
  unset( $columns['slug'] );
298
  return array_merge( $columns, $new_columns );
299
  }
300
 
 
 
 
 
 
 
 
 
 
 
 
 
301
  /**
302
  * Column value added to category admin.
303
  *
335
 
336
  $columns .= implode( ', ', $section_names );
337
 
338
+ } elseif ( $column == 'sp_order' ) {
339
+
340
+ $columns = (int) get_term_meta( $id, 'sp_order', true );
341
+
342
  }
343
 
344
  return $columns;
includes/admin/class-sp-admin-welcome.php CHANGED
@@ -9,7 +9,7 @@
9
  * @author ThemeBoy
10
  * @category Admin
11
  * @package SportsPress/Admin
12
- * @version 2.4
13
  */
14
 
15
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -176,38 +176,120 @@ class SP_Admin_Welcome {
176
 
177
  do_action( 'sportspress_before_welcome_features' );
178
  ?>
179
- <h2>New Features</h2>
180
- <div class="feature-section three-col">
 
 
 
 
 
 
 
 
 
 
181
  <div class="col">
182
- <img src="<?php echo plugin_dir_url( SP_PLUGIN_FILE ); ?>assets/images/welcome/screenshot-team-galleries.png" alt="Team Galleries">
183
- <h3>Team Galleries</h3>
184
- <p>Display a gallery of logos that link to each team using the new <strong>[team_gallery]</strong> shortcode, or by adding a <strong>Team Gallery</strong> widget to your sidebar.</p>
185
  </div>
 
 
 
186
  <div class="col">
187
- <img src="<?php echo plugin_dir_url( SP_PLUGIN_FILE ); ?>assets/images/welcome/screenshot-better-career-totals.png" alt="Better Career Totals">
188
- <h3>Better Career Totals</h3>
189
- <p><strong>Player Statistics</strong> can be configured to display career totals by adding season totals or calculating averages using the <strong>Type</strong> option.</p>
190
  </div>
191
  <div class="col">
192
- <img src="<?php echo plugin_dir_url( SP_PLUGIN_FILE ); ?>assets/images/welcome/screenshot-friendly-competitions.png" alt="Friendly Competitions">
193
- <h3>Friendly Competitions</h3>
194
- <p><strong>Competitions</strong> can now be assigned to any event, making it easier to organize and display <strong>Friendly</strong> events into custom calendars.</p>
195
  </div>
196
  </div>
197
 
 
198
  <hr>
199
 
200
- <h2>WordPay Integration</h2>
 
 
 
 
 
201
  <div class="feature-section two-col">
202
  <div class="col">
203
- <img src="<?php echo plugin_dir_url( SP_PLUGIN_FILE ); ?>assets/images/welcome/screenshot-team-player-registration.png" alt="Team & Player Registration">
204
- <h3>Team &amp; Player Registration</h3>
205
- <p>Automatically create teams and players when new members sign up to your site using <a href="https://wordpay.org/sportspress/" target="_blank">WordPay</a>. Once installed, don't forget to activate the <strong>WordPay</strong> module from <a href="<?php echo add_query_arg( array( 'page' => 'sportspress' ), admin_url( 'admin.php' ) ); ?>">SportsPress Settings</a>.</p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
206
  </div>
207
  <div class="col">
208
- <img src="<?php echo plugin_dir_url( SP_PLUGIN_FILE ); ?>assets/images/welcome/screenshot-membership-payments.png" alt="Membership Payments">
209
- <h3>Collect Membership Payments</h3>
210
- <p>By using <strong>WordPay</strong>, you can create different membership levels and start accepting recurring fees directly on your website using <strong>PayPal</strong> or <strong>Stripe</strong> with seamless credit card processing. <a href="https://wordpay.org/sportspress/" target="_blank">Learn more</a></p>
211
  </div>
212
  </div>
213
 
9
  * @author ThemeBoy
10
  * @category Admin
11
  * @package SportsPress/Admin
12
+ * @version 2.5
13
  */
14
 
15
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
176
 
177
  do_action( 'sportspress_before_welcome_features' );
178
  ?>
179
+ <div class="feature-section one-col">
180
+ <div class="col">
181
+ <h2>New Features 🌟</h2>
182
+ </div>
183
+ </div>
184
+
185
+ <div class="feature-section two-col">
186
+ <div class="col">
187
+ <img src="<?php echo plugin_dir_url( SP_PLUGIN_FILE ); ?>assets/images/welcome/screenshot-officials.png" alt="Officials Module">
188
+ <h3>Officials Module</h3>
189
+ <p>Manage referees, umpires, judges, timekeepers, and other officials. Don't forget to enable the <strong>Officials</strong> module from <a href="<?php echo add_query_arg( array( 'page' => 'sportspress' ), admin_url( 'admin.php' ) ); ?>">SportsPress Settings</a> to start using this feature.</p>
190
+ </div>
191
  <div class="col">
192
+ <img src="<?php echo plugin_dir_url( SP_PLUGIN_FILE ); ?>assets/images/welcome/screenshot-awards.png" alt="Player of the Match">
193
+ <h3>Player of the Match</h3>
194
+ <p>Select player(s) or a star number for certain players in events. Stars can be displayed as icons or with a number. To enable this feature, choose an <strong>Awards</strong> type from the <strong>Box Score</strong> section in <a href="<?php echo add_query_arg( array( 'page' => 'sportspress' ), admin_url( 'admin.php' ) ); ?>">Event Settings</a>.</p>
195
  </div>
196
+ </div>
197
+
198
+ <div class="feature-section two-col">
199
  <div class="col">
200
+ <img src="<?php echo plugin_dir_url( SP_PLUGIN_FILE ); ?>assets/images/welcome/screenshot-event-performance-importer.png" alt="Box Score Importer">
201
+ <h3>Box Score Importer</h3>
202
+ <p>A new importer has been added to each event. Upload a CSV file and instantly update the player performance for the selected team.</p>
203
  </div>
204
  <div class="col">
205
+ <img src="<?php echo plugin_dir_url( SP_PLUGIN_FILE ); ?>assets/images/welcome/screenshot-performance-icons.png" alt="New Performance Icons">
206
+ <h3>New Performance Icons</h3>
207
+ <p>A set of new icons have been added to <strong>Player Performance</strong>, giving you more options to choose from.<p>
208
  </div>
209
  </div>
210
 
211
+ <?php if ( ! class_exists( 'SportsPress_Pro' ) ) { ?>
212
  <hr>
213
 
214
+ <div class="feature-section one-col">
215
+ <div class="col">
216
+ <h2>SportsPress Pro Updates 🏆</h2>
217
+ </div>
218
+ </div>
219
+
220
  <div class="feature-section two-col">
221
  <div class="col">
222
+ <img src="<?php echo plugin_dir_url( SP_PLUGIN_FILE ); ?>assets/images/welcome/screenshot-group-stages.png" alt="Tournament Group Stages">
223
+ <h3>Tournament Group Stages</h3>
224
+ <p>Support for group stages have been added natively to tournaments, allowing you to create and attach league tables to be displayed directly below tournament brackets.</p>
225
+ </div>
226
+ <div class="col">
227
+ <img src="<?php echo plugin_dir_url( SP_PLUGIN_FILE ); ?>assets/images/welcome/screenshot-sponsor-levels.png" alt="Sponsorship Levels">
228
+ <h3>Sponsorship Levels</h3>
229
+ <p>Assign levels to sponsors based on their contribution or other factors. Sponsors can now be filtered based on their sponsorship level within widgets, allowing for level-specific sponsor treament.<p>
230
+ </div>
231
+ </div>
232
+
233
+ <a class="button button-primary button-hero" href="<?php echo esc_url( apply_filters( 'sportspress_pro_url', 'http://tboy.co/pro' ) ); ?>"><?php _e( 'Upgrade to Pro', 'sportspress' ); ?></a>
234
+
235
+ <p><?php _e( 'Get SportsPress Pro to get access to all modules. You can upgrade any time without losing any of your data.','sportspress' ); ?></p>
236
+ <?php } ?>
237
+
238
+ <hr>
239
+
240
+ <div class="feature-section one-col">
241
+ <div class="col">
242
+ <h2>Improved Usability and Control</h2>
243
+ </div>
244
+ </div>
245
+
246
+ <div class="feature-section three-col">
247
+ <div class="col">
248
+ <h3>Custom Taxonomy Order</h3>
249
+ <p>A new setting has been added to leagues, seasons, and positions, allowing you to define a customer order of terms.</p>
250
+ </div>
251
+ <div class="col">
252
+ <h3>Filtering Player Lists</h3>
253
+ <p>Player lists can now be configured to skip players that don't have a particular statistic, allowing you to create more specific lists.</p>
254
+ </div>
255
+ <div class="col">
256
+ <h3>Multiple Jobs</h3>
257
+ <p>Staff members can now be assigned multiple jobs, which are displayed consecutively in their profiles.</p>
258
+ </div>
259
+ <div class="col">
260
+ <h3>Event Calendar Indicators</h3>
261
+ <p>With the frontend stylesheet enabled, days with events will now be displayed with a filled circle to indicate an event on that day.</p>
262
+ </div>
263
+ <div class="col">
264
+ <h3>Relative Ranges</h3>
265
+ <p>Additional options now allow you to select events within a particular range, from last week, next week, yesterday, or tomorrow.</p>
266
+ </div>
267
+ <div class="col">
268
+ <h3>Sort by Match Day</h3>
269
+ <p>Use the columns in the admin to sort events by match day. A search bar has also been added to filter events by match day.</p>
270
+ </div>
271
+ </div>
272
+
273
+ <hr>
274
+
275
+ <div class="feature-section one-col">
276
+ <div class="col">
277
+ <h2>Other Notes</h2>
278
+ </div>
279
+ </div>
280
+
281
+ <div class="feature-section three-col">
282
+ <div class="col">
283
+ <h3>Schema Microdata</h3>
284
+ <p>We've complied with schema.org's microdata formats by adding these attributes to event calendars, blocks, and lists throughout.</p>
285
+ </div>
286
+ <div class="col">
287
+ <h3>Competitions Are Now Leagues</h3>
288
+ <p>The competitions taxonomy has been renamed to leagues, which still work in the exact same way.</p>
289
  </div>
290
  <div class="col">
291
+ <h3>Calendar Caching</h3>
292
+ <p>To prevent event calendars from caching in third-party apps, an E-Tag header has been added to these feeds.</p>
 
293
  </div>
294
  </div>
295
 
includes/admin/class-sp-admin.php CHANGED
@@ -10,7 +10,7 @@ if ( ! defined( 'ABSPATH' ) ) {
10
  * @author ThemeBoy
11
  * @category Admin
12
  * @package SportsPress/Admin
13
- * @version 2.3
14
  */
15
  class SP_Admin {
16
 
@@ -102,29 +102,33 @@ class SP_Admin {
102
  */
103
  public function action_links() {
104
  global $pagenow, $typenow;
105
- if ( 'edit.php' == $pagenow && in_array( $typenow, sp_primary_post_types() ) ) {
106
  if ( 'sp_event' === $typenow ) {
107
- ?>
108
- <script type="text/javascript">
109
- (function($) {
110
- $(".wrap .page-title-action").first().after(
111
- $("<a class=\"add-new-h2\" href=\"<?php echo esc_url( admin_url( add_query_arg( array( 'import' => 'sp_fixture_csv' ), 'admin.php' ) ) ); ?>\"><?php _e( 'Import Fixtures', 'sportspress' ); ?></a>")
112
- ).after(
113
- $("<a class=\"add-new-h2\" href=\"<?php echo esc_url( admin_url( add_query_arg( array( 'import' => 'sp_event_csv' ), 'admin.php' ) ) ); ?>\"><?php _e( 'Import Events', 'sportspress' ); ?></a>")
114
- );
115
- })(jQuery);
116
- </script>
117
- <?php
 
 
118
  } else {
119
- ?>
120
- <script type="text/javascript">
121
- (function($) {
122
- $(".wrap .page-title-action").first().after(
123
- $("<a class=\"add-new-h2\" href=\"<?php echo esc_url( admin_url( add_query_arg( array( 'import' => $typenow . '_csv' ), 'admin.php' ) ) ); ?>\"><?php _e( 'Import', 'sportspress' ); ?></a>")
124
- );
125
- })(jQuery);
126
- </script>
127
- <?php
 
 
128
  }
129
  }
130
  }
10
  * @author ThemeBoy
11
  * @category Admin
12
  * @package SportsPress/Admin
13
+ * @version 2.5.1
14
  */
15
  class SP_Admin {
16
 
102
  */
103
  public function action_links() {
104
  global $pagenow, $typenow;
105
+ if ( in_array( $typenow, sp_importable_post_types() ) ) {
106
  if ( 'sp_event' === $typenow ) {
107
+ if ( 'edit.php' === $pagenow ) {
108
+ ?>
109
+ <script type="text/javascript">
110
+ (function($) {
111
+ $(".wrap .page-title-action").first().after(
112
+ $("<a class=\"add-new-h2\" href=\"<?php echo esc_url( admin_url( add_query_arg( array( 'import' => 'sp_fixture_csv' ), 'admin.php' ) ) ); ?>\"><?php _e( 'Import Fixtures', 'sportspress' ); ?></a>")
113
+ ).after(
114
+ $("<a class=\"add-new-h2\" href=\"<?php echo esc_url( admin_url( add_query_arg( array( 'import' => 'sp_event_csv' ), 'admin.php' ) ) ); ?>\"><?php _e( 'Import Events', 'sportspress' ); ?></a>")
115
+ );
116
+ })(jQuery);
117
+ </script>
118
+ <?php
119
+ }
120
  } else {
121
+ if ( 'edit.php' === $pagenow ) {
122
+ ?>
123
+ <script type="text/javascript">
124
+ (function($) {
125
+ $(".wrap .page-title-action").first().after(
126
+ $("<a class=\"add-new-h2\" href=\"<?php echo esc_url( admin_url( add_query_arg( array( 'import' => $typenow . '_csv' ), 'admin.php' ) ) ); ?>\"><?php _e( 'Import', 'sportspress' ); ?></a>")
127
+ );
128
+ })(jQuery);
129
+ </script>
130
+ <?php
131
+ }
132
  }
133
  }
134
  }
includes/admin/importers/class-sp-event-importer.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Importers
8
- * @version 2.1
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -479,7 +479,7 @@ if ( class_exists( 'WP_Importer' ) ) {
479
  </td>
480
  </tr>
481
  <tr>
482
- <th scope="row"><label><?php _e( 'Competition', 'sportspress' ); ?></label><br/></th>
483
  <td><?php
484
  $args = array(
485
  'taxonomy' => 'sp_league',
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Importers
8
+ * @version 2.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
479
  </td>
480
  </tr>
481
  <tr>
482
+ <th scope="row"><label><?php _e( 'League', 'sportspress' ); ?></label><br/></th>
483
  <td><?php
484
  $args = array(
485
  'taxonomy' => 'sp_league',
includes/admin/importers/class-sp-event-performance-importer.php ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Event Performance importer - import box scores into SportsPress.
4
+ *
5
+ * @author ThemeBoy
6
+ * @category Admin
7
+ * @package SportsPress/Admin/Importers
8
+ * @version 2.5.1
9
+ */
10
+
11
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
12
+
13
+ if ( class_exists( 'WP_Importer' ) ) {
14
+ class SP_Event_Performance_Importer extends SP_Importer {
15
+
16
+ /**
17
+ * __construct function.
18
+ *
19
+ * @access public
20
+ * @return void
21
+ */
22
+ public function __construct() {
23
+ $this->import_page = 'sp_event_performance_csv';
24
+ $this->import_label = __( 'Import Box Score', 'sportspress' );
25
+ $this->columns = array(
26
+ 'sp_player' => __( 'Player', 'sportspress' ),
27
+ );
28
+ $performance_labels = sp_get_var_labels( 'sp_performance' );
29
+ if ( $performance_labels && is_array( $performance_labels ) && sizeof( $performance_labels ) )
30
+ $this->columns = array_merge( $this->columns, $performance_labels );
31
+ }
32
+
33
+ /**
34
+ * import function.
35
+ *
36
+ * @access public
37
+ * @param array $array
38
+ * @param array $columns
39
+ * @return void
40
+ */
41
+ function import( $array = array(), $columns = array( 'sp_player' ) ) {
42
+ $this->imported = $this->skipped = 0;
43
+
44
+ if ( ! is_array( $array ) || ! sizeof( $array ) ):
45
+ $this->footer();
46
+ die();
47
+ endif;
48
+
49
+ $rows = array_chunk( $array, sizeof( $columns ) );
50
+
51
+ // Get event ID and team ID from post vars
52
+ $event = ( empty( $_POST['sp_event'] ) ? false : $_POST['sp_event'] );
53
+ $teams = ( empty( $_POST['sp_teams'] ) ? false : $_POST['sp_teams'] );
54
+ $index = ( empty( $_POST['sp_index'] ) ? false : $_POST['sp_index'] );
55
+ $team = ( empty( $_POST['sp_team'] ) ? false : $_POST['sp_team'] );
56
+
57
+ $team_players = array( 0 );
58
+ $team_performance = array();
59
+ $name_index = (int) array_search( 'sp_player', $columns );
60
+
61
+ foreach ( $rows as $row ):
62
+
63
+ $row = array_filter( $row );
64
+
65
+ if ( empty( $row ) ) continue;
66
+
67
+ $player_name = sp_array_value( $row, $name_index );
68
+
69
+ if ( ! $player_name ):
70
+ $this->skipped ++;
71
+ continue;
72
+ endif;
73
+
74
+ $player_object = get_page_by_title( stripslashes( $player_name ), OBJECT, 'sp_player' );
75
+
76
+ if ( $player_object ):
77
+
78
+ // Get player ID
79
+ $player_id = $player_object->ID;
80
+
81
+ else:
82
+
83
+ // Insert player
84
+ $player_id = wp_insert_post( array( 'post_type' => 'sp_player', 'post_status' => 'publish', 'post_title' => wp_strip_all_tags( $player_name ) ) );
85
+
86
+ // Flag as import
87
+ update_post_meta( $player_id, '_sp_import', 1 );
88
+
89
+ endif;
90
+
91
+ $team_players[] = $player_id;
92
+ $player = array();
93
+
94
+ foreach ( $columns as $i => $key ):
95
+ if ( 'sp_player' === $key ) continue;
96
+ $player[ $key ] = sp_array_value( $row, $i, '' );
97
+ endforeach;
98
+
99
+ $team_performance[ $player_id ] = $player;
100
+
101
+ endforeach;
102
+
103
+ if ( $event && $team ):
104
+ $the_players = get_post_meta( $event, 'sp_player', false );
105
+ $players = array();
106
+ for ( $i = 0; $i < $teams; $i++ ):
107
+ if ( $index == $i ):
108
+ array_push( $players, $team_players );
109
+ else:
110
+ array_push( $players, sp_array_between( $the_players, 0, $i ) );
111
+ endif;
112
+ endfor;
113
+ sp_update_post_meta_recursive( $event, 'sp_player', $players );
114
+
115
+ $this->imported = sizeof( $team_players ) - 1;
116
+
117
+ $performance = (array) get_post_meta( $event, 'sp_players', true );
118
+ $performance = array_filter( $performance );
119
+ $performance[ $team ] = $team_performance;
120
+ update_post_meta( $event, 'sp_players', $performance );
121
+ endif;
122
+
123
+ // Show Result
124
+ echo '<div class="updated settings-error below-h2"><p>
125
+ '.sprintf( __( 'Import complete - imported <strong>%s</strong> rows and skipped <strong>%s</strong>.', 'sportspress' ), $this->imported, $this->skipped ).'
126
+ </p></div>';
127
+
128
+ $this->import_end( $event );
129
+ }
130
+
131
+ /**
132
+ * Performs post-import cleanup of files and the cache
133
+ */
134
+ function import_end( $event = 0 ) {
135
+ echo '<p>' . __( 'All done!', 'sportspress' ) . ' <a href="' . admin_url( add_query_arg( array( 'post' => $event, 'action' => 'edit' ), 'post.php' ) ) . '">' . __( 'View Event', 'sportspress' ) . '</a>' . '</p>';
136
+
137
+ do_action( 'import_end' );
138
+ }
139
+
140
+ /**
141
+ * greet function.
142
+ *
143
+ * @access public
144
+ * @return void
145
+ */
146
+ function greet() {
147
+ $event = sp_array_value( $_REQUEST, 'event', 0 );
148
+
149
+ echo '<div class="narrow">';
150
+
151
+ if ( $event ) {
152
+ $args = array_merge( $_REQUEST, array( 'import' => 'sp_event_performance_csv', 'step' => '1' ) );
153
+ echo '<p>' . __( 'Hi there! Choose a .csv file to upload, then click "Upload file and import".', 'sportspress' ).'</p>';
154
+ echo '<p>' . sprintf( __( 'Box scores need to be defined with columns in a specific order. <a href="%s">Click here to download a sample</a>.', 'sportspress' ), plugin_dir_url( SP_PLUGIN_FILE ) . 'dummy-data/event-performance-sample.csv' ) . '</p>';
155
+ wp_import_upload_form( add_query_arg( $args, 'admin.php' ) );
156
+ } else {
157
+ echo '<p><a href="' . admin_url( add_query_arg( array( 'post_type' => 'sp_event' ), 'edit.php' ) ) . '">' . sprintf( __( 'Select %s', 'sportspress' ), __( 'Event', 'sportspress' ) ) . '</a></p>';
158
+ }
159
+
160
+ echo '</div>';
161
+ }
162
+
163
+ /**
164
+ * options function.
165
+ *
166
+ * @access public
167
+ * @return void
168
+ */
169
+ function options() {
170
+ $event = sp_array_value( $_REQUEST, 'event', 0 );
171
+ $teams = sp_array_value( $_REQUEST, 'teams', 0 );
172
+ $index = sp_array_value( $_REQUEST, 'index', 0 );
173
+ $team = sp_array_value( $_REQUEST, 'team', 0 );
174
+ $include = get_post_meta( $event, 'sp_team', false );
175
+ ?>
176
+ <table class="form-table">
177
+ <tbody>
178
+ <tr>
179
+ <th scope="row"><label><?php _e( 'Event', 'sportspress' ); ?></label><br/></th>
180
+ <td>
181
+ <a href="<?php echo get_post_permalink( $event ); ?>" target="_blank">
182
+ <?php echo get_the_title( $event ); ?>
183
+ </a>
184
+ <input type="hidden" name="sp_event" value="<?php echo $event; ?>">
185
+ <input type="hidden" name="sp_teams" value="<?php echo $teams; ?>">
186
+ <input type="hidden" name="sp_index" value="<?php echo $index; ?>">
187
+ </td>
188
+ </tr>
189
+ <tr>
190
+ <th scope="row"><label><?php _e( 'Team', 'sportspress' ); ?></label><br/></th>
191
+ <td>
192
+ <?php
193
+ $args = array(
194
+ 'post_type' => 'sp_team',
195
+ 'name' => 'sp_team',
196
+ 'values' => 'ID',
197
+ 'selected' => $team,
198
+ 'include' => $include,
199
+ );
200
+ sp_dropdown_pages( $args );
201
+ ?>
202
+ </td>
203
+ </tr>
204
+ </tbody>
205
+ </table>
206
+ <?php
207
+ }
208
+ }
209
+ }
includes/admin/importers/class-sp-fixture-importer.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Importers
8
- * @version 2.1
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -287,7 +287,7 @@ if ( class_exists( 'WP_Importer' ) ) {
287
  </td>
288
  </tr>
289
  <tr>
290
- <th scope="row"><label><?php _e( 'Competition', 'sportspress' ); ?></label><br/></th>
291
  <td><?php
292
  $args = array(
293
  'taxonomy' => 'sp_league',
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Importers
8
+ * @version 2.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
287
  </td>
288
  </tr>
289
  <tr>
290
+ <th scope="row"><label><?php _e( 'League', 'sportspress' ); ?></label><br/></th>
291
  <td><?php
292
  $args = array(
293
  'taxonomy' => 'sp_league',
includes/admin/importers/class-sp-importer.php CHANGED
@@ -157,7 +157,7 @@ if ( class_exists( 'WP_Importer' ) ) {
157
  </td>
158
  <?php $index ++; endforeach; ?>
159
  <td class="sp-actions-column">
160
- <a href="#" title="<?php _e( 'Delete row', 'sportspress' ); ?>" class="sp-icon-trash sp-delete-row"></a>
161
  <a href="#" title="<?php _e( 'Insert row after', 'sportspress' ); ?>" class="dashicons dashicons-plus-alt sp-add-row"></a>
162
  </td>
163
  </tr>
157
  </td>
158
  <?php $index ++; endforeach; ?>
159
  <td class="sp-actions-column">
160
+ <a href="#" title="<?php _e( 'Delete row', 'sportspress' ); ?>" class="dashicons dashicons-dismiss sp-delete-row"></a>
161
  <a href="#" title="<?php _e( 'Insert row after', 'sportspress' ); ?>" class="dashicons dashicons-plus-alt sp-add-row"></a>
162
  </td>
163
  </tr>
includes/admin/importers/class-sp-official-importer.php ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Official importer - import officials into SportsPress.
4
+ *
5
+ * @author ThemeBoy
6
+ * @category Admin
7
+ * @package SportsPress/Admin/Importers
8
+ * @version 2.5.1
9
+ */
10
+
11
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
12
+
13
+ if ( class_exists( 'WP_Importer' ) ) {
14
+ class SP_Official_Importer extends SP_Importer {
15
+
16
+ /**
17
+ * __construct function.
18
+ *
19
+ * @access public
20
+ * @return void
21
+ */
22
+ public function __construct() {
23
+ $this->import_page = 'sp_official_csv';
24
+ $this->import_label = __( 'Import Officials', 'sportspress' );
25
+ $this->columns = array(
26
+ 'post_title' => __( 'Name', 'sportspress' ),
27
+ );
28
+ parent::__construct();
29
+ }
30
+
31
+ /**
32
+ * import function.
33
+ *
34
+ * @access public
35
+ * @param array $array
36
+ * @param array $columns
37
+ * @return void
38
+ */
39
+ function import( $array = array(), $columns = array( 'post_title' ) ) {
40
+ $this->imported = $this->skipped = 0;
41
+
42
+ if ( ! is_array( $array ) || ! sizeof( $array ) ):
43
+ $this->footer();
44
+ die();
45
+ endif;
46
+
47
+ $rows = array_chunk( $array, sizeof( $columns ) );
48
+
49
+ foreach ( $rows as $row ):
50
+
51
+ $row = array_filter( $row );
52
+
53
+ if ( empty( $row ) ) continue;
54
+
55
+ $meta = array();
56
+
57
+ foreach ( $columns as $index => $key ):
58
+ $meta[ $key ] = sp_array_value( $row, $index );
59
+ endforeach;
60
+
61
+ $name = sp_array_value( $meta, 'post_title' );
62
+
63
+ if ( ! $name ):
64
+ $this->skipped++;
65
+ continue;
66
+ endif;
67
+
68
+ $args = array( 'post_type' => 'sp_official', 'post_status' => 'publish', 'post_title' => wp_strip_all_tags( $name ) );
69
+
70
+ $id = wp_insert_post( $args );
71
+
72
+ $this->imported++;
73
+
74
+ endforeach;
75
+
76
+ // Show Result
77
+ echo '<div class="updated settings-error below-h2"><p>
78
+ '.sprintf( __( 'Import complete - imported <strong>%s</strong> officials and skipped <strong>%s</strong>.', 'sportspress' ), $this->imported, $this->skipped ).'
79
+ </p></div>';
80
+
81
+ $this->import_end();
82
+ }
83
+
84
+ /**
85
+ * Performs post-import cleanup of files and the cache
86
+ */
87
+ function import_end() {
88
+ echo '<p>' . __( 'All done!', 'sportspress' ) . ' <a href="' . admin_url('edit.php?post_type=sp_official') . '">' . __( 'View Officials', 'sportspress' ) . '</a>' . '</p>';
89
+
90
+ do_action( 'import_end' );
91
+ }
92
+
93
+ /**
94
+ * header function.
95
+ *
96
+ * @access public
97
+ * @return void
98
+ */
99
+ function header() {
100
+ echo '<div class="wrap"><h2>' . __( 'Import Officials', 'sportspress' ) . '</h2>';
101
+ }
102
+
103
+ /**
104
+ * greet function.
105
+ *
106
+ * @access public
107
+ * @return void
108
+ */
109
+ function greet() {
110
+ echo '<div class="narrow">';
111
+ echo '<p>' . __( 'Hi there! Choose a .csv file to upload, then click "Upload file and import".', 'sportspress' ).'</p>';
112
+ echo '<p>' . sprintf( __( 'Officials need to be defined with columns in a specific order. <a href="%s">Click here to download a sample</a>.', 'sportspress' ), plugin_dir_url( SP_PLUGIN_FILE ) . 'dummy-data/officials-sample.csv' ) . '</p>';
113
+ wp_import_upload_form( 'admin.php?import=sp_official_csv&step=1' );
114
+ echo '</div>';
115
+ }
116
+ }
117
+ }
includes/admin/importers/class-sp-player-importer.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Importers
8
- * @version 1.7
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -27,7 +27,7 @@ if ( class_exists( 'WP_Importer' ) ) {
27
  'post_title' => __( 'Name', 'sportspress' ),
28
  'sp_position' => __( 'Positions', 'sportspress' ),
29
  'sp_team' => __( 'Teams', 'sportspress' ),
30
- 'sp_league' => __( 'Competitions', 'sportspress' ),
31
  'sp_season' => __( 'Seasons', 'sportspress' ),
32
  'sp_nationality' => __( 'Nationality', 'sportspress' ),
33
  );
@@ -71,12 +71,20 @@ if ( class_exists( 'WP_Importer' ) ) {
71
  continue;
72
  endif;
73
 
74
- $args = array( 'post_type' => 'sp_player', 'post_status' => 'publish', 'post_title' => wp_strip_all_tags( $name ) );
75
-
76
- $id = wp_insert_post( $args );
 
 
 
 
 
 
 
77
 
78
- // Flag as import
79
- update_post_meta( $id, '_sp_import', 1 );
 
80
 
81
  // Update number
82
  update_post_meta( $id, 'sp_number', sp_array_value( $meta, 'sp_number' ) );
@@ -172,5 +180,29 @@ if ( class_exists( 'WP_Importer' ) ) {
172
  wp_import_upload_form( 'admin.php?import=sp_player_csv&step=1' );
173
  echo '</div>';
174
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
175
  }
176
  }
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Importers
8
+ * @version 2.5.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
27
  'post_title' => __( 'Name', 'sportspress' ),
28
  'sp_position' => __( 'Positions', 'sportspress' ),
29
  'sp_team' => __( 'Teams', 'sportspress' ),
30
+ 'sp_league' => __( 'Leagues', 'sportspress' ),
31
  'sp_season' => __( 'Seasons', 'sportspress' ),
32
  'sp_nationality' => __( 'Nationality', 'sportspress' ),
33
  );
71
  continue;
72
  endif;
73
 
74
+ // Get or insert player
75
+ $player_object = sp_array_value( $_POST, 'merge', 0 ) ? get_page_by_title( stripslashes( $name ), OBJECT, 'sp_player' ) : false;
76
+ if ( $player_object ):
77
+ if ( $player_object->post_status != 'publish' ):
78
+ wp_update_post( array( 'ID' => $player_object->ID, 'post_status' => 'publish' ) );
79
+ endif;
80
+ $id = $player_object->ID;
81
+ else:
82
+ $args = array( 'post_type' => 'sp_player', 'post_status' => 'publish', 'post_title' => wp_strip_all_tags( $name ) );
83
+ $id = wp_insert_post( $args );
84
 
85
+ // Flag as import
86
+ update_post_meta( $id, '_sp_import', 1 );
87
+ endif;
88
 
89
  // Update number
90
  update_post_meta( $id, 'sp_number', sp_array_value( $meta, 'sp_number' ) );
180
  wp_import_upload_form( 'admin.php?import=sp_player_csv&step=1' );
181
  echo '</div>';
182
  }
183
+
184
+ /**
185
+ * options function.
186
+ *
187
+ * @access public
188
+ * @return void
189
+ */
190
+ function options() {
191
+ ?>
192
+ <table class="form-table">
193
+ <tbody>
194
+ <tr>
195
+ <td>
196
+ <label>
197
+ <input type="hidden" name="merge" value="0">
198
+ <input type="checkbox" name="merge" value="1" checked="checked">
199
+ <?php _e( 'Merge duplicates', 'sportspress' ); ?>
200
+ </label>
201
+ </td>
202
+ </tr>
203
+ </tbody>
204
+ </table>
205
+ <?php
206
+ }
207
  }
208
  }
includes/admin/importers/class-sp-staff-importer.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Importers
8
- * @version 1.6
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -26,7 +26,7 @@ if ( class_exists( 'WP_Importer' ) ) {
26
  'post_title' => __( 'Name', 'sportspress' ),
27
  'sp_role' => __( 'Jobs', 'sportspress' ),
28
  'sp_team' => __( 'Teams', 'sportspress' ),
29
- 'sp_league' => __( 'Competitions', 'sportspress' ),
30
  'sp_season' => __( 'Seasons', 'sportspress' ),
31
  'sp_nationality' => __( 'Nationality', 'sportspress' ),
32
  );
@@ -70,12 +70,20 @@ if ( class_exists( 'WP_Importer' ) ) {
70
  continue;
71
  endif;
72
 
73
- $args = array( 'post_type' => 'sp_staff', 'post_status' => 'publish', 'post_title' => wp_strip_all_tags( $name ) );
74
-
75
- $id = wp_insert_post( $args );
 
 
 
 
 
 
 
76
 
77
- // Flag as import
78
- update_post_meta( $id, '_sp_import', 1 );
 
79
 
80
  // Update roles
81
  $roles = explode( '|', sp_array_value( $meta, 'sp_role' ) );
@@ -168,5 +176,29 @@ if ( class_exists( 'WP_Importer' ) ) {
168
  wp_import_upload_form( 'admin.php?import=sp_staff_csv&step=1' );
169
  echo '</div>';
170
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
171
  }
172
  }
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Importers
8
+ * @version 2.5.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
26
  'post_title' => __( 'Name', 'sportspress' ),
27
  'sp_role' => __( 'Jobs', 'sportspress' ),
28
  'sp_team' => __( 'Teams', 'sportspress' ),
29
+ 'sp_league' => __( 'Leagues', 'sportspress' ),
30
  'sp_season' => __( 'Seasons', 'sportspress' ),
31
  'sp_nationality' => __( 'Nationality', 'sportspress' ),
32
  );
70
  continue;
71
  endif;
72
 
73
+ // Get or insert staff
74
+ $staff_object = sp_array_value( $_POST, 'merge', 0 ) ? get_page_by_title( stripslashes( $name ), OBJECT, 'sp_staff' ) : false;
75
+ if ( $staff_object ):
76
+ if ( $staff_object->post_status != 'publish' ):
77
+ wp_update_post( array( 'ID' => $staff_object->ID, 'post_status' => 'publish' ) );
78
+ endif;
79
+ $id = $staff_object->ID;
80
+ else:
81
+ $args = array( 'post_type' => 'sp_staff', 'post_status' => 'publish', 'post_title' => wp_strip_all_tags( $name ) );
82
+ $id = wp_insert_post( $args );
83
 
84
+ // Flag as import
85
+ update_post_meta( $id, '_sp_import', 1 );
86
+ endif;
87
 
88
  // Update roles
89
  $roles = explode( '|', sp_array_value( $meta, 'sp_role' ) );
176
  wp_import_upload_form( 'admin.php?import=sp_staff_csv&step=1' );
177
  echo '</div>';
178
  }
179
+
180
+ /**
181
+ * options function.
182
+ *
183
+ * @access public
184
+ * @return void
185
+ */
186
+ function options() {
187
+ ?>
188
+ <table class="form-table">
189
+ <tbody>
190
+ <tr>
191
+ <td>
192
+ <label>
193
+ <input type="hidden" name="merge" value="0">
194
+ <input type="checkbox" name="merge" value="1" checked="checked">
195
+ <?php _e( 'Merge duplicates', 'sportspress' ); ?>
196
+ </label>
197
+ </td>
198
+ </tr>
199
+ </tbody>
200
+ </table>
201
+ <?php
202
+ }
203
  }
204
  }
includes/admin/importers/class-sp-team-importer.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Importers
8
- * @version 1.6
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -24,7 +24,7 @@ if ( class_exists( 'WP_Importer' ) ) {
24
  $this->import_label = __( 'Import Teams', 'sportspress' );
25
  $this->columns = array(
26
  'post_title' => __( 'Name', 'sportspress' ),
27
- 'sp_league' => __( 'Competitions', 'sportspress' ),
28
  'sp_season' => __( 'Seasons', 'sportspress' ),
29
  'sp_url' => __( 'Site URL', 'sportspress' ),
30
  'sp_abbreviation' => __( 'Abbreviation', 'sportspress' ),
@@ -70,12 +70,20 @@ if ( class_exists( 'WP_Importer' ) ) {
70
  continue;
71
  endif;
72
 
73
- $args = array( 'post_type' => 'sp_team', 'post_status' => 'publish', 'post_title' => wp_strip_all_tags( $name ) );
74
-
75
- $id = wp_insert_post( $args );
76
-
77
- // Flag as import
78
- update_post_meta( $id, '_sp_import', 1 );
 
 
 
 
 
 
 
 
79
 
80
  // Update leagues
81
  $leagues = explode( '|', sp_array_value( $meta, 'sp_league' ) );
@@ -127,5 +135,29 @@ if ( class_exists( 'WP_Importer' ) ) {
127
  wp_import_upload_form( 'admin.php?import=sp_team_csv&step=1' );
128
  echo '</div>';
129
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
130
  }
131
  }
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Importers
8
+ * @version 2.5.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
24
  $this->import_label = __( 'Import Teams', 'sportspress' );
25
  $this->columns = array(
26
  'post_title' => __( 'Name', 'sportspress' ),
27
+ 'sp_league' => __( 'Leagues', 'sportspress' ),
28
  'sp_season' => __( 'Seasons', 'sportspress' ),
29
  'sp_url' => __( 'Site URL', 'sportspress' ),
30
  'sp_abbreviation' => __( 'Abbreviation', 'sportspress' ),
70
  continue;
71
  endif;
72
 
73
+ // Get or insert team
74
+ $team_object = sp_array_value( $_POST, 'merge', 0 ) ? get_page_by_title( stripslashes( $name ), OBJECT, 'sp_team' ) : false;
75
+ if ( $team_object ):
76
+ if ( $team_object->post_status != 'publish' ):
77
+ wp_update_post( array( 'ID' => $team_object->ID, 'post_status' => 'publish' ) );
78
+ endif;
79
+ $id = $team_object->ID;
80
+ else:
81
+ $args = array( 'post_type' => 'sp_team', 'post_status' => 'publish', 'post_title' => wp_strip_all_tags( $name ) );
82
+ $id = wp_insert_post( $args );
83
+
84
+ // Flag as import
85
+ update_post_meta( $id, '_sp_import', 1 );
86
+ endif;
87
 
88
  // Update leagues
89
  $leagues = explode( '|', sp_array_value( $meta, 'sp_league' ) );
135
  wp_import_upload_form( 'admin.php?import=sp_team_csv&step=1' );
136
  echo '</div>';
137
  }
138
+
139
+ /**
140
+ * options function.
141
+ *
142
+ * @access public
143
+ * @return void
144
+ */
145
+ function options() {
146
+ ?>
147
+ <table class="form-table">
148
+ <tbody>
149
+ <tr>
150
+ <td>
151
+ <label>
152
+ <input type="hidden" name="merge" value="0">
153
+ <input type="checkbox" name="merge" value="1" checked="checked">
154
+ <?php _e( 'Merge duplicates', 'sportspress' ); ?>
155
+ </label>
156
+ </td>
157
+ </tr>
158
+ </tbody>
159
+ </table>
160
+ <?php
161
+ }
162
  }
163
  }
includes/admin/post-types/class-sp-admin-cpt-calendar.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Post_Types
8
- * @version 1.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -46,7 +46,7 @@ class SP_Admin_CPT_Calendar extends SP_Admin_CPT {
46
  $columns = array_merge( array(
47
  'cb' => '<input type="checkbox" />',
48
  'title' => __( 'Title', 'sportspress' ),
49
- 'sp_league' => __( 'Competition', 'sportspress' ),
50
  'sp_season' => __( 'Season', 'sportspress' ),
51
  'sp_venue' => __( 'Venue', 'sportspress' ),
52
  'sp_team' => __( 'Team', 'sportspress' ),
@@ -112,7 +112,7 @@ class SP_Admin_CPT_Calendar extends SP_Admin_CPT {
112
 
113
  $selected = isset( $_REQUEST['sp_league'] ) ? $_REQUEST['sp_league'] : null;
114
  $args = array(
115
- 'show_option_all' => __( 'Show all competitions', 'sportspress' ),
116
  'taxonomy' => 'sp_league',
117
  'name' => 'sp_league',
118
  'selected' => $selected
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Post_Types
8
+ * @version 2.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
46
  $columns = array_merge( array(
47
  'cb' => '<input type="checkbox" />',
48
  'title' => __( 'Title', 'sportspress' ),
49
+ 'sp_league' => __( 'League', 'sportspress' ),
50
  'sp_season' => __( 'Season', 'sportspress' ),
51
  'sp_venue' => __( 'Venue', 'sportspress' ),
52
  'sp_team' => __( 'Team', 'sportspress' ),
112
 
113
  $selected = isset( $_REQUEST['sp_league'] ) ? $_REQUEST['sp_league'] : null;
114
  $args = array(
115
+ 'show_option_all' => __( 'Show all leagues', 'sportspress' ),
116
  'taxonomy' => 'sp_league',
117
  'name' => 'sp_league',
118
  'selected' => $selected
includes/admin/post-types/class-sp-admin-cpt-event.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Post_Types
8
- * @version 2.1
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -37,6 +37,8 @@ class SP_Admin_CPT_Event extends SP_Admin_CPT {
37
 
38
  // Admin Columns
39
  add_filter( 'manage_edit-sp_event_columns', array( $this, 'edit_columns' ) );
 
 
40
  add_action( 'manage_sp_event_posts_custom_column', array( $this, 'custom_columns' ), 2, 2 );
41
 
42
  // Filtering
@@ -119,7 +121,7 @@ class SP_Admin_CPT_Event extends SP_Admin_CPT {
119
  'date' => __( 'Date', 'sportspress' ),
120
  'sp_time' => __( 'Time', 'sportspress' ),
121
  'sp_team' => __( 'Teams', 'sportspress' ),
122
- 'sp_league' => __( 'Competition', 'sportspress' ),
123
  'sp_season' => __( 'Season', 'sportspress' ),
124
  'sp_venue' => __( 'Venue', 'sportspress' ),
125
  'sp_day' => __( 'Match Day', 'sportspress' ),
@@ -129,6 +131,28 @@ class SP_Admin_CPT_Event extends SP_Admin_CPT {
129
  return apply_filters( 'sportspress_event_admin_columns', $columns );
130
  }
131
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
132
  /**
133
  * Define our custom columns shown in admin.
134
  * @param string $column
@@ -238,7 +262,7 @@ class SP_Admin_CPT_Event extends SP_Admin_CPT {
238
 
239
  $selected = isset( $_REQUEST['sp_league'] ) ? $_REQUEST['sp_league'] : null;
240
  $args = array(
241
- 'show_option_all' => __( 'Show all competitions', 'sportspress' ),
242
  'taxonomy' => 'sp_league',
243
  'name' => 'sp_league',
244
  'selected' => $selected
@@ -254,6 +278,9 @@ class SP_Admin_CPT_Event extends SP_Admin_CPT {
254
  );
255
  sp_dropdown_taxonomies( $args );
256
 
 
 
 
257
  if ( current_user_can( 'edit_others_sp_events' ) )
258
  wp_nonce_field( 'sp-save-inline-results', 'sp-inline-nonce', false );
259
  }
@@ -272,6 +299,11 @@ class SP_Admin_CPT_Event extends SP_Admin_CPT {
272
  $query->query_vars['meta_value'] = $_GET['team'];
273
  $query->query_vars['meta_key'] = 'sp_team';
274
  }
 
 
 
 
 
275
  }
276
  }
277
  }
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Post_Types
8
+ * @version 2.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
37
 
38
  // Admin Columns
39
  add_filter( 'manage_edit-sp_event_columns', array( $this, 'edit_columns' ) );
40
+ add_filter( 'manage_edit-sp_event_sortable_columns', array( $this, 'sortable_columns' ) );
41
+ add_action( 'pre_get_posts', array( $this, 'orderby_columns' ) );
42
  add_action( 'manage_sp_event_posts_custom_column', array( $this, 'custom_columns' ), 2, 2 );
43
 
44
  // Filtering
121
  'date' => __( 'Date', 'sportspress' ),
122
  'sp_time' => __( 'Time', 'sportspress' ),
123
  'sp_team' => __( 'Teams', 'sportspress' ),
124
+ 'sp_league' => __( 'League', 'sportspress' ),
125
  'sp_season' => __( 'Season', 'sportspress' ),
126
  'sp_venue' => __( 'Venue', 'sportspress' ),
127
  'sp_day' => __( 'Match Day', 'sportspress' ),
131
  return apply_filters( 'sportspress_event_admin_columns', $columns );
132
  }
133
 
134
+ /**
135
+ * Change the sortable columns in admin.
136
+ */
137
+ public function sortable_columns( $columns ) {
138
+ $columns['sp_day'] = 'sp_day';
139
+ return $columns;
140
+ }
141
+
142
+ /**
143
+ * Define the sortable columns in admin.
144
+ */
145
+ public function orderby_columns( $query ) {
146
+ if ( ! is_admin() ) return;
147
+
148
+ $orderby = $query->get( 'orderby');
149
+
150
+ if ( 'sp_day' == $orderby ) {
151
+ $query->set( 'meta_key','sp_day' );
152
+ $query->set( 'orderby','meta_value_num' );
153
+ }
154
+ }
155
+
156
  /**
157
  * Define our custom columns shown in admin.
158
  * @param string $column
262
 
263
  $selected = isset( $_REQUEST['sp_league'] ) ? $_REQUEST['sp_league'] : null;
264
  $args = array(
265
+ 'show_option_all' => __( 'Show all leagues', 'sportspress' ),
266
  'taxonomy' => 'sp_league',
267
  'name' => 'sp_league',
268
  'selected' => $selected
278
  );
279
  sp_dropdown_taxonomies( $args );
280
 
281
+ $selected = isset( $_REQUEST['match_day'] ) ? $_REQUEST['match_day'] : null;
282
+ echo '<input name="match_day" type="text" class="sp-tablenav-input" placeholder="' . __( 'Match Day', 'sportspress' ) . '" value="' . $selected . '">';
283
+
284
  if ( current_user_can( 'edit_others_sp_events' ) )
285
  wp_nonce_field( 'sp-save-inline-results', 'sp-inline-nonce', false );
286
  }
299
  $query->query_vars['meta_value'] = $_GET['team'];
300
  $query->query_vars['meta_key'] = 'sp_team';
301
  }
302
+
303
+ if ( ! empty( $_GET['match_day'] ) ) {
304
+ $query->query_vars['meta_value'] = $_GET['match_day'];
305
+ $query->query_vars['meta_key'] = 'sp_day';
306
+ }
307
  }
308
  }
309
  }
includes/admin/post-types/class-sp-admin-cpt-list.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Post_Types
8
- * @version 1.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -46,7 +46,7 @@ class SP_Admin_CPT_List extends SP_Admin_CPT {
46
  $columns = array_merge( array(
47
  'cb' => '<input type="checkbox" />',
48
  'title' => __( 'Title', 'sportspress' ),
49
- 'sp_league' => __( 'Competition', 'sportspress' ),
50
  'sp_season' => __( 'Season', 'sportspress' ),
51
  'sp_team' => __( 'Team', 'sportspress' ),
52
  'sp_player' => __( 'Players', 'sportspress' ),
@@ -106,7 +106,7 @@ class SP_Admin_CPT_List extends SP_Admin_CPT {
106
 
107
  $selected = isset( $_REQUEST['sp_league'] ) ? $_REQUEST['sp_league'] : null;
108
  $args = array(
109
- 'show_option_all' => __( 'Show all competitions', 'sportspress' ),
110
  'taxonomy' => 'sp_league',
111
  'name' => 'sp_league',
112
  'selected' => $selected
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Post_Types
8
+ * @version 2.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
46
  $columns = array_merge( array(
47
  'cb' => '<input type="checkbox" />',
48
  'title' => __( 'Title', 'sportspress' ),
49
+ 'sp_league' => __( 'League', 'sportspress' ),
50
  'sp_season' => __( 'Season', 'sportspress' ),
51
  'sp_team' => __( 'Team', 'sportspress' ),
52
  'sp_player' => __( 'Players', 'sportspress' ),
106
 
107
  $selected = isset( $_REQUEST['sp_league'] ) ? $_REQUEST['sp_league'] : null;
108
  $args = array(
109
+ 'show_option_all' => __( 'Show all leagues', 'sportspress' ),
110
  'taxonomy' => 'sp_league',
111
  'name' => 'sp_league',
112
  'selected' => $selected
includes/admin/post-types/class-sp-admin-cpt-official.php ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Admin functions for the officials post type
4
+ *
5
+ * @author ThemeBoy
6
+ * @category Admin
7
+ * @package SportsPress/Admin/Post_Types
8
+ * @version 2.5.1
9
+ */
10
+
11
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
12
+
13
+ if ( ! class_exists( 'SP_Admin_CPT' ) )
14
+ include( 'class-sp-admin-cpt.php' );
15
+
16
+ if ( ! class_exists( 'SP_Admin_CPT_Official' ) ) :
17
+
18
+ /**
19
+ * SP_Admin_CPT_Official Class
20
+ */
21
+ class SP_Admin_CPT_Official extends SP_Admin_CPT {
22
+
23
+ /**
24
+ * Constructor
25
+ */
26
+ public function __construct() {
27
+ $this->type = 'sp_official';
28
+
29
+ // Post title fields
30
+ add_filter( 'enter_title_here', array( $this, 'enter_title_here' ), 1, 2 );
31
+
32
+ // Call SP_Admin_CPT constructor
33
+ parent::__construct();
34
+ }
35
+
36
+ /**
37
+ * Change title boxes in admin.
38
+ * @param string $text
39
+ * @param object $post
40
+ * @return string
41
+ */
42
+ public function enter_title_here( $text, $post ) {
43
+ if ( $post->post_type == 'sp_official' )
44
+ return __( 'Name', 'sportspress' );
45
+
46
+ return $text;
47
+ }
48
+ }
49
+
50
+ endif;
51
+
52
+ return new SP_Admin_CPT_Official();
includes/admin/post-types/class-sp-admin-cpt-player.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Post_Types
8
- * @version 2.2.7
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -74,7 +74,7 @@ class SP_Admin_CPT_Player extends SP_Admin_CPT {
74
  'title' => null,
75
  'sp_position' => __( 'Positions', 'sportspress' ),
76
  'sp_team' => __( 'Teams', 'sportspress' ),
77
- 'sp_league' => __( 'Competitions', 'sportspress' ),
78
  'sp_season' => __( 'Seasons', 'sportspress' ),
79
  ), $existing_columns, array(
80
  'title' => __( 'Name', 'sportspress' )
@@ -164,7 +164,7 @@ class SP_Admin_CPT_Player extends SP_Admin_CPT {
164
  if ( taxonomy_exists( 'sp_league' ) ):
165
  $selected = isset( $_REQUEST['sp_league'] ) ? $_REQUEST['sp_league'] : null;
166
  $args = array(
167
- 'show_option_all' => __( 'Show all competitions', 'sportspress' ),
168
  'taxonomy' => 'sp_league',
169
  'name' => 'sp_league',
170
  'selected' => $selected
@@ -190,15 +190,18 @@ class SP_Admin_CPT_Player extends SP_Admin_CPT {
190
  * @param mixed $query
191
  */
192
  public function filters_query( $query ) {
 
193
  global $typenow, $wp_query;
194
 
195
- if ( $typenow == 'sp_player' ) {
196
 
197
- if ( ! empty( $_GET['team'] ) ) {
198
- $query->query_vars['meta_value'] = $_GET['team'];
199
- $query->query_vars['meta_key'] = 'sp_team';
200
- }
201
  }
 
 
202
  }
203
 
204
  /**
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Post_Types
8
+ * @version 2.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
74
  'title' => null,
75
  'sp_position' => __( 'Positions', 'sportspress' ),
76
  'sp_team' => __( 'Teams', 'sportspress' ),
77
+ 'sp_league' => __( 'Leagues', 'sportspress' ),
78
  'sp_season' => __( 'Seasons', 'sportspress' ),
79
  ), $existing_columns, array(
80
  'title' => __( 'Name', 'sportspress' )
164
  if ( taxonomy_exists( 'sp_league' ) ):
165
  $selected = isset( $_REQUEST['sp_league'] ) ? $_REQUEST['sp_league'] : null;
166
  $args = array(
167
+ 'show_option_all' => __( 'Show all leagues', 'sportspress' ),
168
  'taxonomy' => 'sp_league',
169
  'name' => 'sp_league',
170
  'selected' => $selected
190
  * @param mixed $query
191
  */
192
  public function filters_query( $query ) {
193
+ if ( $query->query_vars['post_type'] !== 'sp_player' ) return $query;
194
  global $typenow, $wp_query;
195
 
196
+ if ( $typenow == 'sp_player' ) {
197
 
198
+ if ( ! empty( $_GET['team'] ) ) {
199
+ $query->query_vars['meta_value'] = $_GET['team'];
200
+ $query->query_vars['meta_key'] = 'sp_team';
201
+ }
202
  }
203
+
204
+ return $query;
205
  }
206
 
207
  /**
includes/admin/post-types/class-sp-admin-cpt-staff.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Post_Types
8
- * @version 1.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -64,7 +64,7 @@ class SP_Admin_CPT_Staff extends SP_Admin_CPT {
64
  'title' => null,
65
  'sp_role' => __( 'Job', 'sportspress' ),
66
  'sp_team' => __( 'Teams', 'sportspress' ),
67
- 'sp_league' => __( 'Competitions', 'sportspress' ),
68
  'sp_season' => __( 'Seasons', 'sportspress' ),
69
  ), $existing_columns, array(
70
  'title' => __( 'Name', 'sportspress' )
@@ -131,7 +131,7 @@ class SP_Admin_CPT_Staff extends SP_Admin_CPT {
131
 
132
  $selected = isset( $_REQUEST['sp_league'] ) ? $_REQUEST['sp_league'] : null;
133
  $args = array(
134
- 'show_option_all' => __( 'Show all competitions', 'sportspress' ),
135
  'taxonomy' => 'sp_league',
136
  'name' => 'sp_league',
137
  'selected' => $selected
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Post_Types
8
+ * @version 2.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
64
  'title' => null,
65
  'sp_role' => __( 'Job', 'sportspress' ),
66
  'sp_team' => __( 'Teams', 'sportspress' ),
67
+ 'sp_league' => __( 'Leagues', 'sportspress' ),
68
  'sp_season' => __( 'Seasons', 'sportspress' ),
69
  ), $existing_columns, array(
70
  'title' => __( 'Name', 'sportspress' )
131
 
132
  $selected = isset( $_REQUEST['sp_league'] ) ? $_REQUEST['sp_league'] : null;
133
  $args = array(
134
+ 'show_option_all' => __( 'Show all leagues', 'sportspress' ),
135
  'taxonomy' => 'sp_league',
136
  'name' => 'sp_league',
137
  'selected' => $selected
includes/admin/post-types/class-sp-admin-cpt-table.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Post_Types
8
- * @version 1.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -46,7 +46,7 @@ class SP_Admin_CPT_Table extends SP_Admin_CPT {
46
  $columns = array_merge( array(
47
  'cb' => '<input type="checkbox" />',
48
  'title' => __( 'Title', 'sportspress' ),
49
- 'sp_league' => __( 'Competition', 'sportspress' ),
50
  'sp_season' => __( 'Season', 'sportspress' ),
51
  'sp_team' => __( 'Teams', 'sportspress' ),
52
  ), $existing_columns );
@@ -88,7 +88,7 @@ class SP_Admin_CPT_Table extends SP_Admin_CPT {
88
 
89
  $selected = isset( $_REQUEST['sp_league'] ) ? $_REQUEST['sp_league'] : null;
90
  $args = array(
91
- 'show_option_all' => __( 'Show all competitions', 'sportspress' ),
92
  'taxonomy' => 'sp_league',
93
  'name' => 'sp_league',
94
  'selected' => $selected
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Post_Types
8
+ * @version 2.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
46
  $columns = array_merge( array(
47
  'cb' => '<input type="checkbox" />',
48
  'title' => __( 'Title', 'sportspress' ),
49
+ 'sp_league' => __( 'League', 'sportspress' ),
50
  'sp_season' => __( 'Season', 'sportspress' ),
51
  'sp_team' => __( 'Teams', 'sportspress' ),
52
  ), $existing_columns );
88
 
89
  $selected = isset( $_REQUEST['sp_league'] ) ? $_REQUEST['sp_league'] : null;
90
  $args = array(
91
+ 'show_option_all' => __( 'Show all leagues', 'sportspress' ),
92
  'taxonomy' => 'sp_league',
93
  'name' => 'sp_league',
94
  'selected' => $selected
includes/admin/post-types/class-sp-admin-cpt-team.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Post_Types
8
- * @version 1.9.8
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -64,7 +64,7 @@ class SP_Admin_CPT_Team extends SP_Admin_CPT {
64
  'title' => null,
65
  'sp_url' => __( 'URL', 'sportspress' ),
66
  'sp_abbreviation' => __( 'Abbreviation', 'sportspress' ),
67
- 'sp_league' => __( 'Competitions', 'sportspress' ),
68
  'sp_season' => __( 'Seasons', 'sportspress' ),
69
  ), $existing_columns, array(
70
  'title' => __( 'Team', 'sportspress' ),
@@ -108,7 +108,7 @@ class SP_Admin_CPT_Team extends SP_Admin_CPT {
108
 
109
  $selected = isset( $_REQUEST['sp_league'] ) ? $_REQUEST['sp_league'] : null;
110
  $args = array(
111
- 'show_option_all' => __( 'Show all competitions', 'sportspress' ),
112
  'taxonomy' => 'sp_league',
113
  'name' => 'sp_league',
114
  'selected' => $selected
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Post_Types
8
+ * @version 2.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
64
  'title' => null,
65
  'sp_url' => __( 'URL', 'sportspress' ),
66
  'sp_abbreviation' => __( 'Abbreviation', 'sportspress' ),
67
+ 'sp_league' => __( 'Leagues', 'sportspress' ),
68
  'sp_season' => __( 'Seasons', 'sportspress' ),
69
  ), $existing_columns, array(
70
  'title' => __( 'Team', 'sportspress' ),
108
 
109
  $selected = isset( $_REQUEST['sp_league'] ) ? $_REQUEST['sp_league'] : null;
110
  $args = array(
111
+ 'show_option_all' => __( 'Show all leagues', 'sportspress' ),
112
  'taxonomy' => 'sp_league',
113
  'name' => 'sp_league',
114
  'selected' => $selected
includes/admin/post-types/class-sp-admin-meta-boxes.php CHANGED
@@ -7,7 +7,7 @@
7
  * @author ThemeBoy
8
  * @category Admin
9
  * @package SportsPress/Admin/Meta_Boxes
10
- * @version 2.3
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
7
  * @author ThemeBoy
8
  * @category Admin
9
  * @package SportsPress/Admin/Meta_Boxes
10
+ * @version 2.5.1
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
- * @version 2.2
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -47,7 +47,7 @@ class SP_Meta_Box_Calendar_Columns {
47
  $columns['results'] = __( 'Results', 'sportspress' );
48
  }
49
 
50
- $columns['league'] = __( 'Competition', 'sportspress' );
51
  $columns['season'] = __( 'Season', 'sportspress' );
52
  $columns['venue'] = __( 'Venue', 'sportspress' );
53
  $columns['article'] = __( 'Article', 'sportspress' );
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
+ * @version 2.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
47
  $columns['results'] = __( 'Results', 'sportspress' );
48
  }
49
 
50
+ $columns['league'] = __( 'League', 'sportspress' );
51
  $columns['season'] = __( 'Season', 'sportspress' );
52
  $columns['venue'] = __( 'Venue', 'sportspress' );
53
  $columns['article'] = __( 'Article', 'sportspress' );
includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
- * @version 2.2
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -49,7 +49,7 @@ class SP_Meta_Box_Calendar_Data {
49
  <th class="column-date">
50
  <?php _e( 'Date', 'sportspress' ); ?>
51
  </th>
52
- <?php if ( ! is_array( $usecolumns ) || in_array( 'event', $usecolumns ) ) { ?>
53
  <th class="column-event">
54
  <label for="sp_columns_event">
55
  <?php
@@ -64,7 +64,7 @@ class SP_Meta_Box_Calendar_Data {
64
  </label>
65
  </th>
66
  <?php } ?>
67
- <?php if ( ( ! is_array( $usecolumns ) || in_array( 'time', $usecolumns ) ) && in_array( $time_format, array( 'combined', 'separate', 'time' ) ) ) { ?>
68
  <th class="column-time">
69
  <label for="sp_columns_time">
70
  <?php
@@ -77,48 +77,49 @@ class SP_Meta_Box_Calendar_Data {
77
  </label>
78
  </th>
79
  <?php } ?>
80
- <?php if ( ( ! is_array( $usecolumns ) || in_array( 'results', $usecolumns ) ) && in_array( $time_format, array( 'separate', 'results' ) ) ) { ?>
81
  <th class="column-results">
82
  <label for="sp_columns_results">
83
  <?php _e( 'Results', 'sportspress' ); ?>
84
  </label>
85
  </th>
86
  <?php } ?>
87
- <?php if ( ! is_array( $usecolumns ) || in_array( 'league', $usecolumns ) ) { ?>
88
  <th class="column-league">
89
  <label for="sp_columns_league">
90
- <?php _e( 'Competition', 'sportspress' ); ?>
91
  </label>
92
  </th>
93
  <?php } ?>
94
- <?php if ( ! is_array( $usecolumns ) || in_array( 'season', $usecolumns ) ) { ?>
95
  <th class="column-season">
96
  <label for="sp_columns_season">
97
  <?php _e( 'Season', 'sportspress' ); ?>
98
  </label>
99
  </th>
100
  <?php } ?>
101
- <?php if ( ! is_array( $usecolumns ) || in_array( 'venue', $usecolumns ) ) { ?>
102
  <th class="column-venue">
103
  <label for="sp_columns_venue">
104
  <?php _e( 'Venue', 'sportspress' ); ?>
105
  </label>
106
  </th>
107
  <?php } ?>
108
- <?php if ( ! is_array( $usecolumns ) || in_array( 'article', $usecolumns ) ) { ?>
109
  <th class="column-article">
110
  <label for="sp_columns_article">
111
  <?php _e( 'Article', 'sportspress' ); ?>
112
  </label>
113
  </th>
114
  <?php } ?>
115
- <?php if ( ! is_array( $usecolumns ) || in_array( 'day', $usecolumns ) ) { ?>
116
  <th class="column-day">
117
  <label for="sp_columns_day">
118
  <?php _e( 'Match Day', 'sportspress' ); ?>
119
  </label>
120
  </th>
121
  <?php } ?>
 
122
  </tr>
123
  </thead>
124
  <tbody>
@@ -135,7 +136,7 @@ class SP_Meta_Box_Calendar_Data {
135
  ?>
136
  <tr class="sp-row sp-post<?php if ( $i % 2 == 0 ) echo ' alternate'; ?>">
137
  <td><?php echo get_post_time( get_option( 'date_format' ), false, $event, true ); ?></td>
138
- <?php if ( ! is_array( $usecolumns ) || in_array( 'event', $usecolumns ) ) { ?>
139
  <td>
140
  <div class="sp-title-format sp-title-format-title<?php if ( $title_format && $title_format != 'title' ): ?> hidden<?php endif; ?>"><?php echo $event->post_title; ?></div>
141
  <div class="sp-title-format sp-title-format-teams sp-title-format-homeaway<?php if ( ! in_array( $title_format, array( 'teams', 'homeaway' ) ) ): ?> hidden<?php endif; ?>">
@@ -173,7 +174,7 @@ class SP_Meta_Box_Calendar_Data {
173
  </div>
174
  </td>
175
  <?php } ?>
176
- <?php if ( ( ! is_array( $usecolumns ) || in_array( 'time', $usecolumns ) ) && in_array( $time_format, array( 'combined', 'separate', 'time' ) ) ) { ?>
177
  <?php if ( 'time' == $time_format || 'separate' == $time_format ) { ?>
178
  <td>
179
  <?php echo apply_filters( 'sportspress_event_time_admin', get_post_time( get_option( 'time_format' ), false, $event, true ), $event->ID ); ?>
@@ -190,7 +191,7 @@ class SP_Meta_Box_Calendar_Data {
190
  </td>
191
  <?php } ?>
192
  <?php } ?>
193
- <?php if ( ( ! is_array( $usecolumns ) || in_array( 'results', $usecolumns ) ) && in_array( $time_format, array( 'separate', 'results' ) ) ) { ?>
194
  <td>
195
  <?php
196
  if ( ! empty( $main_results ) ):
@@ -201,16 +202,16 @@ class SP_Meta_Box_Calendar_Data {
201
  ?>
202
  </td>
203
  <?php } ?>
204
- <?php if ( ! is_array( $usecolumns ) || in_array( 'league', $usecolumns ) ) { ?>
205
  <td><?php the_terms( $event->ID, 'sp_league' ); ?></td>
206
  <?php } ?>
207
- <?php if ( ! is_array( $usecolumns ) || in_array( 'season', $usecolumns ) ) { ?>
208
  <td><?php the_terms( $event->ID, 'sp_season' ); ?></td>
209
  <?php } ?>
210
- <?php if ( ! is_array( $usecolumns ) || in_array( 'venue', $usecolumns ) ) { ?>
211
  <td><?php the_terms( $event->ID, 'sp_venue' ); ?></td>
212
  <?php } ?>
213
- <?php if ( ! is_array( $usecolumns ) || in_array( 'article', $usecolumns ) ) { ?>
214
  <td>
215
  <a href="<?php echo get_edit_post_link( $event->ID ); ?>#sp_articlediv">
216
  <?php if ( $video ): ?>
@@ -230,7 +231,7 @@ class SP_Meta_Box_Calendar_Data {
230
  </a>
231
  </td>
232
  <?php } ?>
233
- <?php if ( ! is_array( $usecolumns ) || in_array( 'day', $usecolumns ) ) { ?>
234
  <td>
235
  <?php
236
  $day = get_post_meta( $event->ID, 'sp_day', true );
@@ -242,6 +243,7 @@ class SP_Meta_Box_Calendar_Data {
242
  ?>
243
  </td>
244
  <?php } ?>
 
245
  </tr>
246
  <?php
247
  $i++;
@@ -249,7 +251,7 @@ class SP_Meta_Box_Calendar_Data {
249
  else:
250
  ?>
251
  <tr class="sp-row alternate">
252
- <td colspan="7">
253
  <?php _e( 'No results found.', 'sportspress' ); ?>
254
  </td>
255
  </tr>
@@ -258,7 +260,7 @@ class SP_Meta_Box_Calendar_Data {
258
  else:
259
  ?>
260
  <tr class="sp-row alternate">
261
- <td colspan="7">
262
  <?php printf( __( 'Select %s', 'sportspress' ), __( 'Details', 'sportspress' ) ); ?>
263
  </td>
264
  </tr>
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
+ * @version 2.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
49
  <th class="column-date">
50
  <?php _e( 'Date', 'sportspress' ); ?>
51
  </th>
52
+ <?php if ( is_array( $usecolumns ) && in_array( 'event', $usecolumns ) ) { ?>
53
  <th class="column-event">
54
  <label for="sp_columns_event">
55
  <?php
64
  </label>
65
  </th>
66
  <?php } ?>
67
+ <?php if ( ( is_array( $usecolumns ) && in_array( 'time', $usecolumns ) ) && in_array( $time_format, array( 'combined', 'separate', 'time' ) ) ) { ?>
68
  <th class="column-time">
69
  <label for="sp_columns_time">
70
  <?php
77
  </label>
78
  </th>
79
  <?php } ?>
80
+ <?php if ( ( is_array( $usecolumns ) && in_array( 'results', $usecolumns ) ) && in_array( $time_format, array( 'separate', 'results' ) ) ) { ?>
81
  <th class="column-results">
82
  <label for="sp_columns_results">
83
  <?php _e( 'Results', 'sportspress' ); ?>
84
  </label>
85
  </th>
86
  <?php } ?>
87
+ <?php if ( is_array( $usecolumns ) && in_array( 'league', $usecolumns ) ) { ?>
88
  <th class="column-league">
89
  <label for="sp_columns_league">
90
+ <?php _e( 'League', 'sportspress' ); ?>
91
  </label>
92
  </th>
93
  <?php } ?>
94
+ <?php if ( is_array( $usecolumns ) && in_array( 'season', $usecolumns ) ) { ?>
95
  <th class="column-season">
96
  <label for="sp_columns_season">
97
  <?php _e( 'Season', 'sportspress' ); ?>
98
  </label>
99
  </th>
100
  <?php } ?>
101
+ <?php if ( is_array( $usecolumns ) && in_array( 'venue', $usecolumns ) ) { ?>
102
  <th class="column-venue">
103
  <label for="sp_columns_venue">
104
  <?php _e( 'Venue', 'sportspress' ); ?>
105
  </label>
106
  </th>
107
  <?php } ?>
108
+ <?php if ( is_array( $usecolumns ) && in_array( 'article', $usecolumns ) ) { ?>
109
  <th class="column-article">
110
  <label for="sp_columns_article">
111
  <?php _e( 'Article', 'sportspress' ); ?>
112
  </label>
113
  </th>
114
  <?php } ?>
115
+ <?php if ( is_array( $usecolumns ) && in_array( 'day', $usecolumns ) ) { ?>
116
  <th class="column-day">
117
  <label for="sp_columns_day">
118
  <?php _e( 'Match Day', 'sportspress' ); ?>
119
  </label>
120
  </th>
121
  <?php } ?>
122
+ <?php do_action( 'sportspress_calendar_data_meta_box_table_head_row', $usecolumns ); ?>
123
  </tr>
124
  </thead>
125
  <tbody>
136
  ?>
137
  <tr class="sp-row sp-post<?php if ( $i % 2 == 0 ) echo ' alternate'; ?>">
138
  <td><?php echo get_post_time( get_option( 'date_format' ), false, $event, true ); ?></td>
139
+ <?php if ( is_array( $usecolumns ) && in_array( 'event', $usecolumns ) ) { ?>
140
  <td>
141
  <div class="sp-title-format sp-title-format-title<?php if ( $title_format && $title_format != 'title' ): ?> hidden<?php endif; ?>"><?php echo $event->post_title; ?></div>
142
  <div class="sp-title-format sp-title-format-teams sp-title-format-homeaway<?php if ( ! in_array( $title_format, array( 'teams', 'homeaway' ) ) ): ?> hidden<?php endif; ?>">
174
  </div>
175
  </td>
176
  <?php } ?>
177
+ <?php if ( ( is_array( $usecolumns ) && in_array( 'time', $usecolumns ) ) && in_array( $time_format, array( 'combined', 'separate', 'time' ) ) ) { ?>
178
  <?php if ( 'time' == $time_format || 'separate' == $time_format ) { ?>
179
  <td>
180
  <?php echo apply_filters( 'sportspress_event_time_admin', get_post_time( get_option( 'time_format' ), false, $event, true ), $event->ID ); ?>
191
  </td>
192
  <?php } ?>
193
  <?php } ?>
194
+ <?php if ( ( is_array( $usecolumns ) && in_array( 'results', $usecolumns ) ) && in_array( $time_format, array( 'separate', 'results' ) ) ) { ?>
195
  <td>
196
  <?php
197
  if ( ! empty( $main_results ) ):
202
  ?>
203
  </td>
204
  <?php } ?>
205
+ <?php if ( is_array( $usecolumns ) && in_array( 'league', $usecolumns ) ) { ?>
206
  <td><?php the_terms( $event->ID, 'sp_league' ); ?></td>
207
  <?php } ?>
208
+ <?php if ( is_array( $usecolumns ) && in_array( 'season', $usecolumns ) ) { ?>
209
  <td><?php the_terms( $event->ID, 'sp_season' ); ?></td>
210
  <?php } ?>
211
+ <?php if ( is_array( $usecolumns ) && in_array( 'venue', $usecolumns ) ) { ?>
212
  <td><?php the_terms( $event->ID, 'sp_venue' ); ?></td>
213
  <?php } ?>
214
+ <?php if ( is_array( $usecolumns ) && in_array( 'article', $usecolumns ) ) { ?>
215
  <td>
216
  <a href="<?php echo get_edit_post_link( $event->ID ); ?>#sp_articlediv">
217
  <?php if ( $video ): ?>
231
  </a>
232
  </td>
233
  <?php } ?>
234
+ <?php if ( is_array( $usecolumns ) && in_array( 'day', $usecolumns ) ) { ?>
235
  <td>
236
  <?php
237
  $day = get_post_meta( $event->ID, 'sp_day', true );
243
  ?>
244
  </td>
245
  <?php } ?>
246
+ <?php do_action( 'sportspress_calendar_data_meta_box_table_row', $event, $usecolumns ); ?>
247
  </tr>
248
  <?php
249
  $i++;
251
  else:
252
  ?>
253
  <tr class="sp-row alternate">
254
+ <td colspan="<?php echo sizeof( $usecolumns ); ?>">
255
  <?php _e( 'No results found.', 'sportspress' ); ?>
256
  </td>
257
  </tr>
260
  else:
261
  ?>
262
  <tr class="sp-row alternate">
263
+ <td colspan="<?php echo sizeof( $usecolumns ); ?>">
264
  <?php printf( __( 'Select %s', 'sportspress' ), __( 'Details', 'sportspress' ) ); ?>
265
  </td>
266
  </tr>
includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
- * @version 2.1
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -25,6 +25,9 @@ class SP_Meta_Box_Calendar_Details {
25
  $date = get_post_meta( $post->ID, 'sp_date', true );
26
  $date_from = get_post_meta( $post->ID, 'sp_date_from', true );
27
  $date_to = get_post_meta( $post->ID, 'sp_date_to', true );
 
 
 
28
  $day = get_post_meta( $post->ID, 'sp_day', true );
29
  $teams = get_post_meta( $post->ID, 'sp_team', false );
30
  $table_id = get_post_meta( $post->ID, 'sp_table', true );
@@ -58,11 +61,30 @@ class SP_Meta_Box_Calendar_Details {
58
  sp_dropdown_dates( $args );
59
  ?>
60
  </p>
61
- <p class="sp-date-range">
62
- <input type="text" class="sp-datepicker-from" name="sp_date_from" value="<?php echo $date_from ? $date_from : date_i18n( 'Y-m-d' ); ?>" size="10">
63
- :
64
- <input type="text" class="sp-datepicker-to" name="sp_date_to" value="<?php echo $date_to ? $date_to : date_i18n( 'Y-m-d' ); ?>" size="10">
65
- </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  </div>
67
  <div class="sp-event-day-field">
68
  <p><strong><?php _e( 'Match Day', 'sportspress' ); ?></strong></p>
@@ -120,7 +142,13 @@ class SP_Meta_Box_Calendar_Details {
120
  update_post_meta( $post_id, 'sp_date', sp_array_value( $_POST, 'sp_date', 0 ) );
121
  update_post_meta( $post_id, 'sp_date_from', sp_array_value( $_POST, 'sp_date_from', null ) );
122
  update_post_meta( $post_id, 'sp_date_to', sp_array_value( $_POST, 'sp_date_to', null ) );
 
 
 
123
  update_post_meta( $post_id, 'sp_day', sp_array_value( $_POST, 'sp_day', null ) );
 
 
 
124
  update_post_meta( $post_id, 'sp_orderby', sp_array_value( $_POST, 'sp_orderby', null ) );
125
  update_post_meta( $post_id, 'sp_order', sp_array_value( $_POST, 'sp_order', null ) );
126
  sp_update_post_meta_recursive( $post_id, 'sp_team', sp_array_value( $_POST, 'sp_team', array() ) );
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
+ * @version 2.5.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
25
  $date = get_post_meta( $post->ID, 'sp_date', true );
26
  $date_from = get_post_meta( $post->ID, 'sp_date_from', true );
27
  $date_to = get_post_meta( $post->ID, 'sp_date_to', true );
28
+ $date_past = get_post_meta( $post->ID, 'sp_date_past', true );
29
+ $date_future = get_post_meta( $post->ID, 'sp_date_future', true );
30
+ $date_relative = get_post_meta( $post->ID, 'sp_date_relative', true );
31
  $day = get_post_meta( $post->ID, 'sp_day', true );
32
  $teams = get_post_meta( $post->ID, 'sp_team', false );
33
  $table_id = get_post_meta( $post->ID, 'sp_table', true );
61
  sp_dropdown_dates( $args );
62
  ?>
63
  </p>
64
+ <div class="sp-date-range">
65
+ <p class="sp-date-range-absolute">
66
+ <input type="text" class="sp-datepicker-from" name="sp_date_from" value="<?php echo $date_from ? $date_from : date_i18n( 'Y-m-d' ); ?>" size="10">
67
+ :
68
+ <input type="text" class="sp-datepicker-to" name="sp_date_to" value="<?php echo $date_to ? $date_to : date_i18n( 'Y-m-d' ); ?>" size="10">
69
+ </p>
70
+
71
+ <p class="sp-date-range-relative">
72
+ <?php _e( 'Past', 'sportspress' ); ?>
73
+ <input type="number" min="0" step="1" class="tiny-text" name="sp_date_past" value="<?php echo '' !== $date_past ? $date_past : 7; ?>">
74
+ <?php _e( 'days', 'sportspress' ); ?>
75
+ &rarr;
76
+ <?php _e( 'Next', 'sportspress' ); ?>
77
+ <input type="number" min="0" step="1" class="tiny-text" name="sp_date_future" value="<?php echo '' !== $date_future ? $date_future : 7; ?>">
78
+ <?php _e( 'days', 'sportspress' ); ?>
79
+ </p>
80
+
81
+ <p class="sp-date-relative">
82
+ <label>
83
+ <input type="checkbox" name="sp_date_relative" value="1" id="sp_date_relative" <?php checked( $date_relative ); ?>>
84
+ <?php _e( 'Relative', 'sportspress' ); ?>
85
+ </label>
86
+ </p>
87
+ </div>
88
  </div>
89
  <div class="sp-event-day-field">
90
  <p><strong><?php _e( 'Match Day', 'sportspress' ); ?></strong></p>
142
  update_post_meta( $post_id, 'sp_date', sp_array_value( $_POST, 'sp_date', 0 ) );
143
  update_post_meta( $post_id, 'sp_date_from', sp_array_value( $_POST, 'sp_date_from', null ) );
144
  update_post_meta( $post_id, 'sp_date_to', sp_array_value( $_POST, 'sp_date_to', null ) );
145
+ update_post_meta( $post_id, 'sp_date_past', sp_array_value( $_POST, 'sp_date_past', 0 ) );
146
+ update_post_meta( $post_id, 'sp_date_future', sp_array_value( $_POST, 'sp_date_future', 0 ) );
147
+ update_post_meta( $post_id, 'sp_date_relative', sp_array_value( $_POST, 'sp_date_relative', 0 ) );
148
  update_post_meta( $post_id, 'sp_day', sp_array_value( $_POST, 'sp_day', null ) );
149
+ $tax_input = sp_array_value( $_POST, 'tax_input', array() );
150
+ update_post_meta( $post_id, 'sp_main_league', in_array( 'auto', sp_array_value( $tax_input, 'sp_league' ) ) );
151
+ update_post_meta( $post_id, 'sp_current_season', in_array( 'auto', sp_array_value( $tax_input, 'sp_season' ) ) );
152
  update_post_meta( $post_id, 'sp_orderby', sp_array_value( $_POST, 'sp_orderby', null ) );
153
  update_post_meta( $post_id, 'sp_order', sp_array_value( $_POST, 'sp_order', null ) );
154
  sp_update_post_meta_recursive( $post_id, 'sp_team', sp_array_value( $_POST, 'sp_team', array() ) );
includes/admin/post-types/meta-boxes/class-sp-meta-box-event-mode.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
- * @version 2.3
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -35,4 +35,4 @@ class SP_Meta_Box_Event_Mode {
35
  public static function save( $post_id, $post ) {
36
  update_post_meta( $post_id, 'sp_mode', sp_array_value( $_POST, 'sp_mode', 'team' ) );
37
  }
38
- }
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
+ * @version 2.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
35
  public static function save( $post_id, $post ) {
36
  update_post_meta( $post_id, 'sp_mode', sp_array_value( $_POST, 'sp_mode', 'team' ) );
37
  }
38
+ }
includes/admin/post-types/meta-boxes/class-sp-meta-box-event-officials.php ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Event Officials
4
+ *
5
+ * @author Rob Tucker <rtucker-scs>
6
+ * @author ThemeBoy
7
+ * @category Admin
8
+ * @package SportsPress/Admin/Meta_Boxes
9
+ * @version 2.5.2
10
+ */
11
+
12
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
13
+
14
+ /**
15
+ * SP_Meta_Box_Event_Officials
16
+ */
17
+ class SP_Meta_Box_Event_Officials {
18
+
19
+ /**
20
+ * Output the metabox
21
+ */
22
+ public static function output( $post ) {
23
+ $duties = get_terms( array(
24
+ 'taxonomy' => 'sp_duty',
25
+ 'hide_empty' => false,
26
+ 'orderby' => 'meta_value_num',
27
+ 'meta_query' => array(
28
+ 'relation' => 'OR',
29
+ array(
30
+ 'key' => 'sp_order',
31
+ 'compare' => 'NOT EXISTS'
32
+ ),
33
+ array(
34
+ 'key' => 'sp_order',
35
+ 'compare' => 'EXISTS'
36
+ ),
37
+ ),
38
+ ) );
39
+
40
+ $officials = (array) get_post_meta( $post->ID, 'sp_officials', true );
41
+
42
+ if ( is_array( $duties ) && sizeof( $duties ) ) {
43
+ foreach ( $duties as $duty ) {
44
+ ?>
45
+ <p><strong><?php echo $duty->name; ?></strong></p>
46
+ <p><?php
47
+ $args = array(
48
+ 'post_type' => 'sp_official',
49
+ 'name' => 'sp_officials[' . $duty->term_id . '][]',
50
+ 'selected' => sp_array_value( $officials, $duty->term_id, array() ),
51
+ 'values' => 'ID',
52
+ 'placeholder' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Officials', 'sportspress' ) ),
53
+ 'class' => 'widefat',
54
+ 'property' => 'multiple',
55
+ 'chosen' => true,
56
+ );
57
+
58
+ if ( ! sp_dropdown_pages( $args ) ) {
59
+ sp_post_adder( 'sp_official', __( 'Add New', 'sportspress' ) );
60
+ }
61
+ ?></p>
62
+ <?php
63
+ }
64
+ } else {
65
+ sp_taxonomy_adder( 'sp_duty', 'sp_official', __( 'Duty', 'sportspress' ) );
66
+ }
67
+ }
68
+
69
+ /**
70
+ * Save meta box data
71
+ */
72
+ public static function save( $post_id, $post ) {
73
+ update_post_meta( $post_id, 'sp_officials', sp_array_value( $_POST, 'sp_officials', array() ) );
74
+ }
75
+ }
includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
- * @version 2.3
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -20,7 +20,7 @@ class SP_Meta_Box_Event_Performance {
20
  */
21
  public static function output( $post ) {
22
  $event = new SP_Event( $post );
23
- list( $labels, $columns, $stats, $teams, $formats, $order, $timed ) = $event->performance( true );
24
 
25
  if ( 'yes' == get_option( 'sportspress_event_performance_show_minutes', 'no' ) )
26
  $timeline = $event->timeline( true );
@@ -62,7 +62,7 @@ class SP_Meta_Box_Event_Performance {
62
  // Get status option
63
  $status = ! $is_individual;
64
 
65
- self::tables( $post->ID, $stats, $labels, $columns, $teams, $has_checkboxes, $positions, $status, $formats, $order, $numbers, $is_individual, $timeline, $timed );
66
  }
67
 
68
  /**
@@ -70,18 +70,24 @@ class SP_Meta_Box_Event_Performance {
70
  */
71
  public static function save( $post_id, $post ) {
72
  update_post_meta( $post_id, 'sp_players', sp_array_value( $_POST, 'sp_players', array() ) );
73
- update_post_meta( $post_id, 'sp_columns', sp_array_value( $_POST, 'sp_columns', array() ) );
74
  update_post_meta( $post_id, 'sp_order', sp_array_value( $_POST, 'sp_order', array() ) );
75
  update_post_meta( $post_id, 'sp_timeline', sp_array_value( $_POST, 'sp_timeline', array() ) );
 
 
 
 
 
 
76
  }
77
 
78
  /**
79
  * Admin edit tables
80
  */
81
- public static function tables( $post_id, $stats = array(), $labels = array(), $columns = array(), $teams = array(), $has_checkboxes = false, $positions = array(), $status = true, $formats = array(), $order = array(), $numbers = true, $is_individual = false, $timeline = array(), $timed = array() ) {
82
  $sections = get_option( 'sportspress_event_performance_sections', -1 );
83
-
84
- if ( $is_individual ) {
 
85
  ?>
86
  <div class="sp-data-table-container">
87
  <table class="widefat sp-data-table sp-performance-table sp-sortable-table">
@@ -113,7 +119,7 @@ class SP_Meta_Box_Event_Performance {
113
  $player_timeline = false;
114
  endif;
115
 
116
- self::row( $labels, $player_id, $player_performance, $team_id, $data, ! empty( $positions ), $status, false, $numbers, -1, $formats, $player_timeline, $timed );
117
  endforeach;
118
  endforeach;
119
  ?>
@@ -141,8 +147,11 @@ class SP_Meta_Box_Event_Performance {
141
  endif;
142
  ?>
143
  <div>
144
- <p><strong><?php echo get_the_title( $team_id ); ?></strong></p>
145
- <?php self::table( $labels, $columns, $data, $team_id, $has_checkboxes, $positions, $status, -1, $formats, $order, $numbers, $team_timeline, $timed ); ?>
 
 
 
146
  <?php do_action( 'sportspress_after_event_performance_table_admin', $labels, $columns, $data, $team_id ); ?>
147
  </div>
148
  <?php } else { ?>
@@ -223,8 +232,11 @@ class SP_Meta_Box_Event_Performance {
223
  foreach ( $section_order as $section_id => $section_label ) {
224
  ?>
225
  <div>
226
- <p><strong><?php echo get_the_title( $team_id ); ?> &mdash; <?php echo $section_label; ?></strong></p>
227
- <?php self::table( $labels[ $section_id ], $columns, $data[ $section_id ], $team_id, ( $has_checkboxes && 0 === $i ), $positions, $status, $section_id, $formats, $order, $numbers, $team_timeline, $timed ); ?>
 
 
 
228
  <?php do_action( 'sportspress_after_event_performance_table_admin', $labels[ $section_id ], $columns, $data[ $section_id ], $team_id ); ?>
229
  </div>
230
  <?php
@@ -238,7 +250,7 @@ class SP_Meta_Box_Event_Performance {
238
  /**
239
  * Admin edit table
240
  */
241
- public static function table( $labels = array(), $columns = array(), $data = array(), $team_id, $has_checkboxes = false, $positions = array(), $status = true, $section = -1, $formats = array(), $order = array(), $numbers = true, $team_timeline = array(), $timed = array() ) {
242
  ?>
243
  <div class="sp-data-table-container">
244
  <table class="widefat sp-data-table sp-performance-table sp-sortable-table">
@@ -273,7 +285,7 @@ class SP_Meta_Box_Event_Performance {
273
  $player_timeline = false;
274
  endif;
275
 
276
- self::row( $labels, $player_id, $player_performance, $team_id, $data, ! empty( $positions ), $status, true, $numbers, $section, $formats, $player_timeline, $timed );
277
 
278
  endforeach;
279
  ?>
@@ -287,6 +299,7 @@ class SP_Meta_Box_Event_Performance {
287
  * Admin edit table header
288
  */
289
  public static function header( $columns = array(), $labels = array(), $positions = array(), $has_checkboxes = false, $status = true, $sortable = true, $numbers = true, $section = -1, $formats = array() ) {
 
290
  ?>
291
  <thead>
292
  <tr>
@@ -302,10 +315,13 @@ class SP_Meta_Box_Event_Performance {
302
  <?php _e( 'Position', 'sportspress' ); ?>
303
  </th>
304
  <?php } ?>
305
- <?php foreach ( $labels as $key => $label ): ?>
306
  <?php if ( 'equation' === sp_array_value( $formats, $key, 'number' ) ) continue; ?>
307
  <th>
308
  <?php if ( $has_checkboxes ): ?>
 
 
 
309
  <label for="sp_columns_<?php echo $key; ?>">
310
  <input type="checkbox" name="sp_columns[]" value="<?php echo $key; ?>" id="sp_columns_<?php echo $key; ?>" <?php checked( ! is_array( $columns ) || in_array( $key, $columns ) ); ?>>
311
  <?php echo $label; ?>
@@ -314,12 +330,15 @@ class SP_Meta_Box_Event_Performance {
314
  <?php echo $label; ?>
315
  <?php endif; ?>
316
  </th>
317
- <?php endforeach; ?>
318
  <?php if ( apply_filters( 'sportspress_event_performance_show_status', $status, $section ) ) { ?>
319
  <th>
320
  <?php _e( 'Status', 'sportspress' ); ?>
321
  </th>
322
  <?php } ?>
 
 
 
323
  </tr>
324
  </thead>
325
  <?php
@@ -357,6 +376,9 @@ class SP_Meta_Box_Event_Performance {
357
  <?php if ( apply_filters( 'sportspress_event_performance_show_status', $status, $section ) ) { ?>
358
  <td>&nbsp;</td>
359
  <?php } ?>
 
 
 
360
  </tr>
361
  <?php } ?>
362
  </tfoot>
@@ -366,9 +388,10 @@ class SP_Meta_Box_Event_Performance {
366
  /**
367
  * Admin edit table row
368
  */
369
- public static function row( $labels = array(), $player_id = 0, $player_performance = array(), $team_id = 0, $data = array(), $positions = true, $status = true, $sortable = true, $numbers = true, $section = -1, $formats = array(), $player_timeline = array(), $timed = array() ) {
370
  if ( $player_id <= 0 ) return;
371
 
 
372
  $value = sp_array_value( $player_performance, 'number', '' );
373
  ?>
374
  <tr class="sp-row sp-post" data-player="<?php echo $player_id; ?>">
@@ -381,7 +404,7 @@ class SP_Meta_Box_Event_Performance {
381
  </td>
382
  <?php } ?>
383
  <td>
384
- <?php echo get_the_title( $player_id ); ?>
385
  <?php if ( 1 == $section ) { ?>
386
  <input type="hidden" name="sp_order[<?php echo $team_id; ?>][]" value="<?php echo $player_id; ?>">
387
  <?php } ?>
@@ -397,7 +420,18 @@ class SP_Meta_Box_Event_Performance {
397
  'taxonomy' => 'sp_position',
398
  'name' => 'sp_players[' . $team_id . '][' . $player_id . '][position][]',
399
  'values' => 'term_id',
400
- 'orderby' => 'slug',
 
 
 
 
 
 
 
 
 
 
 
401
  'selected' => $selected,
402
  'class' => 'sp-position',
403
  'property' => 'multiple',
@@ -463,12 +497,25 @@ class SP_Meta_Box_Event_Performance {
463
  $times = false;
464
  }
465
  ?>
466
- <?php echo self::status_select( $team_id, $player_id, sp_array_value( $player_performance, 'status', null ) ); ?>
467
- <?php echo self::sub_select( $team_id, $player_id, sp_array_value( $player_performance, 'sub', null ), $data ); ?>
468
  <input class="sp-sync-input small-text" type="text" name="sp_timeline[<?php echo $team_id; ?>][<?php echo $player_id; ?>][sub][]" value="<?php echo esc_attr( sp_array_value( $times, 0, '' ) ); ?>" placeholder="-" />
469
  <span class="description"><?php _e( 'mins', 'sportspress' ); ?></span>
470
  </td>
471
  <?php } ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
472
  </tr>
473
  <?php
474
  }
@@ -522,4 +569,4 @@ class SP_Meta_Box_Event_Performance {
522
  return $output;
523
 
524
  }
525
- }
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
+ * @version 2.5.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
20
  */
21
  public static function output( $post ) {
22
  $event = new SP_Event( $post );
23
+ list( $labels, $columns, $stats, $teams, $formats, $order, $timed, $stars ) = $event->performance( true );
24
 
25
  if ( 'yes' == get_option( 'sportspress_event_performance_show_minutes', 'no' ) )
26
  $timeline = $event->timeline( true );
62
  // Get status option
63
  $status = ! $is_individual;
64
 
65
+ self::tables( $post->ID, $stats, $labels, $columns, $teams, $has_checkboxes, $positions, $status, $formats, $order, $numbers, $is_individual, $timeline, $timed, $stars );
66
  }
67
 
68
  /**
70
  */
71
  public static function save( $post_id, $post ) {
72
  update_post_meta( $post_id, 'sp_players', sp_array_value( $_POST, 'sp_players', array() ) );
 
73
  update_post_meta( $post_id, 'sp_order', sp_array_value( $_POST, 'sp_order', array() ) );
74
  update_post_meta( $post_id, 'sp_timeline', sp_array_value( $_POST, 'sp_timeline', array() ) );
75
+ update_post_meta( $post_id, 'sp_stars', sp_array_value( $_POST, 'sp_stars', array() ) );
76
+
77
+ if ( isset( $_POST['sp_columns'] ) ) {
78
+ $columns = array_filter( (array) $_POST['sp_columns'] );
79
+ update_post_meta( $post_id, 'sp_columns', $columns );
80
+ }
81
  }
82
 
83
  /**
84
  * Admin edit tables
85
  */
86
+ public static function tables( $post_id, $stats = array(), $labels = array(), $columns = array(), $teams = array(), $has_checkboxes = false, $positions = array(), $status = true, $formats = array(), $order = array(), $numbers = true, $is_individual = false, $timeline = array(), $timed = array(), $stars = array() ) {
87
  $sections = get_option( 'sportspress_event_performance_sections', -1 );
88
+ global $pagenow;
89
+
90
+ if ( $pagenow === 'post-new.php' || $is_individual ) {
91
  ?>
92
  <div class="sp-data-table-container">
93
  <table class="widefat sp-data-table sp-performance-table sp-sortable-table">
119
  $player_timeline = false;
120
  endif;
121
 
122
+ self::row( $labels, $player_id, $player_performance, $team_id, $data, ! empty( $positions ), $status, false, $numbers, -1, $formats, $player_timeline, $timed, $stars );
123
  endforeach;
124
  endforeach;
125
  ?>
147
  endif;
148
  ?>
149
  <div>
150
+ <p>
151
+ <strong><?php echo get_the_title( $team_id ); ?></strong>
152
+ <a class="add-new-h2 sp-add-new-h2" href="<?php echo esc_url( admin_url( add_query_arg( array( 'import' => 'sp_event_performance_csv', 'event' => $post_id, 'team' => $team_id, 'teams' => sizeof( $teams ), 'index' => $key ), 'admin.php' ) ) ); ?>"><?php _e( 'Import', 'sportspress' ); ?></a>
153
+ </p>
154
+ <?php self::table( $labels, $columns, $data, $team_id, $has_checkboxes && $i === 0, $positions, $status, -1, $formats, $order, $numbers, $team_timeline, $timed, $stars ); ?>
155
  <?php do_action( 'sportspress_after_event_performance_table_admin', $labels, $columns, $data, $team_id ); ?>
156
  </div>
157
  <?php } else { ?>
232
  foreach ( $section_order as $section_id => $section_label ) {
233
  ?>
234
  <div>
235
+ <p>
236
+ <strong><?php echo get_the_title( $team_id ); ?> &mdash; <?php echo $section_label; ?></strong>
237
+ <a class="add-new-h2 sp-add-new-h2" href="<?php echo esc_url( admin_url( add_query_arg( array( 'import' => 'sp_event_performance_csv', 'event' => $post_id, 'team' => $team_id ), 'admin.php' ) ) ); ?>"><?php _e( 'Import', 'sportspress' ); ?></a>
238
+ </p>
239
+ <?php self::table( $labels[ $section_id ], $columns, $data[ $section_id ], $team_id, ( $has_checkboxes && 0 === $i ), $positions, $status, $section_id, $formats, $order, $numbers, $team_timeline, $timed, $stars ); ?>
240
  <?php do_action( 'sportspress_after_event_performance_table_admin', $labels[ $section_id ], $columns, $data[ $section_id ], $team_id ); ?>
241
  </div>
242
  <?php
250
  /**
251
  * Admin edit table
252
  */
253
+ public static function table( $labels = array(), $columns = array(), $data = array(), $team_id, $has_checkboxes = false, $positions = array(), $status = true, $section = -1, $formats = array(), $order = array(), $numbers = true, $team_timeline = array(), $timed = array(), $stars = array() ) {
254
  ?>
255
  <div class="sp-data-table-container">
256
  <table class="widefat sp-data-table sp-performance-table sp-sortable-table">
285
  $player_timeline = false;
286
  endif;
287
 
288
+ self::row( $labels, $player_id, $player_performance, $team_id, $data, ! empty( $positions ), $status, true, $numbers, $section, $formats, $player_timeline, $timed, $stars );
289
 
290
  endforeach;
291
  ?>
299
  * Admin edit table header
300
  */
301
  public static function header( $columns = array(), $labels = array(), $positions = array(), $has_checkboxes = false, $status = true, $sortable = true, $numbers = true, $section = -1, $formats = array() ) {
302
+ $stars_type = get_option( 'sportspress_event_performance_stars_type', 0 );
303
  ?>
304
  <thead>
305
  <tr>
315
  <?php _e( 'Position', 'sportspress' ); ?>
316
  </th>
317
  <?php } ?>
318
+ <?php $i = 0; foreach ( $labels as $key => $label ): ?>
319
  <?php if ( 'equation' === sp_array_value( $formats, $key, 'number' ) ) continue; ?>
320
  <th>
321
  <?php if ( $has_checkboxes ): ?>
322
+ <?php if ( 0 == $i ): ?>
323
+ <input type="hidden" name="sp_columns[]" value="">
324
+ <?php endif; ?>
325
  <label for="sp_columns_<?php echo $key; ?>">
326
  <input type="checkbox" name="sp_columns[]" value="<?php echo $key; ?>" id="sp_columns_<?php echo $key; ?>" <?php checked( ! is_array( $columns ) || in_array( $key, $columns ) ); ?>>
327
  <?php echo $label; ?>
330
  <?php echo $label; ?>
331
  <?php endif; ?>
332
  </th>
333
+ <?php $i++; endforeach; ?>
334
  <?php if ( apply_filters( 'sportspress_event_performance_show_status', $status, $section ) ) { ?>
335
  <th>
336
  <?php _e( 'Status', 'sportspress' ); ?>
337
  </th>
338
  <?php } ?>
339
+ <?php if ( $stars_type ) { ?>
340
+ <th><i class="dashicons dashicons-star-filled" title="<?php 1 == $stars_type ? _e( 'Player of the Match', 'sportspress' ) : _e( 'Stars', 'sportspress' ); ?>"></i></th>
341
+ <?php } ?>
342
  </tr>
343
  </thead>
344
  <?php
376
  <?php if ( apply_filters( 'sportspress_event_performance_show_status', $status, $section ) ) { ?>
377
  <td>&nbsp;</td>
378
  <?php } ?>
379
+ <?php if ( get_option( 'sportspress_event_performance_stars_type', 0 ) ) { ?>
380
+ <td>&nbsp;</td>
381
+ <?php } ?>
382
  </tr>
383
  <?php } ?>
384
  </tfoot>
388
  /**
389
  * Admin edit table row
390
  */
391
+ public static function row( $labels = array(), $player_id = 0, $player_performance = array(), $team_id = 0, $data = array(), $positions = true, $status = true, $sortable = true, $numbers = true, $section = -1, $formats = array(), $player_timeline = array(), $timed = array(), $stars = array() ) {
392
  if ( $player_id <= 0 ) return;
393
 
394
+ $stars_type = get_option( 'sportspress_event_performance_stars_type', 0 );
395
  $value = sp_array_value( $player_performance, 'number', '' );
396
  ?>
397
  <tr class="sp-row sp-post" data-player="<?php echo $player_id; ?>">
404
  </td>
405
  <?php } ?>
406
  <td>
407
+ <?php echo apply_filters( 'sportspress_event_performance_player_selection', get_the_title( $player_id ), $player_id ); ?>
408
  <?php if ( 1 == $section ) { ?>
409
  <input type="hidden" name="sp_order[<?php echo $team_id; ?>][]" value="<?php echo $player_id; ?>">
410
  <?php } ?>
420
  'taxonomy' => 'sp_position',
421
  'name' => 'sp_players[' . $team_id . '][' . $player_id . '][position][]',
422
  'values' => 'term_id',
423
+ 'orderby' => 'meta_value_num',
424
+ 'meta_query' => array(
425
+ 'relation' => 'OR',
426
+ array(
427
+ 'key' => 'sp_order',
428
+ 'compare' => 'NOT EXISTS'
429
+ ),
430
+ array(
431
+ 'key' => 'sp_order',
432
+ 'compare' => 'EXISTS'
433
+ ),
434
+ ),
435
  'selected' => $selected,
436
  'class' => 'sp-position',
437
  'property' => 'multiple',
497
  $times = false;
498
  }
499
  ?>
500
+ <?php echo self::status_select( $team_id, $player_id, sp_array_value( $player_performance, 'status', null ) ); ?><br>
501
+ <?php echo self::sub_select( $team_id, $player_id, sp_array_value( $player_performance, 'sub', null ), $data ); ?><br>
502
  <input class="sp-sync-input small-text" type="text" name="sp_timeline[<?php echo $team_id; ?>][<?php echo $player_id; ?>][sub][]" value="<?php echo esc_attr( sp_array_value( $times, 0, '' ) ); ?>" placeholder="-" />
503
  <span class="description"><?php _e( 'mins', 'sportspress' ); ?></span>
504
  </td>
505
  <?php } ?>
506
+ <?php if ( $stars_type ) { ?>
507
+ <td>
508
+ <?php
509
+ switch ( $stars_type ) {
510
+ case 1:
511
+ echo '<input type="checkbox" name="sp_stars[' . $player_id . ']" value="1" ' . checked( sp_array_value( $stars, $player_id, '' ) == '', false, false ) . '>';
512
+ break;
513
+ default:
514
+ echo '<input type="text" name="sp_stars[' . $player_id . ']" class="tiny-text sp-player-stars-input sp-sync-input" value="' . sp_array_value( $stars, $player_id, '' ) . '">';
515
+ }
516
+ ?>
517
+ </td>
518
+ <?php } ?>
519
  </tr>
520
  <?php
521
  }
569
  return $output;
570
 
571
  }
572
+ }
includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
- * @version 2.3
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -129,7 +129,18 @@ class SP_Meta_Box_List_Data {
129
  'name' => 'sp_players[' . $player_id . '][position]',
130
  'show_option_blank' => __( '(Auto)', 'sportspress' ),
131
  'values' => 'term_id',
132
- 'orderby' => 'slug',
 
 
 
 
 
 
 
 
 
 
 
133
  'selected' => $selected,
134
  'include_children' => ( 'no' == get_option( 'sportspress_event_hide_child_positions', 'no' ) ),
135
  );
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
+ * @version 2.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
129
  'name' => 'sp_players[' . $player_id . '][position]',
130
  'show_option_blank' => __( '(Auto)', 'sportspress' ),
131
  'values' => 'term_id',
132
+ 'orderby' => 'meta_value_num',
133
+ 'meta_query' => array(
134
+ 'relation' => 'OR',
135
+ array(
136
+ 'key' => 'sp_order',
137
+ 'compare' => 'NOT EXISTS'
138
+ ),
139
+ array(
140
+ 'key' => 'sp_order',
141
+ 'compare' => 'EXISTS'
142
+ ),
143
+ ),
144
  'selected' => $selected,
145
  'include_children' => ( 'no' == get_option( 'sportspress_event_hide_child_positions', 'no' ) ),
146
  );
includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
- * @version 2.3
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -28,11 +28,51 @@ class SP_Meta_Box_List_Details {
28
  $order = get_post_meta( $post->ID, 'sp_order', true );
29
  $select = get_post_meta( $post->ID, 'sp_select', true );
30
  $number = get_post_meta( $post->ID, 'sp_number', true );
 
 
 
 
 
 
31
  ?>
32
  <div>
33
  <p><strong><?php _e( 'Heading', 'sportspress' ); ?></strong></p>
34
  <p><input type="text" id="sp_caption" name="sp_caption" value="<?php echo esc_attr( $caption ); ?>" placeholder="<?php echo esc_attr( get_the_title() ); ?>"></p>
35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  <?php
37
  foreach ( $taxonomies as $taxonomy ) {
38
  sp_taxonomy_field( $taxonomy, $post, true );
@@ -81,6 +121,12 @@ class SP_Meta_Box_List_Details {
81
  sp_dropdown_pages( $args );
82
  ?>
83
  </p>
 
 
 
 
 
 
84
  <p><strong><?php _e( 'Sort Order', 'sportspress' ); ?></strong></p>
85
  <p>
86
  <select name="sp_order">
@@ -102,7 +148,7 @@ class SP_Meta_Box_List_Details {
102
  } else {
103
  ?>
104
  <p><strong><?php _e( 'Display', 'sportspress' ); ?></strong></p>
105
- <p><input name="sp_number" id="sp_number" type="number" step="1" min="0" class="small-text" placeholder="<?php _e( 'All', 'sportspress' ); ?>" value="<?php echo $number; ?>"> <?php _e( 'Players', 'sportspress' ); ?></p>
106
  <?php
107
  }
108
  ?>
@@ -115,10 +161,19 @@ class SP_Meta_Box_List_Details {
115
  */
116
  public static function save( $post_id, $post ) {
117
  update_post_meta( $post_id, 'sp_caption', esc_attr( sp_array_value( $_POST, 'sp_caption', 0 ) ) );
 
 
 
 
 
 
 
 
118
  update_post_meta( $post_id, 'sp_team', sp_array_value( $_POST, 'sp_team', array() ) );
119
  update_post_meta( $post_id, 'sp_era', sp_array_value( $_POST, 'sp_era', array() ) );
120
  update_post_meta( $post_id, 'sp_grouping', sp_array_value( $_POST, 'sp_grouping', array() ) );
121
  update_post_meta( $post_id, 'sp_orderby', sp_array_value( $_POST, 'sp_orderby', array() ) );
 
122
  update_post_meta( $post_id, 'sp_order', sp_array_value( $_POST, 'sp_order', array() ) );
123
  update_post_meta( $post_id, 'sp_select', sp_array_value( $_POST, 'sp_select', array() ) );
124
  update_post_meta( $post_id, 'sp_number', sp_array_value( $_POST, 'sp_number', array() ) );
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
+ * @version 2.5.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
28
  $order = get_post_meta( $post->ID, 'sp_order', true );
29
  $select = get_post_meta( $post->ID, 'sp_select', true );
30
  $number = get_post_meta( $post->ID, 'sp_number', true );
31
+ $crop = get_post_meta( $post->ID, 'sp_crop', true );
32
+ $date = get_post_meta( $post->ID, 'sp_date', true );
33
+ $date_from = get_post_meta( $post->ID, 'sp_date_from', true );
34
+ $date_to = get_post_meta( $post->ID, 'sp_date_to', true );
35
+ $date_past = get_post_meta( $post->ID, 'sp_date_past', true );
36
+ $date_relative = get_post_meta( $post->ID, 'sp_date_relative', true );
37
  ?>
38
  <div>
39
  <p><strong><?php _e( 'Heading', 'sportspress' ); ?></strong></p>
40
  <p><input type="text" id="sp_caption" name="sp_caption" value="<?php echo esc_attr( $caption ); ?>" placeholder="<?php echo esc_attr( get_the_title() ); ?>"></p>
41
 
42
+ <div class="sp-date-selector">
43
+ <p><strong><?php _e( 'Date', 'sportspress' ); ?></strong></p>
44
+ <p>
45
+ <?php
46
+ $args = array(
47
+ 'name' => 'sp_date',
48
+ 'id' => 'sp_date',
49
+ 'selected' => $date,
50
+ );
51
+ sp_dropdown_dates( $args );
52
+ ?>
53
+ </p>
54
+ <div class="sp-date-range">
55
+ <p class="sp-date-range-absolute">
56
+ <input type="text" class="sp-datepicker-from" name="sp_date_from" value="<?php echo $date_from ? $date_from : date_i18n( 'Y-m-d' ); ?>" size="10">
57
+ :
58
+ <input type="text" class="sp-datepicker-to" name="sp_date_to" value="<?php echo $date_to ? $date_to : date_i18n( 'Y-m-d' ); ?>" size="10">
59
+ </p>
60
+
61
+ <p class="sp-date-range-relative">
62
+ <?php _e( 'Past', 'sportspress' ); ?>
63
+ <input type="number" min="0" step="1" class="tiny-text" name="sp_date_past" value="<?php echo '' !== $date_past ? $date_past : 7; ?>">
64
+ <?php _e( 'days', 'sportspress' ); ?>
65
+ </p>
66
+
67
+ <p class="sp-date-relative">
68
+ <label>
69
+ <input type="checkbox" name="sp_date_relative" value="1" id="sp_date_relative" <?php checked( $date_relative ); ?>>
70
+ <?php _e( 'Relative', 'sportspress' ); ?>
71
+ </label>
72
+ </p>
73
+ </div>
74
+ </div>
75
+
76
  <?php
77
  foreach ( $taxonomies as $taxonomy ) {
78
  sp_taxonomy_field( $taxonomy, $post, true );
121
  sp_dropdown_pages( $args );
122
  ?>
123
  </p>
124
+ <p>
125
+ <label class="selectit">
126
+ <input type="checkbox" name="sp_crop" value="1" <?php checked( $crop ); ?>>
127
+ <?php _e( 'Skip if zero?', 'sportspress' ); ?>
128
+ </label>
129
+ </p>
130
  <p><strong><?php _e( 'Sort Order', 'sportspress' ); ?></strong></p>
131
  <p>
132
  <select name="sp_order">
148
  } else {
149
  ?>
150
  <p><strong><?php _e( 'Display', 'sportspress' ); ?></strong></p>
151
+ <p><input name="sp_number" id="sp_number" type="number" step="1" min="0" class="small-text" placeholder="<?php _e( 'All', 'sportspress' ); ?>" value="<?php echo $number; ?>"> <?php _e( 'players', 'sportspress' ); ?></p>
152
  <?php
153
  }
154
  ?>
161
  */
162
  public static function save( $post_id, $post ) {
163
  update_post_meta( $post_id, 'sp_caption', esc_attr( sp_array_value( $_POST, 'sp_caption', 0 ) ) );
164
+ update_post_meta( $post_id, 'sp_date', sp_array_value( $_POST, 'sp_date', 0 ) );
165
+ update_post_meta( $post_id, 'sp_date_from', sp_array_value( $_POST, 'sp_date_from', null ) );
166
+ update_post_meta( $post_id, 'sp_date_to', sp_array_value( $_POST, 'sp_date_to', null ) );
167
+ update_post_meta( $post_id, 'sp_date_past', sp_array_value( $_POST, 'sp_date_past', 0 ) );
168
+ update_post_meta( $post_id, 'sp_date_relative', sp_array_value( $_POST, 'sp_date_relative', 0 ) );
169
+ $tax_input = sp_array_value( $_POST, 'tax_input', array() );
170
+ update_post_meta( $post_id, 'sp_main_league', in_array( 'auto', sp_array_value( $tax_input, 'sp_league' ) ) );
171
+ update_post_meta( $post_id, 'sp_current_season', in_array( 'auto', sp_array_value( $tax_input, 'sp_season' ) ) );
172
  update_post_meta( $post_id, 'sp_team', sp_array_value( $_POST, 'sp_team', array() ) );
173
  update_post_meta( $post_id, 'sp_era', sp_array_value( $_POST, 'sp_era', array() ) );
174
  update_post_meta( $post_id, 'sp_grouping', sp_array_value( $_POST, 'sp_grouping', array() ) );
175
  update_post_meta( $post_id, 'sp_orderby', sp_array_value( $_POST, 'sp_orderby', array() ) );
176
+ update_post_meta( $post_id, 'sp_crop', sp_array_value( $_POST, 'sp_crop', 0 ) );
177
  update_post_meta( $post_id, 'sp_order', sp_array_value( $_POST, 'sp_order', array() ) );
178
  update_post_meta( $post_id, 'sp_select', sp_array_value( $_POST, 'sp_select', array() ) );
179
  update_post_meta( $post_id, 'sp_number', sp_array_value( $_POST, 'sp_number', array() ) );
includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
- * @version 2.3
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -67,6 +67,7 @@ class SP_Meta_Box_Player_Details {
67
  $past_teams = array_filter( get_post_meta( $post->ID, 'sp_past_team', false ) );
68
  $current_teams = array_filter( get_post_meta( $post->ID, 'sp_current_team', false ) );
69
  ?>
 
70
  <p><strong><?php _e( 'Squad Number', 'sportspress' ); ?></strong></p>
71
  <p><input type="text" size="4" id="sp_number" name="sp_number" value="<?php echo $number; ?>"></p>
72
 
@@ -130,14 +131,14 @@ class SP_Meta_Box_Player_Details {
130
  ?></p>
131
 
132
  <?php if ( taxonomy_exists( 'sp_league' ) ) { ?>
133
- <p><strong><?php _e( 'Competitions', 'sportspress' ); ?></strong></p>
134
  <p><?php
135
  $args = array(
136
  'taxonomy' => 'sp_league',
137
  'name' => 'tax_input[sp_league][]',
138
  'selected' => $league_ids,
139
  'values' => 'term_id',
140
- 'placeholder' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Competitions', 'sportspress' ) ),
141
  'class' => 'widefat',
142
  'property' => 'multiple',
143
  'chosen' => true,
@@ -175,4 +176,4 @@ class SP_Meta_Box_Player_Details {
175
  sp_update_post_meta_recursive( $post_id, 'sp_past_team', sp_array_value( $_POST, 'sp_past_team', array() ) );
176
  sp_update_post_meta_recursive( $post_id, 'sp_team', array_merge( array( sp_array_value( $_POST, 'sp_current_team', array() ) ), sp_array_value( $_POST, 'sp_past_team', array() ) ) );
177
  }
178
- }
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
+ * @version 2.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
67
  $past_teams = array_filter( get_post_meta( $post->ID, 'sp_past_team', false ) );
68
  $current_teams = array_filter( get_post_meta( $post->ID, 'sp_current_team', false ) );
69
  ?>
70
+
71
  <p><strong><?php _e( 'Squad Number', 'sportspress' ); ?></strong></p>
72
  <p><input type="text" size="4" id="sp_number" name="sp_number" value="<?php echo $number; ?>"></p>
73
 
131
  ?></p>
132
 
133
  <?php if ( taxonomy_exists( 'sp_league' ) ) { ?>
134
+ <p><strong><?php _e( 'Leagues', 'sportspress' ); ?></strong></p>
135
  <p><?php
136
  $args = array(
137
  'taxonomy' => 'sp_league',
138
  'name' => 'tax_input[sp_league][]',
139
  'selected' => $league_ids,
140
  'values' => 'term_id',
141
+ 'placeholder' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Leagues', 'sportspress' ) ),
142
  'class' => 'widefat',
143
  'property' => 'multiple',
144
  'chosen' => true,
176
  sp_update_post_meta_recursive( $post_id, 'sp_past_team', sp_array_value( $_POST, 'sp_past_team', array() ) );
177
  sp_update_post_meta_recursive( $post_id, 'sp_team', array_merge( array( sp_array_value( $_POST, 'sp_current_team', array() ) ), sp_array_value( $_POST, 'sp_past_team', array() ) ) );
178
  }
179
+ }
includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
- * @version 2.3
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -49,31 +49,26 @@ class SP_Meta_Box_Staff_Details {
49
  endif;
50
 
51
  $roles = get_the_terms( $post->ID, 'sp_role' );
52
- if ( $roles ):
53
- $term = array_shift( $roles );
54
- $role = $term->term_id;
55
- else:
56
- $role = null;
57
- endif;
58
 
59
  $teams = get_posts( array( 'post_type' => 'sp_team', 'posts_per_page' => -1 ) );
60
  $past_teams = array_filter( get_post_meta( $post->ID, 'sp_past_team', false ) );
61
  $current_teams = array_filter( get_post_meta( $post->ID, 'sp_current_team', false ) );
62
  ?>
63
- <p><strong><?php _e( 'Job', 'sportspress' ); ?></strong></p>
64
  <p><?php
65
  $args = array(
66
  'taxonomy' => 'sp_role',
67
- 'name' => 'sp_role',
68
- 'selected' => $role,
69
  'values' => 'term_id',
70
- 'show_option_blank' => true,
71
- 'placeholder' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Job', 'sportspress' ) ),
72
  'class' => 'widefat',
 
73
  'chosen' => true,
74
  );
75
  if ( ! sp_dropdown_taxonomies( $args ) ):
76
- sp_taxonomy_adder( 'sp_role', 'sp_player', __( 'Add New', 'sportspress' ) );
77
  endif;
78
  ?></p>
79
 
@@ -119,14 +114,14 @@ class SP_Meta_Box_Staff_Details {
119
  sp_dropdown_pages( $args );
120
  ?></p>
121
 
122
- <p><strong><?php _e( 'Competitions', 'sportspress' ); ?></strong></p>
123
  <p><?php
124
  $args = array(
125
  'taxonomy' => 'sp_league',
126
  'name' => 'tax_input[sp_league][]',
127
  'selected' => $league_ids,
128
  'values' => 'term_id',
129
- 'placeholder' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Competitions', 'sportspress' ) ),
130
  'class' => 'widefat',
131
  'property' => 'multiple',
132
  'chosen' => true,
@@ -155,8 +150,6 @@ class SP_Meta_Box_Staff_Details {
155
  * Save meta box data
156
  */
157
  public static function save( $post_id, $post ) {
158
- wp_set_post_terms( $post_id, sp_array_value( $_POST, 'sp_role', null ), 'sp_role', false );
159
-
160
  sp_update_post_meta_recursive( $post_id, 'sp_nationality', sp_array_value( $_POST, 'sp_nationality', array() ) );
161
  sp_update_post_meta_recursive( $post_id, 'sp_current_team', sp_array_value( $_POST, 'sp_current_team', array() ) );
162
  sp_update_post_meta_recursive( $post_id, 'sp_past_team', sp_array_value( $_POST, 'sp_past_team', array() ) );
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
+ * @version 2.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
49
  endif;
50
 
51
  $roles = get_the_terms( $post->ID, 'sp_role' );
52
+ $role_ids = wp_list_pluck( $roles, 'term_id' );
 
 
 
 
 
53
 
54
  $teams = get_posts( array( 'post_type' => 'sp_team', 'posts_per_page' => -1 ) );
55
  $past_teams = array_filter( get_post_meta( $post->ID, 'sp_past_team', false ) );
56
  $current_teams = array_filter( get_post_meta( $post->ID, 'sp_current_team', false ) );
57
  ?>
58
+ <p><strong><?php _e( 'Jobs', 'sportspress' ); ?></strong></p>
59
  <p><?php
60
  $args = array(
61
  'taxonomy' => 'sp_role',
62
+ 'name' => 'tax_input[sp_role][]',
63
+ 'selected' => $role_ids,
64
  'values' => 'term_id',
65
+ 'placeholder' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Jobs', 'sportspress' ) ),
 
66
  'class' => 'widefat',
67
+ 'property' => 'multiple',
68
  'chosen' => true,
69
  );
70
  if ( ! sp_dropdown_taxonomies( $args ) ):
71
+ sp_taxonomy_adder( 'sp_role', 'sp_staff', __( 'Add New', 'sportspress' ) );
72
  endif;
73
  ?></p>
74
 
114
  sp_dropdown_pages( $args );
115
  ?></p>
116
 
117
+ <p><strong><?php _e( 'Leagues', 'sportspress' ); ?></strong></p>
118
  <p><?php
119
  $args = array(
120
  'taxonomy' => 'sp_league',
121
  'name' => 'tax_input[sp_league][]',
122
  'selected' => $league_ids,
123
  'values' => 'term_id',
124
+ 'placeholder' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Leagues', 'sportspress' ) ),
125
  'class' => 'widefat',
126
  'property' => 'multiple',
127
  'chosen' => true,
150
  * Save meta box data
151
  */
152
  public static function save( $post_id, $post ) {
 
 
153
  sp_update_post_meta_recursive( $post_id, 'sp_nationality', sp_array_value( $_POST, 'sp_nationality', array() ) );
154
  sp_update_post_meta_recursive( $post_id, 'sp_current_team', sp_array_value( $_POST, 'sp_current_team', array() ) );
155
  sp_update_post_meta_recursive( $post_id, 'sp_past_team', sp_array_value( $_POST, 'sp_past_team', array() ) );
includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-shortcode.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
- * @version 1.6.1
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -23,7 +23,7 @@ class SP_Meta_Box_Staff_Shortcode {
23
  <p class="howto">
24
  <?php _e( 'Copy this code and paste it into your post, page or text widget content.', 'sportspress' ); ?>
25
  </p>
26
- <p><input type="text" value="<?php sp_shortcode_template( 'staff', $post->ID ); ?>" readonly="readonly" class="code widefat"></p>
27
  <?php
28
  }
29
  }
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
+ * @version 2.5.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
23
  <p class="howto">
24
  <?php _e( 'Copy this code and paste it into your post, page or text widget content.', 'sportspress' ); ?>
25
  </p>
26
+ <p><input type="text" value="<?php sp_shortcode_template( 'staff_profile', $post->ID ); ?>" readonly="readonly" class="code widefat"></p>
27
  <?php
28
  }
29
  }
includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
- * @version 2.3
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -39,7 +39,7 @@ class SP_Meta_Box_Table_Data {
39
  /**
40
  * Admin edit table
41
  */
42
- public static function table( $id, $columns = array(), $usecolumns = null, $data = array(), $placeholders = array(), $adjustments = array(), $highlight = null ) {
43
  if ( is_array( $usecolumns ) )
44
  $usecolumns = array_filter( $usecolumns );
45
 
@@ -53,20 +53,33 @@ class SP_Meta_Box_Table_Data {
53
  $icon_class = 'sp-icon-shield';
54
  }
55
  ?>
56
- <input type="hidden" name="sp_highlight" value="0">
57
- <ul class="subsubsub sp-table-bar">
58
- <li><a href="#sp-table-values" class="current"><?php _e( 'Values', 'sportspress' ); ?></a></li> |
59
- <li><a href="#sp-table-adjustments" class=""><?php _e( 'Adjustments', 'sportspress' ); ?></a></li>
60
- </ul>
 
 
 
 
 
 
 
 
 
61
  <div class="sp-data-table-container sp-table-panel sp-table-values" id="sp-table-values">
62
  <table class="widefat sp-data-table sp-league-table">
63
  <thead>
64
  <tr>
65
- <th class="radio"><span class="dashicons <?php echo $icon_class; ?> sp-tip" title="<?php _e( 'Highlight', 'sportspress' ); ?>"></span></th>
 
 
66
  <th><?php _e( 'Team', 'sportspress' ); ?></th>
67
  <?php foreach ( $columns as $key => $label ): ?>
68
  <th><label for="sp_columns_<?php echo $key; ?>">
69
- <input type="checkbox" name="sp_columns[]" value="<?php echo $key; ?>" id="sp_columns_<?php echo $key; ?>" <?php checked( ! is_array( $usecolumns ) || in_array( $key, $usecolumns ) ); ?>>
 
 
70
  <?php echo $label; ?>
71
  </label></th>
72
  <?php endforeach; ?>
@@ -85,25 +98,31 @@ class SP_Meta_Box_Table_Data {
85
  $default_name = get_the_title( $team_id );
86
  ?>
87
  <tr class="sp-row sp-post<?php if ( $i % 2 == 0 ) echo ' alternate'; ?>">
88
- <td><input type="radio" class="sp-radio-toggle" name="sp_highlight" value="<?php echo $team_id; ?>" <?php checked( $highlight, $team_id ); ?>></td>
 
 
89
  <td>
90
  <?php if ( $show_team_logo ) echo get_the_post_thumbnail( $team_id, 'sportspress-fit-mini' ); ?>
91
- <span class="sp-default-value">
92
- <span class="sp-default-value-input"><?php echo $default_name; ?></span>
93
- <a class="dashicons dashicons-edit sp-edit" title="<?php _e( 'Edit', 'sportspress' ); ?>"></a>
94
- </span>
95
- <span class="hidden sp-custom-value">
96
- <input type="text" name="sp_teams[<?php echo $team_id; ?>][name]" class="name sp-custom-value-input" value="<?php echo esc_attr( sp_array_value( $team_stats, 'name', '' ) ); ?>" placeholder="<?php echo esc_attr( get_the_title( $team_id ) ); ?>" size="6">
97
- <a class="button button-secondary sp-cancel"><?php _e( 'Cancel', 'sportspress' ); ?></a>
98
- <a class="button button-primary sp-save"><?php _e( 'Save', 'sportspress' ); ?></a>
99
- </span>
 
 
 
 
100
  </td>
101
  <?php foreach( $columns as $column => $label ):
102
  $value = sp_array_value( $team_stats, $column, '' );
103
  $placeholder = sp_array_value( sp_array_value( $placeholders, $team_id, array() ), $column, 0 );
104
  $placeholder = wp_strip_all_tags( $placeholder );
105
  ?>
106
- <td><input type="text" name="sp_teams[<?php echo $team_id; ?>][<?php echo $column; ?>]" value="<?php echo esc_attr( $value ); ?>" placeholder="<?php echo esc_attr( $placeholder ); ?>" data-placeholder="<?php echo esc_attr( $placeholder ); ?>" data-matrix="<?php echo $team_id; ?>_<?php echo $column; ?>" data-adjustment="<?php echo esc_attr( sp_array_value( sp_array_value( $adjustments, $team_id, array() ), $column, 0 ) ); ?>" /></td>
107
  <?php endforeach; ?>
108
  </tr>
109
  <?php
@@ -112,7 +131,7 @@ class SP_Meta_Box_Table_Data {
112
  else:
113
  ?>
114
  <tr class="sp-row alternate">
115
- <td colspan="<?php $colspan = sizeof( $columns ) + 2; echo $colspan; ?>">
116
  <?php printf( __( 'Select %s', 'sportspress' ), __( 'Data', 'sportspress' ) ); ?>
117
  </td>
118
  </tr>
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
+ * @version 2.5.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
39
  /**
40
  * Admin edit table
41
  */
42
+ public static function table( $id, $columns = array(), $usecolumns = null, $data = array(), $placeholders = array(), $adjustments = array(), $highlight = null, $readonly = false ) {
43
  if ( is_array( $usecolumns ) )
44
  $usecolumns = array_filter( $usecolumns );
45
 
53
  $icon_class = 'sp-icon-shield';
54
  }
55
  ?>
56
+
57
+ <?php if ( $readonly ) { ?>
58
+ <p>
59
+ <strong><?php echo get_the_title( $id ); ?></strong>
60
+ <a class="add-new-h2 sp-add-new-h2" href="<?php echo esc_url( admin_url( add_query_arg( array( 'post' => $id, 'action' => 'edit' ), 'post.php' ) ) ); ?>"><?php _e( 'Edit', 'sportspress' ); ?></a>
61
+ </p>
62
+ <?php } else { ?>
63
+ <input type="hidden" name="sp_highlight" value="0">
64
+ <ul class="subsubsub sp-table-bar">
65
+ <li><a href="#sp-table-values" class="current"><?php _e( 'Values', 'sportspress' ); ?></a></li> |
66
+ <li><a href="#sp-table-adjustments" class=""><?php _e( 'Adjustments', 'sportspress' ); ?></a></li>
67
+ </ul>
68
+ <?php } ?>
69
+
70
  <div class="sp-data-table-container sp-table-panel sp-table-values" id="sp-table-values">
71
  <table class="widefat sp-data-table sp-league-table">
72
  <thead>
73
  <tr>
74
+ <?php if ( ! $readonly ) { ?>
75
+ <th class="radio"><span class="dashicons <?php echo $icon_class; ?> sp-tip" title="<?php _e( 'Highlight', 'sportspress' ); ?>"></span></th>
76
+ <?php } ?>
77
  <th><?php _e( 'Team', 'sportspress' ); ?></th>
78
  <?php foreach ( $columns as $key => $label ): ?>
79
  <th><label for="sp_columns_<?php echo $key; ?>">
80
+ <?php if ( ! $readonly ) { ?>
81
+ <input type="checkbox" name="sp_columns[]" value="<?php echo $key; ?>" id="sp_columns_<?php echo $key; ?>" <?php checked( ! is_array( $usecolumns ) || in_array( $key, $usecolumns ) ); ?>>
82
+ <?php } ?>
83
  <?php echo $label; ?>
84
  </label></th>
85
  <?php endforeach; ?>
98
  $default_name = get_the_title( $team_id );
99
  ?>
100
  <tr class="sp-row sp-post<?php if ( $i % 2 == 0 ) echo ' alternate'; ?>">
101
+ <?php if ( ! $readonly ) { ?>
102
+ <td><input type="radio" class="sp-radio-toggle" name="sp_highlight" value="<?php echo $team_id; ?>" <?php checked( $highlight, $team_id ); ?> <?php disabled( $readonly ); ?>></td>
103
+ <?php } ?>
104
  <td>
105
  <?php if ( $show_team_logo ) echo get_the_post_thumbnail( $team_id, 'sportspress-fit-mini' ); ?>
106
+ <?php if ( $readonly ) { ?>
107
+ <?php echo $default_name; ?>
108
+ <?php } else { ?>
109
+ <span class="sp-default-value">
110
+ <span class="sp-default-value-input"><?php echo $default_name; ?></span>
111
+ <a class="dashicons dashicons-edit sp-edit" title="<?php _e( 'Edit', 'sportspress' ); ?>"></a>
112
+ </span>
113
+ <span class="hidden sp-custom-value">
114
+ <input type="text" name="sp_teams[<?php echo $team_id; ?>][name]" class="name sp-custom-value-input" value="<?php echo esc_attr( sp_array_value( $team_stats, 'name', '' ) ); ?>" placeholder="<?php echo esc_attr( get_the_title( $team_id ) ); ?>" size="6">
115
+ <a class="button button-secondary sp-cancel"><?php _e( 'Cancel', 'sportspress' ); ?></a>
116
+ <a class="button button-primary sp-save"><?php _e( 'Save', 'sportspress' ); ?></a>
117
+ </span>
118
+ <?php } ?>
119
  </td>
120
  <?php foreach( $columns as $column => $label ):
121
  $value = sp_array_value( $team_stats, $column, '' );
122
  $placeholder = sp_array_value( sp_array_value( $placeholders, $team_id, array() ), $column, 0 );
123
  $placeholder = wp_strip_all_tags( $placeholder );
124
  ?>
125
+ <td><input type="text" name="sp_teams[<?php echo $team_id; ?>][<?php echo $column; ?>]" value="<?php echo esc_attr( $value ); ?>" placeholder="<?php echo esc_attr( $placeholder ); ?>" data-placeholder="<?php echo esc_attr( $placeholder ); ?>" data-matrix="<?php echo $team_id; ?>_<?php echo $column; ?>" data-adjustment="<?php echo esc_attr( sp_array_value( sp_array_value( $adjustments, $team_id, array() ), $column, 0 ) ); ?>" <?php disabled( $readonly ); ?> /></td>
126
  <?php endforeach; ?>
127
  </tr>
128
  <?php
131
  else:
132
  ?>
133
  <tr class="sp-row alternate">
134
+ <td colspan="<?php $colspan = sizeof( $columns ) + ( $readonly ? 1 : 2 ); echo $colspan; ?>">
135
  <?php printf( __( 'Select %s', 'sportspress' ), __( 'Data', 'sportspress' ) ); ?>
136
  </td>
137
  </tr>
includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
- * @version 2.3
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -24,15 +24,55 @@ class SP_Meta_Box_Table_Details {
24
  $caption = get_post_meta( $post->ID, 'sp_caption', true );
25
  $select = get_post_meta( $post->ID, 'sp_select', true );
26
  $post_type = sp_get_post_mode_type( $post->ID );
 
 
 
 
 
27
  ?>
28
  <div>
29
  <p><strong><?php _e( 'Heading', 'sportspress' ); ?></strong></p>
30
  <p><input type="text" id="sp_caption" name="sp_caption" value="<?php echo esc_attr( $caption ); ?>" placeholder="<?php echo esc_attr( get_the_title() ); ?>"></p>
31
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  <?php
33
  foreach ( $taxonomies as $taxonomy ) {
34
  sp_taxonomy_field( $taxonomy, $post, true );
35
  }
 
36
  ?>
37
  <p><strong>
38
  <?php echo sp_get_post_mode_label( $post->ID ); ?>
@@ -58,6 +98,14 @@ class SP_Meta_Box_Table_Details {
58
  */
59
  public static function save( $post_id, $post ) {
60
  update_post_meta( $post_id, 'sp_caption', esc_attr( sp_array_value( $_POST, 'sp_caption', 0 ) ) );
 
 
 
 
 
 
 
 
61
  update_post_meta( $post_id, 'sp_select', sp_array_value( $_POST, 'sp_select', array() ) );
62
  sp_update_post_meta_recursive( $post_id, 'sp_team', sp_array_value( $_POST, 'sp_team', array() ) );
63
  }
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
+ * @version 2.5.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
24
  $caption = get_post_meta( $post->ID, 'sp_caption', true );
25
  $select = get_post_meta( $post->ID, 'sp_select', true );
26
  $post_type = sp_get_post_mode_type( $post->ID );
27
+ $date = get_post_meta( $post->ID, 'sp_date', true );
28
+ $date_from = get_post_meta( $post->ID, 'sp_date_from', true );
29
+ $date_to = get_post_meta( $post->ID, 'sp_date_to', true );
30
+ $date_past = get_post_meta( $post->ID, 'sp_date_past', true );
31
+ $date_relative = get_post_meta( $post->ID, 'sp_date_relative', true );
32
  ?>
33
  <div>
34
  <p><strong><?php _e( 'Heading', 'sportspress' ); ?></strong></p>
35
  <p><input type="text" id="sp_caption" name="sp_caption" value="<?php echo esc_attr( $caption ); ?>" placeholder="<?php echo esc_attr( get_the_title() ); ?>"></p>
36
 
37
+ <div class="sp-date-selector">
38
+ <p><strong><?php _e( 'Date', 'sportspress' ); ?></strong></p>
39
+ <p>
40
+ <?php
41
+ $args = array(
42
+ 'name' => 'sp_date',
43
+ 'id' => 'sp_date',
44
+ 'selected' => $date,
45
+ );
46
+ sp_dropdown_dates( $args );
47
+ ?>
48
+ </p>
49
+ <div class="sp-date-range">
50
+ <p class="sp-date-range-absolute">
51
+ <input type="text" class="sp-datepicker-from" name="sp_date_from" value="<?php echo $date_from ? $date_from : date_i18n( 'Y-m-d' ); ?>" size="10">
52
+ :
53
+ <input type="text" class="sp-datepicker-to" name="sp_date_to" value="<?php echo $date_to ? $date_to : date_i18n( 'Y-m-d' ); ?>" size="10">
54
+ </p>
55
+
56
+ <p class="sp-date-range-relative">
57
+ <?php _e( 'Past', 'sportspress' ); ?>
58
+ <input type="number" min="0" step="1" class="tiny-text" name="sp_date_past" value="<?php echo '' !== $date_past ? $date_past : 7; ?>">
59
+ <?php _e( 'days', 'sportspress' ); ?>
60
+ </p>
61
+
62
+ <p class="sp-date-relative">
63
+ <label>
64
+ <input type="checkbox" name="sp_date_relative" value="1" id="sp_date_relative" <?php checked( $date_relative ); ?>>
65
+ <?php _e( 'Relative', 'sportspress' ); ?>
66
+ </label>
67
+ </p>
68
+ </div>
69
+ </div>
70
+
71
  <?php
72
  foreach ( $taxonomies as $taxonomy ) {
73
  sp_taxonomy_field( $taxonomy, $post, true );
74
  }
75
+ do_action( 'sportspress_meta_box_table_details', $post->ID );
76
  ?>
77
  <p><strong>
78
  <?php echo sp_get_post_mode_label( $post->ID ); ?>
98
  */
99
  public static function save( $post_id, $post ) {
100
  update_post_meta( $post_id, 'sp_caption', esc_attr( sp_array_value( $_POST, 'sp_caption', 0 ) ) );
101
+ update_post_meta( $post_id, 'sp_date', sp_array_value( $_POST, 'sp_date', 0 ) );
102
+ update_post_meta( $post_id, 'sp_date_from', sp_array_value( $_POST, 'sp_date_from', null ) );
103
+ update_post_meta( $post_id, 'sp_date_to', sp_array_value( $_POST, 'sp_date_to', null ) );
104
+ update_post_meta( $post_id, 'sp_date_past', sp_array_value( $_POST, 'sp_date_past', 0 ) );
105
+ update_post_meta( $post_id, 'sp_date_relative', sp_array_value( $_POST, 'sp_date_relative', 0 ) );
106
+ $tax_input = sp_array_value( $_POST, 'tax_input', array() );
107
+ update_post_meta( $post_id, 'sp_main_league', in_array( 'auto', sp_array_value( $tax_input, 'sp_league' ) ) );
108
+ update_post_meta( $post_id, 'sp_current_season', in_array( 'auto', sp_array_value( $tax_input, 'sp_season' ) ) );
109
  update_post_meta( $post_id, 'sp_select', sp_array_value( $_POST, 'sp_select', array() ) );
110
  sp_update_post_meta_recursive( $post_id, 'sp_team', sp_array_value( $_POST, 'sp_team', array() ) );
111
  }
includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
- * @version 2.2
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -57,14 +57,14 @@ class SP_Meta_Box_Team_Details {
57
  ?>
58
 
59
  <?php if ( taxonomy_exists( 'sp_league' ) ) { ?>
60
- <p><strong><?php _e( 'Competitions', 'sportspress' ); ?></strong></p>
61
  <p><?php
62
  $args = array(
63
  'taxonomy' => 'sp_league',
64
  'name' => 'tax_input[sp_league][]',
65
  'selected' => $league_ids,
66
  'values' => 'term_id',
67
- 'placeholder' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Competitions', 'sportspress' ) ),
68
  'class' => 'widefat',
69
  'property' => 'multiple',
70
  'chosen' => true,
@@ -124,4 +124,4 @@ class SP_Meta_Box_Team_Details {
124
  update_post_meta( $post_id, 'sp_redirect', sp_array_value( $_POST, 'sp_redirect', 0 ) );
125
  update_post_meta( $post_id, 'sp_abbreviation', esc_attr( sp_array_value( $_POST, 'sp_abbreviation', '' ) ) );
126
  }
127
- }
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
+ * @version 2.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
57
  ?>
58
 
59
  <?php if ( taxonomy_exists( 'sp_league' ) ) { ?>
60
+ <p><strong><?php _e( 'Leagues', 'sportspress' ); ?></strong></p>
61
  <p><?php
62
  $args = array(
63
  'taxonomy' => 'sp_league',
64
  'name' => 'tax_input[sp_league][]',
65
  'selected' => $league_ids,
66
  'values' => 'term_id',
67
+ 'placeholder' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Leagues', 'sportspress' ) ),
68
  'class' => 'widefat',
69
  'property' => 'multiple',
70
  'chosen' => true,
124
  update_post_meta( $post_id, 'sp_redirect', sp_array_value( $_POST, 'sp_redirect', 0 ) );
125
  update_post_meta( $post_id, 'sp_abbreviation', esc_attr( sp_array_value( $_POST, 'sp_abbreviation', '' ) ) );
126
  }
127
+ }
includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
- * @version 1.4
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -58,7 +58,7 @@ class SP_Meta_Box_Team_Lists {
58
  <?php _e( 'Players', 'sportspress' ); ?>
59
  </th>
60
  <th class="column-league">
61
- <?php _e( 'Competition', 'sportspress' ); ?>
62
  </th>
63
  <th class="column-season">
64
  <?php _e( 'Season', 'sportspress' ); ?>
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
+ * @version 2.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
58
  <?php _e( 'Players', 'sportspress' ); ?>
59
  </th>
60
  <th class="column-league">
61
+ <?php _e( 'League', 'sportspress' ); ?>
62
  </th>
63
  <th class="column-season">
64
  <?php _e( 'Season', 'sportspress' ); ?>
includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
- * @version 2.1.6
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -58,7 +58,7 @@ class SP_Meta_Box_Team_Staff {
58
  <?php _e( 'Job', 'sportspress' ); ?>
59
  </th>
60
  <th class="column-league">
61
- <?php _e( 'Competition', 'sportspress' ); ?>
62
  </th>
63
  <th class="column-season">
64
  <?php _e( 'Season', 'sportspress' ); ?>
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
+ * @version 2.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
58
  <?php _e( 'Job', 'sportspress' ); ?>
59
  </th>
60
  <th class="column-league">
61
+ <?php _e( 'League', 'sportspress' ); ?>
62
  </th>
63
  <th class="column-season">
64
  <?php _e( 'Season', 'sportspress' ); ?>
includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
- * @version 1.4
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -58,7 +58,7 @@ class SP_Meta_Box_Team_Tables {
58
  <?php _e( 'Teams', 'sportspress' ); ?>
59
  </th>
60
  <th class="column-league">
61
- <?php _e( 'Competition', 'sportspress' ); ?>
62
  </th>
63
  <th class="column-season">
64
  <?php _e( 'Season', 'sportspress' ); ?>
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
+ * @version 2.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
58
  <?php _e( 'Teams', 'sportspress' ); ?>
59
  </th>
60
  <th class="column-league">
61
+ <?php _e( 'League', 'sportspress' ); ?>
62
  </th>
63
  <th class="column-season">
64
  <?php _e( 'Season', 'sportspress' ); ?>
includes/admin/settings/class-sp-settings-events.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin
8
- * @version 2.3
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -125,7 +125,7 @@ class SP_Settings_Events extends SP_Settings_Page {
125
 
126
  array(
127
  'title' => __( 'Teams', 'sportspress' ),
128
- 'desc' => __( 'Filter by competition', 'sportspress' ),
129
  'id' => 'sportspress_event_filter_teams_by_league',
130
  'default' => 'no',
131
  'type' => 'checkbox',
@@ -137,44 +137,8 @@ class SP_Settings_Events extends SP_Settings_Page {
137
  'id' => 'sportspress_event_filter_teams_by_season',
138
  'default' => 'no',
139
  'type' => 'checkbox',
140
- 'checkboxgroup' => '',
141
- ),
142
-
143
- array(
144
- 'desc' => __( 'Reverse order', 'sportspress' ),
145
- 'id' => 'sportspress_event_reverse_teams',
146
- 'default' => 'no',
147
- 'type' => 'checkbox',
148
- 'checkboxgroup' => 'end',
149
- ),
150
-
151
- array(
152
- 'title' => __( 'Venues', 'sportspress' ),
153
- 'desc' => __( 'Display maps', 'sportspress' ),
154
- 'id' => 'sportspress_event_show_maps',
155
- 'default' => 'yes',
156
- 'type' => 'checkbox',
157
- 'checkboxgroup' => 'start',
158
- ),
159
-
160
- array(
161
- 'desc' => __( 'Link venues', 'sportspress' ),
162
- 'id' => 'sportspress_link_venues',
163
- 'default' => 'no',
164
- 'type' => 'checkbox',
165
  'checkboxgroup' => 'end',
166
  ),
167
-
168
- array(
169
- 'title' => __( 'Google Maps', 'sportspress' ),
170
- 'id' => 'sportspress_map_type',
171
- 'default' => 'ROADMAP',
172
- 'type' => 'radio',
173
- 'options' => array(
174
- 'ROADMAP' => __( 'Default', 'sportspress' ),
175
- 'SATELLITE' => __( 'Satellite', 'sportspress' ),
176
- ),
177
- ),
178
 
179
  array(
180
  'title' => __( 'Full Time', 'sportspress' ),
@@ -208,6 +172,33 @@ class SP_Settings_Events extends SP_Settings_Page {
208
  ),
209
 
210
  apply_filters( 'sportspress_venue_options', array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
211
  array(
212
  'title' => __( 'Zoom', 'sportspress' ),
213
  'id' => 'sportspress_map_zoom',
@@ -232,6 +223,14 @@ class SP_Settings_Events extends SP_Settings_Page {
232
  ),
233
 
234
  apply_filters( 'sportspress_event_logo_options', array(
 
 
 
 
 
 
 
 
235
  array(
236
  'title' => __( 'Layout', 'sportspress' ),
237
  'id' => 'sportspress_event_logos_format',
@@ -273,6 +272,31 @@ class SP_Settings_Events extends SP_Settings_Page {
273
  array( 'type' => 'sectionend', 'id' => 'event_logo_options' ),
274
  ),
275
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
276
  array(
277
  array( 'title' => __( 'Event Results', 'sportspress' ), 'type' => 'title', 'desc' => '', 'id' => 'result_options' ),
278
  ),
@@ -355,6 +379,19 @@ class SP_Settings_Events extends SP_Settings_Page {
355
  ),
356
  ),
357
 
 
 
 
 
 
 
 
 
 
 
 
 
 
358
  array(
359
  'title' => __( 'Positions', 'sportspress' ),
360
  'desc' => __( 'Top-level only', 'sportspress' ),
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin
8
+ * @version 2.5.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
125
 
126
  array(
127
  'title' => __( 'Teams', 'sportspress' ),
128
+ 'desc' => __( 'Filter by league', 'sportspress' ),
129
  'id' => 'sportspress_event_filter_teams_by_league',
130
  'default' => 'no',
131
  'type' => 'checkbox',
137
  'id' => 'sportspress_event_filter_teams_by_season',
138
  'default' => 'no',
139
  'type' => 'checkbox',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
140
  'checkboxgroup' => 'end',
141
  ),
 
 
 
 
 
 
 
 
 
 
 
142
 
143
  array(
144
  'title' => __( 'Full Time', 'sportspress' ),
172
  ),
173
 
174
  apply_filters( 'sportspress_venue_options', array(
175
+ array(
176
+ 'title' => __( 'Link', 'sportspress' ),
177
+ 'desc' => __( 'Link venues', 'sportspress' ),
178
+ 'id' => 'sportspress_link_venues',
179
+ 'default' => 'no',
180
+ 'type' => 'checkbox',
181
+ ),
182
+
183
+ array(
184
+ 'title' => __( 'Google Maps', 'sportspress' ),
185
+ 'desc' => __( 'Display maps', 'sportspress' ),
186
+ 'id' => 'sportspress_event_show_maps',
187
+ 'default' => 'yes',
188
+ 'type' => 'checkbox',
189
+ ),
190
+
191
+ array(
192
+ 'title' => __( 'Type', 'sportspress' ),
193
+ 'id' => 'sportspress_map_type',
194
+ 'default' => 'ROADMAP',
195
+ 'type' => 'radio',
196
+ 'options' => array(
197
+ 'ROADMAP' => __( 'Default', 'sportspress' ),
198
+ 'SATELLITE' => __( 'Satellite', 'sportspress' ),
199
+ ),
200
+ ),
201
+
202
  array(
203
  'title' => __( 'Zoom', 'sportspress' ),
204
  'id' => 'sportspress_map_zoom',
223
  ),
224
 
225
  apply_filters( 'sportspress_event_logo_options', array(
226
+ array(
227
+ 'title' => __( 'Order', 'sportspress' ),
228
+ 'desc' => __( 'Reverse order', 'sportspress' ),
229
+ 'id' => 'sportspress_event_reverse_teams',
230
+ 'default' => 'no',
231
+ 'type' => 'checkbox',
232
+ ),
233
+
234
  array(
235
  'title' => __( 'Layout', 'sportspress' ),
236
  'id' => 'sportspress_event_logos_format',
272
  array( 'type' => 'sectionend', 'id' => 'event_logo_options' ),
273
  ),
274
 
275
+ array(
276
+ array( 'title' => __( 'Players', 'sportspress' ), 'type' => 'title', 'desc' => '', 'id' => 'eventplayer_options' ),
277
+ ),
278
+
279
+ apply_filters( 'sportspress_eventplayer_options', array(
280
+ array(
281
+ 'title' => __( 'Player Sorting', 'sportspress' ),
282
+ 'id' => 'sportspress_event_player_sort',
283
+ 'default' => 'jersey',
284
+ 'type' => 'radio',
285
+ 'options' => array(
286
+ 'jersey'=> __( 'Jersey (e.g. "33. John Doe")', 'sportspress' ),
287
+ 'name' => __( 'Name (e.g. "John Doe (33)")', 'sportspress' ),
288
+ ),
289
+ 'desc_tip' => _x( 'When editing an event, this determines how the checklist of players are sorted in the Teams metabox. This does not affect the Box Score section.', 'event player sort setting description', 'sportspress' ),
290
+
291
+ ),
292
+
293
+ ) ),
294
+
295
+
296
+ array(
297
+ array( 'type' => 'sectionend', 'id' => 'eventplayer_options' ),
298
+ ),
299
+
300
  array(
301
  array( 'title' => __( 'Event Results', 'sportspress' ), 'type' => 'title', 'desc' => '', 'id' => 'result_options' ),
302
  ),
379
  ),
380
  ),
381
 
382
+ array(
383
+ 'title' => __( 'Awards', 'sportspress' ),
384
+ 'id' => 'sportspress_event_performance_stars_type',
385
+ 'default' => 0,
386
+ 'type' => 'radio',
387
+ 'options' => array(
388
+ __( 'None', 'sportspress' ),
389
+ __( 'Player of the Match', 'sportspress' ),
390
+ __( 'Stars', 'sportspress' ),
391
+ __( 'Star Number', 'sportspress' ),
392
+ ),
393
+ ),
394
+
395
  array(
396
  'title' => __( 'Positions', 'sportspress' ),
397
  'desc' => __( 'Top-level only', 'sportspress' ),
includes/admin/settings/class-sp-settings-general.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin
8
- * @version 2.3
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -40,6 +40,32 @@ class SP_Settings_General extends SP_Settings_Page {
40
 
41
  $presets = SP_Admin_Sports::get_preset_options();
42
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  $settings = array_merge(
44
 
45
  array(
@@ -56,6 +82,22 @@ class SP_Settings_General extends SP_Settings_Page {
56
  'type' => 'sport',
57
  'options' => $presets,
58
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  )),
60
 
61
  array(
@@ -134,7 +176,7 @@ class SP_Settings_General extends SP_Settings_Page {
134
  'title' => __( 'Tables', 'sportspress' ),
135
  'desc' => __( 'Responsive', 'sportspress' ),
136
  'id' => 'sportspress_enable_responsive_tables',
137
- 'default' => 'yes',
138
  'type' => 'checkbox',
139
  'checkboxgroup' => 'start',
140
  ),
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin
8
+ * @version 2.5.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
40
 
41
  $presets = SP_Admin_Sports::get_preset_options();
42
 
43
+ $leagues = array( '' => __( '&mdash; Select &mdash;', 'sportspress' ) );
44
+
45
+ $terms = get_terms( array(
46
+ 'taxonomy' => 'sp_league',
47
+ 'hide_empty' => false,
48
+ ) );
49
+
50
+ if ( $terms ) {
51
+ foreach ( $terms as $term ) {
52
+ $leagues[ $term->term_id ] = $term->name;
53
+ }
54
+ }
55
+
56
+ $seasons = array( '' => __( '&mdash; Select &mdash;', 'sportspress' ) );
57
+
58
+ $terms = get_terms( array(
59
+ 'taxonomy' => 'sp_season',
60
+ 'hide_empty' => false,
61
+ ) );
62
+
63
+ if ( $terms ) {
64
+ foreach ( $terms as $term ) {
65
+ $seasons[ $term->term_id ] = $term->name;
66
+ }
67
+ }
68
+
69
  $settings = array_merge(
70
 
71
  array(
82
  'type' => 'sport',
83
  'options' => $presets,
84
  ),
85
+
86
+ array(
87
+ 'title' => __( 'Main League', 'sportspress' ),
88
+ 'id' => 'sportspress_league',
89
+ 'default' => null,
90
+ 'type' => 'select',
91
+ 'options' => $leagues,
92
+ ),
93
+
94
+ array(
95
+ 'title' => __( 'Current Season', 'sportspress' ),
96
+ 'id' => 'sportspress_season',
97
+ 'default' => null,
98
+ 'type' => 'select',
99
+ 'options' => $seasons,
100
+ ),
101
  )),
102
 
103
  array(
176
  'title' => __( 'Tables', 'sportspress' ),
177
  'desc' => __( 'Responsive', 'sportspress' ),
178
  'id' => 'sportspress_enable_responsive_tables',
179
+ 'default' => 'no',
180
  'type' => 'checkbox',
181
  'checkboxgroup' => 'start',
182
  ),
includes/admin/settings/class-sp-settings-modules.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin
8
- * @version 2.4
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -127,7 +127,7 @@ class SP_Settings_Modules extends SP_Settings_Page {
127
  <p><?php _e( 'Rookie is a free starter theme for SportsPress designed by ThemeBoy.', 'sportspress' ); ?></p>
128
  <p class="sp-module-actions">
129
  <span><?php _e( 'Need a better theme?', 'sportspress' ); ?></span>
130
- <a class="button" href="http://tboy.co/themes" target="_blank"><?php _e( 'Upgrade', 'sportspress' ); ?></a>
131
  </p>
132
  </td></tr>
133
  </tbody>
@@ -196,7 +196,7 @@ class SP_Settings_Modules extends SP_Settings_Page {
196
  if ( class_exists( 'SportsPress_Pro' ) ) {
197
  $categories['help']['links']['http://support.themeboy.com/'] = __( 'Premium Support', 'sportspress' );
198
  } else {
199
- $categories['help']['links']['http://tboy.co/pro'] = '<span class="sp-desc-tip" title="' . __( 'Upgrade to Pro', 'sportspress' ) . '">' . __( 'Premium Support', 'sportspress' ) . '</span>';
200
  }
201
 
202
  $categories = apply_filters( 'sportspress_modules_welcome_links', $categories );
@@ -248,14 +248,14 @@ class SP_Settings_Modules extends SP_Settings_Page {
248
  <span class="sp-desc">
249
  <?php echo $module['desc']; ?>
250
  <?php if ( array_key_exists( 'link', $module ) ) { ?>
251
- <a href="<?php echo $module['link']; ?>" target="_blank"><?php echo sp_array_value( $module, 'action', __( 'Learn more', 'sportspress' ) ); ?></a>
252
  <?php } ?>
253
  </span>
254
  <?php } ?>
255
  </td></tr>
256
  <?php } else { ?>
257
  <tr><td>
258
- <input type="checkbox" name="sportspress_load_<?php echo $id; ?>_module" id="sportspress_load_<?php echo $id; ?>_module" <?php checked( 'yes' == get_option( 'sportspress_load_' . $id . '_module', 'yes' ) ); ?>>
259
  <label for="sportspress_load_<?php echo $id; ?>_module">
260
  <i class="<?php echo sp_array_value( $module, 'icon', 'dashicons dashicons-admin-generic' ); ?>"></i>
261
  <?php echo sp_array_value( $module, 'label', $id ); ?>
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin
8
+ * @version 2.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
127
  <p><?php _e( 'Rookie is a free starter theme for SportsPress designed by ThemeBoy.', 'sportspress' ); ?></p>
128
  <p class="sp-module-actions">
129
  <span><?php _e( 'Need a better theme?', 'sportspress' ); ?></span>
130
+ <a class="button" href="<?php echo apply_filters( 'sportspress_pro_url', 'http://tboy.co/themes' ); ?>" target="_blank"><?php _e( 'Upgrade', 'sportspress' ); ?></a>
131
  </p>
132
  </td></tr>
133
  </tbody>
196
  if ( class_exists( 'SportsPress_Pro' ) ) {
197
  $categories['help']['links']['http://support.themeboy.com/'] = __( 'Premium Support', 'sportspress' );
198
  } else {
199
+ $categories['help']['links'][ apply_filters( 'sportspress_pro_url', 'http://tboy.co/pro' ) ] = '<span class="sp-desc-tip" title="' . __( 'Upgrade to Pro', 'sportspress' ) . '">' . __( 'Premium Support', 'sportspress' ) . '</span>';
200
  }
201
 
202
  $categories = apply_filters( 'sportspress_modules_welcome_links', $categories );
248
  <span class="sp-desc">
249
  <?php echo $module['desc']; ?>
250
  <?php if ( array_key_exists( 'link', $module ) ) { ?>
251
+ <a href="<?php echo apply_filters( 'sportspress_pro_url', $module['link'] ); ?>" target="_blank"><?php echo sp_array_value( $module, 'action', __( 'Learn more', 'sportspress' ) ); ?></a>
252
  <?php } ?>
253
  </span>
254
  <?php } ?>
255
  </td></tr>
256
  <?php } else { ?>
257
  <tr><td>
258
+ <input type="checkbox" name="sportspress_load_<?php echo $id; ?>_module" id="sportspress_load_<?php echo $id; ?>_module" <?php checked( 'yes' == get_option( 'sportspress_load_' . $id . '_module', sp_array_value( $module, 'default', 'yes' ) ) ); ?>>
259
  <label for="sportspress_load_<?php echo $id; ?>_module">
260
  <i class="<?php echo sp_array_value( $module, 'icon', 'dashicons dashicons-admin-generic' ); ?>"></i>
261
  <?php echo sp_array_value( $module, 'label', $id ); ?>
includes/admin/settings/class-sp-settings-players.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin
8
- * @version 2.2.4
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -107,7 +107,7 @@ class SP_Settings_Players extends SP_Settings_Page {
107
  ),
108
 
109
  array(
110
- 'desc' => __( 'Competitions', 'sportspress' ),
111
  'id' => 'sportspress_player_show_leagues',
112
  'default' => 'no',
113
  'type' => 'checkbox',
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin
8
+ * @version 2.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
107
  ),
108
 
109
  array(
110
+ 'desc' => __( 'Leagues', 'sportspress' ),
111
  'id' => 'sportspress_player_show_leagues',
112
  'default' => 'no',
113
  'type' => 'checkbox',
includes/admin/settings/class-sp-settings-status.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin
8
- * @version 1.8.3
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -331,7 +331,7 @@ class SP_Settings_Status extends SP_Settings_Page {
331
 
332
  <tbody>
333
  <tr>
334
- <td><?php _e( 'Competitions', 'sportspress' ); ?>:</td>
335
  <td><?php
336
  $display_terms = array();
337
  $terms = get_terms( 'sp_league', array( 'hide_empty' => 0 ) );
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin
8
+ * @version 2.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
331
 
332
  <tbody>
333
  <tr>
334
+ <td><?php _e( 'Leagues', 'sportspress' ); ?>:</td>
335
  <td><?php
336
  $display_terms = array();
337
  $terms = get_terms( 'sp_league', array( 'hide_empty' => 0 ) );
includes/admin/settings/class-sp-settings-teams.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin
8
- * @version 2.1.6
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -51,13 +51,21 @@ class SP_Settings_Teams extends SP_Settings_Page {
51
  array( 'type' => 'team_tabs' ),
52
 
53
  array(
54
- 'title' => __( 'Link', 'sportspress' ),
55
- 'desc' => __( 'Link teams', 'sportspress' ),
56
- 'id' => 'sportspress_link_teams',
57
  'default' => 'no',
58
  'type' => 'checkbox',
59
  ),
60
 
 
 
 
 
 
 
 
 
61
  array(
62
  'title' => __( 'Venue', 'sportspress' ),
63
  'desc' => __( 'Link venues', 'sportspress' ),
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin
8
+ * @version 2.5.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
51
  array( 'type' => 'team_tabs' ),
52
 
53
  array(
54
+ 'title' => __( 'Staff', 'sportspress' ),
55
+ 'desc' => __( 'Link staff', 'sportspress' ),
56
+ 'id' => 'sportspress_team_link_staff',
57
  'default' => 'no',
58
  'type' => 'checkbox',
59
  ),
60
 
61
+ array(
62
+ 'title' => __( 'Link', 'sportspress' ),
63
+ 'desc' => __( 'Link teams', 'sportspress' ),
64
+ 'id' => 'sportspress_link_teams',
65
+ 'default' => 'no',
66
+ 'type' => 'checkbox',
67
+ ),
68
+
69
  array(
70
  'title' => __( 'Venue', 'sportspress' ),
71
  'desc' => __( 'Link venues', 'sportspress' ),
includes/admin/sp-admin-functions.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Core
7
  * @package SportsPress/Admin/Functions
8
- * @version 1.8.3
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -53,6 +53,26 @@ function sp_get_screen_ids() {
53
  'edit-sp_venue',
54
  'edit-sp_league',
55
  'edit-sp_season',
56
- 'edit-sp_position',
 
57
  ) );
58
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  * @author ThemeBoy
6
  * @category Core
7
  * @package SportsPress/Admin/Functions
8
+ * @version 2.5.5
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
53
  'edit-sp_venue',
54
  'edit-sp_league',
55
  'edit-sp_season',
56
+ 'edit-sp_position',
57
+ 'edit-sp_role',
58
  ) );
59
  }
60
+
61
+ function add_codemirror_to_custom_css() {
62
+ // Enqueue code editor and settings for manipulating HTML.
63
+ $settings = wp_enqueue_code_editor( array( 'type' => 'css' ) );
64
+ // Bail if user disabled CodeMirror.
65
+ if ( false === $settings ) {
66
+ return;
67
+ }
68
+ wp_add_inline_script(
69
+ 'code-editor',
70
+ sprintf(
71
+ 'jQuery( function() { wp.codeEditor.initialize( "sportspress_custom_css", %s ); } );',
72
+ wp_json_encode( $settings )
73
+ )
74
+ );
75
+ }
76
+ if ( function_exists( 'wp_enqueue_code_editor' ) ) {
77
+ add_action( 'sportspress_settings_general', 'add_codemirror_to_custom_css' );
78
+ }
includes/admin/views/html-admin-page-status.php CHANGED
@@ -293,7 +293,7 @@
293
 
294
  <tbody>
295
  <tr>
296
- <td><?php _e( 'Competitions', 'sportspress' ); ?>:</td>
297
  <td><?php
298
  $display_terms = array();
299
  $terms = get_terms( 'sp_league', array( 'hide_empty' => 0 ) );
293
 
294
  <tbody>
295
  <tr>
296
+ <td><?php _e( 'Leagues', 'sportspress' ); ?>:</td>
297
  <td><?php
298
  $display_terms = array();
299
  $terms = get_terms( 'sp_league', array( 'hide_empty' => 0 ) );
includes/api/class-sp-rest-api.php CHANGED
@@ -5,7 +5,7 @@
5
  * The SportsPress REST API class handles all API-related hooks.
6
  *
7
  * @class SP_REST_API
8
- * @version 2.2
9
  * @package SportsPress/Classes
10
  * @category Class
11
  * @package SportsPress/API
@@ -49,6 +49,13 @@ class SP_REST_API {
49
  if ( ! class_exists( 'SP_REST_Terms_Controller' ) ) {
50
  require_once dirname( __FILE__ ) . '/class-sp-rest-terms-controller.php';
51
  }
 
 
 
 
 
 
 
52
 
53
  do_action( 'sportspress_create_rest_routes' );
54
  }
@@ -119,6 +126,22 @@ class SP_REST_API {
119
  ),
120
  )
121
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
122
 
123
  register_rest_field( 'sp_event',
124
  'minutes',
5
  * The SportsPress REST API class handles all API-related hooks.
6
  *
7
  * @class SP_REST_API
8
+ * @version 2.5.5
9
  * @package SportsPress/Classes
10
  * @category Class
11
  * @package SportsPress/API
49
  if ( ! class_exists( 'SP_REST_Terms_Controller' ) ) {
50
  require_once dirname( __FILE__ ) . '/class-sp-rest-terms-controller.php';
51
  }
52
+
53
+ // Create Player Controller
54
+ if ( ! class_exists( 'SP_REST_Players_Controller' ) ) {
55
+ require_once dirname( __FILE__ ) . '/class-sp-rest-players-controller.php';
56
+ $player_controller = new SP_REST_Players_Controller();
57
+ $player_controller->register_routes();
58
+ }
59
 
60
  do_action( 'sportspress_create_rest_routes' );
61
  }
126
  ),
127
  )
128
  );
129
+
130
+ register_rest_field( 'sp_event',
131
+ 'day',
132
+ array(
133
+ 'get_callback' => 'SP_REST_API::get_post_data',
134
+ 'update_callback' => 'SP_REST_API::update_post_meta',
135
+ 'schema' => array(
136
+ 'description' => __( 'Match Day', 'sportspress' ),
137
+ 'type' => 'string',
138
+ 'context' => array( 'view', 'edit', 'embed' ),
139
+ 'arg_options' => array(
140
+ 'sanitize_callback' => 'sanitize_text_field',
141
+ ),
142
+ ),
143
+ )
144
+ );
145
 
146
  register_rest_field( 'sp_event',
147
  'minutes',
includes/api/class-sp-rest-players-controller.php ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * REST API Players controller
4
+ *
5
+ * Handles requests to the /players endpoint.
6
+ *
7
+ * Adapted from code in WooCommerce (Copyright (c) 2017, Automattic).
8
+ *
9
+ * @class SP_REST_Players_Controller
10
+ * @version 2.5.5
11
+ * @package SportsPress/API
12
+ * @category API
13
+ * @author WooThemes
14
+ */
15
+
16
+ if ( ! defined( 'ABSPATH' ) ) {
17
+ exit;
18
+ }
19
+
20
+ class SP_REST_Players_Controller extends SP_REST_Posts_Controller {
21
+
22
+ /**
23
+ * Route base.
24
+ *
25
+ * @var string
26
+ */
27
+ protected $rest_base = 'players';
28
+
29
+ /**
30
+ * Post type.
31
+ *
32
+ * @var string
33
+ */
34
+ protected $post_type = 'sp_player';
35
+
36
+ public function __construct() {
37
+ parent::__construct( $this->post_type );
38
+ $this->namespace = 'sportspress/v2';
39
+ }
40
+
41
+ /**
42
+ * Register the routes for players.
43
+ */
44
+ public function register_routes() {
45
+ register_rest_route( $this->namespace, '/' . $this->rest_base, array(
46
+ array(
47
+ 'methods' => WP_REST_Server::READABLE,
48
+ 'callback' => array( $this, 'get_items' ),
49
+ 'args' => $this->get_collection_params(),
50
+ )
51
+ ) );
52
+ }
53
+
54
+ /**
55
+ * Get a collection of posts.
56
+ *
57
+ * @param WP_REST_Request $request Full details about the request.
58
+ * @return WP_Error|WP_REST_Response
59
+ */
60
+ public function get_items( $request ) {
61
+ $query_args = $this->prepare_objects_query( $request );
62
+ $query_results = $this->get_objects( $query_args );
63
+
64
+ $objects = array();
65
+ foreach ( $query_results['objects'] as $object ) {
66
+ $data = $this->prepare_item_for_response( $object, $request );
67
+ $objects[] = $this->prepare_response_for_collection( $data );
68
+ }
69
+
70
+ $page = (int) $query_args['paged'];
71
+ $max_pages = $query_results['pages'];
72
+
73
+ $response = rest_ensure_response( $objects );
74
+ $response->header( 'X-WP-Total', $query_results['total'] );
75
+ $response->header( 'X-WP-TotalPages', (int) $max_pages );
76
+
77
+ $base = add_query_arg( $request->get_query_params(), rest_url( sprintf( '/%s/%s', $this->namespace, $this->rest_base ) ) );
78
+
79
+ if ( $page > 1 ) {
80
+ $prev_page = $page - 1;
81
+ if ( $prev_page > $max_pages ) {
82
+ $prev_page = $max_pages;
83
+ }
84
+ $prev_link = add_query_arg( 'page', $prev_page, $base );
85
+ $response->link_header( 'prev', $prev_link );
86
+ }
87
+ if ( $max_pages > $page ) {
88
+ $next_page = $page + 1;
89
+ $next_link = add_query_arg( 'page', $next_page, $base );
90
+ $response->link_header( 'next', $next_link );
91
+ }
92
+
93
+ return $response;
94
+ }
95
+
96
+ /**
97
+ * Prepare objects query.
98
+ *
99
+ * @since 2.5
100
+ * @param WP_REST_Request $request Full details about the request.
101
+ * @return array
102
+ */
103
+ protected function prepare_objects_query( $request ) {
104
+ $args = parent::prepare_objects_query( $request );
105
+
106
+ //Filter players by league
107
+ if ( ! empty( $request['league'] ) ) {
108
+ $args['tax_query'][] = array(
109
+ 'taxonomy' => 'sp_league',
110
+ 'field' => 'name',
111
+ 'terms' => $request['league'],
112
+ );
113
+ }
114
+
115
+ //Filter players by season
116
+ if ( ! empty( $request['season'] ) ) {
117
+ $args['tax_query'][] = array(
118
+ 'taxonomy' => 'sp_season',
119
+ 'field' => 'name',
120
+ 'terms' => $request['season'],
121
+ );
122
+ }
123
+
124
+ // Filter players by team id
125
+ if ( ! empty( $request['team_id'] ) ) {
126
+ $args['meta_query'][] = array(
127
+ 'key' => 'sp_team',
128
+ 'value' => $request['team_id']
129
+ );
130
+ }
131
+
132
+ // Filter players by current team id
133
+ if ( ! empty( $request['current_team_id'] ) ) {
134
+ $args['meta_query'][] = array(
135
+ 'key' => 'sp_current_team',
136
+ 'value' => $request['current_team_id']
137
+ );
138
+ }
139
+
140
+ // Filter players by past team id
141
+ if ( ! empty( $request['past_team_id'] ) ) {
142
+ $args['meta_query'][] = array(
143
+ 'key' => 'sp_past_team',
144
+ 'value' => $request['past_team_id']
145
+ );
146
+ }
147
+
148
+ return $this->prepare_items_query( $args, $request );
149
+ }
150
+
151
+ /**
152
+ * Get objects.
153
+ *
154
+ * @since 3.0.0
155
+ * @param array $query_args Query args.
156
+ * @return array
157
+ */
158
+ protected function get_objects( $query_args ) {
159
+ $query = new WP_Query();
160
+ $result = $query->query( $query_args );
161
+
162
+ $total_posts = $query->found_posts;
163
+ if ( $total_posts < 1 ) {
164
+ // Out-of-bounds, run the query again without LIMIT for total count.
165
+ unset( $query_args['paged'] );
166
+ $count_query = new WP_Query();
167
+ $count_query->query( $query_args );
168
+ $total_posts = $count_query->found_posts;
169
+ }
170
+
171
+ return array(
172
+ 'objects' => $result,
173
+ 'total' => (int) $total_posts,
174
+ 'pages' => (int) ceil( $total_posts / (int) $query->query_vars['posts_per_page'] ),
175
+ );
176
+ }
177
+
178
+ }
includes/api/class-sp-rest-posts-controller.php CHANGED
@@ -6,5 +6,58 @@ if ( class_exists( 'WP_REST_Posts_Controller' ) ) {
6
  parent::__construct( $post_type );
7
  $this->namespace = 'sportspress/v2';
8
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  }
10
  }
6
  parent::__construct( $post_type );
7
  $this->namespace = 'sportspress/v2';
8
  }
9
+
10
+ /**
11
+ * Prepare objects query.
12
+ *
13
+ * @since 2.5.5
14
+ * @param WP_REST_Request $request Full details about the request.
15
+ * @return array
16
+ */
17
+ protected function prepare_objects_query( $request ) {
18
+ $args = array();
19
+ $args['offset'] = $request['offset'];
20
+ $args['order'] = $request['order'];
21
+ $args['orderby'] = $request['orderby'];
22
+ $args['paged'] = $request['page'];
23
+ $args['post__in'] = $request['include'];
24
+ $args['post__not_in'] = $request['exclude'];
25
+ $args['posts_per_page'] = $request['per_page'];
26
+ $args['name'] = $request['slug'];
27
+ $args['post_parent__in'] = $request['parent'];
28
+ $args['post_parent__not_in'] = $request['parent_exclude'];
29
+ $args['s'] = $request['search'];
30
+
31
+ if ( 'date' === $args['orderby'] ) {
32
+ $args['orderby'] = 'date ID';
33
+ }
34
+
35
+ $args['date_query'] = array();
36
+ // Set before into date query. Date query must be specified as an array of an array.
37
+ if ( isset( $request['before'] ) ) {
38
+ $args['date_query'][0]['before'] = $request['before'];
39
+ }
40
+
41
+ // Set after into date query. Date query must be specified as an array of an array.
42
+ if ( isset( $request['after'] ) ) {
43
+ $args['date_query'][0]['after'] = $request['after'];
44
+ }
45
+
46
+ // Force the post_type argument, since it's not a user input variable.
47
+ $args['post_type'] = $this->post_type;
48
+
49
+ /**
50
+ * Filter the query arguments for a request.
51
+ *
52
+ * Enables adding extra arguments or setting defaults for a post
53
+ * collection request.
54
+ *
55
+ * @param array $args Key value array of query var to query value.
56
+ * @param WP_REST_Request $request The request used.
57
+ */
58
+ $args = apply_filters( "sportspress_rest_{$this->post_type}_object_query", $args, $request );
59
+
60
+ return $this->prepare_items_query( $args, $request );
61
+ }
62
  }
63
  }
includes/class-sp-ajax.php CHANGED
@@ -8,7 +8,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
8
  * AJAX Event Handler
9
  *
10
  * @class SP_AJAX
11
- * @version 2.4
12
  * @package SportsPress/Classes
13
  * @category Class
14
  * @author ThemeBoy
@@ -78,7 +78,7 @@ class SP_AJAX {
78
  <p>
79
  <label>
80
  <input class="checkbox" type="checkbox" name="show_league">
81
- <?php _e( 'Display competition', 'sportspress' ); ?>
82
  </label>
83
  </p>
84
  <?php do_action( 'sportspress_ajax_shortcode_form', 'countdown' ); ?>
@@ -218,7 +218,7 @@ class SP_AJAX {
218
  </p>
219
  <p>
220
  <label>
221
- <?php _e( 'Competition:', 'sportspress' ); ?>
222
  <?php
223
  $args = array(
224
  'taxonomy' => 'sp_league',
@@ -335,7 +335,7 @@ class SP_AJAX {
335
  </p>
336
  <p>
337
  <label>
338
- <?php _e( 'Competition:', 'sportspress' ); ?>
339
  <?php
340
  $args = array(
341
  'taxonomy' => 'sp_league',
@@ -427,7 +427,7 @@ class SP_AJAX {
427
  'event' => __( 'Event', 'sportspress' ),
428
  'teams' => __( 'Teams', 'sportspress' ),
429
  'time' => __( 'Time', 'sportspress' ),
430
- 'league' => __( 'Competition', 'sportspress' ),
431
  'season' => __( 'Season', 'sportspress' ),
432
  'venue' => __( 'Venue', 'sportspress' ),
433
  'article' => __( 'Article', 'sportspress' ),
@@ -468,6 +468,12 @@ class SP_AJAX {
468
  <input class="regular-text" type="text" name="title">
469
  </label>
470
  </p>
 
 
 
 
 
 
471
  <p>
472
  <label>
473
  <?php printf( __( 'Select %s:', 'sportspress' ), __( 'Calendar', 'sportspress' ) ); ?>
@@ -498,7 +504,7 @@ class SP_AJAX {
498
  </p>
499
  <p>
500
  <label>
501
- <?php _e( 'Competition:', 'sportspress' ); ?>
502
  <?php
503
  $args = array(
504
  'taxonomy' => 'sp_league',
@@ -1031,6 +1037,7 @@ class SP_AJAX {
1031
  args.show_all_events_link = $div.find('[name=show_all_events_link]:checked').length;
1032
  } else if ( 'event_blocks' == type ) {
1033
  args.title = $div.find('[name=title]').val();
 
1034
  args.team = $div.find('[name=team]').val();
1035
  args.league = $div.find('[name=league]').val();
1036
  args.season = $div.find('[name=season]').val();
8
  * AJAX Event Handler
9
  *
10
  * @class SP_AJAX
11
+ * @version 2.5.5
12
  * @package SportsPress/Classes
13
  * @category Class
14
  * @author ThemeBoy
78
  <p>
79
  <label>
80
  <input class="checkbox" type="checkbox" name="show_league">
81
+ <?php _e( 'Display league', 'sportspress' ); ?>
82
  </label>
83
  </p>
84
  <?php do_action( 'sportspress_ajax_shortcode_form', 'countdown' ); ?>
218
  </p>
219
  <p>
220
  <label>
221
+ <?php _e( 'League:', 'sportspress' ); ?>
222
  <?php
223
  $args = array(
224
  'taxonomy' => 'sp_league',
335
  </p>
336
  <p>
337
  <label>
338
+ <?php _e( 'League:', 'sportspress' ); ?>
339
  <?php
340
  $args = array(
341
  'taxonomy' => 'sp_league',
427
  'event' => __( 'Event', 'sportspress' ),
428
  'teams' => __( 'Teams', 'sportspress' ),
429
  'time' => __( 'Time', 'sportspress' ),
430
+ 'league' => __( 'League', 'sportspress' ),
431
  'season' => __( 'Season', 'sportspress' ),
432
  'venue' => __( 'Venue', 'sportspress' ),
433
  'article' => __( 'Article', 'sportspress' ),
468
  <input class="regular-text" type="text" name="title">
469
  </label>
470
  </p>
471
+ <p>
472
+ <label>
473
+ <?php _e( 'Event:', 'sportspress' ); ?>
474
+ <input class="regular-text" type="number" name="event">
475
+ </label>
476
+ </p>
477
  <p>
478
  <label>
479
  <?php printf( __( 'Select %s:', 'sportspress' ), __( 'Calendar', 'sportspress' ) ); ?>
504
  </p>
505
  <p>
506
  <label>
507
+ <?php _e( 'League:', 'sportspress' ); ?>
508
  <?php
509
  $args = array(
510
  'taxonomy' => 'sp_league',
1037
  args.show_all_events_link = $div.find('[name=show_all_events_link]:checked').length;
1038
  } else if ( 'event_blocks' == type ) {
1039
  args.title = $div.find('[name=title]').val();
1040
+ args.event = $div.find('[name=event]').val();
1041
  args.team = $div.find('[name=team]').val();
1042
  args.league = $div.find('[name=league]').val();
1043
  args.season = $div.find('[name=season]').val();
includes/class-sp-calendar.php CHANGED
@@ -3,38 +3,32 @@
3
  * Calendar Class
4
  *
5
  * The SportsPress calendar class handles individual calendar data.
 
 
 
6
  *
7
  * @class SP_Calendar
8
- * @version 2.2
9
  * @package SportsPress/Classes
10
  * @category Class
11
  * @author ThemeBoy
12
  */
13
 
14
- class SP_Calendar extends SP_Custom_Post {
15
 
16
  /** @var string The events status. */
17
  public $status;
18
 
19
- /** @var string The date filter for events. */
20
- public $date;
21
-
22
  /** @var string The events order. */
23
  public $order;
24
 
25
  /** @var string The events orderby. */
26
  public $orderby;
27
 
28
- /** @var string The date to range from. */
29
- public $from;
30
-
31
- /** @var string The date to range to. */
32
- public $to;
33
-
34
  /** @var string The match day. */
35
  public $day;
36
 
37
- /** @var int The competition ID. */
38
  public $league;
39
 
40
  /** @var int The season ID. */
@@ -51,6 +45,9 @@ class SP_Calendar extends SP_Custom_Post {
51
 
52
  /** @var int Number of events. */
53
  public $number;
 
 
 
54
 
55
  /**
56
  * __construct function.
@@ -59,7 +56,7 @@ class SP_Calendar extends SP_Custom_Post {
59
  * @param mixed $post
60
  */
61
  public function __construct( $post ) {
62
- if ( $post instanceof WP_Post || $post instanceof SP_Custom_Post ):
63
  $this->ID = absint( $post->ID );
64
  $this->post = $post;
65
  else:
@@ -85,11 +82,23 @@ class SP_Calendar extends SP_Custom_Post {
85
  if ( ! $this->orderby )
86
  $this->orderby = 'post_date';
87
 
88
- if ( ! $this->from )
89
- $this->from = get_post_meta( $this->ID, 'sp_date_from', true );
 
 
 
 
 
 
 
 
 
 
 
 
 
90
 
91
- if ( ! $this->to )
92
- $this->to = get_post_meta( $this->ID, 'sp_date_to', true );
93
 
94
  if ( ! $this->day )
95
  $this->day = get_post_meta( $this->ID, 'sp_day', true );
@@ -122,16 +131,50 @@ class SP_Calendar extends SP_Custom_Post {
122
  );
123
 
124
  if ( $this->date !== 0 ):
125
- if ( $this->date == 'w' ):
126
- $args['year'] = date('Y');
127
- $args['w'] = date('W');
128
- elseif ( $this->date == 'day' ):
129
- $args['year'] = date('Y');
130
- $args['day'] = date('j');
131
- $args['monthnum'] = date('n');
132
- elseif ( $this->date == 'range' ):
133
- add_filter( 'posts_where', array( $this, 'range' ) );
134
- endif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
135
  endif;
136
 
137
  if ( $this->league ):
@@ -182,19 +225,23 @@ class SP_Calendar extends SP_Custom_Post {
182
  $teams = array_filter( get_post_meta( $this->ID, 'sp_team', false ) );
183
  $table = get_post_meta( $this->ID, 'sp_table', true );
184
 
185
- if ( ! isset( $league_ids ) && $leagues ):
186
- $league_ids = array();
187
  foreach( $leagues as $league ):
188
  $league_ids[] = $league->term_id;
189
  endforeach;
190
  endif;
191
-
192
- if ( ! isset( $season_ids ) && $seasons ):
193
- $season_ids = array();
 
 
194
  foreach( $seasons as $season ):
195
  $season_ids[] = $season->term_id;
196
  endforeach;
197
  endif;
 
 
198
 
199
  if ( ! isset( $venue_ids ) && $venues ):
200
  $venue_ids = array();
@@ -237,19 +284,23 @@ class SP_Calendar extends SP_Custom_Post {
237
  ),
238
  );
239
  }
240
-
 
 
 
 
241
  if ( 'auto' === $this->date && 'any' === $this->status ) {
242
  $args['post_status'] = 'publish';
243
  $args['order'] = 'DESC';
244
  $args['posts_per_page'] = ceil( $this->number / 2 );
245
  $results = get_posts( $args );
246
  $results = array_reverse( $results, true );
247
-
248
  $args['post_status'] = 'future';
249
  $args['order'] = 'ASC';
250
  $args['posts_per_page'] = floor( $this->number / 2 );
251
  $fixtures = get_posts( $args );
252
-
253
  $events = array_merge_recursive( $results, $fixtures );
254
  } else {
255
  $events = get_posts( $args );
@@ -259,15 +310,10 @@ class SP_Calendar extends SP_Custom_Post {
259
  $events = null;
260
  endif;
261
 
 
262
  remove_filter( 'posts_where', array( $this, 'range' ) );
 
263
 
264
  return $events;
265
  }
266
-
267
- public function range( $where = '' ) {
268
- $to = new DateTime( $this->to );
269
- $to->modify( '+1 day' );
270
- $where .= " AND post_date BETWEEN '" . $this->from . "' AND '" . $to->format( 'Y-m-d' ) . "'";
271
- return $where;
272
- }
273
  }
3
  * Calendar Class
4
  *
5
  * The SportsPress calendar class handles individual calendar data.
6
+ * Props @_drg_ for adjustments to range and timezone handling.
7
+ * https://wordpress.org/support/topic/suggestion-for-schedule-list-range-option/
8
+ * https://wordpress.org/support/topic/timezone-issues-with-schedule-calendar-list/
9
  *
10
  * @class SP_Calendar
11
+ * @version 2.5.5
12
  * @package SportsPress/Classes
13
  * @category Class
14
  * @author ThemeBoy
15
  */
16
 
17
+ class SP_Calendar extends SP_Secondary_Post {
18
 
19
  /** @var string The events status. */
20
  public $status;
21
 
 
 
 
22
  /** @var string The events order. */
23
  public $order;
24
 
25
  /** @var string The events orderby. */
26
  public $orderby;
27
 
 
 
 
 
 
 
28
  /** @var string The match day. */
29
  public $day;
30
 
31
+ /** @var int The league ID. */
32
  public $league;
33
 
34
  /** @var int The season ID. */
45
 
46
  /** @var int Number of events. */
47
  public $number;
48
+
49
+ /** @var int The event ID. */
50
+ public $event;
51
 
52
  /**
53
  * __construct function.
56
  * @param mixed $post
57
  */
58
  public function __construct( $post ) {
59
+ if ( $post instanceof WP_Post || $post instanceof SP_Secondary_Post ):
60
  $this->ID = absint( $post->ID );
61
  $this->post = $post;
62
  else:
82
  if ( ! $this->orderby )
83
  $this->orderby = 'post_date';
84
 
85
+ if ( 'range' == $this->date ) {
86
+
87
+ $this->relative = get_post_meta( $this->ID, 'sp_date_relative', true );
88
+
89
+ if ( $this->relative ) {
90
+
91
+ $this->past = get_post_meta( $this->ID, 'sp_date_past', true );
92
+ $this->future = get_post_meta( $this->ID, 'sp_date_future', true );
93
+
94
+ } else {
95
+
96
+ $this->from = get_post_meta( $this->ID, 'sp_date_from', true );
97
+ $this->to = get_post_meta( $this->ID, 'sp_date_to', true );
98
+
99
+ }
100
 
101
+ }
 
102
 
103
  if ( ! $this->day )
104
  $this->day = get_post_meta( $this->ID, 'sp_day', true );
131
  );
132
 
133
  if ( $this->date !== 0 ):
134
+ switch ( $this->date ):
135
+ case '-day':
136
+ $date = new DateTime( date_i18n('Y-m-d') );
137
+ $date->modify( '-1 day' );
138
+ $args['year'] = $date->format('Y');
139
+ $args['day'] = $date->format('j');
140
+ $args['monthnum'] = $date->format('n');
141
+ break;
142
+ case 'day':
143
+ $args['year'] = date_i18n('Y');
144
+ $args['day'] = date_i18n('j');
145
+ $args['monthnum'] = date_i18n('n');
146
+ break;
147
+ case '+day':
148
+ $date = new DateTime( date_i18n('Y-m-d') );
149
+ $date->modify( '+1 day' );
150
+ $args['year'] = $date->format('Y');
151
+ $args['day'] = $date->format('j');
152
+ $args['monthnum'] = $date->format('n');
153
+ break;
154
+ case '-w':
155
+ $date = new DateTime( date_i18n('Y-m-d') );
156
+ $date->modify( '-1 week' );
157
+ $args['year'] = $date->format('Y');
158
+ $args['w'] = $date->format('W');
159
+ break;
160
+ case 'w':
161
+ $args['year'] = date_i18n('Y');
162
+ $args['w'] = date_i18n('W');
163
+ break;
164
+ case '+w':
165
+ $date = new DateTime( date_i18n('Y-m-d') );
166
+ $date->modify( '+1 week' );
167
+ $args['year'] = $date->format('Y');
168
+ $args['w'] = $date->format('W');
169
+ break;
170
+ case 'range':
171
+ if ( $this->relative ):
172
+ add_filter( 'posts_where', array( $this, 'relative' ) );
173
+ else:
174
+ add_filter( 'posts_where', array( $this, 'range' ) );
175
+ endif;
176
+ break;
177
+ endswitch;
178
  endif;
179
 
180
  if ( $this->league ):
225
  $teams = array_filter( get_post_meta( $this->ID, 'sp_team', false ) );
226
  $table = get_post_meta( $this->ID, 'sp_table', true );
227
 
228
+ if ( ! isset( $league_ids ) ) $league_ids = array();
229
+ if ( empty( $league_ids ) && $leagues ):
230
  foreach( $leagues as $league ):
231
  $league_ids[] = $league->term_id;
232
  endforeach;
233
  endif;
234
+ $league_ids = sp_add_auto_term( $league_ids, $this->ID, 'sp_league' );
235
+ if ( empty( $league_ids ) ) unset( $league_ids );
236
+
237
+ if ( ! isset( $season_ids ) ) $season_ids = array();
238
+ if ( empty( $season_ids ) && $seasons ):
239
  foreach( $seasons as $season ):
240
  $season_ids[] = $season->term_id;
241
  endforeach;
242
  endif;
243
+ $season_ids = sp_add_auto_term( $season_ids, $this->ID, 'sp_season' );
244
+ if ( empty( $season_ids ) ) unset( $season_ids );
245
 
246
  if ( ! isset( $venue_ids ) && $venues ):
247
  $venue_ids = array();
284
  ),
285
  );
286
  }
287
+
288
+ if ( $this->event) {
289
+ $args['p'] = $this->event;
290
+ }
291
+
292
  if ( 'auto' === $this->date && 'any' === $this->status ) {
293
  $args['post_status'] = 'publish';
294
  $args['order'] = 'DESC';
295
  $args['posts_per_page'] = ceil( $this->number / 2 );
296
  $results = get_posts( $args );
297
  $results = array_reverse( $results, true );
298
+
299
  $args['post_status'] = 'future';
300
  $args['order'] = 'ASC';
301
  $args['posts_per_page'] = floor( $this->number / 2 );
302
  $fixtures = get_posts( $args );
303
+
304
  $events = array_merge_recursive( $results, $fixtures );
305
  } else {
306
  $events = get_posts( $args );
310
  $events = null;
311
  endif;
312
 
313
+ // Remove any calendar selection filters
314
  remove_filter( 'posts_where', array( $this, 'range' ) );
315
+ remove_filter( 'posts_where', array( $this, 'relative' ) );
316
 
317
  return $events;
318
  }
 
 
 
 
 
 
 
319
  }
includes/class-sp-event.php CHANGED
@@ -5,7 +5,7 @@
5
  * The SportsPress event class handles individual event data.
6
  *
7
  * @class SP_Event
8
- * @version 2.2.4
9
  * @package SportsPress/Classes
10
  * @category Class
11
  * @author ThemeBoy
@@ -25,10 +25,15 @@ class SP_Event extends SP_Custom_Post{
25
  }
26
  return $post_status;
27
  }
 
 
 
 
 
28
 
29
  public function minutes() {
30
  $minutes = get_post_meta( $this->ID, 'sp_minutes', true );
31
- if ( '' === $minutes ) $minutes = 90;
32
  return $minutes;
33
  }
34
 
@@ -99,6 +104,7 @@ class SP_Event extends SP_Custom_Post{
99
  $labels = array();
100
  $formats = array();
101
  $timed = array();
 
102
  $equations = array();
103
  foreach ( $vars as $var ) {
104
  $labels[ $var->post_name ] = $var->post_title;
@@ -129,6 +135,10 @@ class SP_Event extends SP_Custom_Post{
129
  }
130
 
131
  $order = (array)get_post_meta( $this->ID, 'sp_order', true );
 
 
 
 
132
 
133
  $labels = apply_filters( 'sportspress_event_performance_labels', $labels, $this );
134
  $columns = get_post_meta( $this->ID, 'sp_columns', true );
@@ -151,7 +161,7 @@ class SP_Event extends SP_Custom_Post{
151
  endif;
152
 
153
  if ( $admin ):
154
- return array( $labels, $columns, $performance, $teams, $formats, $order, $timed );
155
  else:
156
  // Add position to performance labels
157
  if ( taxonomy_exists( 'sp_position' ) ):
@@ -536,6 +546,55 @@ class SP_Event extends SP_Custom_Post{
536
  // Return if no teams meet criteria
537
  return null;
538
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
539
 
540
  public function update_main_results( $results ) {
541
  $main_result = sp_get_main_result_option();
@@ -545,7 +604,7 @@ class SP_Event extends SP_Custom_Post{
545
  }
546
 
547
  // Get current results meta
548
- $meta = get_post_meta( $this->ID, 'sp_results', true );
549
 
550
  $primary_results = array();
551
  foreach ( $results as $id => $result ) {
@@ -633,6 +692,10 @@ class SP_Event extends SP_Custom_Post{
633
  update_post_meta( $this->ID, 'sp_results', $meta );
634
  }
635
 
 
 
 
 
636
  public function lineup_filter( $v ) {
637
  return sp_array_value( $v, 'status', 'lineup' ) == 'lineup';
638
  }
5
  * The SportsPress event class handles individual event data.
6
  *
7
  * @class SP_Event
8
+ * @version 2.5.2
9
  * @package SportsPress/Classes
10
  * @category Class
11
  * @author ThemeBoy
25
  }
26
  return $post_status;
27
  }
28
+
29
+ public function day() {
30
+ $day = get_post_meta( $this->ID, 'sp_day', true );
31
+ return $day;
32
+ }
33
 
34
  public function minutes() {
35
  $minutes = get_post_meta( $this->ID, 'sp_minutes', true );
36
+ if ( '' === $minutes ) $minutes = get_option( 'sportspress_event_minutes', 90 );
37
  return $minutes;
38
  }
39
 
104
  $labels = array();
105
  $formats = array();
106
  $timed = array();
107
+ $stars = array();
108
  $equations = array();
109
  foreach ( $vars as $var ) {
110
  $labels[ $var->post_name ] = $var->post_title;
135
  }
136
 
137
  $order = (array)get_post_meta( $this->ID, 'sp_order', true );
138
+
139
+ if ( get_option( 'sportspress_event_performance_stars_type', 0 ) ) {
140
+ $stars = (array)get_post_meta( $this->ID, 'sp_stars', true );
141
+ }
142
 
143
  $labels = apply_filters( 'sportspress_event_performance_labels', $labels, $this );
144
  $columns = get_post_meta( $this->ID, 'sp_columns', true );
161
  endif;
162
 
163
  if ( $admin ):
164
+ return array( $labels, $columns, $performance, $teams, $formats, $order, $timed, $stars );
165
  else:
166
  // Add position to performance labels
167
  if ( taxonomy_exists( 'sp_position' ) ):
546
  // Return if no teams meet criteria
547
  return null;
548
  }
549
+
550
+ public function appointments( $include_empty = false, $placeholder = '-' ) {
551
+ $officials = (array) get_post_meta( $this->ID, 'sp_officials', true );
552
+ $officials = array_filter( $officials );
553
+
554
+ if ( ! $include_empty && empty( $officials ) ) return null;
555
+
556
+ $duties = get_terms( array(
557
+ 'taxonomy' => 'sp_duty',
558
+ 'hide_empty' => false,
559
+ 'orderby' => 'meta_value_num',
560
+ 'meta_query' => array(
561
+ 'relation' => 'OR',
562
+ array(
563
+ 'key' => 'sp_order',
564
+ 'compare' => 'NOT EXISTS'
565
+ ),
566
+ array(
567
+ 'key' => 'sp_order',
568
+ 'compare' => 'EXISTS'
569
+ ),
570
+ ),
571
+ ) );
572
+
573
+ if ( ! $include_empty && empty( $duties ) ) return null;
574
+
575
+ $labels = array();
576
+ $appointments = array();
577
+
578
+ foreach ( $duties as $duty ) {
579
+ $duty_appointments = sp_array_value( $officials, $duty->term_id, null );
580
+
581
+ if ( ! $include_empty && empty( $duty_appointments ) ) continue;
582
+
583
+ $appointed_officials = array();
584
+ foreach ( $duty_appointments as $duty_appointment ) {
585
+ $appointed_officials[ $duty_appointment ] = get_the_title( $duty_appointment );
586
+ }
587
+
588
+ if ( $include_empty && empty( $appointed_officials ) ) $appointed_officials[] = $placeholder;
589
+
590
+ $appointments[ $duty->slug ] = $appointed_officials;
591
+ $labels[ $duty->slug ] = $duty->name;
592
+ }
593
+
594
+ $appointments[0] = $labels;
595
+
596
+ return $appointments;
597
+ }
598
 
599
  public function update_main_results( $results ) {
600
  $main_result = sp_get_main_result_option();
604
  }
605
 
606
  // Get current results meta
607
+ $meta =(array) get_post_meta( $this->ID, 'sp_results', true );
608
 
609
  $primary_results = array();
610
  foreach ( $results as $id => $result ) {
692
  update_post_meta( $this->ID, 'sp_results', $meta );
693
  }
694
 
695
+ public function stars() {
696
+ return get_post_meta( $this->ID, 'sp_stars', true );
697
+ }
698
+
699
  public function lineup_filter( $v ) {
700
  return sp_array_value( $v, 'status', 'lineup' ) == 'lineup';
701
  }
includes/class-sp-frontend-scripts.php CHANGED
@@ -3,7 +3,7 @@
3
  * Handle frontend forms
4
  *
5
  * @class SP_Frontend_Scripts
6
- * @version 2.2
7
  * @package SportsPress/Classes
8
  * @category Class
9
  * @author ThemeBoy
@@ -72,7 +72,7 @@ class SP_Frontend_Scripts {
72
  // Scripts
73
  wp_enqueue_script( 'jquery' );
74
  wp_enqueue_script( 'jquery-datatables', plugin_dir_url( SP_PLUGIN_FILE ) .'assets/js/jquery.dataTables.min.js', array( 'jquery' ), '1.10.4', true );
75
- wp_enqueue_script( 'jquery-countdown', plugin_dir_url( SP_PLUGIN_FILE ) .'assets/js/jquery.countdown.min.js', array( 'jquery' ), '2.0.2', true );
76
  wp_enqueue_script( 'sportspress', plugin_dir_url( SP_PLUGIN_FILE ) .'assets/js/sportspress.js', array( 'jquery' ), SP()->version, true );
77
 
78
  // Localize scripts
3
  * Handle frontend forms
4
  *
5
  * @class SP_Frontend_Scripts
6
+ * @version 2.5
7
  * @package SportsPress/Classes
8
  * @category Class
9
  * @author ThemeBoy
72
  // Scripts
73
  wp_enqueue_script( 'jquery' );
74
  wp_enqueue_script( 'jquery-datatables', plugin_dir_url( SP_PLUGIN_FILE ) .'assets/js/jquery.dataTables.min.js', array( 'jquery' ), '1.10.4', true );
75
+ wp_enqueue_script( 'jquery-countdown', plugin_dir_url( SP_PLUGIN_FILE ) .'assets/js/jquery.countdown.min.js', array( 'jquery' ), '2.2.0', true );
76
  wp_enqueue_script( 'sportspress', plugin_dir_url( SP_PLUGIN_FILE ) .'assets/js/sportspress.js', array( 'jquery' ), SP()->version, true );
77
 
78
  // Localize scripts
includes/class-sp-install.php CHANGED
@@ -432,6 +432,10 @@ class SP_Install {
432
  update_option( 'sportspress_mode', 'team' );
433
  }
434
  }
 
 
 
 
435
  }
436
 
437
  /**
432
  update_option( 'sportspress_mode', 'team' );
433
  }
434
  }
435
+
436
+ if ( version_compare( $version, '2.5.5', '<' ) ) {
437
+ update_option( 'sportspress_enable_responsive_tables', 'no' );
438
+ }
439
  }
440
 
441
  /**
includes/class-sp-league-table.php CHANGED
@@ -5,12 +5,12 @@
5
  * The SportsPress league table class handles individual league table data.
6
  *
7
  * @class SP_League_Table
8
- * @version 2.3
9
  * @package SportsPress/Classes
10
  * @category Class
11
  * @author ThemeBoy
12
  */
13
- class SP_League_Table extends SP_Custom_Post{
14
 
15
  /** @var array The sort priorities array. */
16
  public $priorities;
@@ -42,9 +42,31 @@ class SP_League_Table extends SP_Custom_Post{
42
  $link_events = get_option( 'sportspress_link_events', 'yes' ) === 'yes' ? true : false;
43
  $form_limit = (int) get_option( 'sportspress_form_limit', 5 );
44
 
 
 
 
 
 
45
  // Apply defaults
46
  if ( empty( $select ) ) $select = 'auto';
47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  // Get labels from result variables
49
  $result_labels = (array)sp_get_var_labels( 'sp_result' );
50
 
@@ -237,6 +259,23 @@ class SP_League_Table extends SP_Custom_Post{
237
  );
238
  endif;
239
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
240
  $args = apply_filters( 'sportspress_table_data_event_args', $args );
241
 
242
  if ( ! $is_main_loop ):
@@ -251,6 +290,10 @@ class SP_League_Table extends SP_Custom_Post{
251
 
252
  $events = get_posts( $args );
253
 
 
 
 
 
254
  $e = 0;
255
 
256
  // Event loop
5
  * The SportsPress league table class handles individual league table data.
6
  *
7
  * @class SP_League_Table
8
+ * @version 2.5
9
  * @package SportsPress/Classes
10
  * @category Class
11
  * @author ThemeBoy
12
  */
13
+ class SP_League_Table extends SP_Secondary_Post {
14
 
15
  /** @var array The sort priorities array. */
16
  public $priorities;
42
  $link_events = get_option( 'sportspress_link_events', 'yes' ) === 'yes' ? true : false;
43
  $form_limit = (int) get_option( 'sportspress_form_limit', 5 );
44
 
45
+ $this->date = $this->__get( 'date' );
46
+
47
+ if ( ! $this->date )
48
+ $this->date = 0;
49
+
50
  // Apply defaults
51
  if ( empty( $select ) ) $select = 'auto';
52
 
53
+ if ( 'range' == $this->date ) {
54
+
55
+ $this->relative = get_post_meta( $this->ID, 'sp_date_relative', true );
56
+
57
+ if ( $this->relative ) {
58
+
59
+ $this->past = get_post_meta( $this->ID, 'sp_date_past', true );
60
+
61
+ } else {
62
+
63
+ $this->from = get_post_meta( $this->ID, 'sp_date_from', true );
64
+ $this->to = get_post_meta( $this->ID, 'sp_date_to', true );
65
+
66
+ }
67
+
68
+ }
69
+
70
  // Get labels from result variables
71
  $result_labels = (array)sp_get_var_labels( 'sp_result' );
72
 
259
  );
260
  endif;
261
 
262
+ if ( $this->date !== 0 ):
263
+ if ( $this->date == 'w' ):
264
+ $args['year'] = date_i18n('Y');
265
+ $args['w'] = date_i18n('W');
266
+ elseif ( $this->date == 'day' ):
267
+ $args['year'] = date_i18n('Y');
268
+ $args['day'] = date_i18n('j');
269
+ $args['monthnum'] = date_i18n('n');
270
+ elseif ( $this->date == 'range' ):
271
+ if ( $this->relative ):
272
+ add_filter( 'posts_where', array( $this, 'relative' ) );
273
+ else:
274
+ add_filter( 'posts_where', array( $this, 'range' ) );
275
+ endif;
276
+ endif;
277
+ endif;
278
+
279
  $args = apply_filters( 'sportspress_table_data_event_args', $args );
280
 
281
  if ( ! $is_main_loop ):
290
 
291
  $events = get_posts( $args );
292
 
293
+ // Remove range filters
294
+ remove_filter( 'posts_where', array( $this, 'range' ) );
295
+ remove_filter( 'posts_where', array( $this, 'relative' ) );
296
+
297
  $e = 0;
298
 
299
  // Event loop
includes/class-sp-modules.php CHANGED
@@ -5,7 +5,7 @@
5
  * The SportsPress modules class stores available modules.
6
  *
7
  * @class SP_Modules
8
- * @version 2.4
9
  * @package SportsPress/Classes
10
  * @category Class
11
  * @author ThemeBoy
@@ -106,6 +106,12 @@ class SP_Modules {
106
  'link' => 'https://www.themeboy.com/sportspress-extensions/directories/',
107
  'desc' => __( 'Organize and display staff in list and gallery layouts.', 'sportspress' ),
108
  ),
 
 
 
 
 
 
109
  ),
110
  'admin' => array(
111
  'tutorials' => array(
@@ -163,6 +169,39 @@ class SP_Modules {
163
  ),
164
  ));
165
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
166
  if ( is_multisite() ) {
167
  $this->data['other']['multisite'] = array(
168
  'label' => __( 'Multisite', 'sportspress' ),
5
  * The SportsPress modules class stores available modules.
6
  *
7
  * @class SP_Modules
8
+ * @version 2.5
9
  * @package SportsPress/Classes
10
  * @category Class
11
  * @author ThemeBoy
106
  'link' => 'https://www.themeboy.com/sportspress-extensions/directories/',
107
  'desc' => __( 'Organize and display staff in list and gallery layouts.', 'sportspress' ),
108
  ),
109
+ 'officials' => array(
110
+ 'label' => __( 'Officials', 'sportspress' ),
111
+ 'icon' => 'sp-icon-whistle',
112
+ 'desc' => __( 'Manage referees, umpires, judges, timekeepers, and other officials.', 'sportspress' ),
113
+ 'default' => 'no',
114
+ ),
115
  ),
116
  'admin' => array(
117
  'tutorials' => array(
169
  ),
170
  ));
171
 
172
+ if ( class_exists( 'BuddyPress' ) ) {
173
+ $this->data['other']['buddypress'] = array(
174
+ 'label' => __( 'BuddyPress', 'sportspress' ),
175
+ 'class' => 'BP_SportsPress_Component',
176
+ 'icon' => 'sp-icon-buddypress',
177
+ 'link' => 'https://www.themeboy.com/sportspress-extensions/buddypress/',
178
+ 'desc' => __( 'Easily display SportsPress player information in BuddyPress profiles.', 'sportspress' ),
179
+ 'tip' => __( 'Premium', 'sportspress' ),
180
+ );
181
+ }
182
+
183
+ if ( class_exists( 'WooCommerce' ) ) {
184
+ $this->data['other']['woocommerce'] = array(
185
+ 'label' => __( 'WooCommerce', 'sportspress' ),
186
+ 'class' => 'WooCommerce_SportsPress',
187
+ 'icon' => 'sp-icon-woo',
188
+ 'link' => 'https://www.themeboy.com/sportspress-extensions/woocommerce/',
189
+ 'desc' => __( 'Sell team merchandise by integrating WooCommerce with SportsPress.', 'sportspress' ),
190
+ 'tip' => __( 'Premium', 'sportspress' ),
191
+ );
192
+ }
193
+
194
+ if ( defined( 'WPSEO_FILE' ) ) {
195
+ $this->data['other']['yoast_seo'] = array(
196
+ 'label' => __( 'Yoast SEO', 'sportspress' ),
197
+ 'class' => 'Yoast_SEO_SportsPress',
198
+ 'icon' => 'sp-icon-yoast',
199
+ 'link' => 'https://www.themeboy.com/sportspress-extensions/yoast-seo/',
200
+ 'desc' => __( 'Generate custom titles for SportsPress pages using Yoast SEO.', 'sportspress' ),
201
+ 'tip' => __( 'Free', 'sportspress' ),
202
+ );
203
+ }
204
+
205
  if ( is_multisite() ) {
206
  $this->data['other']['multisite'] = array(
207
  'label' => __( 'Multisite', 'sportspress' ),
includes/class-sp-player-list.php CHANGED
@@ -5,12 +5,12 @@
5
  * The SportsPress player list class handles individual player list data.
6
  *
7
  * @class SP_Player_List
8
- * @version 2.3.2
9
  * @package SportsPress/Classes
10
  * @category Class
11
  * @author ThemeBoy
12
  */
13
- class SP_Player_List extends SP_Custom_Post {
14
 
15
  /** @var array The columns array. */
16
  public $columns;
@@ -44,14 +44,37 @@ class SP_Player_List extends SP_Custom_Post {
44
  $list_stats = (array)get_post_meta( $this->ID, 'sp_players', true );
45
  $adjustments = get_post_meta( $this->ID, 'sp_adjustments', true );
46
  $orderby = get_post_meta( $this->ID, 'sp_orderby', true );
 
47
  $order = get_post_meta( $this->ID, 'sp_order', true );
48
  $select = get_post_meta( $this->ID, 'sp_select', true );
49
 
 
 
 
 
 
50
  // Apply defaults
51
  if ( empty( $orderby ) ) $orderby = 'number';
52
  if ( empty( $order ) ) $order = 'ASC';
53
  if ( empty( $select ) ) $select = 'auto';
54
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
  // Get labels from performance variables
56
  $performance_labels = (array)sp_get_var_labels( 'sp_performance' );
57
 
@@ -140,13 +163,6 @@ class SP_Player_List extends SP_Custom_Post {
140
  // Initialize columns
141
  $columns = array();
142
 
143
- // Initialize streaks counter
144
- $streaks = array();
145
-
146
- // Initialize last counters
147
- $last5s = array();
148
- $last10s = array();
149
-
150
  $args = array(
151
  'post_type' => array( 'sp_performance', 'sp_metric', 'sp_statistic' ),
152
  'numberposts' => -1,
@@ -230,21 +246,8 @@ class SP_Player_List extends SP_Custom_Post {
230
  if ( ! $player_id )
231
  continue;
232
 
233
- // Initialize player streaks counter
234
- $streaks[ $player_id ] = array( 'name' => '', 'count' => 0, 'fire' => 1 );
235
-
236
- // Initialize player last counters
237
- $last5s[ $player_id ] = array();
238
- $last10s[ $player_id ] = array();
239
-
240
- // Add outcome types to player last counters
241
- foreach( $outcome_labels as $key => $value ):
242
- $last5s[ $player_id ][ $key ] = 0;
243
- $last10s[ $player_id ][ $key ] = 0;
244
- endforeach;
245
-
246
  // Initialize player totals
247
- $totals[ $player_id ] = array( 'eventsattended' => 0, 'eventsplayed' => 0, 'eventsstarted' => 0, 'eventssubbed' => 0, 'eventminutes' => 0, 'streak' => 0 );
248
 
249
  foreach ( $performance_labels as $key => $value ):
250
  $totals[ $player_id ][ $key ] = 0;
@@ -328,10 +331,31 @@ class SP_Player_List extends SP_Custom_Post {
328
  );
329
  endif;
330
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
331
  $args = apply_filters( 'sportspress_list_data_event_args', $args );
332
 
333
  $events = get_posts( $args );
334
 
 
 
 
 
335
  // Event loop
336
  foreach ( $events as $i => $event ):
337
  $results = (array)get_post_meta( $event->ID, 'sp_results', true );
@@ -368,24 +392,6 @@ class SP_Player_List extends SP_Custom_Post {
368
  if ( array_key_exists( $outcome, $totals[ $player_id ] ) ):
369
  $totals[ $player_id ][ $outcome ] ++;
370
  endif;
371
-
372
- // Add to streak counter
373
- if ( $streaks[ $player_id ]['fire'] && ( $streaks[ $player_id ]['name'] == '' || $streaks[ $player_id ]['name'] == $outcome ) ):
374
- $streaks[ $player_id ]['name'] = $outcome;
375
- $streaks[ $player_id ]['count'] ++;
376
- else:
377
- $streaks[ $player_id ]['fire'] = 0;
378
- endif;
379
-
380
- // Add to last 5 counter if sum is less than 5
381
- if ( array_key_exists( $player_id, $last5s ) && array_key_exists( $outcome, $last5s[ $player_id ] ) && array_sum( $last5s[ $player_id ] ) < 5 ):
382
- $last5s[ $player_id ][ $outcome ] ++;
383
- endif;
384
-
385
- // Add to last 10 counter if sum is less than 10
386
- if ( array_key_exists( $player_id, $last10s ) && array_key_exists( $outcome, $last10s[ $player_id ] ) && array_sum( $last10s[ $player_id ] ) < 10 ):
387
- $last10s[ $player_id ][ $outcome ] ++;
388
- endif;
389
  endif;
390
  endforeach;
391
  elseif ( array_key_exists( $key, $totals[ $player_id ] ) ):
@@ -491,24 +497,6 @@ class SP_Player_List extends SP_Custom_Post {
491
  if ( array_key_exists( $outcome, $totals[ $player_id ] ) ):
492
  $totals[ $player_id ][ $outcome ] ++;
493
  endif;
494
-
495
- // Add to streak counter
496
- if ( $streaks[ $player_id ]['fire'] && ( $streaks[ $player_id ]['name'] == '' || $streaks[ $player_id ]['name'] == $outcome ) ):
497
- $streaks[ $player_id ]['name'] = $outcome;
498
- $streaks[ $player_id ]['count'] ++;
499
- else:
500
- $streaks[ $player_id ]['fire'] = 0;
501
- endif;
502
-
503
- // Add to last 5 counter if sum is less than 5
504
- if ( array_key_exists( $player_id, $last5s ) && array_key_exists( $outcome, $last5s[ $player_id ] ) && array_sum( $last5s[ $player_id ] ) < 5 ):
505
- $last5s[ $player_id ][ $outcome ] ++;
506
- endif;
507
-
508
- // Add to last 10 counter if sum is less than 10
509
- if ( array_key_exists( $player_id, $last10s ) && array_key_exists( $outcome, $last10s[ $player_id ] ) && array_sum( $last10s[ $player_id ] ) < 10 ):
510
- $last10s[ $player_id ][ $outcome ] ++;
511
- endif;
512
  endif;
513
  endforeach;
514
  endif;
@@ -547,40 +535,6 @@ class SP_Player_List extends SP_Custom_Post {
547
  $i++;
548
  endforeach;
549
 
550
- foreach ( $streaks as $player_id => $streak ):
551
- // Compile streaks counter and add to totals
552
- if ( $streak['name'] ):
553
- $args = array(
554
- 'name' => $streak['name'],
555
- 'post_type' => 'sp_outcome',
556
- 'post_status' => 'publish',
557
- 'posts_per_page' => 1
558
- );
559
- $outcomes = get_posts( $args );
560
-
561
- if ( $outcomes ):
562
- $outcome = reset( $outcomes );
563
- $abbreviation = sp_get_abbreviation( $outcome->ID );
564
- if ( empty( $abbreviation ) ) $abbreviation = strtoupper( substr( $outcome->post_title, 0, 1 ) );
565
- $totals[ $player_id ]['streak'] = $abbreviation . $streak['count'];
566
- else:
567
- $totals[ $player_id ]['streak'] = null;
568
- endif;
569
- else:
570
- $totals[ $player_id ]['streak'] = null;
571
- endif;
572
- endforeach;
573
-
574
- foreach ( $last5s as $player_id => $last5 ):
575
- // Add last 5 to totals
576
- $totals[ $player_id ]['last5'] = $last5;
577
- endforeach;
578
-
579
- foreach ( $last10s as $player_id => $last10 ):
580
- // Add last 10 to totals
581
- $totals[ $player_id ]['last10'] = $last10;
582
- endforeach;
583
-
584
  // Fill in empty placeholder values for each player
585
  foreach ( $player_ids as $player_id ):
586
  if ( ! $player_id )
@@ -607,7 +561,7 @@ class SP_Player_List extends SP_Custom_Post {
607
  // Apply adjustment
608
  if ( $adjustment != 0 ):
609
  $placeholder += $adjustment;
610
- $placeholder = number_format( $placeholder, $stat->precision, '.', '' );
611
  endif;
612
  endif;
613
 
@@ -672,7 +626,13 @@ class SP_Player_List extends SP_Custom_Post {
672
 
673
  // Rearrange data array to reflect values
674
  foreach( $merged as $key => $value ):
675
- $data[ $key ] = $tempdata[ $key ];
 
 
 
 
 
 
676
  endforeach;
677
 
678
  if ( $admin ):
5
  * The SportsPress player list class handles individual player list data.
6
  *
7
  * @class SP_Player_List
8
+ * @version 2.5.5
9
  * @package SportsPress/Classes
10
  * @category Class
11
  * @author ThemeBoy
12
  */
13
+ class SP_Player_List extends SP_Secondary_Post {
14
 
15
  /** @var array The columns array. */
16
  public $columns;
44
  $list_stats = (array)get_post_meta( $this->ID, 'sp_players', true );
45
  $adjustments = get_post_meta( $this->ID, 'sp_adjustments', true );
46
  $orderby = get_post_meta( $this->ID, 'sp_orderby', true );
47
+ $crop = get_post_meta( $this->ID, 'sp_crop', true );
48
  $order = get_post_meta( $this->ID, 'sp_order', true );
49
  $select = get_post_meta( $this->ID, 'sp_select', true );
50
 
51
+ $this->date = $this->__get( 'date' );
52
+
53
+ if ( ! $this->date )
54
+ $this->date = 0;
55
+
56
  // Apply defaults
57
  if ( empty( $orderby ) ) $orderby = 'number';
58
  if ( empty( $order ) ) $order = 'ASC';
59
  if ( empty( $select ) ) $select = 'auto';
60
 
61
+ if ( 'range' == $this->date ) {
62
+
63
+ $this->relative = get_post_meta( $this->ID, 'sp_date_relative', true );
64
+
65
+ if ( $this->relative ) {
66
+
67
+ $this->past = get_post_meta( $this->ID, 'sp_date_past', true );
68
+
69
+ } else {
70
+
71
+ $this->from = get_post_meta( $this->ID, 'sp_date_from', true );
72
+ $this->to = get_post_meta( $this->ID, 'sp_date_to', true );
73
+
74
+ }
75
+
76
+ }
77
+
78
  // Get labels from performance variables
79
  $performance_labels = (array)sp_get_var_labels( 'sp_performance' );
80
 
163
  // Initialize columns
164
  $columns = array();
165
 
 
 
 
 
 
 
 
166
  $args = array(
167
  'post_type' => array( 'sp_performance', 'sp_metric', 'sp_statistic' ),
168
  'numberposts' => -1,
246
  if ( ! $player_id )
247
  continue;
248
 
 
 
 
 
 
 
 
 
 
 
 
 
 
249
  // Initialize player totals
250
+ $totals[ $player_id ] = array( 'eventsattended' => 0, 'eventsplayed' => 0, 'eventsstarted' => 0, 'eventssubbed' => 0, 'eventminutes' => 0 );
251
 
252
  foreach ( $performance_labels as $key => $value ):
253
  $totals[ $player_id ][ $key ] = 0;
331
  );
332
  endif;
333
 
334
+ if ( $this->date !== 0 ):
335
+ if ( $this->date == 'w' ):
336
+ $args['year'] = date_i18n('Y');
337
+ $args['w'] = date_i18n('W');
338
+ elseif ( $this->date == 'day' ):
339
+ $args['year'] = date_i18n('Y');
340
+ $args['day'] = date_i18n('j');
341
+ $args['monthnum'] = date_i18n('n');
342
+ elseif ( $this->date == 'range' ):
343
+ if ( $this->relative ):
344
+ add_filter( 'posts_where', array( $this, 'relative' ) );
345
+ else:
346
+ add_filter( 'posts_where', array( $this, 'range' ) );
347
+ endif;
348
+ endif;
349
+ endif;
350
+
351
  $args = apply_filters( 'sportspress_list_data_event_args', $args );
352
 
353
  $events = get_posts( $args );
354
 
355
+ // Remove range filters
356
+ remove_filter( 'posts_where', array( $this, 'range' ) );
357
+ remove_filter( 'posts_where', array( $this, 'relative' ) );
358
+
359
  // Event loop
360
  foreach ( $events as $i => $event ):
361
  $results = (array)get_post_meta( $event->ID, 'sp_results', true );
392
  if ( array_key_exists( $outcome, $totals[ $player_id ] ) ):
393
  $totals[ $player_id ][ $outcome ] ++;
394
  endif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
395
  endif;
396
  endforeach;
397
  elseif ( array_key_exists( $key, $totals[ $player_id ] ) ):
497
  if ( array_key_exists( $outcome, $totals[ $player_id ] ) ):
498
  $totals[ $player_id ][ $outcome ] ++;
499
  endif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
500
  endif;
501
  endforeach;
502
  endif;
535
  $i++;
536
  endforeach;
537
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
538
  // Fill in empty placeholder values for each player
539
  foreach ( $player_ids as $player_id ):
540
  if ( ! $player_id )
561
  // Apply adjustment
562
  if ( $adjustment != 0 ):
563
  $placeholder += $adjustment;
564
+ $placeholder = number_format( $placeholder, $stat->precision ? $stat->precision : 0, '.', '' );
565
  endif;
566
  endif;
567
 
626
 
627
  // Rearrange data array to reflect values
628
  foreach( $merged as $key => $value ):
629
+ if ( $crop && ! sp_array_value( $value, $orderby, 0 ) ) {
630
+ // Crop
631
+ unset( $merged[ $key ] );
632
+ } else {
633
+ // Add to main data array
634
+ $data[ $key ] = $tempdata[ $key ];
635
+ }
636
  endforeach;
637
 
638
  if ( $admin ):
includes/class-sp-player.php CHANGED
@@ -5,7 +5,7 @@
5
  * The SportsPress player class handles individual player data.
6
  *
7
  * @class SP_Player
8
- * @version 2.4
9
  * @package SportsPress/Classes
10
  * @category Class
11
  * @author ThemeBoy
@@ -739,7 +739,7 @@ class SP_Player extends SP_Custom_Post {
739
  }
740
 
741
  /**
742
- * Returns formatted data for all competitions
743
  *
744
  * @access public
745
  * @param int $league_id
5
  * The SportsPress player class handles individual player data.
6
  *
7
  * @class SP_Player
8
+ * @version 2.5
9
  * @package SportsPress/Classes
10
  * @category Class
11
  * @author ThemeBoy
739
  }
740
 
741
  /**
742
+ * Returns formatted data for all leagues
743
  *
744
  * @access public
745
  * @param int $league_id
includes/class-sp-post-types.php CHANGED
@@ -9,7 +9,7 @@ if ( ! defined( 'ABSPATH' ) ) {
9
  * Registers post types and taxonomies
10
  *
11
  * @class SP_Post_types
12
- * @version 2.2
13
  * @package SportsPress/Classes
14
  * @category Class
15
  * @author ThemeBoy
@@ -36,10 +36,10 @@ class SP_Post_types {
36
 
37
  if ( apply_filters( 'sportspress_has_leagues', true ) ):
38
  $labels = array(
39
- 'name' => __( 'Competitions', 'sportspress' ),
40
- 'singular_name' => __( 'Competition', 'sportspress' ),
41
  'all_items' => __( 'All', 'sportspress' ),
42
- 'edit_item' => __( 'Edit Competition', 'sportspress' ),
43
  'view_item' => __( 'View', 'sportspress' ),
44
  'update_item' => __( 'Update', 'sportspress' ),
45
  'add_new_item' => __( 'Add New', 'sportspress' ),
@@ -50,7 +50,7 @@ class SP_Post_types {
50
  'not_found' => __( 'No results found.', 'sportspress' ),
51
  );
52
  $args = apply_filters( 'sportspress_register_taxonomy_league', array(
53
- 'label' => __( 'Competitions', 'sportspress' ),
54
  'labels' => $labels,
55
  'public' => true,
56
  'show_ui' => $show,
@@ -512,7 +512,7 @@ class SP_Post_types {
512
  'show_in_nav_menus' => true,
513
  'menu_icon' => 'dashicons-groups',
514
  'show_in_rest' => true,
515
- 'rest_controller_class' => 'SP_REST_Posts_Controller',
516
  'rest_base' => 'players',
517
  )
518
  )
9
  * Registers post types and taxonomies
10
  *
11
  * @class SP_Post_types
12
+ * @version 2.5.5
13
  * @package SportsPress/Classes
14
  * @category Class
15
  * @author ThemeBoy
36
 
37
  if ( apply_filters( 'sportspress_has_leagues', true ) ):
38
  $labels = array(
39
+ 'name' => __( 'Leagues', 'sportspress' ),
40
+ 'singular_name' => __( 'League', 'sportspress' ),
41
  'all_items' => __( 'All', 'sportspress' ),
42
+ 'edit_item' => __( 'Edit League', 'sportspress' ),
43
  'view_item' => __( 'View', 'sportspress' ),
44
  'update_item' => __( 'Update', 'sportspress' ),
45
  'add_new_item' => __( 'Add New', 'sportspress' ),
50
  'not_found' => __( 'No results found.', 'sportspress' ),
51
  );
52
  $args = apply_filters( 'sportspress_register_taxonomy_league', array(
53
+ 'label' => __( 'Leagues', 'sportspress' ),
54
  'labels' => $labels,
55
  'public' => true,
56
  'show_ui' => $show,
512
  'show_in_nav_menus' => true,
513
  'menu_icon' => 'dashicons-groups',
514
  'show_in_rest' => true,
515
+ 'rest_controller_class' => 'SP_REST_Players_Controller',
516
  'rest_base' => 'players',
517
  )
518
  )
includes/class-sp-shortcodes.php CHANGED
@@ -3,7 +3,7 @@
3
  * SP_Shortcodes class.
4
  *
5
  * @class SP_Shortcodes
6
- * @version 2.4
7
  * @package SportsPress/Classes
8
  * @category Class
9
  * @author ThemeBoy
@@ -23,6 +23,7 @@ class SP_Shortcodes {
23
  'player_details' => __CLASS__ . '::player_details',
24
  'player_statistics' => __CLASS__ . '::player_statistics',
25
  'staff' => __CLASS__ . '::staff',
 
26
  'event_calendar' => __CLASS__ . '::event_calendar',
27
  'event_list' => __CLASS__ . '::event_list',
28
  'event_blocks' => __CLASS__ . '::event_blocks',
@@ -232,4 +233,15 @@ class SP_Shortcodes {
232
  public static function staff( $atts ) {
233
  return self::shortcode_wrapper( array( 'SP_Shortcode_Staff', 'output' ), $atts );
234
  }
 
 
 
 
 
 
 
 
 
 
 
235
  }
3
  * SP_Shortcodes class.
4
  *
5
  * @class SP_Shortcodes
6
+ * @version 2.5.5
7
  * @package SportsPress/Classes
8
  * @category Class
9
  * @author ThemeBoy
23
  'player_details' => __CLASS__ . '::player_details',
24
  'player_statistics' => __CLASS__ . '::player_statistics',
25
  'staff' => __CLASS__ . '::staff',
26
+ 'staff_profile' => __CLASS__ . '::staff_profile',
27
  'event_calendar' => __CLASS__ . '::event_calendar',
28
  'event_list' => __CLASS__ . '::event_list',
29
  'event_blocks' => __CLASS__ . '::event_blocks',
233
  public static function staff( $atts ) {
234
  return self::shortcode_wrapper( array( 'SP_Shortcode_Staff', 'output' ), $atts );
235
  }
236
+
237
+ /**
238
+ * Staff profile shortcode.
239
+ *
240
+ * @access public
241
+ * @param mixed $atts
242
+ * @return string
243
+ */
244
+ public static function staff_profile( $atts ) {
245
+ return self::shortcode_wrapper( array( 'SP_Shortcode_Staff_Profile', 'output' ), $atts );
246
+ }
247
  }
includes/class-sp-staff.php CHANGED
@@ -5,7 +5,7 @@
5
  * The SportsPress staff class handles individual staff data.
6
  *
7
  * @class SP_Staff
8
- * @version 1.8.9
9
  * @package SportsPress/Classes
10
  * @category Class
11
  * @author ThemeBoy
@@ -49,11 +49,52 @@ class SP_Staff extends SP_Custom_Post {
49
  * @return array
50
  */
51
  public function role() {
52
- $roles = get_the_terms( $this->ID, 'sp_role' );
53
  if ( $roles && ! is_wp_error( $roles ) ):
54
  return array_shift( $roles );
55
  else:
56
  return false;
57
  endif;
58
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  }
5
  * The SportsPress staff class handles individual staff data.
6
  *
7
  * @class SP_Staff
8
+ * @version 2.5.1
9
  * @package SportsPress/Classes
10
  * @category Class
11
  * @author ThemeBoy
49
  * @return array
50
  */
51
  public function role() {
52
+ $roles = $this->get_roles();
53
  if ( $roles && ! is_wp_error( $roles ) ):
54
  return array_shift( $roles );
55
  else:
56
  return false;
57
  endif;
58
  }
59
+
60
+ /**
61
+ * Returns roles
62
+ *
63
+ * @access public
64
+ * @return array
65
+ */
66
+ public function roles() {
67
+ $roles = $this->get_roles();
68
+ if ( $roles && ! is_wp_error( $roles ) ):
69
+ return (array) $roles;
70
+ else:
71
+ return array();
72
+ endif;
73
+ }
74
+
75
+ public function get_roles() {
76
+ $roles = get_the_terms( $this->ID, 'sp_role' );
77
+
78
+ if ( ! is_array( $roles ) || ! sizeof( $roles ) ) return array();
79
+
80
+ $include = wp_list_pluck( $roles, 'term_id' );
81
+
82
+ return get_terms( array(
83
+ 'taxonomy' => 'sp_role',
84
+ 'hide_empty' => false,
85
+ 'orderby' => 'meta_value_num',
86
+ 'include' => $include,
87
+ 'meta_query' => array(
88
+ 'relation' => 'OR',
89
+ array(
90
+ 'key' => 'sp_order',
91
+ 'compare' => 'NOT EXISTS'
92
+ ),
93
+ array(
94
+ 'key' => 'sp_order',
95
+ 'compare' => 'EXISTS'
96
+ ),
97
+ ),
98
+ ) );
99
+ }
100
  }
includes/libraries/class-phpstack.php CHANGED
@@ -7,7 +7,7 @@
7
  * PHP functions `array_pop()`, `array_push()`, and `end()`
8
  *
9
  * @author Jon Lawrence <jlawrence11@gmail.com>
10
- * @copyright Copyright 2005-2013 Jon Lawrence
11
  * @license http://opensource.org/licenses/LGPL-2.1 LGPL 2.1 License
12
  * @package eos.class.php
13
  * @version 2.0
7
  * PHP functions `array_pop()`, `array_push()`, and `end()`
8
  *
9
  * @author Jon Lawrence <jlawrence11@gmail.com>
10
+ * @copyright Copyright ©2005-2013 Jon Lawrence
11
  * @license http://opensource.org/licenses/LGPL-2.1 LGPL 2.1 License
12
  * @package eos.class.php
13
  * @version 2.0
includes/shortcodes/class-sp-shortcode-staff-profile.php ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Staff Profile Shortcode
4
+ *
5
+ * @author ThemeBoy
6
+ * @category Shortcodes
7
+ * @package SportsPress/Shortcodes/Staff
8
+ * @version 2.5.5
9
+ */
10
+ class SP_Shortcode_Staff_Profile {
11
+
12
+ /**
13
+ * Output the staff shortcode.
14
+ *
15
+ * @param array $atts
16
+ */
17
+ public static function output( $atts ) {
18
+
19
+ if ( ! isset( $atts['id'] ) && isset( $atts[0] ) && is_numeric( $atts[0] ) )
20
+ $atts['id'] = $atts[0];
21
+
22
+ sp_get_template( 'staff-header.php', $atts );
23
+ sp_get_template( 'staff-photo.php', $atts );
24
+ sp_get_template( 'staff-details.php', $atts );
25
+ sp_get_template( 'staff-excerpt.php', $atts );
26
+ sp_get_template( 'staff-content.php', $atts );
27
+ }
28
+ }
includes/shortcodes/class-sp-shortcode-staff.php CHANGED
@@ -5,7 +5,7 @@
5
  * @author ThemeBoy
6
  * @category Shortcodes
7
  * @package SportsPress/Shortcodes/Staff
8
- * @version 1.4.7
9
  */
10
  class SP_Shortcode_Staff {
11
 
@@ -19,7 +19,7 @@ class SP_Shortcode_Staff {
19
  if ( ! isset( $atts['id'] ) && isset( $atts[0] ) && is_numeric( $atts[0] ) )
20
  $atts['id'] = $atts[0];
21
 
22
- sp_get_template( 'staff-photo.php', $atts );
23
  sp_get_template( 'staff-details.php', $atts );
24
  }
25
  }
5
  * @author ThemeBoy
6
  * @category Shortcodes
7
  * @package SportsPress/Shortcodes/Staff
8
+ * @version 2.5.5
9
  */
10
  class SP_Shortcode_Staff {
11
 
19
  if ( ! isset( $atts['id'] ) && isset( $atts[0] ) && is_numeric( $atts[0] ) )
20
  $atts['id'] = $atts[0];
21
 
22
+ sp_get_template( 'staff-photo.php', $atts );
23
  sp_get_template( 'staff-details.php', $atts );
24
  }
25
  }
includes/sp-api-functions.php CHANGED
@@ -7,7 +7,7 @@
7
  * @author ThemeBoy
8
  * @category Core
9
  * @package SportsPress/Functions
10
- * @version 2.2.4
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -344,12 +344,27 @@ function sp_get_player_number( $post = 0 ) {
344
  return get_post_meta( $post, 'sp_number', true );
345
  }
346
 
 
 
 
 
347
  function sp_get_player_name_with_number( $post = 0, $prepend = '', $append = '. ' ) {
 
348
  $number = sp_get_player_number( $post );
349
  if ( isset( $number ) && '' !== $number ) {
350
- return $prepend . $number . $append . get_the_title( $post );
351
  } else {
352
- return get_the_title( $post );
 
 
 
 
 
 
 
 
 
 
353
  }
354
  }
355
 
@@ -413,4 +428,4 @@ function sp_get_position_caption( $term = 0 ) {
413
  return $term->name;
414
  }
415
 
416
- }
7
  * @author ThemeBoy
8
  * @category Core
9
  * @package SportsPress/Functions
10
+ * @version 2.5.5
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
344
  return get_post_meta( $post, 'sp_number', true );
345
  }
346
 
347
+ function sp_get_player_name( $post = 0 ) {
348
+ return apply_filters( 'sportspress_player_name', get_the_title( $post ), $post );
349
+ }
350
+
351
  function sp_get_player_name_with_number( $post = 0, $prepend = '', $append = '. ' ) {
352
+ $name = sp_get_player_name( $post );
353
  $number = sp_get_player_number( $post );
354
  if ( isset( $number ) && '' !== $number ) {
355
+ return apply_filters( 'sportspress_player_name_with_number', $prepend . $number . $append . $name, $post );
356
  } else {
357
+ return $name;
358
+ }
359
+ }
360
+
361
+ function sp_get_player_name_then_number( $post = 0, $prepend = ' (', $append = ')' ) {
362
+ $name = sp_get_player_name( $post );
363
+ $number = sp_get_player_number( $post );
364
+ if ( isset( $number ) && '' !== $number ) {
365
+ return apply_filters( 'sportspress_player_name_then_number', $name . $prepend . $number . $append, $post );
366
+ } else {
367
+ return $name;
368
  }
369
  }
370
 
428
  return $term->name;
429
  }
430
 
431
+ }
includes/sp-conditional-functions.php CHANGED
@@ -7,7 +7,7 @@
7
  * @author ThemeBoy
8
  * @category Core
9
  * @package SportsPress/Functions
10
- * @version 2.0
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -58,6 +58,18 @@ if ( ! function_exists( 'sp_secondary_post_types' ) ) {
58
  }
59
  }
60
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  /**
62
  * sp_config_types - Returns array of SP config types
63
  *
7
  * @author ThemeBoy
8
  * @category Core
9
  * @package SportsPress/Functions
10
+ * @version 2.5.1
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
58
  }
59
  }
60
 
61
+ /**
62
+ * sp_importable_post_types - Returns array of SP post types with importers
63
+ *
64
+ * @access public
65
+ * @return array
66
+ */
67
+ if ( ! function_exists( 'sp_importable_post_types' ) ) {
68
+ function sp_importable_post_types() {
69
+ return apply_filters( 'sportspress_importable_post_types', array( 'sp_event', 'sp_team', 'sp_player', 'sp_staff' ) );
70
+ }
71
+ }
72
+
73
  /**
74
  * sp_config_types - Returns array of SP config types
75
  *
includes/sp-core-functions.php CHANGED
@@ -7,7 +7,7 @@
7
  * @author ThemeBoy
8
  * @category Core
9
  * @package SportsPress/Functions
10
- * @version 2.3.1
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -123,6 +123,33 @@ function sp_locate_template( $template_name, $template_path = '', $default_path
123
  return apply_filters('sportspress_locate_template', $template, $template_name, $template_path);
124
  }
125
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
126
  /* deprecated functions below */
127
 
128
  if( !function_exists( 'date_diff' ) ) {
@@ -228,7 +255,7 @@ if ( !function_exists( 'sp_flush_rewrite_rules' ) ) {
228
  if ( !function_exists( 'sp_add_link' ) ) {
229
  function sp_add_link( $string, $link = false, $active = true ) {
230
  if ( empty( $link ) || ! $active ) return $string;
231
- return '<a href="' . $link . '">' . $string . '</a>';
232
  }
233
  }
234
 
@@ -329,11 +356,15 @@ if ( !function_exists( 'sp_get_the_term_id' ) ) {
329
  if ( !function_exists( 'sp_get_the_term_ids' ) ) {
330
  function sp_get_the_term_ids( $post_id, $taxonomy ) {
331
  $terms = get_the_terms( $post_id, $taxonomy );
332
- if ( is_array( $terms ) && sizeof( $terms ) > 0 ):
333
- return wp_list_pluck( $terms, 'term_id' );
334
- else:
335
- return array();
336
- endif;
 
 
 
 
337
  }
338
  }
339
 
@@ -352,6 +383,27 @@ if ( !function_exists( 'sp_get_the_term_id_or_meta' ) ) {
352
  }
353
  }
354
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
355
  if ( !function_exists( 'sp_get_url' ) ) {
356
  function sp_get_url( $post_id ) {
357
  $url = get_post_meta( $post_id, 'sp_url', true );
@@ -615,8 +667,12 @@ if ( !function_exists( 'sp_dropdown_dates' ) ) {
615
 
616
  $dates = apply_filters( 'sportspress_dates', array(
617
  0 => __( 'All', 'sportspress' ),
618
- 'w' => __( 'This week', 'sportspress' ),
619
  'day' => __( 'Today', 'sportspress' ),
 
 
 
 
620
  'range' => __( 'Date range:', 'sportspress' ),
621
  ));
622
 
@@ -634,6 +690,7 @@ if ( !function_exists( 'sp_dropdown_taxonomies' ) ) {
634
  'show_option_blank' => false,
635
  'show_option_all' => false,
636
  'show_option_none' => false,
 
637
  'taxonomy' => null,
638
  'name' => null,
639
  'id' => null,
@@ -690,6 +747,15 @@ if ( !function_exists( 'sp_dropdown_taxonomies' ) ) {
690
  endif;
691
  endif;
692
 
 
 
 
 
 
 
 
 
 
693
  foreach ( $terms as $term ):
694
 
695
  if ( $args['values'] == 'term_id' ):
@@ -1132,14 +1198,14 @@ if ( !function_exists( 'sp_get_var_equations' ) ) {
1132
  }
1133
 
1134
  if ( !function_exists( 'sp_post_adder' ) ) {
1135
- function sp_post_adder( $post_type = 'post', $label = null ) {
1136
  $obj = get_post_type_object( $post_type );
1137
  if ( $label == null )
1138
  $label = __( 'Add New', 'sportspress' );
1139
  ?>
1140
  <div id="<?php echo $post_type; ?>-adder">
1141
  <h4>
1142
- <a title="<?php echo esc_attr( $label ); ?>" href="<?php echo admin_url( 'post-new.php?post_type=' . $post_type ); ?>" target="_blank">
1143
  + <?php echo $label; ?>
1144
  </a>
1145
  </h4>
@@ -1406,7 +1472,24 @@ if ( !function_exists( 'sp_taxonomy_field' ) ) {
1406
  $term_ids[] = $term->term_id;
1407
  endforeach;
1408
  endif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1409
  $args = array(
 
1410
  'taxonomy' => $taxonomy,
1411
  'name' => 'tax_input[' . $taxonomy . '][]',
1412
  'selected' => $term_ids,
@@ -1440,7 +1523,6 @@ function sp_get_text_options() {
1440
  __( 'Box Score', 'sportspress' ),
1441
  __( 'Canceled', 'sportspress' ),
1442
  __( 'Career Total', 'sportspress' ),
1443
- __( 'Competition', 'sportspress' ),
1444
  __( 'Current Team', 'sportspress' ),
1445
  __( 'Date', 'sportspress' ),
1446
  __( 'Defense', 'sportspress' ),
@@ -1451,6 +1533,7 @@ function sp_get_text_options() {
1451
  __( 'Fixtures', 'sportspress' ),
1452
  __( 'Full Time', 'sportspress' ),
1453
  __( 'Home', 'sportspress' ),
 
1454
  __( 'League Table', 'sportspress' ),
1455
  __( 'Match Day', 'sportspress' ),
1456
  __( 'Nationality', 'sportspress' ),
@@ -1459,6 +1542,7 @@ function sp_get_text_options() {
1459
  __( 'Past Teams', 'sportspress' ),
1460
  __( 'Photo', 'sportspress' ),
1461
  __( 'Player', 'sportspress' ),
 
1462
  __( 'Players', 'sportspress' ),
1463
  __( 'Pos', 'sportspress' ),
1464
  __( 'Position', 'sportspress' ),
7
  * @author ThemeBoy
8
  * @category Core
9
  * @package SportsPress/Functions
10
+ * @version 2.5.5
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
123
  return apply_filters('sportspress_locate_template', $template, $template_name, $template_path);
124
  }
125
 
126
+ /**
127
+ * Get the timezone string.
128
+ *
129
+ * @access public
130
+ * @return string
131
+ */
132
+ function sp_get_timezone() {
133
+ $tzstring = get_option( 'timezone_string' );
134
+
135
+ // Remove old Etc mappings. Fallback to gmt_offset.
136
+ if ( false !== strpos( $tzstring, 'Etc/GMT' ) )
137
+ $tzstring = '';
138
+
139
+ if ( empty( $tzstring ) ) { // Create a UTC+- zone if no timezone string exists
140
+ $current_offset = get_option( 'gmt_offset' );
141
+
142
+ if ( 0 == $current_offset )
143
+ $tzstring = 'UTC+0';
144
+ elseif ( $current_offset < 0 )
145
+ $tzstring = 'UTC' . $current_offset;
146
+ else
147
+ $tzstring = 'UTC+' . $current_offset;
148
+ }
149
+
150
+ return $tzstring;
151
+ }
152
+
153
  /* deprecated functions below */
154
 
155
  if( !function_exists( 'date_diff' ) ) {
255
  if ( !function_exists( 'sp_add_link' ) ) {
256
  function sp_add_link( $string, $link = false, $active = true ) {
257
  if ( empty( $link ) || ! $active ) return $string;
258
+ return '<a href="' . $link . '" itemprop="url" content="' . $link . '">' . $string . '</a>';
259
  }
260
  }
261
 
356
  if ( !function_exists( 'sp_get_the_term_ids' ) ) {
357
  function sp_get_the_term_ids( $post_id, $taxonomy ) {
358
  $terms = get_the_terms( $post_id, $taxonomy );
359
+ $term_ids = array();
360
+
361
+ if ( is_array( $terms ) && sizeof( $terms ) > 0 ) {
362
+ $term_ids = wp_list_pluck( $terms, 'term_id' );
363
+ }
364
+
365
+ $term_ids = sp_add_auto_term( $term_ids, $post_id, $taxonomy );
366
+
367
+ return $term_ids;
368
  }
369
  }
370
 
383
  }
384
  }
385
 
386
+ if ( !function_exists( 'sp_add_auto_term' ) ) {
387
+ function sp_add_auto_term( $term_ids, $post_id, $taxonomy ) {
388
+ switch ( $taxonomy ) {
389
+ case 'sp_league':
390
+ if ( get_post_meta( $post_id, 'sp_main_league', true ) ) {
391
+ $term_id = get_option( 'sportspress_league', false );
392
+ if ( $term_id ) $term_ids[] = $term_id;
393
+ }
394
+ break;
395
+ case 'sp_season':
396
+ if ( get_post_meta( $post_id, 'sp_current_season', true ) ) {
397
+ $term_id = get_option( 'sportspress_season', false );
398
+ if ( $term_id ) $term_ids[] = $term_id;
399
+ }
400
+ break;
401
+ }
402
+
403
+ return $term_ids;
404
+ }
405
+ }
406
+
407
  if ( !function_exists( 'sp_get_url' ) ) {
408
  function sp_get_url( $post_id ) {
409
  $url = get_post_meta( $post_id, 'sp_url', true );
667
 
668
  $dates = apply_filters( 'sportspress_dates', array(
669
  0 => __( 'All', 'sportspress' ),
670
+ '-day' => __( 'Yesterday', 'sportspress' ),
671
  'day' => __( 'Today', 'sportspress' ),
672
+ '+day' => __( 'Tomorrow', 'sportspress' ),
673
+ '-w' => __( 'Last week', 'sportspress' ),
674
+ 'w' => __( 'This week', 'sportspress' ),
675
+ '+w' => __( 'Next week', 'sportspress' ),
676
  'range' => __( 'Date range:', 'sportspress' ),
677
  ));
678
 
690
  'show_option_blank' => false,
691
  'show_option_all' => false,
692
  'show_option_none' => false,
693
+ 'show_option_auto' => false,
694
  'taxonomy' => null,
695
  'name' => null,
696
  'id' => null,
747
  endif;
748
  endif;
749
 
750
+ if ( $args['show_option_auto'] ):
751
+ if ( strpos( $property, 'multiple' ) !== false ):
752
+ $selected_prop = in_array( 'auto', $selected ) ? 'selected' : '';
753
+ else:
754
+ $selected_prop = selected( 'auto', $selected, false );
755
+ endif;
756
+ printf( '<option value="auto" ' . $selected_prop . '>%s</option>', $args['show_option_auto'] . ' ' . __( '(Auto)', 'sportspress' ) );
757
+ endif;
758
+
759
  foreach ( $terms as $term ):
760
 
761
  if ( $args['values'] == 'term_id' ):
1198
  }
1199
 
1200
  if ( !function_exists( 'sp_post_adder' ) ) {
1201
+ function sp_post_adder( $post_type = 'post', $label = null, $attributes = array() ) {
1202
  $obj = get_post_type_object( $post_type );
1203
  if ( $label == null )
1204
  $label = __( 'Add New', 'sportspress' );
1205
  ?>
1206
  <div id="<?php echo $post_type; ?>-adder">
1207
  <h4>
1208
+ <a title="<?php echo esc_attr( $label ); ?>" href="<?php echo admin_url( add_query_arg( $attributes, 'post-new.php?post_type=' . $post_type ) ); ?>" target="_blank">
1209
  + <?php echo $label; ?>
1210
  </a>
1211
  </h4>
1472
  $term_ids[] = $term->term_id;
1473
  endforeach;
1474
  endif;
1475
+
1476
+ // Set auto option
1477
+ $auto = false;
1478
+ if ( in_array( $post_type, sp_secondary_post_types() ) ) {
1479
+ switch ( $taxonomy ) {
1480
+ case 'sp_league':
1481
+ $auto = __( 'Main League', 'sportspress' );
1482
+ if ( get_post_meta( $post->ID, 'sp_main_league', true ) ) $term_ids[] = 'auto';
1483
+ break;
1484
+ case 'sp_season':
1485
+ $auto = __( 'Current Season', 'sportspress' );
1486
+ if ( get_post_meta( $post->ID, 'sp_current_season', true ) ) $term_ids[] = 'auto';
1487
+ break;
1488
+ }
1489
+ }
1490
+
1491
  $args = array(
1492
+ 'show_option_auto' => $auto,
1493
  'taxonomy' => $taxonomy,
1494
  'name' => 'tax_input[' . $taxonomy . '][]',
1495
  'selected' => $term_ids,
1523
  __( 'Box Score', 'sportspress' ),
1524
  __( 'Canceled', 'sportspress' ),
1525
  __( 'Career Total', 'sportspress' ),
 
1526
  __( 'Current Team', 'sportspress' ),
1527
  __( 'Date', 'sportspress' ),
1528
  __( 'Defense', 'sportspress' ),
1533
  __( 'Fixtures', 'sportspress' ),
1534
  __( 'Full Time', 'sportspress' ),
1535
  __( 'Home', 'sportspress' ),
1536
+ __( 'League', 'sportspress' ),
1537
  __( 'League Table', 'sportspress' ),
1538
  __( 'Match Day', 'sportspress' ),
1539
  __( 'Nationality', 'sportspress' ),
1542
  __( 'Past Teams', 'sportspress' ),
1543
  __( 'Photo', 'sportspress' ),
1544
  __( 'Player', 'sportspress' ),
1545
+ __( 'Player of the Match', 'sportspress' ),
1546
  __( 'Players', 'sportspress' ),
1547
  __( 'Pos', 'sportspress' ),
1548
  __( 'Position', 'sportspress' ),
includes/sp-template-functions.php CHANGED
@@ -7,7 +7,7 @@
7
  * @author ThemeBoy
8
  * @category Core
9
  * @package SportsPress/Functions
10
- * @version 2.4
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -202,6 +202,19 @@ if ( ! function_exists( 'sportspress_output_event_performance' ) ) {
202
  sp_get_template( 'event-performance.php' );
203
  }
204
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
205
 
206
  /** Single Calendar ********************************************************/
207
 
@@ -494,3 +507,76 @@ function sportspress_output_br_tag() {
494
  <br>
495
  <?php
496
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  * @author ThemeBoy
8
  * @category Core
9
  * @package SportsPress/Functions
10
+ * @version 2.5.5
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
202
  sp_get_template( 'event-performance.php' );
203
  }
204
  }
205
+ if ( ! function_exists( 'sportspress_output_event_officials' ) ) {
206
+
207
+ /**
208
+ * Output the event officials.
209
+ *
210
+ * @access public
211
+ * @subpackage Event/Officials
212
+ * @return void
213
+ */
214
+ function sportspress_output_event_officials() {
215
+ sp_get_template( 'event-officials.php' );
216
+ }
217
+ }
218
 
219
  /** Single Calendar ********************************************************/
220
 
507
  <br>
508
  <?php
509
  }
510
+ if ( ! function_exists( 'sportspress_responsive_tables_css' ) ) {
511
+
512
+ /**
513
+ * Output the inlince css code for responsive tables.
514
+ *
515
+ * @access public
516
+ * @subpackage Responsive
517
+ * @return void
518
+ */
519
+ function sportspress_responsive_tables_css( $identity ) {
520
+ $custom_css = '/*
521
+ Max width before this PARTICULAR table gets nasty
522
+ This query will take effect for any screen smaller than 760px
523
+ and also iPads specifically.
524
+ */
525
+ @media
526
+ only screen and (max-width: 800px) {
527
+
528
+ /* Force table to not be like tables anymore */
529
+ table.'.$identity.', table.'.$identity.' thead, table.'.$identity.' tfoot, table.'.$identity.' tbody, table.'.$identity.' th, table.'.$identity.' td, table.'.$identity.' tr {
530
+ display: block;
531
+ }
532
+
533
+ /* Hide table headers (but not display: none;, for accessibility) */
534
+ table.'.$identity.' thead tr {
535
+ position: absolute;
536
+ top: -9999px;
537
+ left: -9999px;
538
+ }
539
+
540
+ /* Add subtle border to table rows */
541
+ table.'.$identity.' tbody tr {
542
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
543
+ }
544
+
545
+ .sp-data-table .data-number, .sp-data-table .data-rank {
546
+ width: auto !important;
547
+ }
548
+
549
+ .sp-data-table th,
550
+ .sp-data-table td {
551
+ text-align: center !important;
552
+ }
553
+
554
+ table.'.$identity.' td {
555
+ /* Behave like a "row" */
556
+ border: none;
557
+ position: relative;
558
+ padding-left: 50%;
559
+ vertical-align: middle;
560
+ }
561
+
562
+ table.'.$identity.' td:before {
563
+ /* Now like a table header */
564
+ position: absolute;
565
+ /* Label the data */
566
+ content: attr(data-label);
567
+ /* Top/left values mimic padding */
568
+ top: 6px;
569
+ left: 6px;
570
+ width: 45%;
571
+ padding-right: 10px;
572
+ white-space: nowrap;
573
+ }
574
+ }
575
+ ';
576
+
577
+ $dummystyle = 'sportspress-style-inline-'.$identity;
578
+ wp_register_style( $dummystyle, false );
579
+ wp_enqueue_style( $dummystyle );
580
+ wp_add_inline_style( $dummystyle, $custom_css );
581
+ }
582
+ }
includes/sp-template-hooks.php CHANGED
@@ -7,7 +7,7 @@
7
  * @author ThemeBoy
8
  * @category Core
9
  * @package SportsPress/Functions
10
- * @version 2.3.1
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -45,9 +45,8 @@ function sportspress_the_title( $title, $id = null ) {
45
  elseif ( is_singular( 'sp_staff' ) ):
46
  $staff = new SP_Staff( $id );
47
  $role = $staff->role();
48
- if ( $role ):
49
  $title = '<strong class="sp-staff-role">' . $role->name . '</strong> ' . $title;
50
- endif;
51
  endif;
52
  endif;
53
 
@@ -185,6 +184,15 @@ function sportspress_show_future_posts( $where, $that ) {
185
  }
186
  add_filter( 'posts_where', 'sportspress_show_future_posts', 2, 10 );
187
 
 
 
 
 
 
 
 
 
 
188
  function sportspress_give_event_read_permissions( $allcaps, $caps, $args ) {
189
 
190
  // Bail out if we're not asking about viewing an event
@@ -301,4 +309,4 @@ function sportspress_remove_page_parent_class( $classes, $item ) {
301
  return $classes;
302
  }
303
 
304
- add_filter( 'nav_menu_css_class', 'sportspress_remove_page_parent_class', 10, 2 );
7
  * @author ThemeBoy
8
  * @category Core
9
  * @package SportsPress/Functions
10
+ * @version 2.5.10
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
45
  elseif ( is_singular( 'sp_staff' ) ):
46
  $staff = new SP_Staff( $id );
47
  $role = $staff->role();
48
+ if ( $role )
49
  $title = '<strong class="sp-staff-role">' . $role->name . '</strong> ' . $title;
 
50
  endif;
51
  endif;
52
 
184
  }
185
  add_filter( 'posts_where', 'sportspress_show_future_posts', 2, 10 );
186
 
187
+ function sportspress_redirect_future_events() {
188
+ if ( is_main_query() && 'sp_event' == get_query_var( 'post_type' ) && 'future' == get_post_status( get_query_var( 'p' ) ) && ! empty( $_GET['p'] ) ) {
189
+ if ( $redirect_url = get_post_permalink( get_query_var( 'p' ), false, true ) )
190
+ wp_redirect( $redirect_url, 301 );
191
+ die();
192
+ }
193
+ }
194
+ add_action( 'template_redirect', 'sportspress_redirect_future_events' );
195
+
196
  function sportspress_give_event_read_permissions( $allcaps, $caps, $args ) {
197
 
198
  // Bail out if we're not asking about viewing an event
309
  return $classes;
310
  }
311
 
312
+ add_filter( 'nav_menu_css_class', 'sportspress_remove_page_parent_class', 10, 2 );
includes/widgets/class-sp-widget-countdown.php CHANGED
@@ -10,6 +10,7 @@ class SP_Widget_Countdown extends WP_Widget {
10
  extract($args);
11
  $title = apply_filters('widget_title', empty($instance['title']) ? null : $instance['title'], $instance, $this->id_base);
12
  $caption = empty($instance['caption']) ? null : $instance['caption'];
 
13
  $team = empty($instance['team']) ? null : $instance['team'];
14
  $id = empty($instance['id']) ? null : $instance['id'];
15
  $show_venue = empty($instance['show_venue']) ? false : $instance['show_venue'];
@@ -24,7 +25,7 @@ class SP_Widget_Countdown extends WP_Widget {
24
  // Action to hook into
25
  do_action( 'sportspress_before_widget_template', $args, $instance, 'countdown' );
26
 
27
- sp_get_template( 'countdown.php', array( 'team' => $team, 'id' => $id, 'title' => $caption, 'show_venue' => $show_venue, 'show_league' => $show_league ) );
28
 
29
  // Action to hook into
30
  do_action( 'sportspress_after_widget_template', $args, $instance, 'countdown' );
@@ -36,6 +37,7 @@ class SP_Widget_Countdown extends WP_Widget {
36
  function update( $new_instance, $old_instance ) {
37
  $instance = $old_instance;
38
  $instance['title'] = strip_tags($new_instance['title']);
 
39
  $instance['team'] = intval($new_instance['team']);
40
  $instance['caption'] = strip_tags($new_instance['caption']);
41
  $instance['id'] = intval($new_instance['id']);
@@ -49,9 +51,10 @@ class SP_Widget_Countdown extends WP_Widget {
49
  }
50
 
51
  function form( $instance ) {
52
- $instance = wp_parse_args( (array) $instance, array( 'title' => '', 'team' => '', 'id' => '', 'caption' => '', 'show_venue' => false, 'show_league' => false ) );
53
  $title = strip_tags($instance['title']);
54
  $caption = strip_tags($instance['caption']);
 
55
  $team = intval($instance['team']);
56
  $id = intval($instance['id']);
57
  $show_venue = intval($instance['show_venue']);
@@ -65,6 +68,23 @@ class SP_Widget_Countdown extends WP_Widget {
65
 
66
  <p><label for="<?php echo $this->get_field_id('caption'); ?>"><?php _e( 'Heading:', 'sportspress' ); ?></label>
67
  <input class="widefat" id="<?php echo $this->get_field_id('caption'); ?>" name="<?php echo $this->get_field_name('caption'); ?>" type="text" value="<?php echo esc_attr($caption); ?>" /></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
 
69
  <p class="sp-dropdown-filter"><label for="<?php echo $this->get_field_id('team'); ?>"><?php printf( __( 'Select %s:', 'sportspress' ), __( 'Team', 'sportspress' ) ); ?></label>
70
  <?php
@@ -107,7 +127,7 @@ class SP_Widget_Countdown extends WP_Widget {
107
  <label for="<?php echo $this->get_field_id('show_venue'); ?>"><?php _e( 'Display venue', 'sportspress' ); ?></label></p>
108
 
109
  <p><input class="checkbox" type="checkbox" id="<?php echo $this->get_field_id('show_league'); ?>" name="<?php echo $this->get_field_name('show_league'); ?>" value="1" <?php checked( $show_league, 1 ); ?>>
110
- <label for="<?php echo $this->get_field_id('show_league'); ?>"><?php _e( 'Display competition', 'sportspress' ); ?></label></p>
111
 
112
  <?php
113
  // Action to hook into
10
  extract($args);
11
  $title = apply_filters('widget_title', empty($instance['title']) ? null : $instance['title'], $instance, $this->id_base);
12
  $caption = empty($instance['caption']) ? null : $instance['caption'];
13
+ $calendar = empty($instance['calendar']) ? null : $instance['calendar'];
14
  $team = empty($instance['team']) ? null : $instance['team'];
15
  $id = empty($instance['id']) ? null : $instance['id'];
16
  $show_venue = empty($instance['show_venue']) ? false : $instance['show_venue'];
25
  // Action to hook into
26
  do_action( 'sportspress_before_widget_template', $args, $instance, 'countdown' );
27
 
28
+ sp_get_template( 'countdown.php', array( 'calendar' => $calendar, 'team' => $team, 'id' => $id, 'title' => $caption, 'show_venue' => $show_venue, 'show_league' => $show_league ) );
29
 
30
  // Action to hook into
31
  do_action( 'sportspress_after_widget_template', $args, $instance, 'countdown' );
37
  function update( $new_instance, $old_instance ) {
38
  $instance = $old_instance;
39
  $instance['title'] = strip_tags($new_instance['title']);
40
+ $instance['calendar'] = intval($new_instance['calendar']);
41
  $instance['team'] = intval($new_instance['team']);
42
  $instance['caption'] = strip_tags($new_instance['caption']);
43
  $instance['id'] = intval($new_instance['id']);
51
  }
52
 
53
  function form( $instance ) {
54
+ $instance = wp_parse_args( (array) $instance, array( 'title' => '', 'calendar' => '', 'team' => '', 'id' => '', 'caption' => '', 'show_venue' => false, 'show_league' => false ) );
55
  $title = strip_tags($instance['title']);
56
  $caption = strip_tags($instance['caption']);
57
+ $calendar = intval($instance['calendar']);
58
  $team = intval($instance['team']);
59
  $id = intval($instance['id']);
60
  $show_venue = intval($instance['show_venue']);
68
 
69
  <p><label for="<?php echo $this->get_field_id('caption'); ?>"><?php _e( 'Heading:', 'sportspress' ); ?></label>
70
  <input class="widefat" id="<?php echo $this->get_field_id('caption'); ?>" name="<?php echo $this->get_field_name('caption'); ?>" type="text" value="<?php echo esc_attr($caption); ?>" /></p>
71
+
72
+ <p class="sp-dropdown-filter"><label for="<?php echo $this->get_field_id('calendar'); ?>"><?php printf( __( 'Select %s:', 'sportspress' ), __( 'Calendar', 'sportspress' ) ); ?></label>
73
+ <?php
74
+ $args = array(
75
+ 'post_type' => 'sp_calendar',
76
+ 'name' => $this->get_field_name('calendar'),
77
+ 'id' => $this->get_field_id('calendar'),
78
+ 'selected' => $calendar,
79
+ 'show_option_all' => __( 'All', 'sportspress' ),
80
+ 'values' => 'ID',
81
+ 'class' => 'widefat',
82
+ );
83
+ if ( ! sp_dropdown_pages( $args ) ):
84
+ sp_post_adder( 'sp_calendar', __( 'Add New', 'sportspress' ) );
85
+ endif;
86
+ ?>
87
+ </p>
88
 
89
  <p class="sp-dropdown-filter"><label for="<?php echo $this->get_field_id('team'); ?>"><?php printf( __( 'Select %s:', 'sportspress' ), __( 'Team', 'sportspress' ) ); ?></label>
90
  <?php
127
  <label for="<?php echo $this->get_field_id('show_venue'); ?>"><?php _e( 'Display venue', 'sportspress' ); ?></label></p>
128
 
129
  <p><input class="checkbox" type="checkbox" id="<?php echo $this->get_field_id('show_league'); ?>" name="<?php echo $this->get_field_name('show_league'); ?>" value="1" <?php checked( $show_league, 1 ); ?>>
130
+ <label for="<?php echo $this->get_field_id('show_league'); ?>"><?php _e( 'Display league', 'sportspress' ); ?></label></p>
131
 
132
  <?php
133
  // Action to hook into
includes/widgets/class-sp-widget-event-blocks.php CHANGED
@@ -21,6 +21,9 @@ class SP_Widget_Event_Blocks extends WP_Widget {
21
  $date = empty($instance['date']) ? 'default' : $instance['date'];
22
  $date_from = empty($instance['date_from']) ? 'default' : $instance['date_from'];
23
  $date_to = empty($instance['date_to']) ? 'default' : $instance['date_to'];
 
 
 
24
  $day = empty($instance['day']) ? 'default' : $instance['day'];
25
  $number = empty($instance['number']) ? null : $instance['number'];
26
  $order = empty($instance['order']) ? 'default' : $instance['order'];
@@ -35,7 +38,7 @@ class SP_Widget_Event_Blocks extends WP_Widget {
35
  // Action to hook into
36
  do_action( 'sportspress_before_widget_template', $args, $instance, 'event-blocks' );
37
 
38
- sp_get_template( 'event-blocks.php', array( 'id' => $id, 'title' => $caption, 'status' => $status, 'date' => $date, 'date_from' => $date_from, 'date_to' => $date_to, 'day' => $day, 'number' => $number, 'order' => $order, 'show_all_events_link' => $show_all_events_link ) );
39
 
40
  // Action to hook into
41
  do_action( 'sportspress_after_widget_template', $args, $instance, 'event-blocks' );
@@ -53,6 +56,9 @@ class SP_Widget_Event_Blocks extends WP_Widget {
53
  $instance['date'] = $new_instance['date'];
54
  $instance['date_from'] = $new_instance['date_from'];
55
  $instance['date_to'] = $new_instance['date_to'];
 
 
 
56
  $instance['day'] = $new_instance['day'];
57
  $instance['number'] = intval($new_instance['number']);
58
  $instance['order'] = strip_tags($new_instance['order']);
@@ -65,7 +71,7 @@ class SP_Widget_Event_Blocks extends WP_Widget {
65
  }
66
 
67
  function form( $instance ) {
68
- $instance = wp_parse_args( (array) $instance, array( 'title' => '', 'id' => null, 'caption' => '', 'status' => 'default', 'date' => 'default', 'date_from' => date_i18n( 'Y-m-d' ), 'date_to' => date_i18n( 'Y-m-d' ), 'day' => '', 'number' => 5, 'order' => 'default', 'show_all_events_link' => true ) );
69
  $title = strip_tags($instance['title']);
70
  $id = intval($instance['id']);
71
  $caption = strip_tags($instance['caption']);
@@ -73,6 +79,9 @@ class SP_Widget_Event_Blocks extends WP_Widget {
73
  $date = $instance['date'];
74
  $date_from = $instance['date_from'];
75
  $date_to = $instance['date_to'];
 
 
 
76
  $day = $instance['day'];
77
  $number = intval($instance['number']);
78
  $order = strip_tags($instance['order']);
@@ -130,11 +139,29 @@ class SP_Widget_Event_Blocks extends WP_Widget {
130
  sp_dropdown_dates( $args );
131
  ?>
132
  </p>
133
- <p class="sp-date-range<?php if ( 'range' !== $date ): ?> hidden<?php endif; ?>">
134
- <input type="text" name="<?php echo $this->get_field_name( 'date_from' ); ?>" value="<?php echo $date_from; ?>" placeholder="yyyy-mm-dd" size="10">
135
- :
136
- <input type="text" name="<?php echo $this->get_field_name( 'date_to' ); ?>" value="<?php echo $date_to; ?>" placeholder="yyyy-mm-dd" size="10">
137
- </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
138
  </div>
139
 
140
  <p><label for="<?php echo $this->get_field_id('day'); ?>"><?php _e( 'Match Day:', 'sportspress' ); ?></label>
21
  $date = empty($instance['date']) ? 'default' : $instance['date'];
22
  $date_from = empty($instance['date_from']) ? 'default' : $instance['date_from'];
23
  $date_to = empty($instance['date_to']) ? 'default' : $instance['date_to'];
24
+ $date_past = empty($instance['date_past']) ? 'default' : $instance['date_past'];
25
+ $date_future = empty($instance['date_future']) ? 'default' : $instance['date_future'];
26
+ $date_relative = empty($instance['date_relative']) ? 'default' : $instance['date_relative'];
27
  $day = empty($instance['day']) ? 'default' : $instance['day'];
28
  $number = empty($instance['number']) ? null : $instance['number'];
29
  $order = empty($instance['order']) ? 'default' : $instance['order'];
38
  // Action to hook into
39
  do_action( 'sportspress_before_widget_template', $args, $instance, 'event-blocks' );
40
 
41
+ sp_get_template( 'event-blocks.php', array( 'id' => $id, 'title' => $caption, 'status' => $status, 'date' => $date, 'date_from' => $date_from, 'date_to' => $date_to, 'date_past' => $date_past, 'date_future' => $date_future, 'date_relative' => $date_relative, 'day' => $day, 'number' => $number, 'order' => $order, 'show_all_events_link' => $show_all_events_link ) );
42
 
43
  // Action to hook into
44
  do_action( 'sportspress_after_widget_template', $args, $instance, 'event-blocks' );
56
  $instance['date'] = $new_instance['date'];
57
  $instance['date_from'] = $new_instance['date_from'];
58
  $instance['date_to'] = $new_instance['date_to'];
59
+ $instance['date_past'] = $new_instance['date_past'];
60
+ $instance['date_future'] = $new_instance['date_future'];
61
+ $instance['date_relative'] = $new_instance['date_relative'];
62
  $instance['day'] = $new_instance['day'];
63
  $instance['number'] = intval($new_instance['number']);
64
  $instance['order'] = strip_tags($new_instance['order']);
71
  }
72
 
73
  function form( $instance ) {
74
+ $instance = wp_parse_args( (array) $instance, array( 'title' => '', 'id' => null, 'caption' => '', 'status' => 'default', 'date' => 'default', 'date_from' => date_i18n( 'Y-m-d' ), 'date_to' => date_i18n( 'Y-m-d' ), 'date_past' => 7, 'date_future' => 7, 'date_relative' => false, 'day' => '', 'number' => 5, 'order' => 'default', 'show_all_events_link' => true ) );
75
  $title = strip_tags($instance['title']);
76
  $id = intval($instance['id']);
77
  $caption = strip_tags($instance['caption']);
79
  $date = $instance['date'];
80
  $date_from = $instance['date_from'];
81
  $date_to = $instance['date_to'];
82
+ $date_past = $instance['date_past'];
83
+ $date_future = $instance['date_future'];
84
+ $date_relative = $instance['date_relative'];
85
  $day = $instance['day'];
86
  $number = intval($instance['number']);
87
  $order = strip_tags($instance['order']);
139
  sp_dropdown_dates( $args );
140
  ?>
141
  </p>
142
+ <div class="sp-date-range<?php if ( 'range' !== $date ): ?> hidden<?php endif; ?>">
143
+ <p class="sp-date-range-absolute<?php if ( $date_relative ): ?> hidden<?php endif; ?>">
144
+ <input type="text" name="<?php echo $this->get_field_name( 'date_from' ); ?>" value="<?php echo $date_from; ?>" placeholder="yyyy-mm-dd" size="10">
145
+ :
146
+ <input type="text" name="<?php echo $this->get_field_name( 'date_to' ); ?>" value="<?php echo $date_to; ?>" placeholder="yyyy-mm-dd" size="10">
147
+ </p>
148
+
149
+ <p class="sp-date-range-relative<?php if ( ! $date_relative ): ?> hidden<?php endif; ?>">
150
+ <?php _e( 'Past', 'sportspress' ); ?>
151
+ <input type="number" min="0" step="1" class="tiny-text" name="<?php echo $this->get_field_name( 'date_past' ); ?>" value="<?php echo $date_past; ?>">
152
+ &rarr;
153
+ <?php _e( 'Next', 'sportspress' ); ?>
154
+ <input type="number" min="0" step="1" class="tiny-text" name="<?php echo $this->get_field_name( 'date_future' ); ?>" value="<?php echo $date_future; ?>">
155
+ <?php _e( 'days', 'sportspress' ); ?>
156
+ </p>
157
+
158
+ <p class="sp-date-relative">
159
+ <label>
160
+ <input type="checkbox" name="<?php echo $this->get_field_name( 'date_relative' ); ?>" value="1" id="<?php echo $this->get_field_id( 'date_relative' ); ?>" <?php checked( $date_relative ); ?>>
161
+ <?php _e( 'Relative', 'sportspress' ); ?>
162
+ </label>
163
+ </p>
164
+ </div>
165
  </div>
166
 
167
  <p><label for="<?php echo $this->get_field_id('day'); ?>"><?php _e( 'Match Day:', 'sportspress' ); ?></label>
includes/widgets/class-sp-widget-event-calendar.php CHANGED
@@ -20,6 +20,9 @@ class SP_Widget_Event_Calendar extends WP_Widget {
20
  $date = empty($instance['date']) ? 'default' : $instance['date'];
21
  $date_from = empty($instance['date_from']) ? 'default' : $instance['date_from'];
22
  $date_to = empty($instance['date_to']) ? 'default' : $instance['date_to'];
 
 
 
23
  $day = empty($instance['day']) ? 'default' : $instance['day'];
24
  $show_all_events_link = empty($instance['show_all_events_link']) ? false : $instance['show_all_events_link'];
25
 
@@ -32,7 +35,7 @@ class SP_Widget_Event_Calendar extends WP_Widget {
32
  // Action to hook into
33
  do_action( 'sportspress_before_widget_template', $args, $instance, 'event-calendar' );
34
 
35
- sp_get_template( 'event-calendar.php', array( 'id' => $id, 'status' => $status, 'date' => $date, 'date_from' => $date_from, 'date_to' => $date_to, 'caption_tag' => 'caption', 'day' => $day, 'show_all_events_link' => $show_all_events_link ) );
36
 
37
  // Action to hook into
38
  do_action( 'sportspress_after_widget_template', $args, $instance, 'event-calendar' );
@@ -49,6 +52,9 @@ class SP_Widget_Event_Calendar extends WP_Widget {
49
  $instance['date'] = $new_instance['date'];
50
  $instance['date_from'] = $new_instance['date_from'];
51
  $instance['date_to'] = $new_instance['date_to'];
 
 
 
52
  $instance['day'] = $new_instance['day'];
53
  $instance['show_all_events_link'] = $new_instance['show_all_events_link'];
54
 
@@ -59,13 +65,16 @@ class SP_Widget_Event_Calendar extends WP_Widget {
59
  }
60
 
61
  function form( $instance ) {
62
- $instance = wp_parse_args( (array) $instance, array( 'title' => '', 'id' => null, 'status' => 'default', 'date' => 'default', 'date_from' => date_i18n( 'Y-m-d' ), 'date_to' => date_i18n( 'Y-m-d' ), 'day' => '', 'show_all_events_link' => false ) );
63
  $title = strip_tags($instance['title']);
64
  $id = intval($instance['id']);
65
  $status = $instance['status'];
66
  $date = $instance['date'];
67
  $date_from = $instance['date_from'];
68
  $date_to = $instance['date_to'];
 
 
 
69
  $day = $instance['day'];
70
  $show_all_events_link = $instance['show_all_events_link'];
71
 
@@ -105,7 +114,7 @@ class SP_Widget_Event_Calendar extends WP_Widget {
105
  ?>
106
  </p>
107
 
108
- <div class="sp-date-selector sp-event-calendar-show-all-toggle<?php if ( ! $id ): ?> hidden<?php endif; ?>">
109
  <p><label for="<?php echo $this->get_field_id('date'); ?>"><?php _e( 'Date:', 'sportspress' ); ?></label>
110
  <?php
111
  $args = array(
@@ -118,11 +127,29 @@ class SP_Widget_Event_Calendar extends WP_Widget {
118
  sp_dropdown_dates( $args );
119
  ?>
120
  </p>
121
- <p class="sp-date-range<?php if ( 'range' !== $date ): ?> hidden<?php endif; ?>">
122
- <input type="text" name="<?php echo $this->get_field_name( 'date_from' ); ?>" value="<?php echo $date_from; ?>" placeholder="yyyy-mm-dd" size="10">
123
- :
124
- <input type="text" name="<?php echo $this->get_field_name( 'date_to' ); ?>" value="<?php echo $date_to; ?>" placeholder="yyyy-mm-dd" size="10">
125
- </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
126
  </div>
127
 
128
  <p><label for="<?php echo $this->get_field_id('day'); ?>"><?php _e( 'Match Day:', 'sportspress' ); ?></label>
20
  $date = empty($instance['date']) ? 'default' : $instance['date'];
21
  $date_from = empty($instance['date_from']) ? 'default' : $instance['date_from'];
22
  $date_to = empty($instance['date_to']) ? 'default' : $instance['date_to'];
23
+ $date_past = empty($instance['date_past']) ? 'default' : $instance['date_past'];
24
+ $date_future = empty($instance['date_future']) ? 'default' : $instance['date_future'];
25
+ $date_relative = empty($instance['date_relative']) ? 'default' : $instance['date_relative'];
26
  $day = empty($instance['day']) ? 'default' : $instance['day'];
27
  $show_all_events_link = empty($instance['show_all_events_link']) ? false : $instance['show_all_events_link'];
28
 
35
  // Action to hook into
36
  do_action( 'sportspress_before_widget_template', $args, $instance, 'event-calendar' );
37
 
38
+ sp_get_template( 'event-calendar.php', array( 'id' => $id, 'status' => $status, 'date' => $date, 'date_from' => $date_from, 'date_to' => $date_to, 'date_past' => $date_past, 'date_future' => $date_future, 'date_relative' => $date_relative, 'caption_tag' => 'caption', 'day' => $day, 'show_all_events_link' => $show_all_events_link ) );
39
 
40
  // Action to hook into
41
  do_action( 'sportspress_after_widget_template', $args, $instance, 'event-calendar' );
52
  $instance['date'] = $new_instance['date'];
53
  $instance['date_from'] = $new_instance['date_from'];
54
  $instance['date_to'] = $new_instance['date_to'];
55
+ $instance['date_past'] = $new_instance['date_past'];
56
+ $instance['date_future'] = $new_instance['date_future'];
57
+ $instance['date_relative'] = $new_instance['date_relative'];
58
  $instance['day'] = $new_instance['day'];
59
  $instance['show_all_events_link'] = $new_instance['show_all_events_link'];
60
 
65
  }
66
 
67
  function form( $instance ) {
68
+ $instance = wp_parse_args( (array) $instance, array( 'title' => '', 'id' => null, 'status' => 'default', 'date' => 'default', 'date_from' => date_i18n( 'Y-m-d' ), 'date_to' => date_i18n( 'Y-m-d' ), 'date_past' => 7, 'date_future' => 7, 'date_relative' => false, 'day' => '', 'show_all_events_link' => false ) );
69
  $title = strip_tags($instance['title']);
70
  $id = intval($instance['id']);
71
  $status = $instance['status'];
72
  $date = $instance['date'];
73
  $date_from = $instance['date_from'];
74
  $date_to = $instance['date_to'];
75
+ $date_past = $instance['date_past'];
76
+ $date_future = $instance['date_future'];
77
+ $date_relative = $instance['date_relative'];
78
  $day = $instance['day'];
79
  $show_all_events_link = $instance['show_all_events_link'];
80
 
114
  ?>
115
  </p>
116
 
117
+ <div class="sp-date-selector">
118
  <p><label for="<?php echo $this->get_field_id('date'); ?>"><?php _e( 'Date:', 'sportspress' ); ?></label>
119
  <?php
120
  $args = array(
127
  sp_dropdown_dates( $args );
128
  ?>
129
  </p>
130
+ <div class="sp-date-range<?php if ( 'range' !== $date ): ?> hidden<?php endif; ?>">
131
+ <p class="sp-date-range-absolute<?php if ( $date_relative ): ?> hidden<?php endif; ?>">
132
+ <input type="text" name="<?php echo $this->get_field_name( 'date_from' ); ?>" value="<?php echo $date_from; ?>" placeholder="yyyy-mm-dd" size="10">
133
+ :
134
+ <input type="text" name="<?php echo $this->get_field_name( 'date_to' ); ?>" value="<?php echo $date_to; ?>" placeholder="yyyy-mm-dd" size="10">
135
+ </p>
136
+
137
+ <p class="sp-date-range-relative<?php if ( ! $date_relative ): ?> hidden<?php endif; ?>">
138
+ <?php _e( 'Past', 'sportspress' ); ?>
139
+ <input type="number" min="0" step="1" class="tiny-text" name="<?php echo $this->get_field_name( 'date_past' ); ?>" value="<?php echo $date_past; ?>">
140
+ &rarr;
141
+ <?php _e( 'Next', 'sportspress' ); ?>
142
+ <input type="number" min="0" step="1" class="tiny-text" name="<?php echo $this->get_field_name( 'date_future' ); ?>" value="<?php echo $date_future; ?>">
143
+ <?php _e( 'days', 'sportspress' ); ?>
144
+ </p>
145
+
146
+ <p class="sp-date-relative">
147
+ <label>
148
+ <input type="checkbox" name="<?php echo $this->get_field_name( 'date_relative' ); ?>" value="1" id="<?php echo $this->get_field_id( 'date_relative' ); ?>" <?php checked( $date_relative ); ?>>
149
+ <?php _e( 'Relative', 'sportspress' ); ?>
150
+ </label>
151
+ </p>
152
+ </div>
153
  </div>
154
 
155
  <p><label for="<?php echo $this->get_field_id('day'); ?>"><?php _e( 'Match Day:', 'sportspress' ); ?></label>
includes/widgets/class-sp-widget-event-list.php CHANGED
@@ -21,6 +21,9 @@ class SP_Widget_Event_List extends WP_Widget {
21
  $date = empty($instance['date']) ? 'default' : $instance['date'];
22
  $date_from = empty($instance['date_from']) ? 'default' : $instance['date_from'];
23
  $date_to = empty($instance['date_to']) ? 'default' : $instance['date_to'];
 
 
 
24
  $day = empty($instance['day']) ? 'default' : $instance['day'];
25
  $number = empty($instance['number']) ? null : $instance['number'];
26
  $columns = empty($instance['columns']) ? null : $instance['columns'];
@@ -36,7 +39,7 @@ class SP_Widget_Event_List extends WP_Widget {
36
  // Action to hook into
37
  do_action( 'sportspress_before_widget_template', $args, $instance, 'event-list' );
38
 
39
- sp_get_template( 'event-list.php', array( 'id' => $id, 'title' => $caption, 'status' => $status, 'date' => $date, 'date_from' => $date_from, 'date_to' => $date_to, 'day' => $day, 'number' => $number, 'columns' => $columns, 'order' => $order, 'show_all_events_link' => $show_all_events_link ) );
40
 
41
  // Action to hook into
42
  do_action( 'sportspress_after_widget_template', $args, $instance, 'event-list' );
@@ -54,6 +57,9 @@ class SP_Widget_Event_List extends WP_Widget {
54
  $instance['date'] = $new_instance['date'];
55
  $instance['date_from'] = $new_instance['date_from'];
56
  $instance['date_to'] = $new_instance['date_to'];
 
 
 
57
  $instance['day'] = $new_instance['day'];
58
  $instance['number'] = intval($new_instance['number']);
59
  $instance['columns'] = (array)$new_instance['columns'];
@@ -67,7 +73,7 @@ class SP_Widget_Event_List extends WP_Widget {
67
  }
68
 
69
  function form( $instance ) {
70
- $instance = wp_parse_args( (array) $instance, array( 'title' => '', 'id' => null, 'caption' => '', 'status' => 'default', 'date' => 'default', 'date_from' => date_i18n( 'Y-m-d' ), 'date_to' => date_i18n( 'Y-m-d' ), 'day' => '', 'number' => 5, 'columns' => null, 'order' => 'default', 'show_all_events_link' => true ) );
71
  $title = strip_tags($instance['title']);
72
  $id = intval($instance['id']);
73
  $caption = strip_tags($instance['caption']);
@@ -75,6 +81,9 @@ class SP_Widget_Event_List extends WP_Widget {
75
  $date = $instance['date'];
76
  $date_from = $instance['date_from'];
77
  $date_to = $instance['date_to'];
 
 
 
78
  $day = $instance['day'];
79
  $number = intval($instance['number']);
80
  $columns = $instance['columns'];
@@ -135,11 +144,29 @@ class SP_Widget_Event_List extends WP_Widget {
135
  sp_dropdown_dates( $args );
136
  ?>
137
  </p>
138
- <p class="sp-date-range<?php if ( 'range' !== $date ): ?> hidden<?php endif; ?>">
139
- <input type="text" name="<?php echo $this->get_field_name( 'date_from' ); ?>" value="<?php echo $date_from; ?>" placeholder="yyyy-mm-dd" size="10">
140
- :
141
- <input type="text" name="<?php echo $this->get_field_name( 'date_to' ); ?>" value="<?php echo $date_to; ?>" placeholder="yyyy-mm-dd" size="10">
142
- </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
143
  </div>
144
 
145
  <p><label for="<?php echo $this->get_field_id('day'); ?>"><?php _e( 'Match Day:', 'sportspress' ); ?></label>
21
  $date = empty($instance['date']) ? 'default' : $instance['date'];
22
  $date_from = empty($instance['date_from']) ? 'default' : $instance['date_from'];
23
  $date_to = empty($instance['date_to']) ? 'default' : $instance['date_to'];
24
+ $date_past = empty($instance['date_past']) ? 'default' : $instance['date_past'];
25
+ $date_future = empty($instance['date_future']) ? 'default' : $instance['date_future'];
26
+ $date_relative = empty($instance['date_relative']) ? 'default' : $instance['date_relative'];
27
  $day = empty($instance['day']) ? 'default' : $instance['day'];
28
  $number = empty($instance['number']) ? null : $instance['number'];
29
  $columns = empty($instance['columns']) ? null : $instance['columns'];
39
  // Action to hook into
40
  do_action( 'sportspress_before_widget_template', $args, $instance, 'event-list' );
41
 
42
+ sp_get_template( 'event-list.php', array( 'id' => $id, 'title' => $caption, 'status' => $status, 'date' => $date, 'date_from' => $date_from, 'date_to' => $date_to, 'date_past' => $date_past, 'date_future' => $date_future, 'date_relative' => $date_relative, 'day' => $day, 'number' => $number, 'columns' => $columns, 'order' => $order, 'show_all_events_link' => $show_all_events_link ) );
43
 
44
  // Action to hook into
45
  do_action( 'sportspress_after_widget_template', $args, $instance, 'event-list' );
57
  $instance['date'] = $new_instance['date'];
58
  $instance['date_from'] = $new_instance['date_from'];
59
  $instance['date_to'] = $new_instance['date_to'];
60
+ $instance['date_past'] = $new_instance['date_past'];
61
+ $instance['date_future'] = $new_instance['date_future'];
62
+ $instance['date_relative'] = $new_instance['date_relative'];
63
  $instance['day'] = $new_instance['day'];
64
  $instance['number'] = intval($new_instance['number']);
65
  $instance['columns'] = (array)$new_instance['columns'];
73
  }
74
 
75
  function form( $instance ) {
76
+ $instance = wp_parse_args( (array) $instance, array( 'title' => '', 'id' => null, 'caption' => '', 'status' => 'default', 'date' => 'default', 'date_from' => date_i18n( 'Y-m-d' ), 'date_to' => date_i18n( 'Y-m-d' ), 'date_past' => 7, 'date_future' => 7, 'date_relative' => false, 'day' => '', 'number' => 5, 'columns' => null, 'order' => 'default', 'show_all_events_link' => true ) );
77
  $title = strip_tags($instance['title']);
78
  $id = intval($instance['id']);
79
  $caption = strip_tags($instance['caption']);
81
  $date = $instance['date'];
82
  $date_from = $instance['date_from'];
83
  $date_to = $instance['date_to'];
84
+ $date_past = $instance['date_past'];
85
+ $date_future = $instance['date_future'];
86
+ $date_relative = $instance['date_relative'];
87
  $day = $instance['day'];
88
  $number = intval($instance['number']);
89
  $columns = $instance['columns'];
144
  sp_dropdown_dates( $args );
145
  ?>
146
  </p>
147
+ <div class="sp-date-range<?php if ( 'range' !== $date ): ?> hidden<?php endif; ?>">
148
+ <p class="sp-date-range-absolute<?php if ( $date_relative ): ?> hidden<?php endif; ?>">
149
+ <input type="text" name="<?php echo $this->get_field_name( 'date_from' ); ?>" value="<?php echo $date_from; ?>" placeholder="yyyy-mm-dd" size="10">
150
+ :
151
+ <input type="text" name="<?php echo $this->get_field_name( 'date_to' ); ?>" value="<?php echo $date_to; ?>" placeholder="yyyy-mm-dd" size="10">
152
+ </p>
153
+
154
+ <p class="sp-date-range-relative<?php if ( ! $date_relative ): ?> hidden<?php endif; ?>">
155
+ <?php _e( 'Past', 'sportspress' ); ?>
156
+ <input type="number" min="0" step="1" class="tiny-text" name="<?php echo $this->get_field_name( 'date_past' ); ?>" value="<?php echo $date_past; ?>">
157
+ &rarr;
158
+ <?php _e( 'Next', 'sportspress' ); ?>
159
+ <input type="number" min="0" step="1" class="tiny-text" name="<?php echo $this->get_field_name( 'date_future' ); ?>" value="<?php echo $date_future; ?>">
160
+ <?php _e( 'days', 'sportspress' ); ?>
161
+ </p>
162
+
163
+ <p class="sp-date-relative">
164
+ <label>
165
+ <input type="checkbox" name="<?php echo $this->get_field_name( 'date_relative' ); ?>" value="1" id="<?php echo $this->get_field_id( 'date_relative' ); ?>" <?php checked( $date_relative ); ?>>
166
+ <?php _e( 'Relative', 'sportspress' ); ?>
167
+ </label>
168
+ </p>
169
+ </div>
170
  </div>
171
 
172
  <p><label for="<?php echo $this->get_field_id('day'); ?>"><?php _e( 'Match Day:', 'sportspress' ); ?></label>
languages/sportspress.pot CHANGED
@@ -1,7 +1,8 @@
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: SportsPress\n"
4
- "POT-Creation-Date: 2016-03-19 20:08+1100\n"
5
  "PO-Revision-Date: 2016-03-19 20:08+1100\n"
6
  "Last-Translator: Brian Miyaji <brian@themeboy.com>\n"
7
  "Language-Team: ThemeBoy <support@themeboy.com>\n"
@@ -9,7 +10,7 @@ msgstr ""
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.8.6\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "X-Poedit-SourceCharset: UTF-8\n"
15
  "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
@@ -19,160 +20,215 @@ msgstr ""
19
  "X-Poedit-SearchPath-0: .\n"
20
  "X-Poedit-SearchPathExcluded-0: includes/libraries\n"
21
 
22
- #: assets/js/admin/editor-lang.php:22
23
  msgid "SportsPress Shortcodes"
24
  msgstr ""
25
 
26
- #: assets/js/admin/editor-lang.php:23
27
  #: includes/admin/post-types/class-sp-admin-cpt-list.php:70
28
  #: includes/admin/post-types/class-sp-admin-cpt-table.php:74
29
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:93
30
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:45
31
- #: includes/admin/settings/class-sp-settings-events.php:276
32
- #: includes/admin/settings/class-sp-settings-events.php:338
33
  #: includes/admin/settings/class-sp-settings-general.php:91
34
- #: includes/admin/settings/class-sp-settings-general.php:169
 
35
  msgid "Auto"
36
  msgstr ""
37
 
38
- #: assets/js/admin/editor-lang.php:24
39
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:94
40
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:46
41
- #: includes/admin/settings/class-sp-settings-events.php:277
42
- #: includes/admin/settings/class-sp-settings-events.php:339
 
43
  msgid "Manual"
44
  msgstr ""
45
 
46
- #: assets/js/admin/editor-lang.php:25
47
  msgid "Select..."
48
  msgstr ""
49
 
50
- #: assets/js/admin/editor-lang.php:26
51
  #: includes/admin/class-sp-admin-sample-data.php:365
52
- #: includes/admin/post-types/class-sp-admin-cpt-event.php:105
53
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:303
54
- #: includes/class-sp-ajax.php:57 includes/class-sp-ajax.php:102
55
- #: includes/class-sp-ajax.php:132 includes/class-sp-ajax.php:162
56
- #: includes/class-sp-ajax.php:301 includes/class-sp-post-types.php:382
57
- #: includes/sp-core-functions.php:1323
 
 
 
 
 
 
58
  #: includes/widgets/class-sp-widget-countdown.php:86
59
- #: includes/widgets/class-sp-widget-event-list.php:154
60
- #: templates/event-list.php:107
61
  msgid "Event"
62
  msgstr ""
63
 
64
- #: assets/js/admin/editor-lang.php:27
65
  #: includes/admin/post-types/class-sp-admin-meta-boxes.php:32
66
  #: includes/admin/post-types/class-sp-admin-meta-boxes.php:41
67
  #: includes/admin/post-types/class-sp-admin-meta-boxes.php:57
68
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:66
69
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:82
70
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:91
71
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:120
72
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:156
73
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:191
74
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:226
75
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:226
76
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-shortcode.php:24
77
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:203
78
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-shortcode.php:27
79
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:110
80
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:105
81
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:106
82
- #: includes/admin/settings/class-sp-settings-events.php:88
83
- #: includes/admin/settings/class-sp-settings-players.php:64
84
- #: includes/admin/settings/class-sp-settings-players.php:80
85
- #: includes/admin/settings/class-sp-settings-staff.php:63
86
- #: includes/admin/settings/class-sp-settings-staff.php:71
87
- #: includes/admin/settings/class-sp-settings-teams.php:64
88
- #: includes/sp-core-functions.php:1322 modules/sportspress-calendars.php:147
89
- #: modules/sportspress-calendars.php:272
90
- #: modules/sportspress-league-tables.php:148
91
- #: modules/sportspress-player-lists.php:154 templates/event-details.php:46
92
  msgid "Details"
93
  msgstr ""
94
 
95
- #: assets/js/admin/editor-lang.php:28
96
  #: includes/admin/importers/class-sp-event-importer.php:30
97
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:134
98
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:84
 
99
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-shortcode.php:23
100
- #: includes/admin/settings/class-sp-settings-events.php:81
101
- #: includes/sp-core-functions.php:1336 templates/event-list.php:92
102
- #: templates/event-list.php:115 templates/event-list.php:123
103
- #: templates/event-results.php:104
 
 
 
104
  msgid "Results"
105
  msgstr ""
106
 
107
- #: assets/js/admin/editor-lang.php:29
108
  #: includes/widgets/class-sp-widget-countdown.php:6
 
109
  msgid "Countdown"
110
  msgstr ""
111
 
112
- #: assets/js/admin/editor-lang.php:30
113
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:141
114
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-shortcode.php:25
115
- #: includes/admin/settings/class-sp-settings-events.php:102
116
- #: includes/admin/settings/class-sp-settings-events.php:303
117
- #: includes/sp-core-functions.php:1316 modules/sportspress-tutorials.php:93
118
- #: templates/event-performance.php:108
119
  msgid "Box Score"
120
  msgstr ""
121
 
122
- #: assets/js/admin/editor-lang.php:31
123
  #: includes/admin/class-sp-admin-sample-data.php:472
124
- #: includes/class-sp-ajax.php:192 includes/class-sp-ajax.php:247
125
- #: includes/class-sp-ajax.php:345 includes/class-sp-formats.php:31
126
- #: includes/widgets/class-sp-widget-event-blocks.php:87
127
- #: includes/widgets/class-sp-widget-event-calendar.php:75
128
- #: includes/widgets/class-sp-widget-event-list.php:90
129
- #: modules/sportspress-calendars.php:66
 
 
130
  msgid "Calendar"
131
  msgstr ""
132
 
133
- #: assets/js/admin/editor-lang.php:32
134
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:205
 
 
 
135
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:57
136
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-shortcode.php:31
137
- #: includes/admin/settings/class-sp-settings-players.php:72
 
 
138
  msgid "Statistics"
139
  msgstr ""
140
 
141
- #: assets/js/admin/editor-lang.php:33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
142
  #: includes/admin/class-sp-admin-sample-data.php:506
143
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:55
144
- #: includes/class-sp-ajax.php:426
 
145
  #: includes/widgets/class-sp-widget-league-table.php:6
146
  #: includes/widgets/class-sp-widget-league-table.php:79
147
- #: modules/sportspress-league-tables.php:67
148
- #: modules/sportspress-league-tables.php:155
 
 
 
149
  msgid "League Table"
150
  msgstr ""
151
 
152
- #: assets/js/admin/editor-lang.php:34
153
  #: includes/admin/class-sp-admin-sample-data.php:210
154
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:244
 
155
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:53
156
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:169
157
- #: includes/class-sp-ajax.php:493 includes/class-sp-ajax.php:523
158
- #: includes/class-sp-install.php:161 includes/class-sp-player-list.php:561
159
- #: includes/class-sp-post-types.php:446 includes/sp-core-functions.php:1330
160
- #: modules/sportspress-individual-mode.php:119
161
- #: templates/event-performance-table-combined.php:30
162
- #: templates/event-performance-table.php:40
163
  msgid "Player"
164
  msgstr ""
165
 
166
- #: assets/js/admin/editor-lang.php:35 includes/class-sp-formats.php:32
167
- #: includes/class-sp-formats.php:36
 
168
  msgid "List"
169
  msgstr ""
170
 
171
- #: assets/js/admin/editor-lang.php:36 includes/class-sp-formats.php:33
 
172
  msgid "Blocks"
173
  msgstr ""
174
 
175
- #: assets/js/admin/editor-lang.php:37 includes/class-sp-formats.php:37
 
176
  msgid "Gallery"
177
  msgstr ""
178
 
@@ -180,49 +236,67 @@ msgstr ""
180
  msgid "ERROR: This is not a valid feed template."
181
  msgstr ""
182
 
183
- #: includes/admin/class-sp-admin-assets.php:114
184
- #: includes/admin/class-sp-admin-settings.php:128
185
- #: includes/admin/importers/class-sp-event-importer.php:487
186
- #: includes/admin/importers/class-sp-event-importer.php:502
187
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:200
188
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:408
189
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:132
190
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:63
 
 
 
 
 
191
  #: includes/admin/settings/class-sp-settings-status.php:260
192
  #: includes/admin/views/html-admin-page-status.php:224
 
 
193
  #: modules/sportspress-widget-alignment.php:69
194
  msgid "None"
195
  msgstr ""
196
 
197
- #: includes/admin/class-sp-admin-assets.php:115
 
198
  msgid "&mdash; Remove &mdash;"
199
  msgstr ""
200
 
201
- #: includes/admin/class-sp-admin-assets.php:116
202
  #: includes/admin/class-sp-admin-dashboard.php:80
203
- #: includes/class-sp-frontend-scripts.php:85 templates/countdown.php:98
 
 
 
 
 
 
 
 
204
  msgid "days"
205
  msgstr ""
206
 
207
- #: includes/admin/class-sp-admin-assets.php:117
208
- #: includes/class-sp-frontend-scripts.php:85 templates/countdown.php:99
209
  msgid "hrs"
210
  msgstr ""
211
 
212
- #: includes/admin/class-sp-admin-assets.php:118
213
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:30
214
- #: includes/admin/settings/class-sp-settings-events.php:192
215
- #: includes/class-sp-frontend-scripts.php:85 templates/countdown.php:100
 
 
216
  msgid "mins"
217
  msgstr ""
218
 
219
- #: includes/admin/class-sp-admin-assets.php:119
220
- #: includes/class-sp-frontend-scripts.php:85 templates/countdown.php:101
221
  msgid "secs"
222
  msgstr ""
223
 
224
- #: includes/admin/class-sp-admin-assets.php:120
225
- #: includes/admin/importers/class-sp-importer.php:177
226
  #, php-format
227
  msgid "Displaying %s&#8211;%s of %s"
228
  msgstr ""
@@ -230,7 +304,9 @@ msgstr ""
230
  #: includes/admin/class-sp-admin-dashboard.php:34
231
  #: includes/admin/class-sp-admin-menus.php:47
232
  #: includes/admin/class-sp-admin-permalink-settings.php:47
233
- #: includes/admin/class-sp-admin-welcome.php:105
 
 
234
  #: includes/admin/views/html-admin-settings.php:2
235
  #: modules/sportspress-admin-bar.php:56 modules/sportspress-overview.php:78
236
  #: modules/sportspress-overview.php:135 modules/sportspress-overview.php:186
@@ -274,254 +350,289 @@ msgid "Import <strong>events</strong> from a csv file."
274
  msgstr ""
275
 
276
  #: includes/admin/class-sp-admin-importers.php:38
277
- msgid "SportsPress Teams (CSV)"
278
  msgstr ""
279
 
280
  #: includes/admin/class-sp-admin-importers.php:39
281
- msgid "Import <strong>teams</strong> from a csv file."
282
  msgstr ""
283
 
284
  #: includes/admin/class-sp-admin-importers.php:43
285
- msgid "SportsPress Players (CSV)"
286
  msgstr ""
287
 
288
  #: includes/admin/class-sp-admin-importers.php:44
289
- msgid "Import <strong>players</strong> from a csv file."
290
  msgstr ""
291
 
292
  #: includes/admin/class-sp-admin-importers.php:48
293
- msgid "SportsPress Staff (CSV)"
294
  msgstr ""
295
 
296
  #: includes/admin/class-sp-admin-importers.php:49
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
297
  msgid "Import <strong>staff</strong> from a csv file."
298
  msgstr ""
299
 
300
  #: includes/admin/class-sp-admin-menus.php:54
301
- #: includes/admin/class-sp-admin-settings.php:475
302
- #: includes/admin/views/html-admin-config.php:3
303
  msgid "Configure"
304
  msgstr ""
305
 
306
  #: includes/admin/class-sp-admin-menus.php:61
307
- #: includes/admin/class-sp-admin-menus.php:250
308
  #: includes/admin/class-sp-admin-permalink-settings.php:29
309
  #: includes/admin/importers/class-sp-player-importer.php:30
310
  #: includes/admin/importers/class-sp-staff-importer.php:29
311
  #: includes/admin/importers/class-sp-team-importer.php:27
312
- #: includes/admin/post-types/class-sp-admin-cpt-player.php:68
313
  #: includes/admin/post-types/class-sp-admin-cpt-staff.php:67
314
  #: includes/admin/post-types/class-sp-admin-cpt-team.php:67
315
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:135
316
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:142
 
317
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:124
318
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:131
319
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:59
320
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:66
321
- #: includes/admin/settings/class-sp-settings-players.php:113
322
  #: includes/admin/settings/class-sp-settings-status.php:334
323
  #: includes/admin/views/html-admin-page-status.php:296
324
- #: includes/class-sp-post-types.php:37 includes/class-sp-post-types.php:51
325
- #: modules/sportspress-tutorials.php:64 templates/player-details.php:87
326
- #: templates/team-details.php:24
327
- msgid "Competitions"
328
  msgstr ""
329
 
330
  #: includes/admin/class-sp-admin-menus.php:68
331
- #: includes/admin/class-sp-admin-menus.php:258
332
  #: includes/admin/class-sp-admin-permalink-settings.php:30
333
  #: includes/admin/importers/class-sp-player-importer.php:31
334
  #: includes/admin/importers/class-sp-staff-importer.php:30
335
  #: includes/admin/importers/class-sp-team-importer.php:28
336
- #: includes/admin/post-types/class-sp-admin-cpt-player.php:69
337
  #: includes/admin/post-types/class-sp-admin-cpt-staff.php:68
338
  #: includes/admin/post-types/class-sp-admin-cpt-team.php:68
339
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:152
340
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:159
 
341
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:139
342
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:146
343
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:76
344
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:83
345
- #: includes/admin/settings/class-sp-settings-players.php:121
346
  #: includes/admin/settings/class-sp-settings-status.php:344
347
  #: includes/admin/views/html-admin-page-status.php:306
348
- #: includes/class-sp-post-types.php:68 includes/class-sp-post-types.php:82
349
- #: modules/sportspress-tutorials.php:64 templates/player-details.php:95
350
- #: templates/team-details.php:33
351
  msgid "Seasons"
352
  msgstr ""
353
 
354
  #: includes/admin/class-sp-admin-menus.php:104
355
- #: includes/admin/class-sp-admin-welcome.php:123
356
- #: includes/admin/class-sp-admin-welcome.php:224
357
- #: modules/sportspress-tutorials.php:87 sportspress.php:140
358
  msgid "Settings"
359
  msgstr ""
360
 
361
- #: includes/admin/class-sp-admin-menus.php:246
362
- #: includes/admin/importers/class-sp-event-importer.php:488
363
- #: includes/admin/importers/class-sp-event-importer.php:503
364
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:84
365
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:57
366
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:135
367
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:55
368
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:100
 
 
369
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-metrics.php:43
370
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:76
371
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:52
372
- #: includes/admin/views/html-admin-config.php:51
373
- #: includes/admin/views/html-admin-config.php:128
374
- #: includes/admin/views/html-admin-config.php:216
375
- #: includes/admin/views/html-admin-config.php:269
376
- #: includes/admin/views/html-admin-config.php:319
377
- #: includes/admin/views/html-admin-config.php:370
378
- #: includes/class-sp-post-types.php:43 includes/class-sp-post-types.php:74
379
- #: includes/class-sp-post-types.php:105 includes/class-sp-post-types.php:136
380
- #: includes/class-sp-post-types.php:167 includes/sp-core-functions.php:1023
381
- #: includes/sp-core-functions.php:1040
382
  #: includes/widgets/class-sp-widget-countdown.php:81
383
  #: includes/widgets/class-sp-widget-countdown.php:101
384
- #: includes/widgets/class-sp-widget-event-blocks.php:99
385
- #: includes/widgets/class-sp-widget-event-calendar.php:87
386
- #: includes/widgets/class-sp-widget-event-list.php:102
387
  #: includes/widgets/class-sp-widget-league-table.php:91
388
  #: includes/widgets/class-sp-widget-player-gallery.php:95
389
  #: includes/widgets/class-sp-widget-player-gallery.php:126
390
  #: includes/widgets/class-sp-widget-player-list.php:95
391
  #: includes/widgets/class-sp-widget-player-list.php:151
392
  #: includes/widgets/class-sp-widget-staff.php:68
 
 
393
  msgid "Add New"
394
  msgstr ""
395
 
396
- #: includes/admin/class-sp-admin-menus.php:254
397
  #: includes/admin/class-sp-admin-permalink-settings.php:33
398
  #: includes/admin/importers/class-sp-player-importer.php:28
399
- #: includes/admin/post-types/class-sp-admin-cpt-player.php:66
400
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:86
401
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:93
402
- #: includes/admin/settings/class-sp-settings-events.php:363
403
  #: includes/admin/settings/class-sp-settings-status.php:364
404
  #: includes/admin/views/html-admin-page-status.php:326
405
- #: includes/class-sp-post-types.php:130 includes/class-sp-post-types.php:144
406
- #: modules/sportspress-tutorials.php:66
407
  msgid "Positions"
408
  msgstr ""
409
 
410
- #: includes/admin/class-sp-admin-menus.php:262
411
  #: includes/admin/class-sp-admin-permalink-settings.php:26
412
- #: includes/admin/settings/class-sp-settings-events.php:158
413
- #: includes/admin/settings/class-sp-settings-events.php:215
414
  #: includes/admin/settings/class-sp-settings-status.php:354
415
  #: includes/admin/views/html-admin-page-status.php:316
416
- #: includes/class-sp-post-types.php:99 includes/class-sp-post-types.php:113
417
- #: modules/sportspress-tutorials.php:65
418
  msgid "Venues"
419
  msgstr ""
420
 
421
  #: includes/admin/class-sp-admin-permalink-settings.php:25
422
  #: includes/admin/class-sp-admin-sample-data.php:365
423
- #: includes/admin/class-sp-admin-taxonomies.php:190
424
- #: includes/admin/class-sp-admin-taxonomies.php:204
425
  #: includes/admin/post-types/class-sp-admin-cpt-calendar.php:53
426
  #: includes/admin/settings/class-sp-settings-events.php:25
427
  #: includes/admin/settings/class-sp-settings-modules.php:34
428
- #: includes/class-sp-post-types.php:381 modules/sportspress-calendars.php:154
429
- #: modules/sportspress-tutorials.php:80 modules/sportspress-tutorials.php:91
 
 
 
 
430
  msgid "Events"
431
  msgstr ""
432
 
433
  #: includes/admin/class-sp-admin-permalink-settings.php:27
434
  #: includes/admin/class-sp-admin-sample-data.php:472
435
- #: includes/class-sp-modules.php:28 modules/sportspress-calendars.php:65
436
- #: modules/sportspress-template-selector.php:176
437
- #: modules/sportspress-tutorials.php:83 modules/sportspress-tutorials.php:95
438
  msgid "Calendars"
439
  msgstr ""
440
 
441
  #: includes/admin/class-sp-admin-permalink-settings.php:28
442
  #: includes/admin/class-sp-admin-sample-data.php:166
 
443
  #: includes/admin/importers/class-sp-event-importer.php:29
444
  #: includes/admin/importers/class-sp-player-importer.php:29
445
  #: includes/admin/importers/class-sp-staff-importer.php:28
446
- #: includes/admin/post-types/class-sp-admin-cpt-event.php:100
447
- #: includes/admin/post-types/class-sp-admin-cpt-player.php:67
 
448
  #: includes/admin/post-types/class-sp-admin-cpt-staff.php:66
449
  #: includes/admin/post-types/class-sp-admin-cpt-table.php:51
450
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:127
 
451
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:59
452
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:122
 
453
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:110
454
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:125
455
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:100
456
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:115
457
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:41
458
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:58
459
- #: includes/admin/settings/class-sp-settings-events.php:141
460
- #: includes/admin/settings/class-sp-settings-events.php:282
461
- #: includes/admin/settings/class-sp-settings-events.php:355
462
  #: includes/admin/settings/class-sp-settings-modules.php:35
463
  #: includes/admin/settings/class-sp-settings-teams.php:25
464
- #: includes/class-sp-ajax.php:302 includes/class-sp-post-types.php:415
465
- #: includes/sp-core-functions.php:1341 modules/sportspress-calendars.php:203
466
- #: modules/sportspress-calendars.php:217 modules/sportspress-countdowns.php:85
467
- #: modules/sportspress-individual-mode.php:270
468
- #: modules/sportspress-league-tables.php:202
469
- #: modules/sportspress-tutorials.php:68 modules/sportspress-tutorials.php:98
470
- #: templates/event-list.php:105
 
 
 
471
  msgid "Teams"
472
  msgstr ""
473
 
474
  #: includes/admin/class-sp-admin-permalink-settings.php:31
475
  #: includes/admin/class-sp-admin-sample-data.php:506
476
- #: includes/class-sp-modules.php:49 modules/sportspress-league-tables.php:66
477
- #: modules/sportspress-league-tables.php:134
478
- #: modules/sportspress-league-tables.php:189
479
- #: modules/sportspress-tutorials.php:70
 
 
480
  msgid "League Tables"
481
  msgstr ""
482
 
483
  #: includes/admin/class-sp-admin-permalink-settings.php:32
484
  #: includes/admin/class-sp-admin-sample-data.php:210
485
- #: includes/admin/class-sp-admin-taxonomies.php:223
 
486
  #: includes/admin/importers/class-sp-event-importer.php:32
487
  #: includes/admin/post-types/class-sp-admin-cpt-list.php:52
488
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:88
489
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:90
490
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:58
491
- #: includes/admin/settings/class-sp-settings-events.php:317
492
- #: includes/admin/settings/class-sp-settings-events.php:371
493
  #: includes/admin/settings/class-sp-settings-modules.php:36
494
  #: includes/admin/settings/class-sp-settings-players.php:25
495
- #: includes/class-sp-post-types.php:445
496
- #: modules/sportspress-individual-mode.php:116
497
- #: modules/sportspress-player-lists.php:209
498
- #: modules/sportspress-tutorials.php:72 modules/sportspress-tutorials.php:103
 
 
499
  msgid "Players"
500
  msgstr ""
501
 
502
  #: includes/admin/class-sp-admin-permalink-settings.php:34
503
  #: includes/admin/class-sp-admin-sample-data.php:548
504
  #: includes/admin/class-sp-admin-sample-data.php:593
505
- #: includes/class-sp-modules.php:77 modules/sportspress-player-lists.php:65
506
- #: modules/sportspress-player-lists.php:126
507
- #: modules/sportspress-player-lists.php:196
 
 
508
  msgid "Player Lists"
509
  msgstr ""
510
 
511
  #: includes/admin/class-sp-admin-permalink-settings.php:35
512
  #: includes/admin/class-sp-admin-sample-data.php:305
513
- #: includes/admin/class-sp-admin-taxonomies.php:240
514
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:169
515
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:93
 
516
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:55
517
- #: includes/admin/settings/class-sp-settings-events.php:309
518
  #: includes/admin/settings/class-sp-settings-modules.php:36
519
  #: includes/admin/settings/class-sp-settings-staff.php:25
520
- #: includes/class-sp-install.php:193 includes/class-sp-post-types.php:475
521
- #: includes/class-sp-post-types.php:476 includes/sp-core-functions.php:1338
 
 
 
522
  #: includes/widgets/class-sp-widget-staff.php:6
523
  #: includes/widgets/class-sp-widget-staff.php:57
524
- #: modules/sportspress-tutorials.php:72 templates/event-staff.php:44
525
  msgid "Staff"
526
  msgstr ""
527
 
@@ -531,59 +642,61 @@ msgid ""
531
  "only apply when <strong>not using \"default\" permalinks above</strong>."
532
  msgstr ""
533
 
534
- #: includes/admin/class-sp-admin-post-types.php:74
535
- #: includes/sp-template-hooks.php:381
536
  msgid "Settings saved."
537
  msgstr ""
538
 
539
- #: includes/admin/class-sp-admin-post-types.php:76
540
- #: includes/admin/views/html-admin-config.php:50
541
- #: includes/admin/views/html-admin-config.php:127
542
- #: includes/admin/views/html-admin-config.php:215
543
- #: includes/admin/views/html-admin-config.php:268
544
- #: includes/admin/views/html-admin-config.php:318
545
- #: includes/admin/views/html-admin-config.php:369
546
- #: includes/sp-template-hooks.php:383 modules/sportspress-overview.php:284
547
  msgid "View All"
548
  msgstr ""
549
 
550
- #: includes/admin/class-sp-admin-post-types.php:81
551
- #: includes/admin/class-sp-admin-post-types.php:84
552
- #: includes/admin/class-sp-admin-post-types.php:89
553
- #: includes/sp-template-hooks.php:389 includes/sp-template-hooks.php:392
554
- #: includes/sp-template-hooks.php:397
555
  msgid "Changes saved."
556
  msgstr ""
557
 
558
- #: includes/admin/class-sp-admin-post-types.php:86
559
- #: includes/admin/class-sp-admin-post-types.php:91
560
- #: includes/admin/class-sp-admin-post-types.php:101
561
- #: includes/sp-template-hooks.php:394 includes/sp-template-hooks.php:399
562
- #: includes/sp-template-hooks.php:409
563
  msgid "Success!"
564
  msgstr ""
565
 
566
- #: includes/admin/class-sp-admin-post-types.php:93
567
- #: includes/admin/class-sp-admin-post-types.php:99
568
- #: includes/admin/class-sp-admin-post-types.php:103
569
- #: includes/sp-template-hooks.php:401 includes/sp-template-hooks.php:407
570
- #: includes/sp-template-hooks.php:411
571
  #, php-format
572
  msgid "Preview %s"
573
  msgstr ""
574
 
575
- #: includes/admin/class-sp-admin-post-types.php:96
576
- #: includes/sp-template-hooks.php:404
577
  #, php-format
578
  msgid "Scheduled for: <b>%1$s</b>."
579
  msgstr ""
580
 
581
- #: includes/admin/class-sp-admin-post-types.php:97
582
- #: includes/sp-template-hooks.php:405
583
  msgid "M j, Y @ G:i"
584
  msgstr ""
585
 
586
  #: includes/admin/class-sp-admin-sample-data.php:44
 
 
587
  msgctxt "example"
588
  msgid "Primary League"
589
  msgstr ""
@@ -594,6 +707,7 @@ msgid "Secondary League"
594
  msgstr ""
595
 
596
  #: includes/admin/class-sp-admin-sample-data.php:110
 
597
  #, php-format
598
  msgctxt "example"
599
  msgid ""
@@ -602,30 +716,6 @@ msgid ""
602
  "your content. Have fun!"
603
  msgstr ""
604
 
605
- #: includes/admin/class-sp-admin-sample-data.php:166
606
- #: includes/admin/post-types/class-sp-admin-cpt-calendar.php:52
607
- #: includes/admin/post-types/class-sp-admin-cpt-list.php:51
608
- #: includes/admin/post-types/class-sp-admin-cpt-team.php:70
609
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:70
610
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-results.php:243
611
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:42
612
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:55
613
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:44
614
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:69
615
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:72
616
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:57
617
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:119
618
- #: includes/admin/settings/class-sp-settings-events.php:444
619
- #: includes/admin/settings/class-sp-settings-events.php:446
620
- #: includes/class-sp-league-table.php:575 includes/class-sp-player-list.php:542
621
- #: includes/class-sp-player-list.php:562 includes/class-sp-player.php:458
622
- #: includes/class-sp-player.php:481 includes/class-sp-post-types.php:416
623
- #: includes/sp-core-functions.php:1340
624
- #: includes/widgets/class-sp-widget-countdown.php:69
625
- #: templates/event-results.php:108
626
- msgid "Team"
627
- msgstr ""
628
-
629
  #: includes/admin/class-sp-admin-sample-data.php:469
630
  msgctxt "example"
631
  msgid "Fixtures & Results"
@@ -639,12 +729,14 @@ msgstr ""
639
  #: includes/admin/class-sp-admin-sample-data.php:548
640
  #: includes/admin/class-sp-admin-sample-data.php:593
641
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:55
642
- #: includes/class-sp-ajax.php:559 includes/class-sp-ajax.php:656
 
643
  #: includes/widgets/class-sp-widget-player-gallery.php:84
644
  #: includes/widgets/class-sp-widget-player-list.php:6
645
  #: includes/widgets/class-sp-widget-player-list.php:84
646
- #: modules/sportspress-player-lists.php:66
647
- #: modules/sportspress-player-lists.php:161
 
648
  msgid "Player List"
649
  msgstr ""
650
 
@@ -653,343 +745,550 @@ msgctxt "example"
653
  msgid "Player Ranking"
654
  msgstr ""
655
 
656
- #: includes/admin/class-sp-admin-settings.php:60
657
  msgid "Action failed. Please refresh the page and retry."
658
  msgstr ""
659
 
660
- #: includes/admin/class-sp-admin-settings.php:67
661
- #: includes/admin/class-sp-admin-welcome.php:165
662
  msgid "Your settings have been saved."
663
  msgstr ""
664
 
665
- #: includes/admin/class-sp-admin-settings.php:479
666
  msgid "Install demo content"
667
  msgstr ""
668
 
669
- #: includes/admin/class-sp-admin-sports.php:285
670
- msgid "Team Sports"
671
  msgstr ""
672
 
673
- #: includes/admin/class-sp-admin-sports.php:286
674
- msgid "Racket Sports"
 
675
  msgstr ""
676
 
677
- #: includes/admin/class-sp-admin-sports.php:287
678
- msgid "Water Sports"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
679
  msgstr ""
680
 
681
- #: includes/admin/class-sp-admin-sports.php:288
682
- msgid "Target Sports"
 
683
  msgstr ""
684
 
685
- #: includes/admin/class-sp-admin-sports.php:289
686
- msgid "Esports"
687
  msgstr ""
688
 
689
- #: includes/admin/class-sp-admin-sports.php:290
690
- #: includes/admin/settings/class-sp-settings-modules.php:38
691
- #: modules/sportspress-tutorials.php:107
692
- msgid "Other"
693
  msgstr ""
694
 
695
- #: includes/admin/class-sp-admin-sports.php:299
696
- msgid "Baseball"
 
 
 
697
  msgstr ""
698
 
699
- #: includes/admin/class-sp-admin-sports.php:300
700
- msgid "Basketball"
 
 
 
701
  msgstr ""
702
 
703
- #: includes/admin/class-sp-admin-sports.php:301
704
- msgid "Cricket"
 
 
 
705
  msgstr ""
706
 
707
- #: includes/admin/class-sp-admin-sports.php:302
708
- msgid "Darts"
709
  msgstr ""
710
 
711
- #: includes/admin/class-sp-admin-sports.php:303
712
- msgid "Floorball"
713
  msgstr ""
714
 
715
- #: includes/admin/class-sp-admin-sports.php:304
716
- msgid "Association Football"
717
  msgstr ""
718
 
719
- #: includes/admin/class-sp-admin-sports.php:305
720
- msgid "American Football"
 
 
721
  msgstr ""
722
 
723
- #: includes/admin/class-sp-admin-sports.php:306
724
- msgid "Australian Rules Football"
 
725
  msgstr ""
726
 
727
- #: includes/admin/class-sp-admin-sports.php:307
728
- msgid "Handball"
 
729
  msgstr ""
730
 
731
- #: includes/admin/class-sp-admin-sports.php:308
732
- msgid "Ice Hockey"
733
  msgstr ""
734
 
735
- #: includes/admin/class-sp-admin-sports.php:309
736
- #: includes/admin/class-sp-admin-welcome.php:325
737
- msgid "Lacrosse"
738
  msgstr ""
739
 
740
- #: includes/admin/class-sp-admin-sports.php:310
741
- msgid "Netball"
742
  msgstr ""
743
 
744
- #: includes/admin/class-sp-admin-sports.php:311
745
- msgid "Rugby League"
 
 
 
 
746
  msgstr ""
747
 
748
- #: includes/admin/class-sp-admin-sports.php:312
749
- msgid "Rugby Union"
 
 
 
 
750
  msgstr ""
751
 
752
- #: includes/admin/class-sp-admin-sports.php:313
753
- msgid "Snooker"
754
  msgstr ""
755
 
756
- #: includes/admin/class-sp-admin-sports.php:314
757
- msgid "Softball"
758
  msgstr ""
759
 
760
- #: includes/admin/class-sp-admin-sports.php:315
761
- msgid "Squash"
762
  msgstr ""
763
 
764
- #: includes/admin/class-sp-admin-sports.php:316
765
- msgid "Table Tennis"
766
  msgstr ""
767
 
768
- #: includes/admin/class-sp-admin-sports.php:317
769
- msgid "Tennis"
770
  msgstr ""
771
 
772
- #: includes/admin/class-sp-admin-sports.php:318
773
- msgid "Volleyball"
774
  msgstr ""
775
 
776
- #: includes/admin/class-sp-admin-sports.php:319
777
- msgid "Water Polo"
778
  msgstr ""
779
 
780
- #: includes/admin/class-sp-admin-sports.php:320
781
- msgid "Dota 2"
782
  msgstr ""
783
 
784
- #: includes/admin/class-sp-admin-sports.php:321
785
- msgid "League of Legends"
786
  msgstr ""
787
 
788
- #: includes/admin/class-sp-admin-sports.php:322
789
- #: includes/admin/class-sp-admin-welcome.php:324
790
- msgid "Counter-Strike: Global Offensive"
791
  msgstr ""
792
 
793
- #: includes/admin/class-sp-admin-taxonomies.php:78
794
- #: includes/admin/class-sp-admin-taxonomies.php:104
795
- #: includes/admin/class-sp-admin-taxonomies.php:203
796
- msgid "Address"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
797
  msgstr ""
798
 
799
- #: includes/admin/class-sp-admin-taxonomies.php:81
800
- #: includes/admin/class-sp-admin-taxonomies.php:108
801
- msgid "Drag the marker to the venue's location."
 
 
 
 
 
 
 
 
 
 
 
 
802
  msgstr ""
803
 
804
- #: includes/admin/class-sp-admin-taxonomies.php:84
805
- #: includes/admin/class-sp-admin-taxonomies.php:112
806
- msgid "Latitude"
807
  msgstr ""
808
 
809
- #: includes/admin/class-sp-admin-taxonomies.php:88
810
- #: includes/admin/class-sp-admin-taxonomies.php:118
811
- msgid "Longitude"
 
 
812
  msgstr ""
813
 
814
- #: includes/admin/class-sp-admin-taxonomies.php:135
815
- #: includes/admin/class-sp-admin-taxonomies.php:152
816
- #: includes/admin/class-sp-admin-taxonomies.php:222
817
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:33
818
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:35
819
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:32
820
- #: includes/admin/settings/class-sp-settings-general.php:349
821
- msgid "Heading"
822
  msgstr ""
823
 
824
- #: includes/admin/class-sp-admin-taxonomies.php:137
825
- #: includes/admin/class-sp-admin-taxonomies.php:155
826
- #: includes/admin/views/html-admin-config.php:20
827
- #: includes/admin/views/html-admin-config.php:75
828
- #: includes/admin/views/html-admin-config.php:152
829
- msgid "Used for events."
830
  msgstr ""
831
 
832
- #: includes/admin/class-sp-admin-welcome.php:49
833
- msgid "About SportsPress"
 
 
 
834
  msgstr ""
835
 
836
- #: includes/admin/class-sp-admin-welcome.php:50
837
- #: includes/admin/settings/class-sp-settings-modules.php:197
838
- msgid "Welcome to SportsPress"
 
839
  msgstr ""
840
 
841
- #: includes/admin/class-sp-admin-welcome.php:107
842
- #, php-format
843
- msgid "Version %s"
 
844
  msgstr ""
845
 
846
- #: includes/admin/class-sp-admin-welcome.php:112
847
- msgid "Thanks, all done!"
 
 
848
  msgstr ""
849
 
850
- #: includes/admin/class-sp-admin-welcome.php:114
851
- msgid "Thank you for updating to the latest version!"
 
 
852
  msgstr ""
853
 
854
- #: includes/admin/class-sp-admin-welcome.php:116
855
- msgid "Thanks for installing!"
 
856
  msgstr ""
857
 
858
- #: includes/admin/class-sp-admin-welcome.php:118
859
- #, php-format
860
- msgid "%s SportsPress %s has lots of refinements we think you&#8217;ll love."
861
  msgstr ""
862
 
863
- #: includes/admin/class-sp-admin-welcome.php:124 sportspress.php:141
864
- msgid "Docs"
865
  msgstr ""
866
 
867
- #: includes/admin/class-sp-admin-welcome.php:131
868
- #: includes/admin/views/html-notice-install.php:7
869
- #: modules/sportspress-tutorials.php:62
870
- msgid "Get Started"
871
  msgstr ""
872
 
873
- #: includes/admin/class-sp-admin-welcome.php:133
874
- msgid "Credits"
 
 
875
  msgstr ""
876
 
877
- #: includes/admin/class-sp-admin-welcome.php:135
878
- msgid "Translators"
 
 
 
879
  msgstr ""
880
 
881
- #: includes/admin/class-sp-admin-welcome.php:177
882
- #: includes/admin/class-sp-admin-welcome.php:269
883
- #: includes/admin/settings/class-sp-settings-general.php:53
884
- #: includes/admin/settings/class-sp-settings-status.php:259
885
- #: includes/admin/views/html-admin-page-status.php:223
886
- msgid "Sport"
887
  msgstr ""
888
 
889
- #: includes/admin/class-sp-admin-welcome.php:191
890
- msgid "Change"
 
891
  msgstr ""
892
 
893
- #: includes/admin/class-sp-admin-welcome.php:193
894
- msgid "Next Steps"
895
  msgstr ""
896
 
897
- #: includes/admin/class-sp-admin-welcome.php:194
898
- msgid "We&#8217;ve assembled some links to get you started:"
899
  msgstr ""
900
 
901
- #: includes/admin/class-sp-admin-welcome.php:200
902
- #: includes/class-sp-post-types.php:417 modules/sportspress-tutorials.php:69
903
- msgid "Add New Team"
904
  msgstr ""
905
 
906
- #: includes/admin/class-sp-admin-welcome.php:205
907
- #: includes/class-sp-post-types.php:447 modules/sportspress-tutorials.php:74
908
- msgid "Add New Player"
909
  msgstr ""
910
 
911
- #: includes/admin/class-sp-admin-welcome.php:210
912
- #: includes/class-sp-post-types.php:383 modules/sportspress-tutorials.php:81
913
- msgid "Add New Event"
914
  msgstr ""
915
 
916
- #: includes/admin/class-sp-admin-welcome.php:225
917
- msgid "Go to SportsPress Settings"
 
 
918
  msgstr ""
919
 
920
- #: includes/admin/class-sp-admin-welcome.php:228
921
- msgid "Basic Setup"
922
  msgstr ""
923
 
924
- #: includes/admin/class-sp-admin-welcome.php:229
925
- msgid "Select your timezone and sport to get started."
926
  msgstr ""
927
 
928
- #: includes/admin/class-sp-admin-welcome.php:234
929
- #: includes/admin/settings/class-sp-settings-general.php:274
930
- #: includes/admin/settings/class-sp-settings-general.php:277
931
- msgid "Timezone"
932
  msgstr ""
933
 
934
- #: includes/admin/class-sp-admin-welcome.php:234
935
- #: includes/admin/settings/class-sp-settings-general.php:274
936
- msgid "Choose a city in the same timezone as you."
937
  msgstr ""
938
 
939
- #: includes/admin/class-sp-admin-welcome.php:280
940
- #: includes/admin/settings/class-sp-settings-modules.php:264
941
- #: includes/admin/views/html-admin-settings.php:15
942
- msgid "Save Changes"
943
  msgstr ""
944
 
945
- #: includes/admin/class-sp-admin-welcome.php:289
946
- #: includes/admin/settings/class-sp-settings-modules.php:134
947
- msgid "Free SportsPress Theme"
948
  msgstr ""
949
 
950
- #: includes/admin/class-sp-admin-welcome.php:291
951
- #: includes/admin/views/html-notice-theme-support.php:6
952
- msgid "Have you tried the free Rookie theme yet?"
953
  msgstr ""
954
 
955
- #: includes/admin/class-sp-admin-welcome.php:292
956
- #: includes/admin/settings/class-sp-settings-modules.php:122
957
- #: includes/admin/settings/class-sp-settings-modules.php:140
958
- msgid "Rookie is a free starter theme for SportsPress designed by ThemeBoy."
959
  msgstr ""
960
 
961
- #: includes/admin/class-sp-admin-welcome.php:294
962
- #: includes/admin/settings/class-sp-settings-modules.php:143
963
- #: includes/admin/views/html-notice-theme-support.php:8
964
- msgid "Install Now"
965
  msgstr ""
966
 
967
- #: includes/admin/class-sp-admin-welcome.php:311
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
968
  #, php-format
969
- msgid ""
970
- "SportsPress is developed and maintained by a worldwide team of passionate "
971
- "individuals and backed by an awesome developer community. Want to see your "
972
- "name? <a href=\"%s\">Contribute to SportsPress</a>."
973
  msgstr ""
974
 
975
- #: includes/admin/class-sp-admin-welcome.php:314
976
- #: includes/admin/settings/class-sp-settings-modules.php:160
977
- msgid "Developers"
 
 
 
978
  msgstr ""
979
 
980
- #: includes/admin/class-sp-admin-welcome.php:318
981
  #, php-format
982
- msgid ""
983
- "Some presets have been submitted by our helpful and generous users. Want to "
984
- "see your name? <a href=\"%s\">Add a Sport Preset</a>."
985
  msgstr ""
986
 
987
- #: includes/admin/class-sp-admin-welcome.php:321
988
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:155
989
- msgid "Presets"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
990
  msgstr ""
991
 
992
- #: includes/admin/class-sp-admin-welcome.php:348
993
  #, php-format
994
  msgid ""
995
  "SportsPress has been kindly translated into several other languages thanks "
@@ -997,93 +1296,96 @@ msgid ""
997
  "SportsPress</a>."
998
  msgstr ""
999
 
1000
- #: includes/admin/class-sp-admin-welcome.php:350
1001
- msgid "Top Translations"
1002
- msgstr ""
1003
-
1004
- #: includes/admin/class-sp-admin-welcome.php:549
1005
- #: includes/admin/settings/class-sp-settings-status.php:237
1006
- #: includes/admin/views/html-admin-page-status.php:201
1007
- msgid "by"
1008
- msgstr ""
1009
-
1010
- #: includes/admin/class-sp-admin-welcome.php:585
1011
  #, php-format
1012
  msgid "View %s"
1013
  msgstr ""
1014
 
1015
- #: includes/admin/class-sp-admin.php:101
1016
- msgid "Import"
 
1017
  msgstr ""
1018
 
 
1019
  #: includes/admin/importers/class-sp-event-importer.php:24
1020
  msgid "Import Events"
1021
  msgstr ""
1022
 
 
 
 
 
 
 
 
 
 
 
 
1023
  #: includes/admin/importers/class-sp-event-importer.php:26
1024
- #: includes/admin/post-types/class-sp-admin-cpt-event.php:98
 
1025
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:50
1026
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:48
1027
- #: includes/admin/settings/class-sp-settings-events.php:67
1028
- #: includes/sp-core-functions.php:1320 templates/event-details.php:22
1029
- #: templates/event-list.php:82
 
 
 
1030
  msgid "Date"
1031
  msgstr ""
1032
 
1033
  #: includes/admin/importers/class-sp-event-importer.php:27
1034
- #: includes/admin/post-types/class-sp-admin-cpt-event.php:99
 
 
1035
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:72
 
 
1036
  #: includes/admin/settings/class-sp-settings-events.php:74
1037
- #: includes/class-sp-ajax.php:303 includes/sp-core-functions.php:468
1038
- #: includes/sp-core-functions.php:1342 templates/event-details.php:27
1039
- #: templates/event-list.php:98 templates/event-list.php:113
1040
- #: templates/event-list.php:119
 
 
1041
  msgid "Time"
1042
  msgstr ""
1043
 
1044
- #: includes/admin/importers/class-sp-event-importer.php:28
1045
- #: includes/admin/post-types/class-sp-admin-cpt-calendar.php:51
1046
- #: includes/admin/post-types/class-sp-admin-cpt-event.php:103
1047
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:103
1048
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:49
1049
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:40
1050
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:100
1051
- #: includes/admin/settings/class-sp-settings-events.php:95
1052
- #: includes/admin/settings/class-sp-settings-teams.php:80
1053
- #: includes/class-sp-ajax.php:304 includes/class-sp-post-types.php:100
1054
- #: includes/sp-core-functions.php:1345
1055
- #: includes/widgets/class-sp-widget-event-list.php:156
1056
- #: templates/event-list.php:138 templates/event-venue.php:37
1057
- msgid "Venue"
1058
- msgstr ""
1059
-
1060
  #: includes/admin/importers/class-sp-event-importer.php:31
1061
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-results.php:258
1062
- #: includes/admin/settings/class-sp-settings-events.php:290
1063
- #: includes/class-sp-event.php:46 includes/class-sp-event.php:67
1064
- #: includes/class-sp-post-types.php:234 includes/sp-core-functions.php:1327
 
1065
  msgid "Outcome"
1066
  msgstr ""
1067
 
1068
- #: includes/admin/importers/class-sp-event-importer.php:427
 
1069
  #, php-format
1070
  msgid ""
1071
  "Import complete - imported <strong>%s</strong> events and skipped <strong>"
1072
  "%s</strong>."
1073
  msgstr ""
1074
 
1075
- #: includes/admin/importers/class-sp-event-importer.php:437
 
 
1076
  #: includes/admin/importers/class-sp-player-importer.php:147
1077
  #: includes/admin/importers/class-sp-staff-importer.php:143
1078
  #: includes/admin/importers/class-sp-team-importer.php:112
1079
  msgid "All done!"
1080
  msgstr ""
1081
 
1082
- #: includes/admin/importers/class-sp-event-importer.php:437
1083
  msgid "View Events"
1084
  msgstr ""
1085
 
1086
- #: includes/admin/importers/class-sp-event-importer.php:450
 
 
1087
  #: includes/admin/importers/class-sp-player-importer.php:170
1088
  #: includes/admin/importers/class-sp-staff-importer.php:166
1089
  #: includes/admin/importers/class-sp-team-importer.php:125
@@ -1092,94 +1394,218 @@ msgid ""
1092
  "\"."
1093
  msgstr ""
1094
 
1095
- #: includes/admin/importers/class-sp-event-importer.php:451
1096
  #, php-format
1097
  msgid ""
1098
  "Events need to be defined with columns in a specific order (3+ columns). <a "
1099
  "href=\"%s\">Click here to download a sample</a>."
1100
  msgstr ""
1101
 
1102
- #: includes/admin/importers/class-sp-event-importer.php:467
1103
- #: includes/admin/post-types/class-sp-admin-cpt-event.php:96
 
 
 
 
 
 
 
1104
  #: includes/admin/post-types/class-sp-admin-cpt-performance.php:47
1105
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:113
1106
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:57
1107
- #: includes/admin/views/html-admin-config.php:166
 
1108
  msgid "Format"
1109
  msgstr ""
1110
 
1111
- #: includes/admin/importers/class-sp-event-importer.php:471
 
1112
  #: includes/class-sp-formats.php:27
1113
  msgid "Competitive"
1114
  msgstr ""
1115
 
1116
- #: includes/admin/importers/class-sp-event-importer.php:472
 
1117
  #: includes/class-sp-formats.php:28
1118
  msgid "Friendly"
1119
  msgstr ""
1120
 
1121
- #: includes/admin/importers/class-sp-event-importer.php:478
 
1122
  #: includes/admin/post-types/class-sp-admin-cpt-calendar.php:49
1123
- #: includes/admin/post-types/class-sp-admin-cpt-event.php:101
1124
  #: includes/admin/post-types/class-sp-admin-cpt-list.php:49
1125
  #: includes/admin/post-types/class-sp-admin-cpt-table.php:49
1126
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:91
 
1127
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:61
1128
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:61
1129
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:61
1130
- #: includes/class-sp-post-types.php:38 includes/sp-core-functions.php:1324
1131
- #: templates/event-list.php:132
1132
- msgid "Competition"
1133
  msgstr ""
1134
 
1135
- #: includes/admin/importers/class-sp-event-importer.php:484
1136
- #: includes/admin/importers/class-sp-event-importer.php:499
1137
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:50
 
 
1138
  msgid "&mdash; Not set &mdash;"
1139
  msgstr ""
1140
 
1141
- #: includes/admin/importers/class-sp-event-importer.php:493
 
1142
  #: includes/admin/post-types/class-sp-admin-cpt-calendar.php:50
1143
- #: includes/admin/post-types/class-sp-admin-cpt-event.php:102
1144
  #: includes/admin/post-types/class-sp-admin-cpt-list.php:50
1145
  #: includes/admin/post-types/class-sp-admin-cpt-table.php:50
 
1146
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:97
1147
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:63
1148
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-columns.php:60
1149
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:64
1150
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:64
1151
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:64
1152
- #: includes/class-sp-player.php:479 includes/class-sp-post-types.php:69
1153
- #: includes/sp-core-functions.php:1337 templates/event-list.php:135
 
1154
  msgid "Season"
1155
  msgstr ""
1156
 
1157
- #: includes/admin/importers/class-sp-event-importer.php:509
 
1158
  msgid "Date Format"
1159
  msgstr ""
1160
 
1161
- #: includes/admin/importers/class-sp-importer.php:101
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1162
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-column-details.php:47
1163
  msgid "Disable"
1164
  msgstr ""
1165
 
1166
- #: includes/admin/importers/class-sp-importer.php:146
1167
- #: includes/admin/importers/class-sp-importer.php:160
1168
- #: includes/admin/importers/class-sp-importer.php:171
1169
  msgid "Insert row after"
1170
  msgstr ""
1171
 
1172
- #: includes/admin/importers/class-sp-importer.php:159
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1173
  msgid "Delete row"
1174
  msgstr ""
1175
 
1176
- #: includes/admin/importers/class-sp-importer.php:186
1177
- #: includes/admin/importers/class-sp-importer.php:222
1178
- #: includes/admin/importers/class-sp-importer.php:237
 
 
 
1179
  msgid "Sorry, there has been an error."
1180
  msgstr ""
1181
 
1182
- #: includes/admin/importers/class-sp-importer.php:187
1183
  msgid "The CSV is invalid."
1184
  msgstr ""
1185
 
@@ -1189,11 +1615,15 @@ msgid "Import Players"
1189
  msgstr ""
1190
 
1191
  #: includes/admin/importers/class-sp-player-importer.php:26
1192
- #: includes/admin/post-types/class-sp-admin-cpt-player.php:64
 
1193
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:32
1194
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:72
1195
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:70
1196
- #: includes/class-sp-ajax.php:602 includes/class-sp-ajax.php:680
 
 
 
1197
  #: includes/widgets/class-sp-widget-player-gallery.php:111
1198
  #: includes/widgets/class-sp-widget-player-list.php:122
1199
  #: includes/widgets/class-sp-widget-player-list.php:124
@@ -1201,36 +1631,20 @@ msgstr ""
1201
  msgid "Squad Number"
1202
  msgstr ""
1203
 
1204
- #: includes/admin/importers/class-sp-player-importer.php:27
1205
- #: includes/admin/importers/class-sp-staff-importer.php:26
1206
- #: includes/admin/importers/class-sp-team-importer.php:26
1207
- #: includes/admin/post-types/class-sp-admin-cpt-player.php:52
1208
- #: includes/admin/post-types/class-sp-admin-cpt-player.php:71
1209
- #: includes/admin/post-types/class-sp-admin-cpt-staff.php:52
1210
- #: includes/admin/post-types/class-sp-admin-cpt-staff.php:70
1211
- #: includes/admin/post-types/class-sp-admin-cpt-team.php:51
1212
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:73
1213
- #: includes/class-sp-ajax.php:603 includes/class-sp-ajax.php:681
1214
- #: includes/class-sp-post-types.php:44 includes/class-sp-post-types.php:75
1215
- #: includes/class-sp-post-types.php:106 includes/class-sp-post-types.php:137
1216
- #: includes/class-sp-post-types.php:168
1217
- #: includes/widgets/class-sp-widget-player-gallery.php:112
1218
- #: includes/widgets/class-sp-widget-player-list.php:140
1219
- msgid "Name"
1220
- msgstr ""
1221
-
1222
  #: includes/admin/importers/class-sp-player-importer.php:32
1223
  #: includes/admin/importers/class-sp-staff-importer.php:31
1224
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:73
 
1225
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:74
1226
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:80
1227
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:81
1228
- #: includes/admin/settings/class-sp-settings-players.php:81
1229
- #: includes/admin/settings/class-sp-settings-players.php:129
1230
- #: includes/admin/settings/class-sp-settings-staff.php:72
1231
- #: includes/admin/settings/class-sp-settings-staff.php:96
1232
- #: includes/sp-core-functions.php:1325 templates/player-details.php:49
1233
- #: templates/staff-details.php:46
 
1234
  msgid "Nationality"
1235
  msgstr ""
1236
 
@@ -1258,8 +1672,10 @@ msgid "Import Staff"
1258
  msgstr ""
1259
 
1260
  #: includes/admin/importers/class-sp-staff-importer.php:27
1261
- #: includes/class-sp-post-types.php:161 includes/class-sp-post-types.php:175
1262
- #: modules/sportspress-tutorials.php:66
 
 
1263
  msgid "Jobs"
1264
  msgstr ""
1265
 
@@ -1271,7 +1687,7 @@ msgid ""
1271
  msgstr ""
1272
 
1273
  #: includes/admin/importers/class-sp-staff-importer.php:143
1274
- #: includes/class-sp-post-types.php:480
1275
  msgid "View Staff"
1276
  msgstr ""
1277
 
@@ -1287,31 +1703,24 @@ msgid "Import Teams"
1287
  msgstr ""
1288
 
1289
  #: includes/admin/importers/class-sp-team-importer.php:29
1290
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:109
1291
  #: includes/admin/settings/class-sp-settings-status.php:60
1292
  #: includes/admin/views/html-admin-page-status.php:24
 
1293
  msgid "Site URL"
1294
  msgstr ""
1295
 
1296
  #: includes/admin/importers/class-sp-team-importer.php:30
1297
  #: includes/admin/post-types/class-sp-admin-cpt-outcome.php:45
1298
  #: includes/admin/post-types/class-sp-admin-cpt-team.php:66
1299
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:43
1300
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:115
1301
- #: includes/admin/settings/class-sp-settings-teams.php:88
1302
- #: includes/admin/views/html-admin-config.php:28
 
1303
  msgid "Abbreviation"
1304
  msgstr ""
1305
 
1306
- #: includes/admin/importers/class-sp-team-importer.php:31
1307
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:57
1308
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:49
1309
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:93
1310
- #: modules/sportspress-calendars.php:218 templates/event-list.php:87
1311
- #: templates/team-details.php:39 templates/team-details.php:45
1312
- msgid "Home"
1313
- msgstr ""
1314
-
1315
  #: includes/admin/importers/class-sp-team-importer.php:102
1316
  #, php-format
1317
  msgid ""
@@ -1333,20 +1742,25 @@ msgstr ""
1333
  #: includes/admin/post-types/class-sp-admin-cpt-calendar.php:48
1334
  #: includes/admin/post-types/class-sp-admin-cpt-list.php:48
1335
  #: includes/admin/post-types/class-sp-admin-cpt-table.php:48
 
1336
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:61
1337
- #: modules/sportspress-calendars.php:195 modules/sportspress-calendars.php:216
1338
- #: modules/sportspress-calendars.php:264
1339
- #: modules/sportspress-league-tables.php:194
1340
- #: modules/sportspress-player-lists.php:201
1341
  msgid "Title"
1342
  msgstr ""
1343
 
1344
  #: includes/admin/post-types/class-sp-admin-cpt-calendar.php:54
1345
  #: includes/admin/post-types/class-sp-admin-cpt-list.php:53
1346
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:67
1347
- #: modules/sportspress-calendars.php:140
1348
- #: modules/sportspress-player-lists.php:140
1349
- #: modules/sportspress-tutorials.php:96
 
 
 
 
1350
  msgid "Layout"
1351
  msgstr ""
1352
 
@@ -1357,49 +1771,60 @@ msgstr ""
1357
  #: includes/admin/post-types/class-sp-admin-cpt-list.php:74
1358
  #: includes/admin/post-types/class-sp-admin-cpt-list.php:77
1359
  #: includes/admin/post-types/class-sp-admin-cpt-list.php:83
1360
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:81
1361
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:50
1362
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:50
1363
- #: includes/admin/settings/class-sp-settings-events.php:405
1364
- #: includes/class-sp-ajax.php:198 includes/class-sp-ajax.php:275
1365
- #: includes/class-sp-ajax.php:373 includes/class-sp-post-types.php:39
1366
- #: includes/class-sp-post-types.php:70 includes/class-sp-post-types.php:101
1367
- #: includes/class-sp-post-types.php:132 includes/class-sp-post-types.php:163
1368
- #: includes/sp-core-functions.php:456 includes/sp-core-functions.php:457
1369
- #: includes/sp-core-functions.php:459 includes/sp-core-functions.php:505
1370
- #: includes/sp-core-functions.php:536 includes/sp-core-functions.php:1293
 
 
 
 
 
 
 
1371
  #: includes/widgets/class-sp-widget-countdown.php:76
1372
- #: includes/widgets/class-sp-widget-event-blocks.php:91
1373
- #: includes/widgets/class-sp-widget-event-calendar.php:79
1374
- #: includes/widgets/class-sp-widget-event-list.php:94
1375
- #: modules/sportspress-overview.php:138
 
 
 
1376
  msgid "All"
1377
  msgstr ""
1378
 
1379
  #: includes/admin/post-types/class-sp-admin-cpt-calendar.php:87
1380
- #: includes/admin/post-types/class-sp-admin-cpt-player.php:101
 
1381
  #: includes/admin/post-types/class-sp-admin-cpt-staff.php:97
1382
- #: includes/admin/settings/class-sp-settings-players.php:97
1383
- #: includes/admin/settings/class-sp-settings-staff.php:80
1384
- #: includes/sp-core-functions.php:1318 templates/player-details.php:69
1385
- #: templates/staff-details.php:56
1386
  msgid "Current Team"
1387
  msgstr ""
1388
 
1389
  #: includes/admin/post-types/class-sp-admin-cpt-calendar.php:115
1390
- #: includes/admin/post-types/class-sp-admin-cpt-event.php:214
1391
  #: includes/admin/post-types/class-sp-admin-cpt-list.php:109
1392
- #: includes/admin/post-types/class-sp-admin-cpt-player.php:153
1393
  #: includes/admin/post-types/class-sp-admin-cpt-staff.php:134
1394
  #: includes/admin/post-types/class-sp-admin-cpt-table.php:91
1395
  #: includes/admin/post-types/class-sp-admin-cpt-team.php:111
1396
- msgid "Show all competitions"
1397
  msgstr ""
1398
 
1399
  #: includes/admin/post-types/class-sp-admin-cpt-calendar.php:124
1400
- #: includes/admin/post-types/class-sp-admin-cpt-event.php:223
1401
  #: includes/admin/post-types/class-sp-admin-cpt-list.php:118
1402
- #: includes/admin/post-types/class-sp-admin-cpt-player.php:164
1403
  #: includes/admin/post-types/class-sp-admin-cpt-staff.php:143
1404
  #: includes/admin/post-types/class-sp-admin-cpt-table.php:100
1405
  #: includes/admin/post-types/class-sp-admin-cpt-team.php:120
@@ -1407,9 +1832,10 @@ msgid "Show all seasons"
1407
  msgstr ""
1408
 
1409
  #: includes/admin/post-types/class-sp-admin-cpt-calendar.php:135
1410
- #: includes/admin/post-types/class-sp-admin-cpt-event.php:206
1411
  #: includes/admin/post-types/class-sp-admin-cpt-list.php:129
1412
- #: includes/admin/post-types/class-sp-admin-cpt-player.php:144
 
1413
  #: includes/admin/post-types/class-sp-admin-cpt-staff.php:126
1414
  #: includes/admin/post-types/class-sp-admin-cpt-table.php:111
1415
  msgid "Show all teams"
@@ -1421,50 +1847,54 @@ msgstr ""
1421
  #: includes/admin/post-types/class-sp-admin-cpt-performance.php:44
1422
  #: includes/admin/post-types/class-sp-admin-cpt-result.php:43
1423
  #: includes/admin/post-types/class-sp-admin-cpt-statistic.php:43
1424
- #: includes/admin/views/html-admin-config.php:26
1425
- #: includes/admin/views/html-admin-config.php:85
1426
- #: includes/admin/views/html-admin-config.php:163
1427
- #: includes/admin/views/html-admin-config.php:244
1428
- #: includes/admin/views/html-admin-config.php:298
1429
- #: includes/admin/views/html-admin-config.php:347
1430
  msgid "Label"
1431
  msgstr ""
1432
 
1433
  #: includes/admin/post-types/class-sp-admin-cpt-column.php:44
1434
  #: includes/admin/post-types/class-sp-admin-cpt-statistic.php:44
1435
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-column-details.php:34
1436
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:31
1437
- #: includes/sp-template-hooks.php:178
1438
  msgid "Key"
1439
  msgstr ""
1440
 
1441
  #: includes/admin/post-types/class-sp-admin-cpt-column.php:45
1442
  #: includes/admin/post-types/class-sp-admin-cpt-statistic.php:45
1443
  #: includes/admin/post-types/class-sp-admin-meta-boxes.php:48
1444
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:73
1445
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:98
1446
- #: includes/admin/views/html-admin-config.php:87
1447
- #: includes/admin/views/html-admin-config.php:245
1448
- #: includes/admin/views/html-admin-config.php:348
 
 
 
1449
  msgid "Equation"
1450
  msgstr ""
1451
 
1452
  #: includes/admin/post-types/class-sp-admin-cpt-column.php:46
1453
  #: includes/admin/post-types/class-sp-admin-cpt-statistic.php:46
1454
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-column-details.php:39
 
1455
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-result-details.php:39
1456
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:36
1457
- #: includes/admin/views/html-admin-config.php:88
1458
- #: includes/admin/views/html-admin-config.php:246
1459
- #: includes/admin/views/html-admin-config.php:349
1460
  msgid "Decimal Places"
1461
  msgstr ""
1462
 
1463
  #: includes/admin/post-types/class-sp-admin-cpt-column.php:47
1464
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:88
1465
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-column-details.php:43
1466
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:83
1467
- #: includes/admin/views/html-admin-config.php:247
1468
  msgid "Sort Order"
1469
  msgstr ""
1470
 
@@ -1474,50 +1904,50 @@ msgstr ""
1474
  #: includes/admin/post-types/class-sp-admin-cpt-performance.php:48
1475
  #: includes/admin/post-types/class-sp-admin-cpt-result.php:45
1476
  #: includes/admin/post-types/class-sp-admin-cpt-statistic.php:47
1477
- #: includes/admin/views/html-admin-config.php:30
1478
- #: includes/admin/views/html-admin-config.php:89
1479
- #: includes/admin/views/html-admin-config.php:167
1480
- #: includes/admin/views/html-admin-config.php:248
1481
- #: includes/admin/views/html-admin-config.php:300
1482
- #: includes/admin/views/html-admin-config.php:350
1483
- #: includes/sp-template-hooks.php:172 modules/sportspress-calendars.php:161
1484
- #: modules/sportspress-league-tables.php:162
1485
- #: modules/sportspress-player-lists.php:168
1486
  msgid "Description"
1487
  msgstr ""
1488
 
1489
- #: includes/admin/post-types/class-sp-admin-cpt-event.php:55
1490
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:54
1491
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-results.php:275
1492
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-results.php:293
1493
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:130
1494
- #: includes/class-sp-ajax.php:63 includes/class-sp-team.php:334
1495
  #: includes/widgets/class-sp-widget-countdown.php:93
1496
- #: modules/sportspress-tutorials.php:92
1497
  msgid "(Auto)"
1498
  msgstr ""
1499
 
1500
- #: includes/admin/post-types/class-sp-admin-cpt-event.php:172
1501
  msgid "Edit Results"
1502
  msgstr ""
1503
 
1504
- #: includes/admin/post-types/class-sp-admin-cpt-event.php:174
1505
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-video.php:33
1506
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:102
1507
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:88
1508
- #: includes/class-sp-ajax.php:86 includes/class-sp-ajax.php:116
1509
- #: includes/class-sp-ajax.php:146 includes/class-sp-ajax.php:176
1510
- #: includes/class-sp-ajax.php:225 includes/class-sp-ajax.php:323
1511
- #: includes/class-sp-ajax.php:404 includes/class-sp-ajax.php:477
1512
- #: includes/class-sp-ajax.php:507 includes/class-sp-ajax.php:537
1513
- #: includes/class-sp-ajax.php:634 includes/class-sp-ajax.php:712
 
1514
  msgid "Cancel"
1515
  msgstr ""
1516
 
1517
- #: includes/admin/post-types/class-sp-admin-cpt-event.php:175
1518
- #: includes/class-sp-post-types.php:42 includes/class-sp-post-types.php:73
1519
- #: includes/class-sp-post-types.php:104 includes/class-sp-post-types.php:135
1520
- #: includes/class-sp-post-types.php:166
1521
  msgid "Update"
1522
  msgstr ""
1523
 
@@ -1525,46 +1955,79 @@ msgstr ""
1525
  #: includes/admin/post-types/class-sp-admin-cpt-outcome.php:44
1526
  #: includes/admin/post-types/class-sp-admin-cpt-performance.php:45
1527
  #: includes/admin/post-types/class-sp-admin-cpt-result.php:44
1528
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-metric-details.php:27
1529
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:38
1530
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:41
1531
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-result-details.php:34
1532
- #: includes/admin/views/html-admin-config.php:27
1533
- #: includes/admin/views/html-admin-config.php:164
1534
- #: includes/admin/views/html-admin-config.php:299
1535
- #: includes/sp-template-hooks.php:178
1536
  msgid "Variable"
1537
  msgstr ""
1538
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1539
  #: includes/admin/post-types/class-sp-admin-cpt-performance.php:43
1540
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:315
1541
- #: includes/admin/views/html-admin-config.php:162
1542
- #: includes/sp-template-hooks.php:181
1543
  msgid "Icon"
1544
  msgstr ""
1545
 
1546
  #: includes/admin/post-types/class-sp-admin-cpt-performance.php:46
1547
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:46
1548
- #: includes/admin/views/html-admin-config.php:165
 
 
1549
  msgid "Category"
1550
  msgstr ""
1551
 
1552
- #: includes/admin/post-types/class-sp-admin-cpt-player.php:132
1553
  msgid "Show all positions"
1554
  msgstr ""
1555
 
1556
- #: includes/admin/post-types/class-sp-admin-cpt-staff.php:65
1557
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:63
1558
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:71
1559
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:58
1560
- #: includes/class-sp-post-types.php:162
1561
- msgid "Job"
1562
- msgstr ""
1563
-
1564
  #: includes/admin/post-types/class-sp-admin-cpt-team.php:63
1565
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:306
1566
- #: includes/admin/settings/class-sp-settings-teams.php:56
1567
- #: includes/sp-template-hooks.php:223 modules/sportspress-tutorials.php:99
1568
  msgid "Logo"
1569
  msgstr ""
1570
 
@@ -1583,177 +2046,237 @@ msgstr ""
1583
  msgid "Uploaded to this %s"
1584
  msgstr ""
1585
 
1586
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:107
1587
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:178
1588
- #: modules/sportspress-tutorials.php:111
1589
  msgid "Shortcodes"
1590
  msgstr ""
1591
 
1592
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:148
1593
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:109
1594
- #: includes/class-sp-ajax.php:305 includes/sp-core-functions.php:1315
1595
- #: includes/widgets/class-sp-widget-event-list.php:157
1596
- #: templates/event-list.php:141
1597
- msgid "Article"
1598
- msgstr ""
1599
-
1600
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:163
1601
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:212
1602
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:233
1603
- msgid "Profile"
1604
  msgstr ""
1605
 
1606
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:184
1607
- #: includes/admin/settings/class-sp-settings-events.php:271
1608
- #: includes/admin/settings/class-sp-settings-events.php:333
1609
- #: modules/sportspress-player-lists.php:147
 
 
 
 
 
 
 
 
 
 
 
 
1610
  msgid "Columns"
1611
  msgstr ""
1612
 
1613
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:198
1614
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:56
 
1615
  msgid "Metrics"
1616
  msgstr ""
1617
 
1618
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:220
1619
- #: modules/sportspress-calendars.php:128
1620
- #: modules/sportspress-league-tables.php:142
1621
- #: modules/sportspress-player-lists.php:134
1622
  msgid "Shortcode"
1623
  msgstr ""
1624
 
 
1625
  #: includes/admin/post-types/class-sp-admin-meta-boxes.php:309
1626
- #: includes/admin/post-types/class-sp-admin-meta-boxes.php:312
1627
- #: includes/admin/settings/class-sp-settings-players.php:56
1628
- #: includes/admin/settings/class-sp-settings-staff.php:55
1629
- #: includes/sp-template-hooks.php:206
1630
  msgid "Photo"
1631
  msgstr ""
1632
 
1633
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:57
1634
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:49
1635
- #: modules/sportspress-calendars.php:218 templates/event-list.php:95
1636
- msgid "Away"
1637
- msgstr ""
1638
-
1639
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:74
1640
- #: includes/sp-core-functions.php:1343
1641
- #: includes/widgets/class-sp-widget-event-list.php:155
1642
- #: templates/event-list.php:90 templates/event-list.php:127
1643
  msgid "Time/Results"
1644
  msgstr ""
1645
 
1646
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:202
1647
- #: includes/class-sp-template-loader.php:71 includes/sp-core-functions.php:1335
1648
- #: templates/event-list.php:356
 
 
 
 
 
 
 
 
 
1649
  msgid "Recap"
1650
  msgstr ""
1651
 
1652
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:204
1653
- #: includes/class-sp-template-loader.php:73 includes/sp-core-functions.php:1333
1654
- #: templates/event-list.php:358
 
1655
  msgid "Preview"
1656
  msgstr ""
1657
 
1658
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:217
1659
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:32
1660
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:101
1661
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:32
1662
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:96
1663
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:32
1664
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:97
1665
- #: includes/admin/views/html-admin-config.php:45
1666
- #: includes/admin/views/html-admin-config.php:121
1667
- #: includes/admin/views/html-admin-config.php:209
1668
- #: includes/admin/views/html-admin-config.php:263
1669
- #: includes/admin/views/html-admin-config.php:313
1670
- #: includes/admin/views/html-admin-config.php:364
1671
- #: includes/class-sp-post-types.php:48 includes/class-sp-post-types.php:79
1672
- #: includes/class-sp-post-types.php:110 includes/class-sp-post-types.php:141
1673
- #: includes/class-sp-post-types.php:172 includes/class-sp-post-types.php:210
1674
- #: includes/class-sp-post-types.php:211 includes/class-sp-post-types.php:240
1675
- #: includes/class-sp-post-types.php:241 includes/class-sp-post-types.php:270
1676
- #: includes/class-sp-post-types.php:271 includes/class-sp-post-types.php:300
1677
- #: includes/class-sp-post-types.php:301 includes/class-sp-post-types.php:330
1678
- #: includes/class-sp-post-types.php:331 includes/class-sp-post-types.php:360
1679
- #: includes/class-sp-post-types.php:361 includes/class-sp-post-types.php:388
1680
- #: includes/class-sp-post-types.php:389 includes/class-sp-post-types.php:422
1681
- #: includes/class-sp-post-types.php:423 includes/class-sp-post-types.php:452
1682
- #: includes/class-sp-post-types.php:453 includes/class-sp-post-types.php:482
1683
- #: includes/class-sp-post-types.php:483 includes/sp-core-functions.php:897
1684
- #: includes/sp-core-functions.php:941 modules/sportspress-calendars.php:72
1685
- #: modules/sportspress-calendars.php:73
1686
- #: modules/sportspress-lazy-loading.php:208
1687
- #: modules/sportspress-lazy-loading.php:221
1688
- #: modules/sportspress-league-tables.php:73
1689
- #: modules/sportspress-league-tables.php:74
1690
- #: modules/sportspress-overview.php:341 modules/sportspress-player-lists.php:72
1691
- #: modules/sportspress-player-lists.php:73
 
 
1692
  msgid "No results found."
1693
  msgstr ""
1694
 
1695
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:226
1696
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:155
1697
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:203
1698
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:74
1699
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:93
 
 
 
 
 
1700
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:110
1701
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:125
1702
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:142
1703
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:159
1704
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:71
1705
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:81
1706
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:100
1707
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:115
1708
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:131
1709
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:146
1710
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:106
1711
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:150
1712
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:66
1713
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:83
1714
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:100
1715
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:110
1716
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:105
1717
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:106
 
 
1718
  #, php-format
1719
  msgid "Select %s"
1720
  msgstr ""
1721
 
1722
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:36
1723
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:264
 
 
 
 
 
 
 
1724
  msgid "Status"
1725
  msgstr ""
1726
 
1727
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:91
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1728
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-column-details.php:59
1729
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:86
1730
- #: includes/class-sp-ajax.php:292 includes/class-sp-ajax.php:390
1731
- #: includes/class-sp-ajax.php:620 includes/class-sp-ajax.php:698
1732
- #: includes/widgets/class-sp-widget-event-blocks.php:143
1733
- #: includes/widgets/class-sp-widget-event-list.php:146
1734
  #: includes/widgets/class-sp-widget-player-gallery.php:133
1735
  #: includes/widgets/class-sp-widget-player-list.php:158
1736
  msgid "Ascending"
1737
  msgstr ""
1738
 
1739
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:92
1740
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-column-details.php:59
1741
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:87
1742
- #: includes/class-sp-ajax.php:293 includes/class-sp-ajax.php:391
1743
- #: includes/class-sp-ajax.php:621 includes/class-sp-ajax.php:699
1744
- #: includes/widgets/class-sp-widget-event-blocks.php:144
1745
- #: includes/widgets/class-sp-widget-event-list.php:147
1746
  #: includes/widgets/class-sp-widget-player-gallery.php:134
1747
  #: includes/widgets/class-sp-widget-player-list.php:159
1748
  msgid "Descending"
1749
  msgstr ""
1750
 
1751
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-feeds.php:45
1752
- #: includes/admin/settings/class-sp-settings-events.php:49
1753
- #: includes/admin/settings/class-sp-settings-general.php:350
1754
- #: includes/admin/settings/class-sp-settings-players.php:47
1755
- #: includes/admin/settings/class-sp-settings-staff.php:46
1756
- #: includes/admin/settings/class-sp-settings-teams.php:47
 
 
1757
  msgid "Link"
1758
  msgstr ""
1759
 
@@ -1762,7 +2285,7 @@ msgstr ""
1762
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-shortcode.php:26
1763
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-shortcode.php:24
1764
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-shortcode.php:24
1765
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-shortcode.php:24
1766
  msgid ""
1767
  "Copy this code and paste it into your post, page or text widget content."
1768
  msgstr ""
@@ -1773,8 +2296,7 @@ msgstr ""
1773
 
1774
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:34
1775
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:37
1776
- #: includes/class-sp-ajax.php:604 includes/class-sp-ajax.php:682
1777
- #: includes/sp-core-functions.php:1329
1778
  #: includes/widgets/class-sp-widget-player-gallery.php:113
1779
  #: includes/widgets/class-sp-widget-player-list.php:141
1780
  msgid "Played"
@@ -1790,6 +2312,7 @@ msgstr ""
1790
 
1791
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:34
1792
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:37
 
1793
  msgid "Minutes"
1794
  msgstr ""
1795
 
@@ -1817,6 +2340,12 @@ msgstr ""
1817
  msgid "Streak"
1818
  msgstr ""
1819
 
 
 
 
 
 
 
1820
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:46
1821
  msgid "Last 5"
1822
  msgstr ""
@@ -1825,104 +2354,110 @@ msgstr ""
1825
  msgid "Last 10"
1826
  msgstr ""
1827
 
1828
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:156
 
 
 
 
1829
  msgid "Operators"
1830
  msgstr ""
1831
 
1832
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:157
1833
  msgid "Subsets"
1834
  msgstr ""
1835
 
1836
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:158
1837
  msgid "Constants"
1838
  msgstr ""
1839
 
1840
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:27
1841
- #: includes/admin/settings/class-sp-settings-events.php:188
 
 
 
 
 
 
 
1842
  msgid "Full Time"
1843
  msgstr ""
1844
 
1845
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:173
1846
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:175
1847
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:74
1848
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:79
1849
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:50
1850
- #: includes/admin/settings/class-sp-settings-events.php:394
1851
- #: includes/admin/settings/class-sp-settings-events.php:395
1852
- #: includes/sp-core-functions.php:456 includes/sp-core-functions.php:1321
1853
- #: templates/event-performance.php:125 templates/event-performance.php:127
1854
- msgid "Defense"
1855
  msgstr ""
1856
 
1857
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:173
1858
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:175
1859
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:70
1860
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:83
1861
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:50
1862
- #: includes/admin/settings/class-sp-settings-events.php:394
1863
- #: includes/admin/settings/class-sp-settings-events.php:395
1864
- #: includes/sp-core-functions.php:456 includes/sp-core-functions.php:1326
1865
- #: templates/event-performance.php:125 templates/event-performance.php:127
1866
- msgid "Offense"
1867
  msgstr ""
1868
 
1869
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:247
1870
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:48
1871
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:58
1872
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:64
1873
- #: includes/admin/settings/class-sp-settings-players.php:89
1874
- #: includes/class-sp-event.php:141 includes/class-sp-player-list.php:544
1875
- #: includes/class-sp-player-list.php:563 includes/class-sp-post-types.php:131
1876
- #: includes/sp-core-functions.php:1332 templates/event-performance.php:135
1877
- #: templates/player-details.php:57
1878
- msgid "Position"
 
 
1879
  msgstr ""
1880
 
1881
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:287
1882
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:98
1883
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:104
 
1884
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-columns.php:38
1885
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-columns.php:76
1886
- #: includes/admin/settings/class-sp-settings-events.php:325
1887
- #: includes/admin/settings/class-sp-settings-events.php:400
1888
- #: includes/class-sp-player.php:140 includes/class-sp-player.php:430
1889
- #: includes/class-sp-team.php:65 includes/sp-core-functions.php:412
1890
- #: includes/sp-core-functions.php:416 includes/sp-core-functions.php:1344
1891
- #: templates/event-performance-table-combined.php:139
1892
- #: templates/event-performance-table.php:177
 
1893
  msgid "Total"
1894
  msgstr ""
1895
 
1896
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:382
1897
  msgid "Starting Lineup"
1898
  msgstr ""
1899
 
1900
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:383
 
1901
  msgid "Substitute"
1902
  msgstr ""
1903
 
1904
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:35
1905
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:119
1906
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:140
1907
  msgid "&mdash; None &mdash;"
1908
  msgstr ""
1909
 
1910
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:122
1911
- #: includes/class-sp-ajax.php:57 includes/class-sp-ajax.php:102
1912
- #: includes/class-sp-ajax.php:132 includes/class-sp-ajax.php:162
1913
- #: includes/class-sp-ajax.php:192 includes/class-sp-ajax.php:247
1914
- #: includes/class-sp-ajax.php:345 includes/class-sp-ajax.php:426
1915
- #: includes/class-sp-ajax.php:493 includes/class-sp-ajax.php:523
1916
- #: includes/class-sp-ajax.php:559 includes/class-sp-ajax.php:656
 
1917
  #: includes/widgets/class-sp-widget-countdown.php:69
1918
  #: includes/widgets/class-sp-widget-countdown.php:86
1919
- #: includes/widgets/class-sp-widget-event-blocks.php:87
1920
- #: includes/widgets/class-sp-widget-event-calendar.php:75
1921
- #: includes/widgets/class-sp-widget-event-list.php:90
1922
  #: includes/widgets/class-sp-widget-league-table.php:79
1923
  #: includes/widgets/class-sp-widget-player-gallery.php:84
1924
  #: includes/widgets/class-sp-widget-player-list.php:84
1925
  #: includes/widgets/class-sp-widget-staff.php:57
 
1926
  #, php-format
1927
  msgid "Select %s:"
1928
  msgstr ""
@@ -1943,319 +2478,347 @@ msgstr ""
1943
 
1944
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:34
1945
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:51
1946
- #: includes/sp-core-functions.php:1334
1947
  #: includes/widgets/class-sp-widget-player-list.php:120
1948
  #: includes/widgets/class-sp-widget-player-list.php:126
1949
- #: templates/player-list.php:109
 
1950
  msgid "Rank"
1951
  msgstr ""
1952
 
1953
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:52
1954
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:155
1955
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:106
1956
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:150
1957
  msgid "Data"
1958
  msgstr ""
1959
 
1960
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:55
1961
- #: includes/admin/settings/class-sp-settings-events.php:388
 
1962
  msgid "Performance"
1963
  msgstr ""
1964
 
1965
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:43
1966
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:49
1967
- #: includes/admin/settings/class-sp-settings-events.php:349
1968
  msgid "Values"
1969
  msgstr ""
1970
 
1971
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:44
1972
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:50
1973
- #: modules/sportspress-tutorials.php:100
1974
  msgid "Adjustments"
1975
  msgstr ""
1976
 
1977
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:98
1978
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:84
1979
- #: includes/admin/views/html-admin-config.php:41
1980
- #: includes/admin/views/html-admin-config.php:117
1981
- #: includes/admin/views/html-admin-config.php:205
1982
- #: includes/admin/views/html-admin-config.php:259
1983
- #: includes/admin/views/html-admin-config.php:309
1984
- #: includes/admin/views/html-admin-config.php:360
 
 
1985
  msgid "Edit"
1986
  msgstr ""
1987
 
1988
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:103
1989
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:89
1990
  msgid "Save"
1991
  msgstr ""
1992
 
1993
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:60
 
 
 
 
1994
  msgid "Grouping"
1995
  msgstr ""
1996
 
1997
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:67
1998
- msgid "Sort by"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1999
  msgstr ""
2000
 
2001
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:36
2002
- #: includes/admin/settings/class-sp-settings-events.php:406
2003
- #: includes/admin/settings/class-sp-settings-general.php:346
2004
- #: includes/admin/views/html-admin-config.php:84
2005
- #: includes/admin/views/html-admin-config.php:161
2006
  #: includes/sp-core-functions.php:379
2007
  msgid "Primary"
2008
  msgstr ""
2009
 
2010
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:47
2011
- #: includes/admin/views/html-admin-config.php:29
 
 
 
 
2012
  msgid "Condition"
2013
  msgstr ""
2014
 
2015
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:53
2016
  #: includes/sp-core-functions.php:383
2017
  #, php-format
2018
  msgid "Most %s"
2019
  msgstr ""
2020
 
2021
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:54
2022
  #: includes/sp-core-functions.php:384
2023
  #, php-format
2024
  msgid "Least %s"
2025
  msgstr ""
2026
 
2027
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:55
2028
  #: includes/sp-core-functions.php:385
2029
  #, php-format
2030
  msgid "Equal %s"
2031
  msgstr ""
2032
 
2033
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:56
2034
- #: includes/admin/settings/class-sp-settings-events.php:180
2035
- #: includes/admin/settings/class-sp-settings-general.php:79
2036
- #: includes/admin/settings/class-sp-settings-status.php:101
2037
- #: includes/admin/views/html-admin-config.php:103
2038
- #: includes/admin/views/html-admin-config.php:181
2039
- #: includes/admin/views/html-admin-page-status.php:65
2040
- #: includes/class-sp-ajax.php:210 includes/class-sp-ajax.php:264
2041
- #: includes/class-sp-ajax.php:274 includes/class-sp-ajax.php:291
2042
- #: includes/class-sp-ajax.php:362 includes/class-sp-ajax.php:372
2043
- #: includes/class-sp-ajax.php:389 includes/class-sp-ajax.php:601
2044
- #: includes/class-sp-ajax.php:619 includes/class-sp-ajax.php:679
2045
- #: includes/class-sp-ajax.php:697 includes/sp-core-functions.php:386
2046
- #: includes/widgets/class-sp-widget-event-blocks.php:107
2047
- #: includes/widgets/class-sp-widget-event-blocks.php:121
2048
- #: includes/widgets/class-sp-widget-event-blocks.php:142
2049
- #: includes/widgets/class-sp-widget-event-calendar.php:95
2050
- #: includes/widgets/class-sp-widget-event-calendar.php:109
2051
- #: includes/widgets/class-sp-widget-event-list.php:110
2052
- #: includes/widgets/class-sp-widget-event-list.php:124
2053
- #: includes/widgets/class-sp-widget-event-list.php:145
2054
- #: includes/widgets/class-sp-widget-player-gallery.php:110
2055
- #: includes/widgets/class-sp-widget-player-list.php:138
2056
- msgid "Default"
2057
  msgstr ""
2058
 
2059
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:61
 
2060
  #: includes/sp-core-functions.php:468 includes/sp-core-functions.php:469
2061
  #: includes/sp-core-functions.php:471
2062
  msgid "Number"
2063
  msgstr ""
2064
 
2065
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:61
2066
- #: includes/admin/settings/class-sp-settings-general.php:348
2067
  #: includes/admin/settings/class-sp-settings-text.php:25
2068
  #: includes/admin/settings/class-sp-settings-text.php:40
2069
- #: includes/sp-core-functions.php:468 modules/sportspress-tutorials.php:88
2070
  msgid "Text"
2071
  msgstr ""
2072
 
2073
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:103
2074
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:93
2075
- #: includes/sp-core-functions.php:1319
2076
- msgid "Current Teams"
2077
  msgstr ""
2078
 
2079
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:118
2080
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:108
2081
- #: includes/admin/settings/class-sp-settings-players.php:105
2082
- #: includes/admin/settings/class-sp-settings-staff.php:88
2083
- #: includes/sp-core-functions.php:1328 templates/player-details.php:79
2084
- #: templates/staff-details.php:66
2085
- msgid "Past Teams"
2086
  msgstr ""
2087
 
2088
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:39
2089
- #: includes/sp-core-functions.php:1317 templates/player-statistics.php:84
2090
- msgid "Career Total"
2091
  msgstr ""
2092
 
2093
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:56
2094
- #: modules/sportspress-tutorials.php:101
2095
- msgid "Highlight"
2096
  msgstr ""
2097
 
2098
- #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:112
2099
- #: includes/admin/settings/class-sp-settings-teams.php:72
2100
- #: includes/admin/settings/class-sp-settings-teams.php:96
2101
- #: includes/sp-core-functions.php:359 templates/team-link.php:22
2102
- msgid "Visit Site"
2103
  msgstr ""
2104
 
2105
- #: includes/admin/settings/class-sp-settings-events.php:43
2106
- msgid "Event Options"
 
2107
  msgstr ""
2108
 
2109
- #: includes/admin/settings/class-sp-settings-events.php:50
2110
- msgid "Link events"
 
2111
  msgstr ""
2112
 
2113
- #: includes/admin/settings/class-sp-settings-events.php:59
2114
- #: includes/admin/settings/class-sp-settings-events.php:244
2115
- #: includes/admin/settings/class-sp-settings-players.php:55
2116
- #: includes/admin/settings/class-sp-settings-staff.php:54
2117
- #: includes/admin/settings/class-sp-settings-teams.php:55
2118
- msgid "Display"
2119
  msgstr ""
2120
 
2121
- #: includes/admin/settings/class-sp-settings-events.php:60
2122
- #: includes/admin/settings/class-sp-settings-events.php:239
2123
- msgid "Logos"
2124
  msgstr ""
2125
 
2126
- #: includes/admin/settings/class-sp-settings-events.php:112
2127
- #: includes/admin/settings/class-sp-settings-events.php:344
2128
- msgid "Mode"
2129
  msgstr ""
2130
 
2131
- #: includes/admin/settings/class-sp-settings-events.php:117
2132
- msgid "Team vs team"
2133
  msgstr ""
2134
 
2135
- #: includes/admin/settings/class-sp-settings-events.php:118
2136
- msgid "Player vs player"
2137
  msgstr ""
2138
 
2139
- #: includes/admin/settings/class-sp-settings-events.php:120
2140
  msgctxt "mode setting description"
2141
  msgid "Who competes in events?"
2142
  msgstr ""
2143
 
2144
- #: includes/admin/settings/class-sp-settings-events.php:126
2145
- #: modules/sportspress-calendars.php:244 modules/sportspress-calendars.php:305
2146
- #: modules/sportspress-league-tables.php:218
2147
- #: modules/sportspress-player-lists.php:234
 
2148
  msgid "Limit"
2149
  msgstr ""
2150
 
2151
- #: includes/admin/settings/class-sp-settings-events.php:130
2152
- #: modules/sportspress-league-tables.php:222
 
2153
  msgid "teams"
2154
  msgstr ""
2155
 
2156
- #: includes/admin/settings/class-sp-settings-events.php:142
2157
- msgid "Filter by competition"
2158
  msgstr ""
2159
 
2160
- #: includes/admin/settings/class-sp-settings-events.php:150
2161
  msgid "Filter by season"
2162
  msgstr ""
2163
 
2164
- #: includes/admin/settings/class-sp-settings-events.php:159
2165
- msgid "Display maps"
2166
- msgstr ""
2167
-
2168
- #: includes/admin/settings/class-sp-settings-events.php:167
2169
- #: includes/admin/settings/class-sp-settings-teams.php:81
2170
- msgid "Link venues"
2171
  msgstr ""
2172
 
2173
- #: includes/admin/settings/class-sp-settings-events.php:175
2174
- msgid "Google Maps"
2175
  msgstr ""
2176
 
2177
- #: includes/admin/settings/class-sp-settings-events.php:181
2178
- msgid "Satellite"
 
2179
  msgstr ""
2180
 
2181
- #: includes/admin/settings/class-sp-settings-events.php:182
2182
- msgid "Hybrid"
2183
  msgstr ""
2184
 
2185
- #: includes/admin/settings/class-sp-settings-events.php:183
2186
- msgid "Terrain"
2187
  msgstr ""
2188
 
2189
- #: includes/admin/settings/class-sp-settings-events.php:201
2190
- msgid "Comments"
2191
  msgstr ""
2192
 
2193
- #: includes/admin/settings/class-sp-settings-events.php:202
2194
- msgid "Allow people to post comments on new articles"
2195
  msgstr ""
2196
 
2197
- #: includes/admin/settings/class-sp-settings-events.php:220
2198
- msgid "Zoom"
2199
  msgstr ""
2200
 
2201
- #: includes/admin/settings/class-sp-settings-events.php:245
2202
- msgid "Display team names"
2203
  msgstr ""
2204
 
2205
- #: includes/admin/settings/class-sp-settings-events.php:253
2206
- msgid "Display results"
2207
  msgstr ""
2208
 
2209
- #: includes/admin/settings/class-sp-settings-events.php:266
2210
  #: includes/admin/settings/class-sp-settings-status.php:273
2211
- #: includes/admin/views/html-admin-config.php:74
2212
  #: includes/admin/views/html-admin-config.php:78
2213
- #: includes/admin/views/html-admin-config.php:155
2214
  #: includes/admin/views/html-admin-page-status.php:237
2215
- #: includes/class-sp-post-types.php:203
2216
  msgid "Event Results"
2217
  msgstr ""
2218
 
2219
- #: includes/admin/settings/class-sp-settings-events.php:283
2220
- #: includes/admin/settings/class-sp-settings-events.php:356
2221
- msgid "Reverse order"
2222
- msgstr ""
2223
-
2224
- #: includes/admin/settings/class-sp-settings-events.php:291
2225
  msgid "Display outcome"
2226
  msgstr ""
2227
 
2228
- #: includes/admin/settings/class-sp-settings-events.php:308
2229
  msgid "Rows"
2230
  msgstr ""
2231
 
2232
- #: includes/admin/settings/class-sp-settings-events.php:350
2233
  msgid "Icons"
2234
  msgstr ""
2235
 
2236
- #: includes/admin/settings/class-sp-settings-events.php:364
2237
- msgid "Top-level only"
2238
  msgstr ""
2239
 
2240
- #: includes/admin/settings/class-sp-settings-events.php:372
2241
- msgid "Display squad numbers"
2242
  msgstr ""
2243
 
2244
- #: includes/admin/settings/class-sp-settings-events.php:380
2245
- msgid "Display positions"
2246
  msgstr ""
2247
 
2248
- #: includes/admin/settings/class-sp-settings-events.php:393
2249
- #: modules/sportspress-calendars.php:228
 
2250
  msgid "Combined"
2251
  msgstr ""
2252
 
2253
- #: includes/admin/settings/class-sp-settings-events.php:452
2254
- #: includes/admin/settings/class-sp-settings-events.php:456
2255
  msgid "Delimiter"
2256
  msgstr ""
2257
 
2258
- #: includes/admin/settings/class-sp-settings-events.php:461
2259
  msgid "Custom:"
2260
  msgstr ""
2261
 
@@ -2263,6 +2826,12 @@ msgstr ""
2263
  msgid "General Options"
2264
  msgstr ""
2265
 
 
 
 
 
 
 
2266
  #: includes/admin/settings/class-sp-settings-general.php:63
2267
  msgid "Styles and Scripts"
2268
  msgstr ""
@@ -2289,81 +2858,114 @@ msgstr ""
2289
  msgid "Padding"
2290
  msgstr ""
2291
 
2292
- #: includes/admin/settings/class-sp-settings-general.php:103
2293
  msgid "Custom CSS"
2294
  msgstr ""
2295
 
2296
- #: includes/admin/settings/class-sp-settings-general.php:110
2297
  msgid "Scripts"
2298
  msgstr ""
2299
 
2300
- #: includes/admin/settings/class-sp-settings-general.php:111
2301
  msgid "Live countdowns"
2302
  msgstr ""
2303
 
2304
- #: includes/admin/settings/class-sp-settings-general.php:116
2305
  msgid "This will enable a script allowing the countdowns to be animated."
2306
  msgstr ""
2307
 
2308
- #: includes/admin/settings/class-sp-settings-general.php:120
2309
  msgid "Shortcode menu"
2310
  msgstr ""
2311
 
2312
- #: includes/admin/settings/class-sp-settings-general.php:125
2313
  msgid "This will enable a shortcode menu to be displayed in the visual editor."
2314
  msgstr ""
2315
 
2316
- #: includes/admin/settings/class-sp-settings-general.php:129
2317
  msgid "Tables"
2318
  msgstr ""
2319
 
2320
- #: includes/admin/settings/class-sp-settings-general.php:130
2321
  msgid "Responsive"
2322
  msgstr ""
2323
 
2324
- #: includes/admin/settings/class-sp-settings-general.php:138
2325
  msgid "Scrollable"
2326
  msgstr ""
2327
 
2328
- #: includes/admin/settings/class-sp-settings-general.php:146
2329
  msgid "Sortable"
2330
  msgstr ""
2331
 
2332
- #: includes/admin/settings/class-sp-settings-general.php:154
2333
  msgid "Widgets"
2334
  msgstr ""
2335
 
2336
- #: includes/admin/settings/class-sp-settings-general.php:155
2337
  msgid "Unique"
2338
  msgstr ""
2339
 
2340
- #: includes/admin/settings/class-sp-settings-general.php:159
2341
  msgid "Hide widget when same as content."
2342
  msgstr ""
2343
 
2344
- #: includes/admin/settings/class-sp-settings-general.php:165
2345
  msgid "Header Offset"
2346
  msgstr ""
2347
 
2348
- #: includes/admin/settings/class-sp-settings-general.php:306
2349
- msgid "Frontend Styles"
2350
  msgstr ""
2351
 
2352
- #: includes/admin/settings/class-sp-settings-general.php:327
2353
- #: modules/sportspress-icons.php:149
2354
  msgid "Customize"
2355
  msgstr ""
2356
 
2357
- #: includes/admin/settings/class-sp-settings-general.php:347
2358
  msgid "Background"
2359
  msgstr ""
2360
 
2361
- #: includes/admin/settings/class-sp-settings-general.php:356
 
2362
  msgid "Enable"
2363
  msgstr ""
2364
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2365
  #: includes/admin/settings/class-sp-settings-modules.php:30
2366
- #: includes/admin/settings/class-sp-settings-modules.php:223
2367
  msgid "Modules"
2368
  msgstr ""
2369
 
@@ -2375,13 +2977,9 @@ msgstr ""
2375
  msgid "SportsPress Pro"
2376
  msgstr ""
2377
 
2378
- #: includes/admin/settings/class-sp-settings-modules.php:67
2379
- msgid ""
2380
- "Get SportsPress Pro to get access to all modules. You can upgrade any time "
2381
- "without losing any of your data."
2382
- msgstr ""
2383
-
2384
  #: includes/admin/settings/class-sp-settings-modules.php:69
 
 
2385
  msgid "Premium"
2386
  msgstr ""
2387
 
@@ -2390,136 +2988,180 @@ msgid "Upgrade Now"
2390
  msgstr ""
2391
 
2392
  #: includes/admin/settings/class-sp-settings-modules.php:81
2393
- msgid "Twitter Module"
 
 
 
 
 
 
2394
  msgstr ""
2395
 
2396
  #: includes/admin/settings/class-sp-settings-modules.php:89
2397
- msgid "Follow [link]@ThemeBoy[/link] on Twitter."
 
2398
  msgstr ""
2399
 
2400
- #: includes/admin/settings/class-sp-settings-modules.php:94
2401
- msgid ""
2402
- "Help spread the word by tweeting with [link]#SportsPress[/link] and get the "
2403
- "Twitter module for free."
2404
  msgstr ""
2405
 
2406
- #: includes/admin/settings/class-sp-settings-modules.php:99
2407
- msgid "[link]Get the download link[/link]."
2408
  msgstr ""
2409
 
2410
- #: includes/admin/settings/class-sp-settings-modules.php:102
2411
- msgid "Free with tweet"
2412
  msgstr ""
2413
 
2414
- #: includes/admin/settings/class-sp-settings-modules.php:103
2415
- msgid "Tweet"
2416
  msgstr ""
2417
 
2418
- #: includes/admin/settings/class-sp-settings-modules.php:116
2419
  msgid "Current Theme"
2420
  msgstr ""
2421
 
2422
- #: includes/admin/settings/class-sp-settings-modules.php:124
 
 
 
 
 
2423
  msgid "Need a better theme?"
2424
  msgstr ""
2425
 
2426
- #: includes/admin/settings/class-sp-settings-modules.php:125
2427
- #: sportspress.php:142
2428
  msgid "Upgrade"
2429
  msgstr ""
2430
 
2431
- #: includes/admin/settings/class-sp-settings-modules.php:142
 
 
 
 
 
 
2432
  msgid "Free"
2433
  msgstr ""
2434
 
2435
- #: includes/admin/settings/class-sp-settings-modules.php:155
 
 
 
 
 
2436
  msgid "Documentation"
2437
  msgstr ""
2438
 
2439
- #: includes/admin/settings/class-sp-settings-modules.php:157
2440
  msgid "Getting Started"
2441
  msgstr ""
2442
 
2443
- #: includes/admin/settings/class-sp-settings-modules.php:158
2444
  msgid "Manuals"
2445
  msgstr ""
2446
 
2447
- #: includes/admin/settings/class-sp-settings-modules.php:159
2448
  msgid "Videos"
2449
  msgstr ""
2450
 
2451
- #: includes/admin/settings/class-sp-settings-modules.php:161
2452
- #: includes/admin/views/html-notice-theme-support.php:9
2453
- msgid "Theme Integration Guide"
2454
- msgstr ""
2455
-
2456
- #: includes/admin/settings/class-sp-settings-modules.php:166
2457
  msgid "Help"
2458
  msgstr ""
2459
 
2460
- #: includes/admin/settings/class-sp-settings-modules.php:168
2461
  msgid "Support Forums"
2462
  msgstr ""
2463
 
2464
- #: includes/admin/settings/class-sp-settings-modules.php:169
2465
  msgid "Feature Requests"
2466
  msgstr ""
2467
 
2468
- #: includes/admin/settings/class-sp-settings-modules.php:174
2469
  msgid "Connect"
2470
  msgstr ""
2471
 
2472
- #: includes/admin/settings/class-sp-settings-modules.php:176
2473
- #: includes/class-sp-modules.php:119
2474
  msgid "Twitter"
2475
  msgstr ""
2476
 
2477
- #: includes/admin/settings/class-sp-settings-modules.php:177
 
2478
  msgid "Facebook"
2479
  msgstr ""
2480
 
2481
- #: includes/admin/settings/class-sp-settings-modules.php:178
2482
  msgid "YouTube"
2483
  msgstr ""
2484
 
2485
- #: includes/admin/settings/class-sp-settings-modules.php:179
2486
  msgid "Google+"
2487
  msgstr ""
2488
 
2489
- #: includes/admin/settings/class-sp-settings-modules.php:185
2490
  #: includes/admin/settings/class-sp-settings-modules.php:187
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2491
  msgid "Premium Support"
2492
  msgstr ""
2493
 
2494
- #: includes/admin/settings/class-sp-settings-modules.php:187
2495
- #: includes/admin/settings/class-sp-settings-modules.php:231
2496
- msgid "Upgrade to Pro"
2497
  msgstr ""
2498
 
2499
- #: includes/admin/settings/class-sp-settings-modules.php:239
2500
- #: includes/admin/settings/class-sp-settings-modules.php:244
2501
- msgid "Learn more"
 
 
 
2502
  msgstr ""
2503
 
2504
- #: includes/admin/settings/class-sp-settings-players.php:42
 
 
 
 
2505
  msgid "Player Options"
2506
  msgstr ""
2507
 
2508
- #: includes/admin/settings/class-sp-settings-players.php:48
2509
  msgid "Link players"
2510
  msgstr ""
2511
 
2512
- #: includes/admin/settings/class-sp-settings-players.php:130
2513
- #: includes/admin/settings/class-sp-settings-staff.php:97
2514
- #: modules/sportspress-player-lists.php:218
2515
  msgid "Display national flags"
2516
  msgstr ""
2517
 
2518
- #: includes/admin/settings/class-sp-settings-staff.php:41
 
 
 
 
2519
  msgid "Staff Options"
2520
  msgstr ""
2521
 
2522
- #: includes/admin/settings/class-sp-settings-staff.php:47
2523
  msgid "Link staff"
2524
  msgstr ""
2525
 
@@ -2554,33 +3196,15 @@ msgstr ""
2554
  #: includes/admin/views/html-admin-page-status.php:28
2555
  msgid "SP Version"
2556
  msgstr ""
2557
-
2558
- #: includes/admin/settings/class-sp-settings-status.php:68
2559
- #: includes/admin/views/html-admin-page-status.php:32
2560
- msgid "WP Version"
2561
- msgstr ""
2562
-
2563
- #: includes/admin/settings/class-sp-settings-status.php:72
2564
- #: includes/admin/views/html-admin-page-status.php:36
2565
- msgid "WP Multisite Enabled"
2566
- msgstr ""
2567
-
2568
- #: includes/admin/settings/class-sp-settings-status.php:73
2569
- #: includes/admin/settings/class-sp-settings-status.php:97
2570
- #: includes/admin/settings/class-sp-settings-status.php:122
2571
- #: includes/admin/views/html-admin-page-status.php:37
2572
- #: includes/admin/views/html-admin-page-status.php:61
2573
- #: includes/admin/views/html-admin-page-status.php:86
2574
- msgid "Yes"
2575
- msgstr ""
2576
-
2577
- #: includes/admin/settings/class-sp-settings-status.php:73
2578
- #: includes/admin/settings/class-sp-settings-status.php:97
2579
- #: includes/admin/settings/class-sp-settings-status.php:122
2580
- #: includes/admin/views/html-admin-page-status.php:37
2581
- #: includes/admin/views/html-admin-page-status.php:61
2582
- #: includes/admin/views/html-admin-page-status.php:86
2583
- msgid "No"
2584
  msgstr ""
2585
 
2586
  #: includes/admin/settings/class-sp-settings-status.php:76
@@ -2726,6 +3350,11 @@ msgstr ""
2726
  msgid "is available"
2727
  msgstr ""
2728
 
 
 
 
 
 
2729
  #: includes/admin/settings/class-sp-settings-status.php:237
2730
  #: includes/admin/views/html-admin-page-status.php:201
2731
  msgid "version"
@@ -2737,39 +3366,39 @@ msgid "SP Configuration"
2737
  msgstr ""
2738
 
2739
  #: includes/admin/settings/class-sp-settings-status.php:263
2740
- #: includes/admin/views/html-admin-config.php:19
2741
  #: includes/admin/views/html-admin-page-status.php:227
2742
- #: includes/class-sp-post-types.php:233 modules/sportspress-tutorials.php:92
2743
  msgid "Event Outcomes"
2744
  msgstr ""
2745
 
2746
  #: includes/admin/settings/class-sp-settings-status.php:283
2747
- #: includes/admin/views/html-admin-config.php:151
 
2748
  #: includes/admin/views/html-admin-page-status.php:247
2749
- #: includes/class-sp-post-types.php:323 includes/class-sp-post-types.php:324
2750
  msgid "Player Performance"
2751
  msgstr ""
2752
 
2753
  #: includes/admin/settings/class-sp-settings-status.php:293
2754
- #: includes/admin/views/html-admin-config.php:237
2755
  #: includes/admin/views/html-admin-page-status.php:257
2756
- #: includes/class-sp-post-types.php:263
2757
- #: modules/sportspress-league-tables.php:126
2758
- #: modules/sportspress-league-tables.php:254
2759
  msgid "Table Columns"
2760
  msgstr ""
2761
 
2762
  #: includes/admin/settings/class-sp-settings-status.php:305
2763
- #: includes/admin/views/html-admin-config.php:291
2764
  #: includes/admin/views/html-admin-page-status.php:267
2765
- #: includes/class-sp-post-types.php:293 modules/sportspress-tutorials.php:104
2766
  msgid "Player Metrics"
2767
  msgstr ""
2768
 
2769
  #: includes/admin/settings/class-sp-settings-status.php:315
2770
- #: includes/admin/views/html-admin-config.php:340
2771
  #: includes/admin/views/html-admin-page-status.php:277
2772
- #: includes/class-sp-post-types.php:353
2773
  msgid "Player Statistics"
2774
  msgstr ""
2775
 
@@ -2828,19 +3457,25 @@ msgstr ""
2828
  msgid "No overrides present in theme."
2829
  msgstr ""
2830
 
2831
- #: includes/admin/settings/class-sp-settings-teams.php:42
2832
  msgid "Team Options"
2833
  msgstr ""
2834
 
2835
- #: includes/admin/settings/class-sp-settings-teams.php:48
2836
  msgid "Link teams"
2837
  msgstr ""
2838
 
2839
- #: includes/admin/settings/class-sp-settings-teams.php:89
2840
  msgid "Abbreviate team names"
2841
  msgstr ""
2842
 
2843
- #: includes/admin/settings/class-sp-settings-teams.php:97
 
 
 
 
 
 
2844
  msgid "Open link in a new window/tab"
2845
  msgstr ""
2846
 
@@ -2848,28 +3483,37 @@ msgstr ""
2848
  msgid "The following options affect how words are displayed on the frontend."
2849
  msgstr ""
2850
 
2851
- #: includes/admin/views/html-admin-config.php:86
 
 
 
 
 
 
2852
  msgid "Variables"
2853
  msgstr ""
2854
 
2855
- #: includes/admin/views/html-admin-config.php:101
2856
- #: includes/admin/views/html-admin-config.php:179
2857
  #, php-format
2858
  msgid "Default (%s)"
2859
  msgstr ""
2860
 
2861
- #: includes/admin/views/html-admin-config.php:238
2862
  msgid "Used for league tables."
2863
  msgstr ""
2864
 
2865
- #: includes/admin/views/html-admin-config.php:292
2866
- #: includes/admin/views/html-admin-config.php:341
2867
  msgid "Used for player lists."
2868
  msgstr ""
2869
 
2870
  #: includes/admin/views/html-notice-install.php:5
2871
- #, php-format
2872
- msgid "Welcome to SportsPress %s"
 
 
 
2873
  msgstr ""
2874
 
2875
  #: includes/admin/views/html-notice-install.php:8
@@ -2878,6 +3522,10 @@ msgstr ""
2878
  msgid "Hide this notice"
2879
  msgstr ""
2880
 
 
 
 
 
2881
  #: includes/admin/views/html-notice-template-check.php:5
2882
  msgid ""
2883
  "<strong>Your theme has bundled outdated copies of SportsPress template "
@@ -2894,136 +3542,206 @@ msgid ""
2894
  "SportsPress theme :)"
2895
  msgstr ""
2896
 
2897
- #: includes/api/class-sp-rest-teams-controller.php:113
2898
- #: includes/api/class-sp-rest-teams-controller.php:134
2899
- #: includes/api/class-sp-rest-teams-controller.php:155
2900
- #: includes/api/class-sp-rest-teams-controller.php:175
2901
- msgid "message"
 
 
 
 
 
 
 
 
 
2902
  msgstr ""
2903
 
2904
- #: includes/class-sp-ajax.php:74
 
 
 
 
 
2905
  #: includes/widgets/class-sp-widget-countdown.php:107
2906
- #: modules/sportspress-calendars.php:289
2907
  msgid "Display venue"
2908
  msgstr ""
2909
 
2910
- #: includes/class-sp-ajax.php:80
2911
  #: includes/widgets/class-sp-widget-countdown.php:110
2912
- #: modules/sportspress-calendars.php:273
2913
- msgid "Display competition"
2914
  msgstr ""
2915
 
2916
- #: includes/class-sp-ajax.php:85 includes/class-sp-ajax.php:115
2917
- #: includes/class-sp-ajax.php:145 includes/class-sp-ajax.php:175
2918
- #: includes/class-sp-ajax.php:224 includes/class-sp-ajax.php:322
2919
- #: includes/class-sp-ajax.php:403 includes/class-sp-ajax.php:476
2920
- #: includes/class-sp-ajax.php:506 includes/class-sp-ajax.php:536
2921
- #: includes/class-sp-ajax.php:633 includes/class-sp-ajax.php:711
 
2922
  msgid "Insert Shortcode"
2923
  msgstr ""
2924
 
2925
- #: includes/class-sp-ajax.php:206 includes/class-sp-ajax.php:260
2926
- #: includes/class-sp-ajax.php:358
2927
- #: includes/widgets/class-sp-widget-event-blocks.php:104
2928
- #: includes/widgets/class-sp-widget-event-calendar.php:92
2929
- #: includes/widgets/class-sp-widget-event-list.php:107
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2930
  msgid "Status:"
2931
  msgstr ""
2932
 
2933
- #: includes/class-sp-ajax.php:218 includes/class-sp-ajax.php:317
2934
- #: includes/class-sp-ajax.php:398
2935
- #: includes/widgets/class-sp-widget-event-blocks.php:148
2936
- #: includes/widgets/class-sp-widget-event-calendar.php:126
2937
- #: includes/widgets/class-sp-widget-event-list.php:168
 
 
 
 
 
 
 
 
2938
  msgid "Display link to view all events"
2939
  msgstr ""
2940
 
2941
- #: includes/class-sp-ajax.php:241 includes/class-sp-ajax.php:339
2942
- #: includes/class-sp-ajax.php:420 includes/class-sp-ajax.php:553
2943
- #: includes/class-sp-ajax.php:650
2944
  #: includes/widgets/class-sp-widget-birthdays.php:55
2945
  #: includes/widgets/class-sp-widget-countdown.php:63
2946
- #: includes/widgets/class-sp-widget-event-blocks.php:81
2947
- #: includes/widgets/class-sp-widget-event-calendar.php:72
2948
- #: includes/widgets/class-sp-widget-event-list.php:84
2949
  #: includes/widgets/class-sp-widget-league-table.php:73
2950
  #: includes/widgets/class-sp-widget-player-gallery.php:78
2951
  #: includes/widgets/class-sp-widget-player-list.php:78
2952
  #: includes/widgets/class-sp-widget-staff.php:54
 
2953
  msgid "Title:"
2954
  msgstr ""
2955
 
2956
- #: includes/class-sp-ajax.php:272 includes/class-sp-ajax.php:370
2957
- #: includes/widgets/class-sp-widget-event-blocks.php:118
2958
- #: includes/widgets/class-sp-widget-event-calendar.php:106
2959
- #: includes/widgets/class-sp-widget-event-list.php:121
2960
  msgid "Date:"
2961
  msgstr ""
2962
 
2963
- #: includes/class-sp-ajax.php:276 includes/class-sp-ajax.php:374
2964
- #: includes/sp-core-functions.php:537
2965
  msgid "This week"
2966
  msgstr ""
2967
 
2968
- #: includes/class-sp-ajax.php:277 includes/class-sp-ajax.php:375
2969
- #: includes/sp-core-functions.php:538
2970
  #: includes/widgets/class-sp-widget-birthdays.php:48
2971
  msgid "Today"
2972
  msgstr ""
2973
 
2974
- #: includes/class-sp-ajax.php:283 includes/class-sp-ajax.php:381
2975
- #: includes/widgets/class-sp-widget-event-blocks.php:137
2976
- #: includes/widgets/class-sp-widget-event-list.php:140
2977
  msgid "Number of events to show:"
2978
  msgstr ""
2979
 
2980
- #: includes/class-sp-ajax.php:289 includes/class-sp-ajax.php:387
2981
- #: includes/class-sp-ajax.php:617 includes/class-sp-ajax.php:695
2982
- #: includes/widgets/class-sp-widget-event-blocks.php:140
2983
- #: includes/widgets/class-sp-widget-event-list.php:143
2984
  #: includes/widgets/class-sp-widget-player-gallery.php:131
2985
  #: includes/widgets/class-sp-widget-player-list.php:156
2986
  msgid "Sort Order:"
2987
  msgstr ""
2988
 
2989
- #: includes/class-sp-ajax.php:298 includes/class-sp-ajax.php:444
2990
- #: includes/class-sp-ajax.php:577
2991
- #: includes/widgets/class-sp-widget-event-list.php:151
 
2992
  #: includes/widgets/class-sp-widget-league-table.php:100
2993
  #: includes/widgets/class-sp-widget-player-gallery.php:103
 
2994
  msgid "Columns:"
2995
  msgstr ""
2996
 
2997
- #: includes/class-sp-ajax.php:439
 
 
 
 
 
 
 
 
2998
  #: includes/widgets/class-sp-widget-league-table.php:96
 
2999
  msgid "Number of teams to show:"
3000
  msgstr ""
3001
 
3002
- #: includes/class-sp-ajax.php:465
3003
  #: includes/widgets/class-sp-widget-league-table.php:120
3004
- #: modules/sportspress-calendars.php:204 modules/sportspress-countdowns.php:86
3005
- #: modules/sportspress-league-tables.php:203
 
 
3006
  msgid "Display logos"
3007
  msgstr ""
3008
 
3009
- #: includes/class-sp-ajax.php:471
3010
  #: includes/widgets/class-sp-widget-league-table.php:123
3011
  msgid "Display link to view full table"
3012
  msgstr ""
3013
 
3014
- #: includes/class-sp-ajax.php:572 includes/class-sp-ajax.php:669
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3015
  #: includes/widgets/class-sp-widget-player-gallery.php:100
3016
  #: includes/widgets/class-sp-widget-player-list.php:100
3017
  msgid "Number of players to show:"
3018
  msgstr ""
3019
 
3020
- #: includes/class-sp-ajax.php:597 includes/class-sp-ajax.php:675
3021
- #: includes/widgets/class-sp-widget-player-gallery.php:106
3022
- #: includes/widgets/class-sp-widget-player-list.php:134
3023
- msgid "Sort by:"
3024
  msgstr ""
3025
 
3026
- #: includes/class-sp-ajax.php:628 includes/class-sp-ajax.php:706
3027
  #: includes/widgets/class-sp-widget-player-gallery.php:138
3028
  #: includes/widgets/class-sp-widget-player-list.php:163
3029
  msgid "Display link to view all players"
@@ -3041,899 +3759,903 @@ msgstr ""
3041
  msgid "Europe"
3042
  msgstr ""
3043
 
3044
- #: includes/class-sp-countries.php:194
3045
  msgid "North America"
3046
  msgstr ""
3047
 
3048
- #: includes/class-sp-countries.php:229
3049
  msgid "Oceania"
3050
  msgstr ""
3051
 
3052
- #: includes/class-sp-countries.php:252
3053
  msgid "South America"
3054
  msgstr ""
3055
 
3056
- #: includes/class-sp-countries.php:270
3057
  msgid "Afghanistan"
3058
  msgstr ""
3059
 
3060
- #: includes/class-sp-countries.php:271
3061
  msgid "Anguilla"
3062
  msgstr ""
3063
 
3064
- #: includes/class-sp-countries.php:272
3065
  msgid "Albania"
3066
  msgstr ""
3067
 
3068
- #: includes/class-sp-countries.php:273
3069
  msgid "Algeria"
3070
  msgstr ""
3071
 
3072
- #: includes/class-sp-countries.php:274
3073
  msgid "Andorra"
3074
  msgstr ""
3075
 
3076
- #: includes/class-sp-countries.php:275
3077
  msgid "Angola"
3078
  msgstr ""
3079
 
3080
- #: includes/class-sp-countries.php:276
3081
  msgid "Argentina"
3082
  msgstr ""
3083
 
3084
- #: includes/class-sp-countries.php:277
3085
  msgid "Armenia"
3086
  msgstr ""
3087
 
3088
- #: includes/class-sp-countries.php:278
3089
  msgid "Aruba"
3090
  msgstr ""
3091
 
3092
- #: includes/class-sp-countries.php:279
3093
  msgid "American Samoa"
3094
  msgstr ""
3095
 
3096
- #: includes/class-sp-countries.php:280
3097
  msgid "Antigua and Barbuda"
3098
  msgstr ""
3099
 
3100
- #: includes/class-sp-countries.php:281
3101
  msgid "Australia"
3102
  msgstr ""
3103
 
3104
- #: includes/class-sp-countries.php:282
3105
  msgid "Austria"
3106
  msgstr ""
3107
 
3108
- #: includes/class-sp-countries.php:283
3109
  msgid "Azerbaijan"
3110
  msgstr ""
3111
 
3112
- #: includes/class-sp-countries.php:284
3113
  msgid "Bahamas"
3114
  msgstr ""
3115
 
3116
- #: includes/class-sp-countries.php:285
3117
  msgid "Bangladesh"
3118
  msgstr ""
3119
 
3120
- #: includes/class-sp-countries.php:286
3121
  msgid "Burundi"
3122
  msgstr ""
3123
 
3124
- #: includes/class-sp-countries.php:287
3125
  msgid "Belgium"
3126
  msgstr ""
3127
 
3128
- #: includes/class-sp-countries.php:288
3129
  msgid "Benin"
3130
  msgstr ""
3131
 
3132
- #: includes/class-sp-countries.php:289
3133
  msgid "Bermuda"
3134
  msgstr ""
3135
 
3136
- #: includes/class-sp-countries.php:290
3137
  msgid "Burkina Faso"
3138
  msgstr ""
3139
 
3140
- #: includes/class-sp-countries.php:291
3141
  msgid "Bahrain"
3142
  msgstr ""
3143
 
3144
- #: includes/class-sp-countries.php:292
3145
  msgid "Bhutan"
3146
  msgstr ""
3147
 
3148
- #: includes/class-sp-countries.php:293
3149
  msgid "Bosnia and Herzegovina"
3150
  msgstr ""
3151
 
3152
- #: includes/class-sp-countries.php:294
3153
  msgid "Belarus"
3154
  msgstr ""
3155
 
3156
- #: includes/class-sp-countries.php:295
3157
  msgid "Belize"
3158
  msgstr ""
3159
 
3160
- #: includes/class-sp-countries.php:296
3161
  msgid "Bolivia"
3162
  msgstr ""
3163
 
3164
- #: includes/class-sp-countries.php:297
3165
  msgid "Botswana"
3166
  msgstr ""
3167
 
3168
- #: includes/class-sp-countries.php:298
3169
  msgid "Brazil"
3170
  msgstr ""
3171
 
3172
- #: includes/class-sp-countries.php:299
3173
  msgid "Barbados"
3174
  msgstr ""
3175
 
3176
- #: includes/class-sp-countries.php:300
3177
  msgid "Brunei"
3178
  msgstr ""
3179
 
3180
- #: includes/class-sp-countries.php:301
3181
  msgid "Bulgaria"
3182
  msgstr ""
3183
 
3184
- #: includes/class-sp-countries.php:302
3185
  msgid "Cambodia"
3186
  msgstr ""
3187
 
3188
- #: includes/class-sp-countries.php:303
3189
  msgid "Canada"
3190
  msgstr ""
3191
 
3192
- #: includes/class-sp-countries.php:304
3193
  msgid "Cayman Islands"
3194
  msgstr ""
3195
 
3196
- #: includes/class-sp-countries.php:305
3197
  msgid "Republic of the Congo"
3198
  msgstr ""
3199
 
3200
- #: includes/class-sp-countries.php:306
3201
  msgid "Chad"
3202
  msgstr ""
3203
 
3204
- #: includes/class-sp-countries.php:307
3205
  msgid "Chile"
3206
  msgstr ""
3207
 
3208
- #: includes/class-sp-countries.php:308
3209
  msgid "China"
3210
  msgstr ""
3211
 
3212
- #: includes/class-sp-countries.php:309
3213
  msgid "Ivory Coast"
3214
  msgstr ""
3215
 
3216
- #: includes/class-sp-countries.php:310
3217
  msgid "Cameroon"
3218
  msgstr ""
3219
 
3220
- #: includes/class-sp-countries.php:311
3221
  msgid "Democratic Republic of the Congo"
3222
  msgstr ""
3223
 
3224
- #: includes/class-sp-countries.php:312
3225
  msgid "Cook Islands"
3226
  msgstr ""
3227
 
3228
- #: includes/class-sp-countries.php:313
3229
  msgid "Colombia"
3230
  msgstr ""
3231
 
3232
- #: includes/class-sp-countries.php:314
3233
  msgid "Comoros"
3234
  msgstr ""
3235
 
3236
- #: includes/class-sp-countries.php:315
3237
  msgid "Cape Verde"
3238
  msgstr ""
3239
 
3240
- #: includes/class-sp-countries.php:316
3241
  msgid "Costa Rica"
3242
  msgstr ""
3243
 
3244
- #: includes/class-sp-countries.php:317
3245
  msgid "Croatia"
3246
  msgstr ""
3247
 
3248
- #: includes/class-sp-countries.php:318
3249
  msgid "Central African Republic"
3250
  msgstr ""
3251
 
3252
- #: includes/class-sp-countries.php:319
3253
  msgid "Cuba"
3254
  msgstr ""
3255
 
3256
- #: includes/class-sp-countries.php:320
3257
  msgid "Curacao"
3258
  msgstr ""
3259
 
3260
- #: includes/class-sp-countries.php:321
3261
  msgid "Cyprus"
3262
  msgstr ""
3263
 
3264
- #: includes/class-sp-countries.php:322
3265
  msgid "Czech Republic"
3266
  msgstr ""
3267
 
3268
- #: includes/class-sp-countries.php:323
3269
  msgid "Denmark"
3270
  msgstr ""
3271
 
3272
- #: includes/class-sp-countries.php:324
3273
  msgid "Djibouti"
3274
  msgstr ""
3275
 
3276
- #: includes/class-sp-countries.php:325
3277
  msgid "Dominica"
3278
  msgstr ""
3279
 
3280
- #: includes/class-sp-countries.php:326
3281
  msgid "Dominican Republic"
3282
  msgstr ""
3283
 
3284
- #: includes/class-sp-countries.php:327
3285
  msgid "Ecuador"
3286
  msgstr ""
3287
 
3288
- #: includes/class-sp-countries.php:328
3289
  msgid "Egypt"
3290
  msgstr ""
3291
 
3292
- #: includes/class-sp-countries.php:329
3293
  msgid "England"
3294
  msgstr ""
3295
 
3296
- #: includes/class-sp-countries.php:330
3297
  msgid "Equatorial Guinea"
3298
  msgstr ""
3299
 
3300
- #: includes/class-sp-countries.php:331
3301
  msgid "Eritrea"
3302
  msgstr ""
3303
 
3304
- #: includes/class-sp-countries.php:332
3305
  msgid "Western Sahara"
3306
  msgstr ""
3307
 
3308
- #: includes/class-sp-countries.php:333
3309
  msgid "Spain"
3310
  msgstr ""
3311
 
3312
- #: includes/class-sp-countries.php:334
3313
  msgid "Estonia"
3314
  msgstr ""
3315
 
3316
- #: includes/class-sp-countries.php:335
3317
  msgid "Ethiopia"
3318
  msgstr ""
3319
 
3320
- #: includes/class-sp-countries.php:336
3321
  msgid "Fiji"
3322
  msgstr ""
3323
 
3324
- #: includes/class-sp-countries.php:337
3325
  msgid "Finland"
3326
  msgstr ""
3327
 
3328
- #: includes/class-sp-countries.php:338
3329
  msgid "France"
3330
  msgstr ""
3331
 
3332
- #: includes/class-sp-countries.php:339
3333
  msgid "Faroe Islands"
3334
  msgstr ""
3335
 
3336
- #: includes/class-sp-countries.php:340
3337
  msgid "Micronesia"
3338
  msgstr ""
3339
 
3340
- #: includes/class-sp-countries.php:341
3341
  msgid "Gabon"
3342
  msgstr ""
3343
 
3344
- #: includes/class-sp-countries.php:342
3345
  msgid "Gambia"
3346
  msgstr ""
3347
 
3348
- #: includes/class-sp-countries.php:343
3349
  msgid "United Kingdom"
3350
  msgstr ""
3351
 
3352
- #: includes/class-sp-countries.php:344
3353
  msgid "Georgia"
3354
  msgstr ""
3355
 
3356
- #: includes/class-sp-countries.php:345
3357
  msgid "Germany"
3358
  msgstr ""
3359
 
3360
- #: includes/class-sp-countries.php:346
3361
  msgid "Ghana"
3362
  msgstr ""
3363
 
3364
- #: includes/class-sp-countries.php:347
 
 
 
 
3365
  msgid "Guinea-Bissau"
3366
  msgstr ""
3367
 
3368
- #: includes/class-sp-countries.php:348
3369
  msgid "Greece"
3370
  msgstr ""
3371
 
3372
- #: includes/class-sp-countries.php:349
3373
  msgid "Grenada"
3374
  msgstr ""
3375
 
3376
- #: includes/class-sp-countries.php:350
3377
  msgid "Guatemala"
3378
  msgstr ""
3379
 
3380
- #: includes/class-sp-countries.php:351
3381
  msgid "Guinea"
3382
  msgstr ""
3383
 
3384
- #: includes/class-sp-countries.php:352
3385
  msgid "Guam"
3386
  msgstr ""
3387
 
3388
- #: includes/class-sp-countries.php:353
3389
  msgid "Guyana"
3390
  msgstr ""
3391
 
3392
- #: includes/class-sp-countries.php:354
3393
  msgid "Haiti"
3394
  msgstr ""
3395
 
3396
- #: includes/class-sp-countries.php:355
3397
  msgid "Hong Kong"
3398
  msgstr ""
3399
 
3400
- #: includes/class-sp-countries.php:356
3401
  msgid "Honduras"
3402
  msgstr ""
3403
 
3404
- #: includes/class-sp-countries.php:357
3405
  msgid "Hungary"
3406
  msgstr ""
3407
 
3408
- #: includes/class-sp-countries.php:358
3409
  msgid "Indonesia"
3410
  msgstr ""
3411
 
3412
- #: includes/class-sp-countries.php:359
3413
  msgid "India"
3414
  msgstr ""
3415
 
3416
- #: includes/class-sp-countries.php:360
3417
  msgid "Ireland"
3418
  msgstr ""
3419
 
3420
- #: includes/class-sp-countries.php:361
3421
  msgid "Iran"
3422
  msgstr ""
3423
 
3424
- #: includes/class-sp-countries.php:362
3425
  msgid "Iraq"
3426
  msgstr ""
3427
 
3428
- #: includes/class-sp-countries.php:363
3429
  msgid "Iceland"
3430
  msgstr ""
3431
 
3432
- #: includes/class-sp-countries.php:364
3433
  msgid "Israel"
3434
  msgstr ""
3435
 
3436
- #: includes/class-sp-countries.php:365
3437
  msgid "Italy"
3438
  msgstr ""
3439
 
3440
- #: includes/class-sp-countries.php:366
3441
  msgid "Jamaica"
3442
  msgstr ""
3443
 
3444
- #: includes/class-sp-countries.php:367
3445
  msgid "Jordan"
3446
  msgstr ""
3447
 
3448
- #: includes/class-sp-countries.php:368
3449
  msgid "Japan"
3450
  msgstr ""
3451
 
3452
- #: includes/class-sp-countries.php:369
3453
  msgid "Kazakhstan"
3454
  msgstr ""
3455
 
3456
- #: includes/class-sp-countries.php:370
3457
  msgid "Kenya"
3458
  msgstr ""
3459
 
3460
- #: includes/class-sp-countries.php:371
3461
  msgid "Kosovo"
3462
  msgstr ""
3463
 
3464
- #: includes/class-sp-countries.php:372
3465
  msgid "Kyrgyzstan"
3466
  msgstr ""
3467
 
3468
- #: includes/class-sp-countries.php:373
3469
  msgid "Kiribati"
3470
  msgstr ""
3471
 
3472
- #: includes/class-sp-countries.php:374
3473
  msgid "South Korea"
3474
  msgstr ""
3475
 
3476
- #: includes/class-sp-countries.php:375
3477
  msgid "Saudi Arabia"
3478
  msgstr ""
3479
 
3480
- #: includes/class-sp-countries.php:376
3481
  msgid "Kuwait"
3482
  msgstr ""
3483
 
3484
- #: includes/class-sp-countries.php:377
3485
  msgid "Laos"
3486
  msgstr ""
3487
 
3488
- #: includes/class-sp-countries.php:378
3489
  msgid "Liberia"
3490
  msgstr ""
3491
 
3492
- #: includes/class-sp-countries.php:379
3493
  msgid "Libya"
3494
  msgstr ""
3495
 
3496
- #: includes/class-sp-countries.php:380
3497
  msgid "Saint Lucia"
3498
  msgstr ""
3499
 
3500
- #: includes/class-sp-countries.php:381
3501
  msgid "Lesotho"
3502
  msgstr ""
3503
 
3504
- #: includes/class-sp-countries.php:382
3505
  msgid "Lebanon"
3506
  msgstr ""
3507
 
3508
- #: includes/class-sp-countries.php:383
3509
  msgid "Liechtenstein"
3510
  msgstr ""
3511
 
3512
- #: includes/class-sp-countries.php:384
3513
  msgid "Lithuania"
3514
  msgstr ""
3515
 
3516
- #: includes/class-sp-countries.php:385
3517
  msgid "Luxembourg"
3518
  msgstr ""
3519
 
3520
- #: includes/class-sp-countries.php:386
3521
  msgid "Latvia"
3522
  msgstr ""
3523
 
3524
- #: includes/class-sp-countries.php:387
3525
  msgid "Macau"
3526
  msgstr ""
3527
 
3528
- #: includes/class-sp-countries.php:388
3529
  msgid "Madagascar"
3530
  msgstr ""
3531
 
3532
- #: includes/class-sp-countries.php:389
3533
  msgid "Morocco"
3534
  msgstr ""
3535
 
3536
- #: includes/class-sp-countries.php:390
3537
  msgid "Malaysia"
3538
  msgstr ""
3539
 
3540
- #: includes/class-sp-countries.php:391
3541
  msgid "Monaco"
3542
  msgstr ""
3543
 
3544
- #: includes/class-sp-countries.php:392
3545
  msgid "Moldova"
3546
  msgstr ""
3547
 
3548
- #: includes/class-sp-countries.php:393
3549
  msgid "Maldives"
3550
  msgstr ""
3551
 
3552
- #: includes/class-sp-countries.php:394
3553
  msgid "Mexico"
3554
  msgstr ""
3555
 
3556
- #: includes/class-sp-countries.php:395
3557
  msgid "Marshall Islands"
3558
  msgstr ""
3559
 
3560
- #: includes/class-sp-countries.php:396
3561
  msgid "Macedonia"
3562
  msgstr ""
3563
 
3564
- #: includes/class-sp-countries.php:397
3565
  msgid "Mali"
3566
  msgstr ""
3567
 
3568
- #: includes/class-sp-countries.php:398
3569
  msgid "Malta"
3570
  msgstr ""
3571
 
3572
- #: includes/class-sp-countries.php:399
3573
  msgid "Montenegro"
3574
  msgstr ""
3575
 
3576
- #: includes/class-sp-countries.php:400
3577
  msgid "Mongolia"
3578
  msgstr ""
3579
 
3580
- #: includes/class-sp-countries.php:401
3581
  msgid "Mozambique"
3582
  msgstr ""
3583
 
3584
- #: includes/class-sp-countries.php:402
3585
  msgid "Mauritius"
3586
  msgstr ""
3587
 
3588
- #: includes/class-sp-countries.php:403
3589
  msgid "Montserrat"
3590
  msgstr ""
3591
 
3592
- #: includes/class-sp-countries.php:404
3593
  msgid "Mauritania"
3594
  msgstr ""
3595
 
3596
- #: includes/class-sp-countries.php:405
3597
  msgid "Malawi"
3598
  msgstr ""
3599
 
3600
- #: includes/class-sp-countries.php:406
3601
  msgid "Burma"
3602
  msgstr ""
3603
 
3604
- #: includes/class-sp-countries.php:407
3605
  msgid "Namibia"
3606
  msgstr ""
3607
 
3608
- #: includes/class-sp-countries.php:408
3609
  msgid "Nicaragua"
3610
  msgstr ""
3611
 
3612
- #: includes/class-sp-countries.php:409
3613
  msgid "New Caledonia"
3614
  msgstr ""
3615
 
3616
- #: includes/class-sp-countries.php:410
3617
  msgid "Netherlands"
3618
  msgstr ""
3619
 
3620
- #: includes/class-sp-countries.php:411
3621
  msgid "Nepal"
3622
  msgstr ""
3623
 
3624
- #: includes/class-sp-countries.php:412
3625
  msgid "Nigeria"
3626
  msgstr ""
3627
 
3628
- #: includes/class-sp-countries.php:413
3629
  msgid "Niger"
3630
  msgstr ""
3631
 
3632
- #: includes/class-sp-countries.php:414
3633
  msgid "Northern Ireland"
3634
  msgstr ""
3635
 
3636
- #: includes/class-sp-countries.php:415
3637
  msgid "Norway"
3638
  msgstr ""
3639
 
3640
- #: includes/class-sp-countries.php:416
3641
  msgid "Nauru"
3642
  msgstr ""
3643
 
3644
- #: includes/class-sp-countries.php:417
3645
  msgid "New Zealand"
3646
  msgstr ""
3647
 
3648
- #: includes/class-sp-countries.php:418
3649
  msgid "Oman"
3650
  msgstr ""
3651
 
3652
- #: includes/class-sp-countries.php:419
3653
  msgid "Pakistan"
3654
  msgstr ""
3655
 
3656
- #: includes/class-sp-countries.php:420
3657
  msgid "Panama"
3658
  msgstr ""
3659
 
3660
- #: includes/class-sp-countries.php:421
3661
  msgid "Paraguay"
3662
  msgstr ""
3663
 
3664
- #: includes/class-sp-countries.php:422
3665
  msgid "Peru"
3666
  msgstr ""
3667
 
3668
- #: includes/class-sp-countries.php:423
3669
  msgid "Philippines"
3670
  msgstr ""
3671
 
3672
- #: includes/class-sp-countries.php:424
3673
  msgid "Palestine"
3674
  msgstr ""
3675
 
3676
- #: includes/class-sp-countries.php:425
3677
  msgid "Palau"
3678
  msgstr ""
3679
 
3680
- #: includes/class-sp-countries.php:426
3681
  msgid "Papua New Guinea"
3682
  msgstr ""
3683
 
3684
- #: includes/class-sp-countries.php:427
3685
  msgid "Poland"
3686
  msgstr ""
3687
 
3688
- #: includes/class-sp-countries.php:428
3689
  msgid "Portugal"
3690
  msgstr ""
3691
 
3692
- #: includes/class-sp-countries.php:429
3693
  msgid "North Korea"
3694
  msgstr ""
3695
 
3696
- #: includes/class-sp-countries.php:430
3697
  msgid "Puerto Rico"
3698
  msgstr ""
3699
 
3700
- #: includes/class-sp-countries.php:431
3701
  msgid "Qatar"
3702
  msgstr ""
3703
 
3704
- #: includes/class-sp-countries.php:432
3705
  msgid "Romania"
3706
  msgstr ""
3707
 
3708
- #: includes/class-sp-countries.php:433
3709
  msgid "South Africa"
3710
  msgstr ""
3711
 
3712
- #: includes/class-sp-countries.php:434
3713
  msgid "Russia"
3714
  msgstr ""
3715
 
3716
- #: includes/class-sp-countries.php:435
3717
  msgid "Rwanda"
3718
  msgstr ""
3719
 
3720
- #: includes/class-sp-countries.php:436
3721
  msgid "Samoa"
3722
  msgstr ""
3723
 
3724
- #: includes/class-sp-countries.php:437
3725
  msgid "Scotland"
3726
  msgstr ""
3727
 
3728
- #: includes/class-sp-countries.php:438
3729
  msgid "Sudan"
3730
  msgstr ""
3731
 
3732
- #: includes/class-sp-countries.php:439
3733
  msgid "Senegal"
3734
  msgstr ""
3735
 
3736
- #: includes/class-sp-countries.php:440
3737
  msgid "Seychelles"
3738
  msgstr ""
3739
 
3740
- #: includes/class-sp-countries.php:441
3741
  msgid "Singapore"
3742
  msgstr ""
3743
 
3744
- #: includes/class-sp-countries.php:442
3745
  msgid "Saint Kitts and Nevis"
3746
  msgstr ""
3747
 
3748
- #: includes/class-sp-countries.php:443
3749
  msgid "Sierra Leone"
3750
  msgstr ""
3751
 
3752
- #: includes/class-sp-countries.php:444
3753
  msgid "El Salvador"
3754
  msgstr ""
3755
 
3756
- #: includes/class-sp-countries.php:445
3757
  msgid "San Marino"
3758
  msgstr ""
3759
 
3760
- #: includes/class-sp-countries.php:446
3761
  msgid "Solomon Islands"
3762
  msgstr ""
3763
 
3764
- #: includes/class-sp-countries.php:447
3765
  msgid "Somalia"
3766
  msgstr ""
3767
 
3768
- #: includes/class-sp-countries.php:448
3769
  msgid "Serbia"
3770
  msgstr ""
3771
 
3772
- #: includes/class-sp-countries.php:449
3773
  msgid "Sri Lanka"
3774
  msgstr ""
3775
 
3776
- #: includes/class-sp-countries.php:450
3777
  msgid "South Sudan"
3778
  msgstr ""
3779
 
3780
- #: includes/class-sp-countries.php:451
3781
  msgid "Sao Tome and Principe"
3782
  msgstr ""
3783
 
3784
- #: includes/class-sp-countries.php:452
3785
  msgid "Switzerland"
3786
  msgstr ""
3787
 
3788
- #: includes/class-sp-countries.php:453
3789
  msgid "Suriname"
3790
  msgstr ""
3791
 
3792
- #: includes/class-sp-countries.php:454
3793
  msgid "Slovakia"
3794
  msgstr ""
3795
 
3796
- #: includes/class-sp-countries.php:455
3797
  msgid "Slovenia"
3798
  msgstr ""
3799
 
3800
- #: includes/class-sp-countries.php:456
3801
  msgid "Sweden"
3802
  msgstr ""
3803
 
3804
- #: includes/class-sp-countries.php:457
3805
  msgid "Swaziland"
3806
  msgstr ""
3807
 
3808
- #: includes/class-sp-countries.php:458
3809
  msgid "Syria"
3810
  msgstr ""
3811
 
3812
- #: includes/class-sp-countries.php:459
3813
  msgid "Tahiti"
3814
  msgstr ""
3815
 
3816
- #: includes/class-sp-countries.php:460
3817
  msgid "Tanzania"
3818
  msgstr ""
3819
 
3820
- #: includes/class-sp-countries.php:461
3821
  msgid "Turks and Caicos Islands"
3822
  msgstr ""
3823
 
3824
- #: includes/class-sp-countries.php:462
3825
  msgid "Tonga"
3826
  msgstr ""
3827
 
3828
- #: includes/class-sp-countries.php:463
3829
  msgid "Thailand"
3830
  msgstr ""
3831
 
3832
- #: includes/class-sp-countries.php:464
3833
  msgid "Tajikistan"
3834
  msgstr ""
3835
 
3836
- #: includes/class-sp-countries.php:465
3837
  msgid "Turkmenistan"
3838
  msgstr ""
3839
 
3840
- #: includes/class-sp-countries.php:466
3841
  msgid "East Timor"
3842
  msgstr ""
3843
 
3844
- #: includes/class-sp-countries.php:467
3845
  msgid "Togo"
3846
  msgstr ""
3847
 
3848
- #: includes/class-sp-countries.php:468
3849
  msgid "Taiwan"
3850
  msgstr ""
3851
 
3852
- #: includes/class-sp-countries.php:469
3853
  msgid "Trinidad and Tobago"
3854
  msgstr ""
3855
 
3856
- #: includes/class-sp-countries.php:470
3857
  msgid "Tunisia"
3858
  msgstr ""
3859
 
3860
- #: includes/class-sp-countries.php:471
3861
  msgid "Turkey"
3862
  msgstr ""
3863
 
3864
- #: includes/class-sp-countries.php:472
3865
  msgid "Tuvalu"
3866
  msgstr ""
3867
 
3868
- #: includes/class-sp-countries.php:473
3869
  msgid "United Arab Emirates"
3870
  msgstr ""
3871
 
3872
- #: includes/class-sp-countries.php:474
3873
  msgid "Uganda"
3874
  msgstr ""
3875
 
3876
- #: includes/class-sp-countries.php:475
3877
  msgid "Ukraine"
3878
  msgstr ""
3879
 
3880
- #: includes/class-sp-countries.php:476
3881
  msgid "Uruguay"
3882
  msgstr ""
3883
 
3884
- #: includes/class-sp-countries.php:477
3885
  msgid "United States"
3886
  msgstr ""
3887
 
3888
- #: includes/class-sp-countries.php:478
3889
  msgid "Uzbekistan"
3890
  msgstr ""
3891
 
3892
- #: includes/class-sp-countries.php:479
3893
  msgid "Vanuatu"
3894
  msgstr ""
3895
 
3896
- #: includes/class-sp-countries.php:480
3897
  msgid "Vatican City"
3898
  msgstr ""
3899
 
3900
- #: includes/class-sp-countries.php:481
3901
  msgid "Venezuela"
3902
  msgstr ""
3903
 
3904
- #: includes/class-sp-countries.php:482
3905
  msgid "British Virgin Islands"
3906
  msgstr ""
3907
 
3908
- #: includes/class-sp-countries.php:483
3909
  msgid "Vietnam"
3910
  msgstr ""
3911
 
3912
- #: includes/class-sp-countries.php:484
3913
  msgid "Saint Vincent and the Grenadines"
3914
  msgstr ""
3915
 
3916
- #: includes/class-sp-countries.php:485
3917
  msgid "US Virgin Islands"
3918
  msgstr ""
3919
 
3920
- #: includes/class-sp-countries.php:486
3921
  msgid "Wales"
3922
  msgstr ""
3923
 
3924
- #: includes/class-sp-countries.php:487
3925
  msgid "West Indies"
3926
  msgstr ""
3927
 
3928
- #: includes/class-sp-countries.php:488
3929
  msgid "Yemen"
3930
  msgstr ""
3931
 
3932
- #: includes/class-sp-countries.php:489
3933
  msgid "Zambia"
3934
  msgstr ""
3935
 
3936
- #: includes/class-sp-countries.php:490
3937
  msgid "Zimbabwe"
3938
  msgstr ""
3939
 
@@ -3949,431 +4671,503 @@ msgstr ""
3949
  msgid "Google"
3950
  msgstr ""
3951
 
3952
- #: includes/class-sp-frontend-scripts.php:85
3953
- msgid "Previous"
3954
  msgstr ""
3955
 
3956
- #: includes/class-sp-frontend-scripts.php:85
3957
- msgid "Next"
3958
  msgstr ""
3959
 
3960
- #: includes/class-sp-install.php:231
3961
  msgid "Event Manager"
3962
  msgstr ""
3963
 
3964
- #: includes/class-sp-install.php:278
3965
  msgid "Team Manager"
3966
  msgstr ""
3967
 
3968
- #: includes/class-sp-install.php:348
3969
  msgid "League Manager"
3970
  msgstr ""
3971
 
3972
- #: includes/class-sp-install.php:545
3973
  msgid "What's new:"
3974
  msgstr ""
3975
 
3976
- #: includes/class-sp-league-table.php:575 includes/sp-core-functions.php:1331
3977
- #: modules/sportspress-league-tables.php:231 templates/league-table.php:65
 
3978
  msgid "Pos"
3979
  msgstr ""
3980
 
3981
- #: includes/class-sp-modules.php:30
3982
- msgid "Organize and publish calendars using different layouts."
3983
- msgstr ""
3984
-
3985
  #: includes/class-sp-modules.php:33
3986
- msgid "Match Stats"
3987
  msgstr ""
3988
 
3989
  #: includes/class-sp-modules.php:37
3990
- msgid "Display head-to-head team comparison charts in events."
3991
  msgstr ""
3992
 
3993
  #: includes/class-sp-modules.php:40
3994
- msgid "Tournaments"
3995
  msgstr ""
3996
 
3997
  #: includes/class-sp-modules.php:44
3998
- msgid "Schedule tournaments and create interactive playoff brackets."
 
 
 
 
3999
  msgstr ""
4000
 
4001
  #: includes/class-sp-modules.php:51
4002
- msgid "Create automated league tables to keep track of team standings."
4003
  msgstr ""
4004
 
4005
  #: includes/class-sp-modules.php:54
4006
- msgid "League Menu"
4007
  msgstr ""
4008
 
4009
  #: includes/class-sp-modules.php:58
4010
- msgid "Add a global navigation bar to display logos that link to each team."
4011
  msgstr ""
4012
 
4013
  #: includes/class-sp-modules.php:61
4014
- msgid "Team Colors"
4015
  msgstr ""
4016
 
4017
  #: includes/class-sp-modules.php:65
4018
- msgid "Create a custom color palette for each team."
4019
- msgstr ""
4020
-
4021
- #: includes/class-sp-modules.php:68
4022
- msgid "Team Access"
4023
  msgstr ""
4024
 
4025
- #: includes/class-sp-modules.php:72
4026
- msgid "Limit user access to data that is related to their team."
4027
  msgstr ""
4028
 
4029
  #: includes/class-sp-modules.php:79
4030
- msgid "Create team rosters, player galleries, and ranking charts."
4031
  msgstr ""
4032
 
4033
  #: includes/class-sp-modules.php:82
4034
- #: includes/widgets/class-sp-widget-birthdays.php:6
4035
- msgid "Birthdays"
4036
  msgstr ""
4037
 
4038
  #: includes/class-sp-modules.php:86
4039
- msgid "Display each player's birthday and their current age."
4040
  msgstr ""
4041
 
4042
  #: includes/class-sp-modules.php:89
4043
- msgid "Directories"
4044
  msgstr ""
4045
 
4046
  #: includes/class-sp-modules.php:93
 
 
 
 
 
 
 
 
4047
  msgid "Organize and display staff in list and gallery layouts."
4048
  msgstr ""
4049
 
4050
- #: includes/class-sp-modules.php:98 modules/sportspress-tutorials.php:122
4051
- #: modules/sportspress-tutorials.php:130
 
 
 
 
4052
  msgid "Tutorials"
4053
  msgstr ""
4054
 
4055
- #: includes/class-sp-modules.php:100
4056
  msgid "Display a dashboard page with SportsPress video tutorials."
4057
  msgstr ""
4058
 
4059
- #: includes/class-sp-modules.php:103
4060
  msgid "Branding"
4061
  msgstr ""
4062
 
4063
- #: includes/class-sp-modules.php:107
4064
  msgid "Instantly rebrand the dashboard with your own logo and colors."
4065
  msgstr ""
4066
 
4067
- #: includes/class-sp-modules.php:110
4068
  msgid "Duplicator"
4069
  msgstr ""
4070
 
4071
- #: includes/class-sp-modules.php:114
4072
  msgid "Clone anything with just one click. Great for creating multiple events."
4073
  msgstr ""
4074
 
4075
- #: includes/class-sp-modules.php:121
4076
- msgid "Tweet #SportsPress"
4077
- msgstr ""
4078
-
4079
- #: includes/class-sp-modules.php:123
4080
- msgid ""
4081
- "Help spread the word by tweeting with #SportsPress and get the Twitter "
4082
- "module for free."
4083
  msgstr ""
4084
 
4085
- #: includes/class-sp-modules.php:125
4086
- msgid "Add a Twitter feed to team, player, and staff pages."
4087
  msgstr ""
4088
 
4089
- #: includes/class-sp-modules.php:128
4090
  msgid "Sponsors"
4091
  msgstr ""
4092
 
4093
- #: includes/class-sp-modules.php:132
4094
  msgid "Attract sponsors by offering them advertising space on your website."
4095
  msgstr ""
4096
 
4097
- #: includes/class-sp-modules.php:139
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4098
  msgid "Multisite"
4099
  msgstr ""
4100
 
4101
- #: includes/class-sp-modules.php:143
4102
  msgid "Manage multiple sports and display different widgets all on one site."
4103
  msgstr ""
4104
 
4105
- #: includes/class-sp-post-types.php:40
4106
- msgid "Edit Competition"
4107
  msgstr ""
4108
 
4109
- #: includes/class-sp-post-types.php:41 includes/class-sp-post-types.php:72
4110
- #: includes/class-sp-post-types.php:103 includes/class-sp-post-types.php:134
4111
- #: includes/class-sp-post-types.php:165 includes/class-sp-post-types.php:208
4112
- #: includes/class-sp-post-types.php:238 includes/class-sp-post-types.php:268
4113
- #: includes/class-sp-post-types.php:298 includes/class-sp-post-types.php:328
4114
- #: includes/class-sp-post-types.php:358
 
 
4115
  msgid "View"
4116
  msgstr ""
4117
 
4118
- #: includes/class-sp-post-types.php:45 includes/class-sp-post-types.php:76
4119
- #: includes/class-sp-post-types.php:107 includes/class-sp-post-types.php:138
4120
- #: includes/class-sp-post-types.php:169
4121
  msgid "Parent"
4122
  msgstr ""
4123
 
4124
- #: includes/class-sp-post-types.php:46 includes/class-sp-post-types.php:77
4125
- #: includes/class-sp-post-types.php:108 includes/class-sp-post-types.php:139
4126
- #: includes/class-sp-post-types.php:170
4127
  msgid "Parent:"
4128
  msgstr ""
4129
 
4130
- #: includes/class-sp-post-types.php:47 includes/class-sp-post-types.php:78
4131
- #: includes/class-sp-post-types.php:109 includes/class-sp-post-types.php:140
4132
- #: includes/class-sp-post-types.php:171 includes/class-sp-post-types.php:209
4133
- #: includes/class-sp-post-types.php:239 includes/class-sp-post-types.php:269
4134
- #: includes/class-sp-post-types.php:299 includes/class-sp-post-types.php:329
4135
- #: includes/class-sp-post-types.php:359 includes/class-sp-post-types.php:387
4136
- #: includes/class-sp-post-types.php:421 includes/class-sp-post-types.php:451
4137
- #: includes/class-sp-post-types.php:481 modules/sportspress-calendars.php:71
4138
- #: modules/sportspress-league-tables.php:72
4139
- #: modules/sportspress-player-lists.php:71
 
4140
  msgid "Search"
4141
  msgstr ""
4142
 
4143
- #: includes/class-sp-post-types.php:71
4144
  msgid "Edit Season"
4145
  msgstr ""
4146
 
4147
- #: includes/class-sp-post-types.php:102
4148
  msgid "Edit Venue"
4149
  msgstr ""
4150
 
4151
- #: includes/class-sp-post-types.php:133
4152
  msgid "Edit Position"
4153
  msgstr ""
4154
 
4155
- #: includes/class-sp-post-types.php:164
4156
  msgid "Edit Job"
4157
  msgstr ""
4158
 
4159
- #: includes/class-sp-post-types.php:204
4160
  msgid "Result"
4161
  msgstr ""
4162
 
4163
- #: includes/class-sp-post-types.php:205
4164
  msgid "Add New Result"
4165
  msgstr ""
4166
 
4167
- #: includes/class-sp-post-types.php:206
4168
  msgid "Edit Result"
4169
  msgstr ""
4170
 
4171
- #: includes/class-sp-post-types.php:207 includes/class-sp-post-types.php:237
4172
- #: includes/class-sp-post-types.php:267 includes/class-sp-post-types.php:297
4173
- #: includes/class-sp-post-types.php:327 includes/class-sp-post-types.php:357
4174
- #: includes/class-sp-post-types.php:385 includes/class-sp-post-types.php:419
4175
- #: includes/class-sp-post-types.php:449 includes/class-sp-post-types.php:479
4176
- #: modules/sportspress-calendars.php:69
4177
- #: modules/sportspress-league-tables.php:70
4178
- #: modules/sportspress-player-lists.php:69
 
4179
  msgid "New"
4180
  msgstr ""
4181
 
4182
- #: includes/class-sp-post-types.php:235
4183
  msgid "Add New Outcome"
4184
  msgstr ""
4185
 
4186
- #: includes/class-sp-post-types.php:236
4187
  msgid "Edit Outcome"
4188
  msgstr ""
4189
 
4190
- #: includes/class-sp-post-types.php:264
4191
  msgid "Column"
4192
  msgstr ""
4193
 
4194
- #: includes/class-sp-post-types.php:265
4195
  msgid "Add New Column"
4196
  msgstr ""
4197
 
4198
- #: includes/class-sp-post-types.php:266
4199
  msgid "Edit Column"
4200
  msgstr ""
4201
 
4202
- #: includes/class-sp-post-types.php:294
4203
  msgid "Metric"
4204
  msgstr ""
4205
 
4206
- #: includes/class-sp-post-types.php:295
4207
  msgid "Add New Metric"
4208
  msgstr ""
4209
 
4210
- #: includes/class-sp-post-types.php:296
4211
  msgid "Edit Metric"
4212
  msgstr ""
4213
 
4214
- #: includes/class-sp-post-types.php:325
4215
  msgid "Add New Performance"
4216
  msgstr ""
4217
 
4218
- #: includes/class-sp-post-types.php:326
4219
  msgid "Edit Performance"
4220
  msgstr ""
4221
 
4222
- #: includes/class-sp-post-types.php:354
 
 
 
 
 
 
 
 
 
 
 
 
4223
  msgid "Statistic"
4224
  msgstr ""
4225
 
4226
- #: includes/class-sp-post-types.php:355
4227
  msgid "Add New Statistic"
4228
  msgstr ""
4229
 
4230
- #: includes/class-sp-post-types.php:356
4231
  msgid "Edit Statistic"
4232
  msgstr ""
4233
 
4234
- #: includes/class-sp-post-types.php:384 modules/sportspress-tutorials.php:82
 
 
 
 
4235
  msgid "Edit Event"
4236
  msgstr ""
4237
 
4238
- #: includes/class-sp-post-types.php:386
4239
- msgid "View Event"
4240
  msgstr ""
4241
 
4242
- #: includes/class-sp-post-types.php:418
4243
  msgid "Edit Team"
4244
  msgstr ""
4245
 
4246
- #: includes/class-sp-post-types.php:420
4247
  msgid "View Team"
4248
  msgstr ""
4249
 
4250
- #: includes/class-sp-post-types.php:448
 
 
 
 
 
 
 
 
 
 
 
 
4251
  msgid "Edit Player"
4252
  msgstr ""
4253
 
4254
- #: includes/class-sp-post-types.php:450
4255
  msgid "View Player"
4256
  msgstr ""
4257
 
4258
- #: includes/class-sp-post-types.php:477 modules/sportspress-tutorials.php:77
 
 
 
 
 
 
 
 
 
 
 
4259
  msgid "Add New Staff"
4260
  msgstr ""
4261
 
4262
- #: includes/class-sp-post-types.php:478
4263
  msgid "Edit Staff"
4264
  msgstr ""
4265
 
4266
- #: includes/sp-core-functions.php:412
4267
- msgid "Average"
 
 
4268
  msgstr ""
4269
 
4270
- #: includes/sp-core-functions.php:506
4271
- msgid "Published"
 
4272
  msgstr ""
4273
 
4274
- #: includes/sp-core-functions.php:507
4275
- msgid "Scheduled"
 
4276
  msgstr ""
4277
 
4278
- #: includes/sp-core-functions.php:539
4279
- msgid "Date range:"
4280
  msgstr ""
4281
 
4282
- #: includes/sp-core-functions.php:814 includes/sp-core-functions.php:964
4283
- msgid "(no title)"
4284
  msgstr ""
4285
 
4286
- #: includes/sp-core-functions.php:833 includes/sp-core-functions.php:917
4287
- #: modules/sportspress-lazy-loading.php:185
4288
- #: modules/sportspress-lazy-loading.php:222
4289
- msgid "Select All"
4290
  msgstr ""
4291
 
4292
- #: includes/sp-core-functions.php:898 includes/sp-core-functions.php:901
4293
- #: modules/sportspress-lazy-loading.php:206
4294
- #: modules/sportspress-lazy-loading.php:209
4295
- #: modules/sportspress-lazy-loading.php:223
4296
- msgid "Show all"
4297
  msgstr ""
4298
 
4299
- #: includes/sp-core-functions.php:1339
4300
- msgid "Substitutes"
4301
  msgstr ""
4302
 
4303
- #: includes/sp-core-functions.php:1346 modules/sportspress-event-videos.php:56
4304
- #: templates/event-video.php:19
4305
- msgid "Video"
4306
  msgstr ""
4307
 
4308
- #: includes/sp-core-functions.php:1347 templates/event-blocks.php:136
4309
- #: templates/event-calendar.php:226 templates/event-list.php:376
4310
- msgid "View all events"
4311
  msgstr ""
4312
 
4313
- #: includes/sp-core-functions.php:1348 templates/player-gallery.php:162
4314
- #: templates/player-list.php:207
4315
- msgid "View all players"
4316
  msgstr ""
4317
 
4318
- #: includes/sp-core-functions.php:1349 templates/league-table.php:165
4319
- msgid "View full table"
4320
  msgstr ""
4321
 
4322
- #: includes/sp-core-functions.php:1364
4323
- msgid "Love SportsPress? Help spread the word by rating us 5★ on WordPress.org"
 
 
4324
  msgstr ""
4325
 
4326
- #: includes/sp-template-hooks.php:175
4327
- msgid ""
4328
- "The description is not prominent by default; however, some themes may show "
4329
- "it."
 
4330
  msgstr ""
4331
 
4332
- #: includes/sp-template-hooks.php:184 modules/sportspress-icons.php:147
4333
- msgid "Select Icon"
4334
  msgstr ""
4335
 
4336
- #: includes/sp-template-hooks.php:187
4337
- msgid "Add icon"
4338
  msgstr ""
4339
 
4340
- #: includes/sp-template-hooks.php:190
4341
- msgid "Remove icon"
4342
  msgstr ""
4343
 
4344
- #: includes/sp-template-hooks.php:198
4345
- msgid "User"
4346
  msgstr ""
4347
 
4348
- #: includes/sp-template-hooks.php:209
4349
- msgid "Select Photo"
 
4350
  msgstr ""
4351
 
4352
- #: includes/sp-template-hooks.php:212
4353
- msgid "Add photo"
 
4354
  msgstr ""
4355
 
4356
- #: includes/sp-template-hooks.php:215
4357
- msgid "Remove photo"
4358
  msgstr ""
4359
 
4360
- #: includes/sp-template-hooks.php:226
4361
- msgid "Select Logo"
4362
  msgstr ""
4363
 
4364
- #: includes/sp-template-hooks.php:229
4365
- msgid "Add logo"
 
 
4366
  msgstr ""
4367
 
4368
- #: includes/sp-template-hooks.php:232
4369
- msgid "Remove logo"
4370
  msgstr ""
4371
 
4372
- #: includes/sp-template-hooks.php:240
4373
  msgid "Date/Time:"
4374
  msgstr ""
4375
 
4376
- #: includes/sp-template-hooks.php:240
4377
  msgid "Now"
4378
  msgstr ""
4379
 
@@ -4381,6 +5175,10 @@ msgstr ""
4381
  msgid "Display players and staff on their birthday."
4382
  msgstr ""
4383
 
 
 
 
 
4384
  #: includes/widgets/class-sp-widget-birthdays.php:49
4385
  msgid "This month"
4386
  msgstr ""
@@ -4394,11 +5192,12 @@ msgid "A clock that counts down to an upcoming event."
4394
  msgstr ""
4395
 
4396
  #: includes/widgets/class-sp-widget-countdown.php:66
4397
- #: includes/widgets/class-sp-widget-event-blocks.php:84
4398
- #: includes/widgets/class-sp-widget-event-list.php:87
4399
  #: includes/widgets/class-sp-widget-league-table.php:76
4400
  #: includes/widgets/class-sp-widget-player-gallery.php:81
4401
  #: includes/widgets/class-sp-widget-player-list.php:81
 
4402
  msgid "Heading:"
4403
  msgstr ""
4404
 
@@ -4408,7 +5207,7 @@ msgid "A list of events."
4408
  msgstr ""
4409
 
4410
  #: includes/widgets/class-sp-widget-event-blocks.php:6
4411
- #: modules/sportspress-calendars.php:259
4412
  msgid "Event Blocks"
4413
  msgstr ""
4414
 
@@ -4421,7 +5220,7 @@ msgid "Event Calendar"
4421
  msgstr ""
4422
 
4423
  #: includes/widgets/class-sp-widget-event-list.php:6
4424
- #: modules/sportspress-calendars.php:190
4425
  msgid "Event List"
4426
  msgstr ""
4427
 
@@ -4441,10 +5240,6 @@ msgstr ""
4441
  msgid "Player Gallery"
4442
  msgstr ""
4443
 
4444
- #: includes/widgets/class-sp-widget-player-gallery.php:116
4445
- msgid "Random"
4446
- msgstr ""
4447
-
4448
  #: includes/widgets/class-sp-widget-player-list.php:5
4449
  msgid "Display a list of players."
4450
  msgstr ""
@@ -4457,209 +5252,344 @@ msgstr ""
4457
  msgid "Display a single staff member."
4458
  msgstr ""
4459
 
4460
- #: modules/sportspress-birthdays.php:68
 
 
 
 
 
 
 
 
 
 
 
 
4461
  #, php-format
4462
  msgid "Birthday: <b>%1$s</b>"
4463
  msgstr ""
4464
 
4465
- #: modules/sportspress-birthdays.php:70 modules/sportspress-birthdays.php:91
4466
- #: modules/sportspress-birthdays.php:119 modules/sportspress-birthdays.php:146
4467
- #: modules/sportspress-birthdays.php:163
4468
  msgid "Birthday"
4469
  msgstr ""
4470
 
4471
- #: modules/sportspress-birthdays.php:92 modules/sportspress-birthdays.php:120
 
 
 
 
 
4472
  msgid "Display birthday"
4473
  msgstr ""
4474
 
4475
- #: modules/sportspress-birthdays.php:100 modules/sportspress-birthdays.php:128
4476
  msgid "Display age"
4477
  msgstr ""
4478
 
4479
- #: modules/sportspress-birthdays.php:150 modules/sportspress-birthdays.php:167
4480
- msgid "Age"
4481
  msgstr ""
4482
 
4483
- #: modules/sportspress-calendars.php:67
 
 
 
 
 
 
 
4484
  msgid "Add New Calendar"
4485
  msgstr ""
4486
 
4487
- #: modules/sportspress-calendars.php:68
4488
  msgid "Edit Calendar"
4489
  msgstr ""
4490
 
4491
- #: modules/sportspress-calendars.php:70
4492
  msgid "View Calendar"
4493
  msgstr ""
4494
 
4495
- #: modules/sportspress-calendars.php:134
4496
  msgid "Feeds"
4497
  msgstr ""
4498
 
4499
- #: modules/sportspress-calendars.php:196 modules/sportspress-calendars.php:265
4500
  msgid "Display calendar title"
4501
  msgstr ""
4502
 
4503
- #: modules/sportspress-calendars.php:211
4504
  msgid "Title Format"
4505
  msgstr ""
4506
 
4507
- #: modules/sportspress-calendars.php:223
4508
  msgid "Time/Results Format"
4509
  msgstr ""
4510
 
4511
- #: modules/sportspress-calendars.php:229
4512
  msgid "Separate"
4513
  msgstr ""
4514
 
4515
- #: modules/sportspress-calendars.php:230
4516
  msgid "Time Only"
4517
  msgstr ""
4518
 
4519
- #: modules/sportspress-calendars.php:231
4520
  msgid "Results Only"
4521
  msgstr ""
4522
 
4523
- #: modules/sportspress-calendars.php:236 modules/sportspress-calendars.php:297
4524
- #: modules/sportspress-league-tables.php:210
4525
- #: modules/sportspress-player-lists.php:226
 
4526
  msgid "Pagination"
4527
  msgstr ""
4528
 
4529
- #: modules/sportspress-calendars.php:237 modules/sportspress-calendars.php:298
4530
- #: modules/sportspress-league-tables.php:211
4531
- #: modules/sportspress-player-lists.php:227
 
4532
  msgid "Paginate"
4533
  msgstr ""
4534
 
4535
- #: modules/sportspress-calendars.php:248 modules/sportspress-calendars.php:309
 
 
4536
  msgid "events"
4537
  msgstr ""
4538
 
4539
- #: modules/sportspress-calendars.php:281
4540
  msgid "Display season"
4541
  msgstr ""
4542
 
4543
- #: modules/sportspress-countdowns.php:80
4544
- msgid "Countdowns"
4545
  msgstr ""
4546
 
4547
- #: modules/sportspress-icons.php:139
4548
- msgid "Image"
4549
  msgstr ""
4550
 
4551
- #: modules/sportspress-individual-mode.php:122
4552
- #: modules/sportspress-player-lists.php:238
4553
- msgid "players"
 
 
 
4554
  msgstr ""
4555
 
4556
- #: modules/sportspress-lazy-loading.php:224
4557
  msgid "Loading&hellip;"
4558
  msgstr ""
4559
 
4560
- #: modules/sportspress-league-tables.php:68
4561
  msgid "Add New League Table"
4562
  msgstr ""
4563
 
4564
- #: modules/sportspress-league-tables.php:69
4565
  msgid "Edit League Table"
4566
  msgstr ""
4567
 
4568
- #: modules/sportspress-league-tables.php:71
4569
  msgid "View League Table"
4570
  msgstr ""
4571
 
4572
- #: modules/sportspress-league-tables.php:195
4573
- #: modules/sportspress-player-lists.php:202
 
4574
  msgid "Display title"
4575
  msgstr ""
4576
 
4577
- #: modules/sportspress-league-tables.php:232
 
4578
  msgid "Always increment"
4579
  msgstr ""
4580
 
4581
- #: modules/sportspress-league-tables.php:255
4582
- msgid "Enable column editing"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4583
  msgstr ""
4584
 
4585
  #: modules/sportspress-overview.php:52 modules/sportspress-overview.php:62
4586
- #: modules/sportspress-tutorials.php:109
4587
  msgid "Overview"
4588
  msgstr ""
4589
 
4590
- #: modules/sportspress-player-lists.php:67
4591
  msgid "Add New Player List"
4592
  msgstr ""
4593
 
4594
- #: modules/sportspress-player-lists.php:68
4595
  msgid "Edit Player List"
4596
  msgstr ""
4597
 
4598
- #: modules/sportspress-player-lists.php:70
4599
  msgid "View Player List"
4600
  msgstr ""
4601
 
4602
- #: modules/sportspress-player-lists.php:210
4603
  msgid "Display photos"
4604
  msgstr ""
4605
 
4606
- #: modules/sportspress-template-selector.php:132
 
 
 
 
4607
  msgid "Default Template"
4608
  msgstr ""
4609
 
4610
- #: modules/sportspress-template-selector.php:136
4611
  msgid "Template"
4612
  msgstr ""
4613
 
4614
- #: modules/sportspress-tutorials.php:63
 
 
 
 
4615
  msgid "Installation"
4616
  msgstr ""
4617
 
4618
- #: modules/sportspress-tutorials.php:89
4619
  msgid "Permalinks"
4620
  msgstr ""
4621
 
4622
- #: modules/sportspress-tutorials.php:105
4623
  msgid "Player Ranking"
4624
  msgstr ""
4625
 
4626
- #: modules/sportspress-tutorials.php:108
4627
  msgid "Demo Content"
4628
  msgstr ""
4629
 
4630
- #: modules/sportspress-tutorials.php:110
4631
  msgid "User Roles"
4632
  msgstr ""
4633
 
4634
- #: modules/sportspress-tutorials.php:112
4635
  msgid "Page not found"
4636
  msgstr ""
4637
 
4638
- #: modules/sportspress-tutorials.php:131
4639
  msgid "Advanced"
4640
  msgstr ""
4641
 
4642
- #: modules/sportspress-tutorials.php:155
4643
  msgid "Pop-out"
4644
  msgstr ""
4645
 
4646
- #: modules/sportspress-tutorials.php:193
4647
  msgid "Watch Tutorials"
4648
  msgstr ""
4649
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4650
  #: modules/sportspress-widget-alignment.php:107
4651
  #: modules/sportspress-widget-alignment.php:141
4652
  #, php-format
4653
  msgid "Alignment: %s"
4654
  msgstr ""
4655
 
4656
- #: sportspress.php:87 sportspress.php:96
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4657
  msgid "Cheatin&#8217; huh?"
4658
  msgstr ""
4659
 
4660
- #: templates/event-calendar.php:103 templates/event-calendar.php:131
4661
- #: templates/event-calendar.php:139
4662
  #, php-format
4663
  msgctxt "calendar caption"
4664
  msgid "%1$s %2$s"
4665
  msgstr ""
 
 
 
 
1
+ #, fuzzy
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: SportsPress\n"
5
+ "POT-Creation-Date: 2017-11-16 12:05+1100\n"
6
  "PO-Revision-Date: 2016-03-19 20:08+1100\n"
7
  "Last-Translator: Brian Miyaji <brian@themeboy.com>\n"
8
  "Language-Team: ThemeBoy <support@themeboy.com>\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 2.0.3\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
20
  "X-Poedit-SearchPath-0: .\n"
21
  "X-Poedit-SearchPathExcluded-0: includes/libraries\n"
22
 
23
+ #: assets/js/admin/editor-lang.php:24
24
  msgid "SportsPress Shortcodes"
25
  msgstr ""
26
 
27
+ #: assets/js/admin/editor-lang.php:25
28
  #: includes/admin/post-types/class-sp-admin-cpt-list.php:70
29
  #: includes/admin/post-types/class-sp-admin-cpt-table.php:74
30
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:140
31
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:82
32
+ #: includes/admin/settings/class-sp-settings-events.php:286
33
+ #: includes/admin/settings/class-sp-settings-events.php:341
34
  #: includes/admin/settings/class-sp-settings-general.php:91
35
+ #: includes/admin/settings/class-sp-settings-general.php:174
36
+ #: includes/admin/settings/class-sp-settings-players.php:147
37
  msgid "Auto"
38
  msgstr ""
39
 
40
+ #: assets/js/admin/editor-lang.php:26
41
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:141
42
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:83
43
+ #: includes/admin/settings/class-sp-settings-events.php:287
44
+ #: includes/admin/settings/class-sp-settings-events.php:342
45
+ #: includes/admin/settings/class-sp-settings-players.php:148
46
  msgid "Manual"
47
  msgstr ""
48
 
49
+ #: assets/js/admin/editor-lang.php:27
50
  msgid "Select..."
51
  msgstr ""
52
 
53
+ #: assets/js/admin/editor-lang.php:28
54
  #: includes/admin/class-sp-admin-sample-data.php:365
55
+ #: includes/admin/class-sp-admin-setup-wizard.php:724
56
+ #: includes/admin/importers/class-sp-event-importer.php:150
57
+ #: includes/admin/importers/class-sp-event-importer.php:309
58
+ #: includes/admin/importers/class-sp-event-performance-importer.php:172
59
+ #: includes/admin/importers/class-sp-fixture-importer.php:117
60
+ #: includes/admin/importers/class-sp-fixture-importer.php:204
61
+ #: includes/admin/post-types/class-sp-admin-cpt-event.php:129
62
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:300
63
+ #: includes/class-sp-ajax.php:58 includes/class-sp-ajax.php:103
64
+ #: includes/class-sp-ajax.php:133 includes/class-sp-ajax.php:163
65
+ #: includes/class-sp-ajax.php:427 includes/class-sp-post-types.php:415
66
+ #: includes/sp-core-functions.php:1451
67
  #: includes/widgets/class-sp-widget-countdown.php:86
68
+ #: includes/widgets/class-sp-widget-event-list.php:189
69
+ #: templates/event-list.php:131
70
  msgid "Event"
71
  msgstr ""
72
 
73
+ #: assets/js/admin/editor-lang.php:29
74
  #: includes/admin/post-types/class-sp-admin-meta-boxes.php:32
75
  #: includes/admin/post-types/class-sp-admin-meta-boxes.php:41
76
  #: includes/admin/post-types/class-sp-admin-meta-boxes.php:57
77
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:73
78
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:89
79
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:98
80
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:141
81
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:171
82
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:200
83
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:229
84
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:264
85
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-shortcode.php:24
86
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:214
87
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-shortcode.php:27
88
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:110
89
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:105
90
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:106
91
+ #: includes/admin/settings/class-sp-settings-events.php:65
92
+ #: includes/admin/settings/class-sp-settings-players.php:61
93
+ #: includes/admin/settings/class-sp-settings-staff.php:61
94
+ #: includes/class-sp-templates.php:59 includes/class-sp-templates.php:139
95
+ #: includes/class-sp-templates.php:189 includes/class-sp-templates.php:257
96
+ #: includes/sp-core-functions.php:1450 modules/sportspress-calendars.php:205
97
+ #: modules/sportspress-calendars.php:332
98
+ #: modules/sportspress-league-tables.php:197
99
+ #: modules/sportspress-officials.php:320
100
+ #: modules/sportspress-player-lists.php:205 templates/event-details.php:61
101
  msgid "Details"
102
  msgstr ""
103
 
104
+ #: assets/js/admin/editor-lang.php:30
105
  #: includes/admin/importers/class-sp-event-importer.php:30
106
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:155
107
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:47
108
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:83
109
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-shortcode.php:23
110
+ #: includes/admin/settings/class-sp-settings-events.php:263
111
+ #: includes/api/class-sp-rest-api.php:209 includes/class-sp-templates.php:71
112
+ #: includes/sp-core-functions.php:1475
113
+ #: includes/widgets/class-sp-widget-event-list.php:202
114
+ #: templates/event-fixtures-results.php:80 templates/event-list.php:115
115
+ #: templates/event-list.php:139 templates/event-list.php:147
116
+ #: templates/event-results.php:21
117
  msgid "Results"
118
  msgstr ""
119
 
120
+ #: assets/js/admin/editor-lang.php:31
121
  #: includes/widgets/class-sp-widget-countdown.php:6
122
+ #: modules/sportspress-countdowns.php:80
123
  msgid "Countdown"
124
  msgstr ""
125
 
126
+ #: assets/js/admin/editor-lang.php:32
127
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:162
128
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-shortcode.php:25
129
+ #: includes/admin/settings/class-sp-settings-events.php:305
130
+ #: includes/api/class-sp-rest-api.php:225 includes/class-sp-templates.php:77
131
+ #: includes/sp-core-functions.php:1444 modules/sportspress-tutorials.php:103
132
+ #: templates/event-performance.php:119
133
  msgid "Box Score"
134
  msgstr ""
135
 
136
+ #: assets/js/admin/editor-lang.php:33
137
  #: includes/admin/class-sp-admin-sample-data.php:472
138
+ #: includes/class-sp-ajax.php:193 includes/class-sp-ajax.php:310
139
+ #: includes/class-sp-ajax.php:473 includes/class-sp-formats.php:31
140
+ #: includes/class-sp-templates.php:98
141
+ #: includes/widgets/class-sp-widget-event-blocks.php:99
142
+ #: includes/widgets/class-sp-widget-event-calendar.php:87
143
+ #: includes/widgets/class-sp-widget-event-list.php:104
144
+ #: modules/sportspress-bulk-actions.php:69 modules/sportspress-calendars.php:72
145
+ #: modules/sportspress-calendars.php:400 modules/sportspress-calendars.php:439
146
  msgid "Calendar"
147
  msgstr ""
148
 
149
+ #: assets/js/admin/editor-lang.php:34
150
+ #: includes/admin/class-sp-admin-taxonomies.php:163
151
+ #: includes/admin/class-sp-admin-taxonomies.php:187
152
+ #: includes/admin/class-sp-admin-taxonomies.php:281
153
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:214
154
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:57
155
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-shortcode.php:31
156
+ #: includes/admin/settings/class-sp-settings-players.php:139
157
+ #: includes/api/class-sp-rest-api.php:432 includes/class-sp-post-types.php:386
158
+ #: includes/class-sp-templates.php:213 includes/sp-core-functions.php:1478
159
  msgid "Statistics"
160
  msgstr ""
161
 
162
+ #: assets/js/admin/editor-lang.php:35
163
+ #: includes/admin/class-sp-admin-sample-data.php:166
164
+ #: includes/admin/importers/class-sp-event-performance-importer.php:183
165
+ #: includes/admin/post-types/class-sp-admin-cpt-calendar.php:52
166
+ #: includes/admin/post-types/class-sp-admin-cpt-list.php:51
167
+ #: includes/admin/post-types/class-sp-admin-cpt-team.php:70
168
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:100
169
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-results.php:243
170
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:42
171
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:55
172
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:81
173
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:102
174
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:77
175
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:148
176
+ #: includes/admin/settings/class-sp-settings-events.php:464
177
+ #: includes/admin/settings/class-sp-settings-events.php:466
178
+ #: includes/class-sp-ajax.php:857 includes/class-sp-league-table.php:772
179
+ #: includes/class-sp-player-list.php:669 includes/class-sp-player-list.php:715
180
+ #: includes/class-sp-player.php:692 includes/class-sp-player.php:714
181
+ #: includes/class-sp-post-types.php:452 includes/sp-core-functions.php:548
182
+ #: includes/sp-core-functions.php:1480
183
+ #: includes/widgets/class-sp-widget-countdown.php:69
184
+ #: modules/sportspress-user-registration.php:118
185
+ #: modules/sportspress-user-registration.php:124
186
+ #: modules/sportspress-wordpay.php:158 modules/sportspress-wordpay.php:164
187
+ #: templates/event-results.php:105
188
+ msgid "Team"
189
+ msgstr ""
190
+
191
+ #: assets/js/admin/editor-lang.php:36
192
  #: includes/admin/class-sp-admin-sample-data.php:506
193
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:55
194
+ #: includes/class-sp-ajax.php:627 includes/class-sp-ajax.php:700
195
+ #: includes/class-sp-templates.php:166 includes/sp-core-functions.php:1458
196
  #: includes/widgets/class-sp-widget-league-table.php:6
197
  #: includes/widgets/class-sp-widget-league-table.php:79
198
+ #: includes/widgets/class-sp-widget-team-gallery.php:81
199
+ #: modules/sportspress-league-tables.php:69
200
+ #: modules/sportspress-league-tables.php:142
201
+ #: modules/sportspress-league-tables.php:204
202
+ #: modules/sportspress-league-tables.php:322
203
  msgid "League Table"
204
  msgstr ""
205
 
206
+ #: assets/js/admin/editor-lang.php:37
207
  #: includes/admin/class-sp-admin-sample-data.php:210
208
+ #: includes/admin/importers/class-sp-event-performance-importer.php:26
209
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:312
210
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:53
211
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:180
212
+ #: includes/class-sp-ajax.php:758 includes/class-sp-ajax.php:788
213
+ #: includes/class-sp-install.php:138 includes/class-sp-player-list.php:714
214
+ #: includes/class-sp-post-types.php:489 includes/sp-core-functions.php:552
215
+ #: includes/sp-core-functions.php:1465 templates/event-performance-table.php:41
 
 
216
  msgid "Player"
217
  msgstr ""
218
 
219
+ #: assets/js/admin/editor-lang.php:38 includes/class-sp-formats.php:32
220
+ #: includes/class-sp-formats.php:40 modules/sportspress-calendars.php:401
221
+ #: modules/sportspress-calendars.php:440 modules/sportspress-officials.php:457
222
  msgid "List"
223
  msgstr ""
224
 
225
+ #: assets/js/admin/editor-lang.php:39 includes/class-sp-formats.php:33
226
+ #: modules/sportspress-calendars.php:399 modules/sportspress-calendars.php:438
227
  msgid "Blocks"
228
  msgstr ""
229
 
230
+ #: assets/js/admin/editor-lang.php:40 includes/class-sp-formats.php:37
231
+ #: includes/class-sp-formats.php:41
232
  msgid "Gallery"
233
  msgstr ""
234
 
236
  msgid "ERROR: This is not a valid feed template."
237
  msgstr ""
238
 
239
+ #: includes/admin/class-sp-admin-assets.php:118
240
+ #: includes/admin/class-sp-admin-settings.php:137
241
+ #: includes/admin/class-sp-admin-setup-wizard.php:111
242
+ #: includes/admin/importers/class-sp-event-importer.php:491
243
+ #: includes/admin/importers/class-sp-event-importer.php:506
244
+ #: includes/admin/importers/class-sp-fixture-importer.php:299
245
+ #: includes/admin/importers/class-sp-fixture-importer.php:314
246
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:224
247
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:43
248
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:558
249
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:133
250
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:104
251
+ #: includes/admin/settings/class-sp-settings-events.php:363
252
  #: includes/admin/settings/class-sp-settings-status.php:260
253
  #: includes/admin/views/html-admin-page-status.php:224
254
+ #: modules/sportspress-league-tables.php:301
255
+ #: modules/sportspress-officials.php:416
256
  #: modules/sportspress-widget-alignment.php:69
257
  msgid "None"
258
  msgstr ""
259
 
260
+ #: includes/admin/class-sp-admin-assets.php:119
261
+ #: includes/admin/class-sp-admin-setup-wizard.php:112
262
  msgid "&mdash; Remove &mdash;"
263
  msgstr ""
264
 
265
+ #: includes/admin/class-sp-admin-assets.php:120
266
  #: includes/admin/class-sp-admin-dashboard.php:80
267
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:74
268
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:78
269
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:64
270
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:59
271
+ #: includes/class-sp-frontend-scripts.php:79
272
+ #: includes/widgets/class-sp-widget-event-blocks.php:155
273
+ #: includes/widgets/class-sp-widget-event-calendar.php:143
274
+ #: includes/widgets/class-sp-widget-event-list.php:160
275
+ #: templates/countdown.php:136
276
  msgid "days"
277
  msgstr ""
278
 
279
+ #: includes/admin/class-sp-admin-assets.php:121
280
+ #: includes/class-sp-frontend-scripts.php:79 templates/countdown.php:137
281
  msgid "hrs"
282
  msgstr ""
283
 
284
+ #: includes/admin/class-sp-admin-assets.php:122
285
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:37
286
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:483
287
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:503
288
+ #: includes/admin/settings/class-sp-settings-events.php:148
289
+ #: includes/class-sp-frontend-scripts.php:79 templates/countdown.php:138
290
  msgid "mins"
291
  msgstr ""
292
 
293
+ #: includes/admin/class-sp-admin-assets.php:123
294
+ #: includes/class-sp-frontend-scripts.php:79 templates/countdown.php:139
295
  msgid "secs"
296
  msgstr ""
297
 
298
+ #: includes/admin/class-sp-admin-assets.php:124
299
+ #: includes/admin/importers/class-sp-importer.php:178
300
  #, php-format
301
  msgid "Displaying %s&#8211;%s of %s"
302
  msgstr ""
304
  #: includes/admin/class-sp-admin-dashboard.php:34
305
  #: includes/admin/class-sp-admin-menus.php:47
306
  #: includes/admin/class-sp-admin-permalink-settings.php:47
307
+ #: includes/admin/class-sp-admin-setup-wizard.php:147
308
+ #: includes/admin/class-sp-admin-setup-wizard.php:152
309
+ #: includes/admin/class-sp-admin-welcome.php:107
310
  #: includes/admin/views/html-admin-settings.php:2
311
  #: modules/sportspress-admin-bar.php:56 modules/sportspress-overview.php:78
312
  #: modules/sportspress-overview.php:135 modules/sportspress-overview.php:186
350
  msgstr ""
351
 
352
  #: includes/admin/class-sp-admin-importers.php:38
353
+ msgid "SportsPress Fixtures (CSV)"
354
  msgstr ""
355
 
356
  #: includes/admin/class-sp-admin-importers.php:39
357
+ msgid "Import <strong>upcoming events</strong> from a csv file."
358
  msgstr ""
359
 
360
  #: includes/admin/class-sp-admin-importers.php:43
361
+ msgid "SportsPress Box Score (CSV)"
362
  msgstr ""
363
 
364
  #: includes/admin/class-sp-admin-importers.php:44
365
+ msgid "Import <strong>event box scores</strong> from a csv file."
366
  msgstr ""
367
 
368
  #: includes/admin/class-sp-admin-importers.php:48
369
+ msgid "SportsPress Teams (CSV)"
370
  msgstr ""
371
 
372
  #: includes/admin/class-sp-admin-importers.php:49
373
+ msgid "Import <strong>teams</strong> from a csv file."
374
+ msgstr ""
375
+
376
+ #: includes/admin/class-sp-admin-importers.php:53
377
+ msgid "SportsPress Players (CSV)"
378
+ msgstr ""
379
+
380
+ #: includes/admin/class-sp-admin-importers.php:54
381
+ msgid "Import <strong>players</strong> from a csv file."
382
+ msgstr ""
383
+
384
+ #: includes/admin/class-sp-admin-importers.php:58
385
+ msgid "SportsPress Staff (CSV)"
386
+ msgstr ""
387
+
388
+ #: includes/admin/class-sp-admin-importers.php:59
389
  msgid "Import <strong>staff</strong> from a csv file."
390
  msgstr ""
391
 
392
  #: includes/admin/class-sp-admin-menus.php:54
393
+ #: includes/admin/class-sp-admin-settings.php:487
394
+ #: includes/admin/views/html-admin-config.php:7
395
  msgid "Configure"
396
  msgstr ""
397
 
398
  #: includes/admin/class-sp-admin-menus.php:61
399
+ #: includes/admin/class-sp-admin-menus.php:253
400
  #: includes/admin/class-sp-admin-permalink-settings.php:29
401
  #: includes/admin/importers/class-sp-player-importer.php:30
402
  #: includes/admin/importers/class-sp-staff-importer.php:29
403
  #: includes/admin/importers/class-sp-team-importer.php:27
404
+ #: includes/admin/post-types/class-sp-admin-cpt-player.php:77
405
  #: includes/admin/post-types/class-sp-admin-cpt-staff.php:67
406
  #: includes/admin/post-types/class-sp-admin-cpt-team.php:67
407
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:134
408
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:141
409
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:117
410
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:124
411
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:60
412
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:67
413
+ #: includes/admin/settings/class-sp-settings-players.php:110
 
414
  #: includes/admin/settings/class-sp-settings-status.php:334
415
  #: includes/admin/views/html-admin-page-status.php:296
416
+ #: includes/class-sp-post-types.php:39 includes/class-sp-post-types.php:53
417
+ #: modules/sportspress-tutorials.php:74 templates/official-details.php:107
418
+ #: templates/player-details.php:107 templates/team-details.php:24
419
+ msgid "Leagues"
420
  msgstr ""
421
 
422
  #: includes/admin/class-sp-admin-menus.php:68
423
+ #: includes/admin/class-sp-admin-menus.php:261
424
  #: includes/admin/class-sp-admin-permalink-settings.php:30
425
  #: includes/admin/importers/class-sp-player-importer.php:31
426
  #: includes/admin/importers/class-sp-staff-importer.php:30
427
  #: includes/admin/importers/class-sp-team-importer.php:28
428
+ #: includes/admin/post-types/class-sp-admin-cpt-player.php:78
429
  #: includes/admin/post-types/class-sp-admin-cpt-staff.php:68
430
  #: includes/admin/post-types/class-sp-admin-cpt-team.php:68
431
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:151
432
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:158
433
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:132
434
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:139
435
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:77
436
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:84
437
+ #: includes/admin/settings/class-sp-settings-players.php:118
 
438
  #: includes/admin/settings/class-sp-settings-status.php:344
439
  #: includes/admin/views/html-admin-page-status.php:306
440
+ #: includes/class-sp-post-types.php:75 includes/class-sp-post-types.php:89
441
+ #: modules/sportspress-tutorials.php:74 templates/official-details.php:118
442
+ #: templates/player-details.php:118 templates/team-details.php:33
443
  msgid "Seasons"
444
  msgstr ""
445
 
446
  #: includes/admin/class-sp-admin-menus.php:104
447
+ #: includes/admin/class-sp-admin-welcome.php:125
448
+ #: modules/sportspress-tutorials.php:97 sportspress.php:145
 
449
  msgid "Settings"
450
  msgstr ""
451
 
452
+ #: includes/admin/class-sp-admin-menus.php:249
453
+ #: includes/admin/importers/class-sp-event-importer.php:492
454
+ #: includes/admin/importers/class-sp-event-importer.php:507
455
+ #: includes/admin/importers/class-sp-fixture-importer.php:300
456
+ #: includes/admin/importers/class-sp-fixture-importer.php:315
457
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:114
458
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:64
459
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:136
460
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:92
461
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:147
462
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-metrics.php:43
463
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:71
464
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:89
465
+ #: includes/admin/views/html-admin-config.php:55
466
+ #: includes/admin/views/html-admin-config.php:132
467
+ #: includes/admin/views/html-admin-config.php:238
468
+ #: includes/admin/views/html-admin-config.php:291
469
+ #: includes/admin/views/html-admin-config.php:341
470
+ #: includes/admin/views/html-admin-config.php:413
471
+ #: includes/class-sp-post-types.php:45 includes/class-sp-post-types.php:81
472
+ #: includes/class-sp-post-types.php:117 includes/class-sp-post-types.php:153
473
+ #: includes/class-sp-post-types.php:189 includes/sp-core-functions.php:1142
474
+ #: includes/sp-core-functions.php:1159
475
  #: includes/widgets/class-sp-widget-countdown.php:81
476
  #: includes/widgets/class-sp-widget-countdown.php:101
477
+ #: includes/widgets/class-sp-widget-event-blocks.php:111
478
+ #: includes/widgets/class-sp-widget-event-calendar.php:99
479
+ #: includes/widgets/class-sp-widget-event-list.php:116
480
  #: includes/widgets/class-sp-widget-league-table.php:91
481
  #: includes/widgets/class-sp-widget-player-gallery.php:95
482
  #: includes/widgets/class-sp-widget-player-gallery.php:126
483
  #: includes/widgets/class-sp-widget-player-list.php:95
484
  #: includes/widgets/class-sp-widget-player-list.php:151
485
  #: includes/widgets/class-sp-widget-staff.php:68
486
+ #: includes/widgets/class-sp-widget-team-gallery.php:92
487
+ #: modules/sportspress-officials.php:84
488
  msgid "Add New"
489
  msgstr ""
490
 
491
+ #: includes/admin/class-sp-admin-menus.php:257
492
  #: includes/admin/class-sp-admin-permalink-settings.php:33
493
  #: includes/admin/importers/class-sp-player-importer.php:28
494
+ #: includes/admin/post-types/class-sp-admin-cpt-player.php:75
495
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:87
496
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:94
497
+ #: includes/admin/settings/class-sp-settings-events.php:371
498
  #: includes/admin/settings/class-sp-settings-status.php:364
499
  #: includes/admin/views/html-admin-page-status.php:326
500
+ #: includes/class-sp-post-types.php:147 includes/class-sp-post-types.php:161
501
+ #: modules/sportspress-tutorials.php:76
502
  msgid "Positions"
503
  msgstr ""
504
 
505
+ #: includes/admin/class-sp-admin-menus.php:265
506
  #: includes/admin/class-sp-admin-permalink-settings.php:26
507
+ #: includes/admin/settings/class-sp-settings-events.php:171
 
508
  #: includes/admin/settings/class-sp-settings-status.php:354
509
  #: includes/admin/views/html-admin-page-status.php:316
510
+ #: includes/class-sp-post-types.php:111 includes/class-sp-post-types.php:125
511
+ #: modules/sportspress-tutorials.php:75
512
  msgid "Venues"
513
  msgstr ""
514
 
515
  #: includes/admin/class-sp-admin-permalink-settings.php:25
516
  #: includes/admin/class-sp-admin-sample-data.php:365
 
 
517
  #: includes/admin/post-types/class-sp-admin-cpt-calendar.php:53
518
  #: includes/admin/settings/class-sp-settings-events.php:25
519
  #: includes/admin/settings/class-sp-settings-modules.php:34
520
+ #: includes/api/class-sp-rest-api.php:288 includes/class-sp-post-types.php:414
521
+ #: includes/sp-core-functions.php:1452 modules/sportspress-calendars.php:160
522
+ #: modules/sportspress-calendars.php:212 modules/sportspress-calendars.php:394
523
+ #: modules/sportspress-calendars.php:416 modules/sportspress-calendars.php:433
524
+ #: modules/sportspress-calendars.php:455 modules/sportspress-tutorials.php:90
525
+ #: modules/sportspress-tutorials.php:101
526
  msgid "Events"
527
  msgstr ""
528
 
529
  #: includes/admin/class-sp-admin-permalink-settings.php:27
530
  #: includes/admin/class-sp-admin-sample-data.php:472
531
+ #: includes/class-sp-modules.php:28 modules/sportspress-calendars.php:71
532
+ #: modules/sportspress-template-selector.php:173
533
+ #: modules/sportspress-tutorials.php:93 modules/sportspress-tutorials.php:105
534
  msgid "Calendars"
535
  msgstr ""
536
 
537
  #: includes/admin/class-sp-admin-permalink-settings.php:28
538
  #: includes/admin/class-sp-admin-sample-data.php:166
539
+ #: includes/admin/class-sp-admin-setup-wizard.php:70
540
  #: includes/admin/importers/class-sp-event-importer.php:29
541
  #: includes/admin/importers/class-sp-player-importer.php:29
542
  #: includes/admin/importers/class-sp-staff-importer.php:28
543
+ #: includes/admin/post-types/class-sp-admin-cpt-event.php:123
544
+ #: includes/admin/post-types/class-sp-admin-cpt-official.php:74
545
+ #: includes/admin/post-types/class-sp-admin-cpt-player.php:76
546
  #: includes/admin/post-types/class-sp-admin-cpt-staff.php:66
547
  #: includes/admin/post-types/class-sp-admin-cpt-table.php:51
548
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:148
549
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:35
550
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:59
551
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-official-details.php:86
552
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-official-details.php:101
553
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:110
554
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:125
555
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:94
556
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:109
 
557
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:58
558
+ #: includes/admin/settings/class-sp-settings-events.php:127
559
+ #: includes/admin/settings/class-sp-settings-events.php:222
 
560
  #: includes/admin/settings/class-sp-settings-modules.php:35
561
  #: includes/admin/settings/class-sp-settings-teams.php:25
562
+ #: includes/api/class-sp-rest-api.php:68 includes/api/class-sp-rest-api.php:352
563
+ #: includes/api/class-sp-rest-api.php:448 includes/class-sp-ajax.php:428
564
+ #: includes/class-sp-post-types.php:451 includes/class-sp-templates.php:29
565
+ #: includes/sp-core-functions.php:547 includes/sp-core-functions.php:1481
566
+ #: modules/sportspress-calendars.php:255 modules/sportspress-calendars.php:269
567
+ #: modules/sportspress-calendars.php:324 modules/sportspress-countdowns.php:85
568
+ #: modules/sportspress-league-tables.php:246
569
+ #: modules/sportspress-officials.php:361 modules/sportspress-tutorials.php:78
570
+ #: modules/sportspress-tutorials.php:108 modules/sportspress-wordpay.php:199
571
+ #: templates/event-list.php:129
572
  msgid "Teams"
573
  msgstr ""
574
 
575
  #: includes/admin/class-sp-admin-permalink-settings.php:31
576
  #: includes/admin/class-sp-admin-sample-data.php:506
577
+ #: includes/api/class-sp-rest-api.php:257 includes/class-sp-modules.php:70
578
+ #: modules/sportspress-league-tables.php:68
579
+ #: modules/sportspress-league-tables.php:169
580
+ #: modules/sportspress-league-tables.php:233
581
+ #: modules/sportspress-league-tables.php:321
582
+ #: modules/sportspress-tutorials.php:80
583
  msgid "League Tables"
584
  msgstr ""
585
 
586
  #: includes/admin/class-sp-admin-permalink-settings.php:32
587
  #: includes/admin/class-sp-admin-sample-data.php:210
588
+ #: includes/admin/class-sp-admin-setup-wizard.php:75
589
+ #: includes/admin/class-sp-admin-setup-wizard.php:420
590
  #: includes/admin/importers/class-sp-event-importer.php:32
591
  #: includes/admin/post-types/class-sp-admin-cpt-list.php:52
592
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:89
593
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:137
594
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:58
595
+ #: includes/admin/settings/class-sp-settings-events.php:320
 
596
  #: includes/admin/settings/class-sp-settings-modules.php:36
597
  #: includes/admin/settings/class-sp-settings-players.php:25
598
+ #: includes/api/class-sp-rest-api.php:145 includes/class-sp-post-types.php:488
599
+ #: includes/class-sp-templates.php:177 includes/sp-core-functions.php:551
600
+ #: includes/sp-core-functions.php:1467 modules/sportspress-player-lists.php:254
601
+ #: modules/sportspress-player-lists.php:307
602
+ #: modules/sportspress-tutorials.php:82 modules/sportspress-tutorials.php:113
603
+ #: modules/sportspress-wordpay.php:200
604
  msgid "Players"
605
  msgstr ""
606
 
607
  #: includes/admin/class-sp-admin-permalink-settings.php:34
608
  #: includes/admin/class-sp-admin-sample-data.php:548
609
  #: includes/admin/class-sp-admin-sample-data.php:593
610
+ #: includes/api/class-sp-rest-api.php:273 includes/class-sp-modules.php:98
611
+ #: modules/sportspress-player-lists.php:68
612
+ #: modules/sportspress-player-lists.php:177
613
+ #: modules/sportspress-player-lists.php:241
614
+ #: modules/sportspress-player-lists.php:306
615
  msgid "Player Lists"
616
  msgstr ""
617
 
618
  #: includes/admin/class-sp-admin-permalink-settings.php:35
619
  #: includes/admin/class-sp-admin-sample-data.php:305
620
+ #: includes/admin/class-sp-admin-setup-wizard.php:75
621
+ #: includes/admin/class-sp-admin-setup-wizard.php:431
622
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:178
623
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:94
624
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:55
625
+ #: includes/admin/settings/class-sp-settings-events.php:312
626
  #: includes/admin/settings/class-sp-settings-modules.php:36
627
  #: includes/admin/settings/class-sp-settings-staff.php:25
628
+ #: includes/api/class-sp-rest-api.php:193
629
+ #: includes/api/class-sp-rest-api.php:241 includes/class-sp-install.php:170
630
+ #: includes/class-sp-post-types.php:525 includes/class-sp-post-types.php:526
631
+ #: includes/class-sp-templates.php:145 includes/class-sp-templates.php:245
632
+ #: includes/sp-core-functions.php:1477
633
  #: includes/widgets/class-sp-widget-staff.php:6
634
  #: includes/widgets/class-sp-widget-staff.php:57
635
+ #: modules/sportspress-tutorials.php:82 templates/event-staff.php:44
636
  msgid "Staff"
637
  msgstr ""
638
 
642
  "only apply when <strong>not using \"default\" permalinks above</strong>."
643
  msgstr ""
644
 
645
+ #: includes/admin/class-sp-admin-post-types.php:75
646
+ #: includes/sp-template-hooks.php:253
647
  msgid "Settings saved."
648
  msgstr ""
649
 
650
+ #: includes/admin/class-sp-admin-post-types.php:77
651
+ #: includes/admin/views/html-admin-config.php:54
652
+ #: includes/admin/views/html-admin-config.php:131
653
+ #: includes/admin/views/html-admin-config.php:237
654
+ #: includes/admin/views/html-admin-config.php:290
655
+ #: includes/admin/views/html-admin-config.php:340
656
+ #: includes/admin/views/html-admin-config.php:412
657
+ #: includes/sp-template-hooks.php:255 modules/sportspress-overview.php:284
658
  msgid "View All"
659
  msgstr ""
660
 
661
+ #: includes/admin/class-sp-admin-post-types.php:82
662
+ #: includes/admin/class-sp-admin-post-types.php:85
663
+ #: includes/admin/class-sp-admin-post-types.php:90
664
+ #: includes/sp-template-hooks.php:261 includes/sp-template-hooks.php:264
665
+ #: includes/sp-template-hooks.php:269
666
  msgid "Changes saved."
667
  msgstr ""
668
 
669
+ #: includes/admin/class-sp-admin-post-types.php:87
670
+ #: includes/admin/class-sp-admin-post-types.php:92
671
+ #: includes/admin/class-sp-admin-post-types.php:102
672
+ #: includes/sp-template-hooks.php:266 includes/sp-template-hooks.php:271
673
+ #: includes/sp-template-hooks.php:281
674
  msgid "Success!"
675
  msgstr ""
676
 
677
+ #: includes/admin/class-sp-admin-post-types.php:94
678
+ #: includes/admin/class-sp-admin-post-types.php:100
679
+ #: includes/admin/class-sp-admin-post-types.php:104
680
+ #: includes/sp-template-hooks.php:273 includes/sp-template-hooks.php:279
681
+ #: includes/sp-template-hooks.php:283
682
  #, php-format
683
  msgid "Preview %s"
684
  msgstr ""
685
 
686
+ #: includes/admin/class-sp-admin-post-types.php:97
687
+ #: includes/sp-template-hooks.php:276
688
  #, php-format
689
  msgid "Scheduled for: <b>%1$s</b>."
690
  msgstr ""
691
 
692
+ #: includes/admin/class-sp-admin-post-types.php:98
693
+ #: includes/sp-template-hooks.php:277
694
  msgid "M j, Y @ G:i"
695
  msgstr ""
696
 
697
  #: includes/admin/class-sp-admin-sample-data.php:44
698
+ #: includes/admin/class-sp-admin-setup-wizard.php:285
699
+ #: includes/admin/class-sp-admin-setup-wizard.php:335
700
  msgctxt "example"
701
  msgid "Primary League"
702
  msgstr ""
707
  msgstr ""
708
 
709
  #: includes/admin/class-sp-admin-sample-data.php:110
710
+ #: includes/admin/class-sp-admin-setup-wizard.php:635
711
  #, php-format
712
  msgctxt "example"
713
  msgid ""
716
  "your content. Have fun!"
717
  msgstr ""
718
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
719
  #: includes/admin/class-sp-admin-sample-data.php:469
720
  msgctxt "example"
721
  msgid "Fixtures & Results"
729
  #: includes/admin/class-sp-admin-sample-data.php:548
730
  #: includes/admin/class-sp-admin-sample-data.php:593
731
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:55
732
+ #: includes/class-sp-ajax.php:824 includes/class-sp-ajax.php:924
733
+ #: includes/class-sp-templates.php:234
734
  #: includes/widgets/class-sp-widget-player-gallery.php:84
735
  #: includes/widgets/class-sp-widget-player-list.php:6
736
  #: includes/widgets/class-sp-widget-player-list.php:84
737
+ #: modules/sportspress-player-lists.php:69
738
+ #: modules/sportspress-player-lists.php:159
739
+ #: modules/sportspress-player-lists.php:212
740
  msgid "Player List"
741
  msgstr ""
742
 
745
  msgid "Player Ranking"
746
  msgstr ""
747
 
748
+ #: includes/admin/class-sp-admin-settings.php:69
749
  msgid "Action failed. Please refresh the page and retry."
750
  msgstr ""
751
 
752
+ #: includes/admin/class-sp-admin-settings.php:76
753
+ #: includes/admin/class-sp-admin-welcome.php:168
754
  msgid "Your settings have been saved."
755
  msgstr ""
756
 
757
+ #: includes/admin/class-sp-admin-settings.php:491
758
  msgid "Install demo content"
759
  msgstr ""
760
 
761
+ #: includes/admin/class-sp-admin-setup-wizard.php:60
762
+ msgid "Introduction"
763
  msgstr ""
764
 
765
+ #: includes/admin/class-sp-admin-setup-wizard.php:65
766
+ #: includes/admin/class-sp-admin-setup-wizard.php:221
767
+ msgid "Basic Setup"
768
  msgstr ""
769
 
770
+ #: includes/admin/class-sp-admin-setup-wizard.php:80
771
+ #: includes/admin/class-sp-admin-setup-wizard.php:522
772
+ #: includes/admin/class-sp-admin-setup-wizard.php:560
773
+ #: includes/admin/importers/class-sp-event-importer.php:28
774
+ #: includes/admin/importers/class-sp-fixture-importer.php:28
775
+ #: includes/admin/post-types/class-sp-admin-cpt-calendar.php:51
776
+ #: includes/admin/post-types/class-sp-admin-cpt-event.php:126
777
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:52
778
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:104
779
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:49
780
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:47
781
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:101
782
+ #: includes/admin/settings/class-sp-settings-teams.php:62
783
+ #: includes/class-sp-ajax.php:432 includes/class-sp-post-types.php:112
784
+ #: includes/class-sp-templates.php:65 includes/sp-core-functions.php:1485
785
+ #: includes/widgets/class-sp-widget-event-list.php:206
786
+ #: templates/event-list.php:162 templates/event-venue.php:37
787
+ msgid "Venue"
788
  msgstr ""
789
 
790
+ #: includes/admin/class-sp-admin-setup-wizard.php:85
791
+ #: includes/admin/class-sp-admin-setup-wizard.php:594
792
+ msgid "Pages"
793
  msgstr ""
794
 
795
+ #: includes/admin/class-sp-admin-setup-wizard.php:90
796
+ msgid "Ready!"
797
  msgstr ""
798
 
799
+ #: includes/admin/class-sp-admin-setup-wizard.php:162
800
+ msgid "Return to the WordPress Dashboard"
 
 
801
  msgstr ""
802
 
803
+ #: includes/admin/class-sp-admin-setup-wizard.php:205
804
+ #: includes/admin/class-sp-admin-welcome.php:50
805
+ #: includes/admin/settings/class-sp-settings-modules.php:209
806
+ #: includes/admin/views/html-notice-install.php:5
807
+ msgid "Welcome to SportsPress"
808
  msgstr ""
809
 
810
+ #: includes/admin/class-sp-admin-setup-wizard.php:206
811
+ msgid ""
812
+ "Thank you for choosing SportsPress to power your sports website! This quick "
813
+ "setup wizard will help you configure the basic settings. <strong>It’s "
814
+ "completely optional and shouldn’t take longer than five minutes.</strong>"
815
  msgstr ""
816
 
817
+ #: includes/admin/class-sp-admin-setup-wizard.php:207
818
+ msgid ""
819
+ "No time right now? If you don’t want to go through the wizard, you can skip "
820
+ "and return to the WordPress dashboard. Come back anytime if you change your "
821
+ "mind!"
822
  msgstr ""
823
 
824
+ #: includes/admin/class-sp-admin-setup-wizard.php:209
825
+ msgid "Let's Go!"
826
  msgstr ""
827
 
828
+ #: includes/admin/class-sp-admin-setup-wizard.php:210
829
+ msgid "Not right now"
830
  msgstr ""
831
 
832
+ #: includes/admin/class-sp-admin-setup-wizard.php:223
833
+ msgid "Select your timezone and sport to get started."
834
  msgstr ""
835
 
836
+ #: includes/admin/class-sp-admin-setup-wizard.php:226
837
+ #: includes/admin/settings/class-sp-settings-general.php:280
838
+ #: includes/admin/settings/class-sp-settings-general.php:283
839
+ msgid "Timezone"
840
  msgstr ""
841
 
842
+ #: includes/admin/class-sp-admin-setup-wizard.php:226
843
+ #: includes/admin/settings/class-sp-settings-general.php:280
844
+ msgid "Choose a city in the same timezone as you."
845
  msgstr ""
846
 
847
+ #: includes/admin/class-sp-admin-setup-wizard.php:254
848
+ msgctxt "Page title"
849
+ msgid "Sport"
850
  msgstr ""
851
 
852
+ #: includes/admin/class-sp-admin-setup-wizard.php:283
853
+ msgid "Main League"
854
  msgstr ""
855
 
856
+ #: includes/admin/class-sp-admin-setup-wizard.php:283
857
+ msgid "The name of a league or division."
 
858
  msgstr ""
859
 
860
+ #: includes/admin/class-sp-admin-setup-wizard.php:289
861
+ msgid "Current Season"
862
  msgstr ""
863
 
864
+ #: includes/admin/class-sp-admin-setup-wizard.php:297
865
+ #: includes/admin/class-sp-admin-setup-wizard.php:376
866
+ #: includes/admin/class-sp-admin-setup-wizard.php:441
867
+ #: includes/admin/class-sp-admin-setup-wizard.php:538
868
+ #: includes/admin/class-sp-admin-setup-wizard.php:613
869
+ msgid "Continue"
870
  msgstr ""
871
 
872
+ #: includes/admin/class-sp-admin-setup-wizard.php:298
873
+ #: includes/admin/class-sp-admin-setup-wizard.php:377
874
+ #: includes/admin/class-sp-admin-setup-wizard.php:442
875
+ #: includes/admin/class-sp-admin-setup-wizard.php:539
876
+ #: includes/admin/class-sp-admin-setup-wizard.php:614
877
+ msgid "Skip this step"
878
  msgstr ""
879
 
880
+ #: includes/admin/class-sp-admin-setup-wizard.php:356
881
+ msgid "Team Setup"
882
  msgstr ""
883
 
884
+ #: includes/admin/class-sp-admin-setup-wizard.php:358
885
+ msgid "Great! Now let's add some teams."
886
  msgstr ""
887
 
888
+ #: includes/admin/class-sp-admin-setup-wizard.php:361
889
+ msgid "Home Team"
890
  msgstr ""
891
 
892
+ #: includes/admin/class-sp-admin-setup-wizard.php:363
893
+ msgid "What is your team called?"
894
  msgstr ""
895
 
896
+ #: includes/admin/class-sp-admin-setup-wizard.php:367
897
+ msgid "Rival Team"
898
  msgstr ""
899
 
900
+ #: includes/admin/class-sp-admin-setup-wizard.php:369
901
+ msgid "Who are you playing against next?"
902
  msgstr ""
903
 
904
+ #: includes/admin/class-sp-admin-setup-wizard.php:370
905
+ msgid "You can add more teams later."
906
  msgstr ""
907
 
908
+ #: includes/admin/class-sp-admin-setup-wizard.php:415
909
+ msgid "Player & Staff Setup"
910
  msgstr ""
911
 
912
+ #: includes/admin/class-sp-admin-setup-wizard.php:417
913
+ msgid "Let's add players and a staff member."
914
  msgstr ""
915
 
916
+ #: includes/admin/class-sp-admin-setup-wizard.php:420
917
+ msgid "Enter a squad number, name, and position for each player."
 
918
  msgstr ""
919
 
920
+ #: includes/admin/class-sp-admin-setup-wizard.php:424
921
+ #: includes/admin/class-sp-admin-setup-wizard.php:434
922
+ #: includes/admin/class-sp-admin-setup-wizard.php:520
923
+ #: includes/admin/importers/class-sp-player-importer.php:27
924
+ #: includes/admin/importers/class-sp-staff-importer.php:26
925
+ #: includes/admin/importers/class-sp-team-importer.php:26
926
+ #: includes/admin/post-types/class-sp-admin-cpt-official.php:60
927
+ #: includes/admin/post-types/class-sp-admin-cpt-official.php:76
928
+ #: includes/admin/post-types/class-sp-admin-cpt-player.php:61
929
+ #: includes/admin/post-types/class-sp-admin-cpt-player.php:80
930
+ #: includes/admin/post-types/class-sp-admin-cpt-staff.php:52
931
+ #: includes/admin/post-types/class-sp-admin-cpt-staff.php:70
932
+ #: includes/admin/post-types/class-sp-admin-cpt-team.php:51
933
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:114
934
+ #: includes/admin/settings/class-sp-settings-events.php:247
935
+ #: includes/admin/settings/class-sp-settings-players.php:70
936
+ #: includes/class-sp-ajax.php:871 includes/class-sp-ajax.php:955
937
+ #: includes/class-sp-post-types.php:46 includes/class-sp-post-types.php:82
938
+ #: includes/class-sp-post-types.php:118 includes/class-sp-post-types.php:154
939
+ #: includes/class-sp-post-types.php:190
940
+ #: includes/widgets/class-sp-widget-player-gallery.php:112
941
+ #: includes/widgets/class-sp-widget-player-list.php:140
942
+ #: modules/sportspress-officials.php:85 templates/official-details.php:46
943
+ #: templates/player-details.php:46
944
+ msgid "Name"
945
  msgstr ""
946
 
947
+ #: includes/admin/class-sp-admin-setup-wizard.php:424
948
+ #: includes/admin/class-sp-admin-setup-wizard.php:479
949
+ #: includes/admin/class-sp-admin-sports.php:108
950
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:315
951
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:48
952
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:58
953
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:105
954
+ #: includes/admin/settings/class-sp-settings-events.php:390
955
+ #: includes/admin/settings/class-sp-settings-players.php:86
956
+ #: includes/class-sp-ajax.php:858 includes/class-sp-event.php:163
957
+ #: includes/class-sp-player-list.php:671 includes/class-sp-player-list.php:716
958
+ #: includes/class-sp-post-types.php:148 includes/sp-core-functions.php:1469
959
+ #: templates/event-performance.php:50 templates/event-performance.php:147
960
+ #: templates/official-details.php:68 templates/player-details.php:68
961
+ msgid "Position"
962
  msgstr ""
963
 
964
+ #: includes/admin/class-sp-admin-setup-wizard.php:427
965
+ msgid "You can add more players later."
 
966
  msgstr ""
967
 
968
+ #: includes/admin/class-sp-admin-setup-wizard.php:434
969
+ #: includes/admin/post-types/class-sp-admin-cpt-staff.php:65
970
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:58
971
+ #: includes/class-sp-post-types.php:184
972
+ msgid "Job"
973
  msgstr ""
974
 
975
+ #: includes/admin/class-sp-admin-setup-wizard.php:515
976
+ msgid "Venue Setup"
 
 
 
 
 
 
977
  msgstr ""
978
 
979
+ #: includes/admin/class-sp-admin-setup-wizard.php:517
980
+ msgid "Enter the details of your home venue."
 
 
 
 
981
  msgstr ""
982
 
983
+ #: includes/admin/class-sp-admin-setup-wizard.php:526
984
+ #: includes/admin/class-sp-admin-taxonomies.php:106
985
+ #: includes/admin/class-sp-admin-taxonomies.php:132
986
+ #: includes/admin/class-sp-admin-taxonomies.php:262
987
+ msgid "Address"
988
  msgstr ""
989
 
990
+ #: includes/admin/class-sp-admin-setup-wizard.php:530
991
+ #: includes/admin/class-sp-admin-taxonomies.php:109
992
+ #: includes/admin/class-sp-admin-taxonomies.php:136
993
+ msgid "Drag the marker to the venue's location."
994
  msgstr ""
995
 
996
+ #: includes/admin/class-sp-admin-setup-wizard.php:589
997
+ #: includes/admin/class-sp-admin-setup-wizard.php:628
998
+ #: includes/class-sp-modules.php:30
999
+ msgid "Organize and publish calendars using different layouts."
1000
  msgstr ""
1001
 
1002
+ #: includes/admin/class-sp-admin-setup-wizard.php:590
1003
+ #: includes/admin/class-sp-admin-setup-wizard.php:629
1004
+ #: includes/class-sp-modules.php:72
1005
+ msgid "Create automated league tables to keep track of team standings."
1006
  msgstr ""
1007
 
1008
+ #: includes/admin/class-sp-admin-setup-wizard.php:591
1009
+ #: includes/admin/class-sp-admin-setup-wizard.php:630
1010
+ #: includes/class-sp-modules.php:100
1011
+ msgid "Create team rosters, player galleries, and ranking charts."
1012
  msgstr ""
1013
 
1014
+ #: includes/admin/class-sp-admin-setup-wizard.php:596
1015
+ msgid ""
1016
+ "The following will be created automatically (if they do not already exist):"
1017
  msgstr ""
1018
 
1019
+ #: includes/admin/class-sp-admin-setup-wizard.php:610
1020
+ msgid "Once created, these pages can be managed from your admin dashboard."
 
1021
  msgstr ""
1022
 
1023
+ #: includes/admin/class-sp-admin-setup-wizard.php:760
1024
+ msgid "Next Steps"
1025
  msgstr ""
1026
 
1027
+ #: includes/admin/class-sp-admin-setup-wizard.php:761
1028
+ msgid "Schedule your first event!"
 
 
1029
  msgstr ""
1030
 
1031
+ #: includes/admin/class-sp-admin-setup-wizard.php:764
1032
+ #: includes/admin/settings/class-sp-settings-modules.php:199
1033
+ #: includes/admin/settings/class-sp-settings-modules.php:243
1034
+ msgid "Upgrade to Pro"
1035
  msgstr ""
1036
 
1037
+ #: includes/admin/class-sp-admin-setup-wizard.php:765
1038
+ #: includes/admin/settings/class-sp-settings-modules.php:67
1039
+ msgid ""
1040
+ "Get SportsPress Pro to get access to all modules. You can upgrade any time "
1041
+ "without losing any of your data."
1042
  msgstr ""
1043
 
1044
+ #: includes/admin/class-sp-admin-setup-wizard.php:765
1045
+ #: includes/admin/settings/class-sp-settings-modules.php:251
1046
+ msgid "Learn more"
 
 
 
1047
  msgstr ""
1048
 
1049
+ #: includes/admin/class-sp-admin-setup-wizard.php:772
1050
+ #: includes/admin/class-sp-admin-welcome.php:118
1051
+ msgid "Thanks for installing!"
1052
  msgstr ""
1053
 
1054
+ #: includes/admin/class-sp-admin-sports.php:283
1055
+ msgid "Team Sports"
1056
  msgstr ""
1057
 
1058
+ #: includes/admin/class-sp-admin-sports.php:284
1059
+ msgid "Racket Sports"
1060
  msgstr ""
1061
 
1062
+ #: includes/admin/class-sp-admin-sports.php:285
1063
+ msgid "Water Sports"
 
1064
  msgstr ""
1065
 
1066
+ #: includes/admin/class-sp-admin-sports.php:286
1067
+ msgid "Target Sports"
 
1068
  msgstr ""
1069
 
1070
+ #: includes/admin/class-sp-admin-sports.php:287
1071
+ msgid "Esports"
 
1072
  msgstr ""
1073
 
1074
+ #: includes/admin/class-sp-admin-sports.php:288
1075
+ #: includes/admin/settings/class-sp-settings-modules.php:38
1076
+ #: modules/sportspress-tutorials.php:117
1077
+ msgid "Other"
1078
  msgstr ""
1079
 
1080
+ #: includes/admin/class-sp-admin-sports.php:297
1081
+ msgid "Baseball"
1082
  msgstr ""
1083
 
1084
+ #: includes/admin/class-sp-admin-sports.php:298
1085
+ msgid "Basketball"
1086
  msgstr ""
1087
 
1088
+ #: includes/admin/class-sp-admin-sports.php:299
1089
+ msgid "Cricket"
 
 
1090
  msgstr ""
1091
 
1092
+ #: includes/admin/class-sp-admin-sports.php:300
1093
+ msgid "Darts"
 
1094
  msgstr ""
1095
 
1096
+ #: includes/admin/class-sp-admin-sports.php:301
1097
+ msgid "Floorball"
 
 
1098
  msgstr ""
1099
 
1100
+ #: includes/admin/class-sp-admin-sports.php:302
1101
+ msgid "Association Football"
 
1102
  msgstr ""
1103
 
1104
+ #: includes/admin/class-sp-admin-sports.php:303
1105
+ msgid "American Football"
 
1106
  msgstr ""
1107
 
1108
+ #: includes/admin/class-sp-admin-sports.php:304
1109
+ msgid "Australian Rules Football"
 
 
1110
  msgstr ""
1111
 
1112
+ #: includes/admin/class-sp-admin-sports.php:305
1113
+ msgid "Handball"
 
 
1114
  msgstr ""
1115
 
1116
+ #: includes/admin/class-sp-admin-sports.php:306
1117
+ msgid "Ice Hockey"
1118
+ msgstr ""
1119
+
1120
+ #: includes/admin/class-sp-admin-sports.php:307
1121
+ msgid "Lacrosse"
1122
+ msgstr ""
1123
+
1124
+ #: includes/admin/class-sp-admin-sports.php:308
1125
+ msgid "Netball"
1126
+ msgstr ""
1127
+
1128
+ #: includes/admin/class-sp-admin-sports.php:309
1129
+ msgid "Rugby League"
1130
+ msgstr ""
1131
+
1132
+ #: includes/admin/class-sp-admin-sports.php:310
1133
+ msgid "Rugby Union"
1134
+ msgstr ""
1135
+
1136
+ #: includes/admin/class-sp-admin-sports.php:311
1137
+ msgid "Snooker"
1138
+ msgstr ""
1139
+
1140
+ #: includes/admin/class-sp-admin-sports.php:312
1141
+ msgid "Softball"
1142
+ msgstr ""
1143
+
1144
+ #: includes/admin/class-sp-admin-sports.php:313
1145
+ msgid "Squash"
1146
+ msgstr ""
1147
+
1148
+ #: includes/admin/class-sp-admin-sports.php:314
1149
+ msgid "Table Tennis"
1150
+ msgstr ""
1151
+
1152
+ #: includes/admin/class-sp-admin-sports.php:315
1153
+ msgid "Tennis"
1154
+ msgstr ""
1155
+
1156
+ #: includes/admin/class-sp-admin-sports.php:316
1157
+ msgid "Volleyball"
1158
+ msgstr ""
1159
+
1160
+ #: includes/admin/class-sp-admin-sports.php:317
1161
+ msgid "Water Polo"
1162
+ msgstr ""
1163
+
1164
+ #: includes/admin/class-sp-admin-sports.php:318
1165
+ msgid "Dota 2"
1166
+ msgstr ""
1167
+
1168
+ #: includes/admin/class-sp-admin-sports.php:319
1169
+ msgid "League of Legends"
1170
+ msgstr ""
1171
+
1172
+ #: includes/admin/class-sp-admin-sports.php:320
1173
+ msgid "Counter-Strike: Global Offensive"
1174
+ msgstr ""
1175
+
1176
+ #: includes/admin/class-sp-admin-taxonomies.php:71
1177
+ #: includes/admin/class-sp-admin-taxonomies.php:203
1178
+ #: includes/admin/class-sp-admin-taxonomies.php:244
1179
+ #: includes/admin/class-sp-admin-taxonomies.php:283
1180
+ #: includes/admin/settings/class-sp-settings-events.php:227
1181
+ #: modules/sportspress-officials.php:506 modules/sportspress-officials.php:527
1182
+ msgid "Order"
1183
+ msgstr ""
1184
+
1185
+ #: includes/admin/class-sp-admin-taxonomies.php:112
1186
+ #: includes/admin/class-sp-admin-taxonomies.php:140
1187
+ msgid "Latitude"
1188
+ msgstr ""
1189
+
1190
+ #: includes/admin/class-sp-admin-taxonomies.php:116
1191
+ #: includes/admin/class-sp-admin-taxonomies.php:146
1192
+ msgid "Longitude"
1193
+ msgstr ""
1194
+
1195
+ #: includes/admin/class-sp-admin-taxonomies.php:166
1196
+ #: includes/admin/class-sp-admin-taxonomies.php:192
1197
+ #: includes/admin/class-sp-admin-taxonomies.php:314
1198
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:227
1199
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:229
1200
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:71
1201
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:84
1202
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:69
1203
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:50
1204
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:52
1205
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:51
1206
+ #: includes/admin/settings/class-sp-settings-events.php:414
1207
+ #: includes/admin/settings/class-sp-settings-events.php:415
1208
+ #: includes/admin/settings/class-sp-settings-players.php:159
1209
+ #: includes/admin/settings/class-sp-settings-players.php:160
1210
+ #: includes/api/class-sp-rest-api.php:161 includes/sp-core-functions.php:456
1211
+ #: includes/sp-core-functions.php:493 includes/sp-core-functions.php:1461
1212
+ #: modules/sportspress-officials.php:568 templates/event-performance.php:136
1213
+ #: templates/event-performance.php:138 templates/player-statistics.php:33
1214
+ #: templates/player-statistics.php:35
1215
+ msgid "Offense"
1216
+ msgstr ""
1217
+
1218
+ #: includes/admin/class-sp-admin-taxonomies.php:166
1219
+ #: includes/admin/class-sp-admin-taxonomies.php:192
1220
+ #: includes/admin/class-sp-admin-taxonomies.php:314
1221
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:227
1222
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:229
1223
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:75
1224
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:80
1225
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:69
1226
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:50
1227
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:52
1228
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:51
1229
+ #: includes/admin/settings/class-sp-settings-events.php:414
1230
+ #: includes/admin/settings/class-sp-settings-events.php:415
1231
+ #: includes/admin/settings/class-sp-settings-players.php:159
1232
+ #: includes/admin/settings/class-sp-settings-players.php:160
1233
+ #: includes/api/class-sp-rest-api.php:177 includes/sp-core-functions.php:456
1234
+ #: includes/sp-core-functions.php:493 includes/sp-core-functions.php:1449
1235
+ #: modules/sportspress-officials.php:568 templates/event-performance.php:136
1236
+ #: templates/event-performance.php:138 templates/player-statistics.php:33
1237
+ #: templates/player-statistics.php:35
1238
+ msgid "Defense"
1239
+ msgstr ""
1240
+
1241
+ #: includes/admin/class-sp-admin-welcome.php:49
1242
+ msgid "About SportsPress"
1243
+ msgstr ""
1244
+
1245
+ #: includes/admin/class-sp-admin-welcome.php:109
1246
  #, php-format
1247
+ msgid "Version %s"
 
 
 
1248
  msgstr ""
1249
 
1250
+ #: includes/admin/class-sp-admin-welcome.php:114
1251
+ msgid "Thanks, all done!"
1252
+ msgstr ""
1253
+
1254
+ #: includes/admin/class-sp-admin-welcome.php:116
1255
+ msgid "Thank you for updating to the latest version!"
1256
  msgstr ""
1257
 
1258
+ #: includes/admin/class-sp-admin-welcome.php:120
1259
  #, php-format
1260
+ msgid "%s SportsPress %s has lots of refinements we think you&#8217;ll love."
 
 
1261
  msgstr ""
1262
 
1263
+ #: includes/admin/class-sp-admin-welcome.php:126 sportspress.php:146
1264
+ msgid "Docs"
1265
+ msgstr ""
1266
+
1267
+ #: includes/admin/class-sp-admin-welcome.php:133
1268
+ msgid "Welcome"
1269
+ msgstr ""
1270
+
1271
+ #: includes/admin/class-sp-admin-welcome.php:135
1272
+ msgid "Credits"
1273
+ msgstr ""
1274
+
1275
+ #: includes/admin/class-sp-admin-welcome.php:137
1276
+ msgid "Translators"
1277
+ msgstr ""
1278
+
1279
+ #: includes/admin/class-sp-admin-welcome.php:267
1280
+ msgid "Go to SportsPress Settings"
1281
+ msgstr ""
1282
+
1283
+ #: includes/admin/class-sp-admin-welcome.php:280
1284
+ #, php-format
1285
+ msgid ""
1286
+ "SportsPress is developed and maintained by a worldwide team of passionate "
1287
+ "individuals and backed by an awesome developer community. Want to see your "
1288
+ "name? <a href=\"%s\">Contribute to SportsPress</a>."
1289
  msgstr ""
1290
 
1291
+ #: includes/admin/class-sp-admin-welcome.php:298
1292
  #, php-format
1293
  msgid ""
1294
  "SportsPress has been kindly translated into several other languages thanks "
1296
  "SportsPress</a>."
1297
  msgstr ""
1298
 
1299
+ #: includes/admin/class-sp-admin-welcome.php:322
 
 
 
 
 
 
 
 
 
 
1300
  #, php-format
1301
  msgid "View %s"
1302
  msgstr ""
1303
 
1304
+ #: includes/admin/class-sp-admin.php:112
1305
+ #: includes/admin/importers/class-sp-fixture-importer.php:24
1306
+ msgid "Import Fixtures"
1307
  msgstr ""
1308
 
1309
+ #: includes/admin/class-sp-admin.php:114
1310
  #: includes/admin/importers/class-sp-event-importer.php:24
1311
  msgid "Import Events"
1312
  msgstr ""
1313
 
1314
+ #: includes/admin/class-sp-admin.php:124
1315
+ #: includes/admin/importers/class-sp-event-performance-importer.php:24
1316
+ msgid "Import Box Score"
1317
+ msgstr ""
1318
+
1319
+ #: includes/admin/class-sp-admin.php:136
1320
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:152
1321
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:237
1322
+ msgid "Import"
1323
+ msgstr ""
1324
+
1325
  #: includes/admin/importers/class-sp-event-importer.php:26
1326
+ #: includes/admin/importers/class-sp-fixture-importer.php:26
1327
+ #: includes/admin/post-types/class-sp-admin-cpt-event.php:121
1328
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:50
1329
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:53
1330
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:121
1331
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:43
1332
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:38
1333
+ #: includes/admin/settings/class-sp-settings-events.php:66
1334
+ #: includes/class-sp-ajax.php:581 includes/sp-core-functions.php:1448
1335
+ #: templates/event-details.php:22 templates/event-list.php:104
1336
  msgid "Date"
1337
  msgstr ""
1338
 
1339
  #: includes/admin/importers/class-sp-event-importer.php:27
1340
+ #: includes/admin/importers/class-sp-fixture-importer.php:27
1341
+ #: includes/admin/post-types/class-sp-admin-cpt-event.php:122
1342
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:41
1343
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:72
1344
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:80
1345
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:62
1346
  #: includes/admin/settings/class-sp-settings-events.php:74
1347
+ #: includes/admin/settings/class-sp-settings-events.php:255
1348
+ #: includes/class-sp-ajax.php:429 includes/sp-core-functions.php:468
1349
+ #: includes/sp-core-functions.php:1482
1350
+ #: includes/widgets/class-sp-widget-event-list.php:198
1351
+ #: templates/event-details.php:27 templates/event-list.php:123
1352
+ #: templates/event-list.php:137 templates/event-list.php:143
1353
  msgid "Time"
1354
  msgstr ""
1355
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1356
  #: includes/admin/importers/class-sp-event-importer.php:31
1357
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-results.php:258
1358
+ #: includes/admin/settings/class-sp-settings-events.php:292
1359
+ #: includes/api/class-sp-rest-api.php:98 includes/class-sp-event.php:56
1360
+ #: includes/class-sp-event.php:77 includes/class-sp-post-types.php:261
1361
+ #: includes/sp-core-functions.php:1462
1362
  msgid "Outcome"
1363
  msgstr ""
1364
 
1365
+ #: includes/admin/importers/class-sp-event-importer.php:430
1366
+ #: includes/admin/importers/class-sp-fixture-importer.php:238
1367
  #, php-format
1368
  msgid ""
1369
  "Import complete - imported <strong>%s</strong> events and skipped <strong>"
1370
  "%s</strong>."
1371
  msgstr ""
1372
 
1373
+ #: includes/admin/importers/class-sp-event-importer.php:440
1374
+ #: includes/admin/importers/class-sp-event-performance-importer.php:135
1375
+ #: includes/admin/importers/class-sp-fixture-importer.php:248
1376
  #: includes/admin/importers/class-sp-player-importer.php:147
1377
  #: includes/admin/importers/class-sp-staff-importer.php:143
1378
  #: includes/admin/importers/class-sp-team-importer.php:112
1379
  msgid "All done!"
1380
  msgstr ""
1381
 
1382
+ #: includes/admin/importers/class-sp-event-importer.php:440
1383
  msgid "View Events"
1384
  msgstr ""
1385
 
1386
+ #: includes/admin/importers/class-sp-event-importer.php:453
1387
+ #: includes/admin/importers/class-sp-event-performance-importer.php:150
1388
+ #: includes/admin/importers/class-sp-fixture-importer.php:261
1389
  #: includes/admin/importers/class-sp-player-importer.php:170
1390
  #: includes/admin/importers/class-sp-staff-importer.php:166
1391
  #: includes/admin/importers/class-sp-team-importer.php:125
1394
  "\"."
1395
  msgstr ""
1396
 
1397
+ #: includes/admin/importers/class-sp-event-importer.php:454
1398
  #, php-format
1399
  msgid ""
1400
  "Events need to be defined with columns in a specific order (3+ columns). <a "
1401
  "href=\"%s\">Click here to download a sample</a>."
1402
  msgstr ""
1403
 
1404
+ #: includes/admin/importers/class-sp-event-importer.php:455
1405
+ #: includes/admin/importers/class-sp-fixture-importer.php:263
1406
+ #, php-format
1407
+ msgid "Supports CSV files generated by <a href=\"%s\">LeagueLobster</a>."
1408
+ msgstr ""
1409
+
1410
+ #: includes/admin/importers/class-sp-event-importer.php:471
1411
+ #: includes/admin/importers/class-sp-fixture-importer.php:279
1412
+ #: includes/admin/post-types/class-sp-admin-cpt-event.php:119
1413
  #: includes/admin/post-types/class-sp-admin-cpt-performance.php:47
1414
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:120
1415
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:76
1416
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:58
1417
+ #: includes/admin/views/html-admin-config.php:173
1418
  msgid "Format"
1419
  msgstr ""
1420
 
1421
+ #: includes/admin/importers/class-sp-event-importer.php:475
1422
+ #: includes/admin/importers/class-sp-fixture-importer.php:283
1423
  #: includes/class-sp-formats.php:27
1424
  msgid "Competitive"
1425
  msgstr ""
1426
 
1427
+ #: includes/admin/importers/class-sp-event-importer.php:476
1428
+ #: includes/admin/importers/class-sp-fixture-importer.php:284
1429
  #: includes/class-sp-formats.php:28
1430
  msgid "Friendly"
1431
  msgstr ""
1432
 
1433
+ #: includes/admin/importers/class-sp-event-importer.php:482
1434
+ #: includes/admin/importers/class-sp-fixture-importer.php:290
1435
  #: includes/admin/post-types/class-sp-admin-cpt-calendar.php:49
1436
+ #: includes/admin/post-types/class-sp-admin-cpt-event.php:124
1437
  #: includes/admin/post-types/class-sp-admin-cpt-list.php:49
1438
  #: includes/admin/post-types/class-sp-admin-cpt-table.php:49
1439
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:50
1440
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:90
1441
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:61
1442
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:61
1443
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:61
1444
+ #: includes/class-sp-ajax.php:430 includes/class-sp-post-types.php:40
1445
+ #: includes/sp-core-functions.php:1457 templates/event-list.php:156
1446
+ msgid "League"
1447
  msgstr ""
1448
 
1449
+ #: includes/admin/importers/class-sp-event-importer.php:488
1450
+ #: includes/admin/importers/class-sp-event-importer.php:503
1451
+ #: includes/admin/importers/class-sp-fixture-importer.php:296
1452
+ #: includes/admin/importers/class-sp-fixture-importer.php:311
1453
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:57
1454
  msgid "&mdash; Not set &mdash;"
1455
  msgstr ""
1456
 
1457
+ #: includes/admin/importers/class-sp-event-importer.php:497
1458
+ #: includes/admin/importers/class-sp-fixture-importer.php:305
1459
  #: includes/admin/post-types/class-sp-admin-cpt-calendar.php:50
1460
+ #: includes/admin/post-types/class-sp-admin-cpt-event.php:125
1461
  #: includes/admin/post-types/class-sp-admin-cpt-list.php:50
1462
  #: includes/admin/post-types/class-sp-admin-cpt-table.php:50
1463
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:51
1464
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:97
1465
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:99
1466
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-columns.php:60
1467
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:64
1468
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:64
1469
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:64
1470
+ #: includes/class-sp-ajax.php:431 includes/class-sp-player.php:713
1471
+ #: includes/class-sp-post-types.php:76 includes/sp-core-functions.php:1476
1472
+ #: templates/event-list.php:159
1473
  msgid "Season"
1474
  msgstr ""
1475
 
1476
+ #: includes/admin/importers/class-sp-event-importer.php:513
1477
+ #: includes/admin/importers/class-sp-fixture-importer.php:321
1478
  msgid "Date Format"
1479
  msgstr ""
1480
 
1481
+ #: includes/admin/importers/class-sp-event-performance-importer.php:125
1482
+ #, php-format
1483
+ msgid ""
1484
+ "Import complete - imported <strong>%s</strong> rows and skipped <strong>%s</"
1485
+ "strong>."
1486
+ msgstr ""
1487
+
1488
+ #: includes/admin/importers/class-sp-event-performance-importer.php:135
1489
+ #: includes/class-sp-post-types.php:419
1490
+ msgid "View Event"
1491
+ msgstr ""
1492
+
1493
+ #: includes/admin/importers/class-sp-event-performance-importer.php:151
1494
+ #, php-format
1495
+ msgid ""
1496
+ "Box scores need to be defined with columns in a specific order. <a href=\"%s"
1497
+ "\">Click here to download a sample</a>."
1498
+ msgstr ""
1499
+
1500
+ #: includes/admin/importers/class-sp-fixture-importer.php:29
1501
+ #: includes/admin/importers/class-sp-team-importer.php:31
1502
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:33
1503
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:57
1504
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:49
1505
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:94
1506
+ #: includes/sp-core-functions.php:1456 modules/sportspress-calendars.php:270
1507
+ #: templates/event-list.php:109 templates/team-details.php:39
1508
+ #: templates/team-details.php:45
1509
+ msgid "Home"
1510
+ msgstr ""
1511
+
1512
+ #: includes/admin/importers/class-sp-fixture-importer.php:30
1513
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:33
1514
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:57
1515
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:49
1516
+ #: includes/sp-core-functions.php:1443 modules/sportspress-calendars.php:270
1517
+ #: templates/event-list.php:119
1518
+ msgid "Away"
1519
+ msgstr ""
1520
+
1521
+ #: includes/admin/importers/class-sp-fixture-importer.php:31
1522
+ #: includes/admin/post-types/class-sp-admin-cpt-event.php:127
1523
+ #: includes/admin/post-types/class-sp-admin-cpt-event.php:282
1524
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:54
1525
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:118
1526
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:90
1527
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:122
1528
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:28
1529
+ #: includes/admin/settings/class-sp-settings-events.php:82
1530
+ #: includes/class-sp-ajax.php:582 includes/sp-core-functions.php:1459
1531
+ #: includes/widgets/class-sp-widget-event-list.php:208
1532
+ #: templates/event-blocks.php:139 templates/event-details.php:44
1533
+ #: templates/event-list.php:168
1534
+ msgid "Match Day"
1535
+ msgstr ""
1536
+
1537
+ #: includes/admin/importers/class-sp-fixture-importer.php:248
1538
+ msgid "View Fixtures"
1539
+ msgstr ""
1540
+
1541
+ #: includes/admin/importers/class-sp-fixture-importer.php:262
1542
+ #, php-format
1543
+ msgid ""
1544
+ "Fixtures need to be defined with columns in a specific order (4+ columns). "
1545
+ "<a href=\"%s\">Click here to download a sample</a>."
1546
+ msgstr ""
1547
+
1548
+ #: includes/admin/importers/class-sp-importer.php:102
1549
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-column-details.php:47
1550
  msgid "Disable"
1551
  msgstr ""
1552
 
1553
+ #: includes/admin/importers/class-sp-importer.php:147
1554
+ #: includes/admin/importers/class-sp-importer.php:161
1555
+ #: includes/admin/importers/class-sp-importer.php:172
1556
  msgid "Insert row after"
1557
  msgstr ""
1558
 
1559
+ #: includes/admin/importers/class-sp-importer.php:156
1560
+ #: includes/admin/post-types/class-sp-admin-cpt-event.php:238
1561
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:30
1562
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:66
1563
+ #: includes/admin/settings/class-sp-settings-events.php:197
1564
+ #: includes/admin/settings/class-sp-settings-general.php:79
1565
+ #: includes/admin/settings/class-sp-settings-status.php:101
1566
+ #: includes/admin/views/html-admin-config.php:107
1567
+ #: includes/admin/views/html-admin-config.php:194
1568
+ #: includes/admin/views/html-admin-page-status.php:65
1569
+ #: includes/class-sp-ajax.php:211 includes/class-sp-ajax.php:225
1570
+ #: includes/class-sp-ajax.php:239 includes/class-sp-ajax.php:253
1571
+ #: includes/class-sp-ajax.php:267 includes/class-sp-ajax.php:328
1572
+ #: includes/class-sp-ajax.php:342 includes/class-sp-ajax.php:356
1573
+ #: includes/class-sp-ajax.php:370 includes/class-sp-ajax.php:384
1574
+ #: includes/class-sp-ajax.php:394 includes/class-sp-ajax.php:417
1575
+ #: includes/class-sp-ajax.php:491 includes/class-sp-ajax.php:505
1576
+ #: includes/class-sp-ajax.php:519 includes/class-sp-ajax.php:533
1577
+ #: includes/class-sp-ajax.php:547 includes/class-sp-ajax.php:557
1578
+ #: includes/class-sp-ajax.php:580 includes/class-sp-ajax.php:590
1579
+ #: includes/class-sp-ajax.php:869 includes/class-sp-ajax.php:887
1580
+ #: includes/class-sp-ajax.php:953 includes/class-sp-ajax.php:971
1581
+ #: includes/sp-core-functions.php:386
1582
+ #: includes/widgets/class-sp-widget-event-blocks.php:119
1583
+ #: includes/widgets/class-sp-widget-event-blocks.php:133
1584
+ #: includes/widgets/class-sp-widget-event-blocks.php:175
1585
+ #: includes/widgets/class-sp-widget-event-calendar.php:107
1586
+ #: includes/widgets/class-sp-widget-event-calendar.php:121
1587
+ #: includes/widgets/class-sp-widget-event-list.php:124
1588
+ #: includes/widgets/class-sp-widget-event-list.php:138
1589
+ #: includes/widgets/class-sp-widget-event-list.php:180
1590
+ #: includes/widgets/class-sp-widget-player-gallery.php:110
1591
+ #: includes/widgets/class-sp-widget-player-list.php:138
1592
+ msgid "Default"
1593
+ msgstr ""
1594
+
1595
+ #: includes/admin/importers/class-sp-importer.php:160
1596
  msgid "Delete row"
1597
  msgstr ""
1598
 
1599
+ #: includes/admin/importers/class-sp-importer.php:187
1600
+ #: includes/admin/importers/class-sp-importer.php:223
1601
+ #: includes/admin/importers/class-sp-importer.php:238
1602
+ #: includes/admin/settings/class-sp-settings-licenses.php:148
1603
+ #: includes/admin/settings/class-sp-settings-licenses.php:195
1604
+ #: includes/admin/settings/class-sp-settings-licenses.php:207
1605
  msgid "Sorry, there has been an error."
1606
  msgstr ""
1607
 
1608
+ #: includes/admin/importers/class-sp-importer.php:188
1609
  msgid "The CSV is invalid."
1610
  msgstr ""
1611
 
1615
  msgstr ""
1616
 
1617
  #: includes/admin/importers/class-sp-player-importer.php:26
1618
+ #: includes/admin/post-types/class-sp-admin-cpt-player.php:73
1619
+ #: includes/admin/post-types/class-sp-admin-cpt-player.php:226
1620
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:32
1621
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:113
1622
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:71
1623
+ #: includes/admin/settings/class-sp-settings-events.php:382
1624
+ #: includes/admin/settings/class-sp-settings-players.php:62
1625
+ #: includes/api/class-sp-rest-api.php:336 includes/class-sp-ajax.php:870
1626
+ #: includes/class-sp-ajax.php:954
1627
  #: includes/widgets/class-sp-widget-player-gallery.php:111
1628
  #: includes/widgets/class-sp-widget-player-list.php:122
1629
  #: includes/widgets/class-sp-widget-player-list.php:124
1631
  msgid "Squad Number"
1632
  msgstr ""
1633
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1634
  #: includes/admin/importers/class-sp-player-importer.php:32
1635
  #: includes/admin/importers/class-sp-staff-importer.php:31
1636
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-official-details.php:50
1637
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-official-details.php:51
1638
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:74
1639
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:75
1640
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:75
1641
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:76
1642
+ #: includes/admin/settings/class-sp-settings-players.php:78
1643
+ #: includes/admin/settings/class-sp-settings-players.php:126
1644
+ #: includes/admin/settings/class-sp-settings-staff.php:62
1645
+ #: includes/admin/settings/class-sp-settings-staff.php:86
1646
+ #: includes/sp-core-functions.php:1460 templates/official-details.php:57
1647
+ #: templates/player-details.php:57 templates/staff-details.php:47
1648
  msgid "Nationality"
1649
  msgstr ""
1650
 
1672
  msgstr ""
1673
 
1674
  #: includes/admin/importers/class-sp-staff-importer.php:27
1675
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:58
1676
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:65
1677
+ #: includes/class-sp-post-types.php:183 includes/class-sp-post-types.php:197
1678
+ #: modules/sportspress-tutorials.php:76
1679
  msgid "Jobs"
1680
  msgstr ""
1681
 
1687
  msgstr ""
1688
 
1689
  #: includes/admin/importers/class-sp-staff-importer.php:143
1690
+ #: includes/class-sp-post-types.php:530
1691
  msgid "View Staff"
1692
  msgstr ""
1693
 
1703
  msgstr ""
1704
 
1705
  #: includes/admin/importers/class-sp-team-importer.php:29
1706
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:110
1707
  #: includes/admin/settings/class-sp-settings-status.php:60
1708
  #: includes/admin/views/html-admin-page-status.php:24
1709
+ #: includes/api/class-sp-rest-api.php:320
1710
  msgid "Site URL"
1711
  msgstr ""
1712
 
1713
  #: includes/admin/importers/class-sp-team-importer.php:30
1714
  #: includes/admin/post-types/class-sp-admin-cpt-outcome.php:45
1715
  #: includes/admin/post-types/class-sp-admin-cpt-team.php:66
1716
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:46
1717
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:114
1718
+ #: includes/admin/settings/class-sp-settings-teams.php:70
1719
+ #: includes/admin/views/html-admin-config.php:32
1720
+ #: includes/api/class-sp-rest-api.php:304
1721
  msgid "Abbreviation"
1722
  msgstr ""
1723
 
 
 
 
 
 
 
 
 
 
1724
  #: includes/admin/importers/class-sp-team-importer.php:102
1725
  #, php-format
1726
  msgid ""
1742
  #: includes/admin/post-types/class-sp-admin-cpt-calendar.php:48
1743
  #: includes/admin/post-types/class-sp-admin-cpt-list.php:48
1744
  #: includes/admin/post-types/class-sp-admin-cpt-table.php:48
1745
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:37
1746
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:61
1747
+ #: modules/sportspress-calendars.php:247 modules/sportspress-calendars.php:268
1748
+ #: modules/sportspress-calendars.php:316
1749
+ #: modules/sportspress-league-tables.php:238
1750
+ #: modules/sportspress-player-lists.php:246
1751
  msgid "Title"
1752
  msgstr ""
1753
 
1754
  #: includes/admin/post-types/class-sp-admin-cpt-calendar.php:54
1755
  #: includes/admin/post-types/class-sp-admin-cpt-list.php:53
1756
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:67
1757
+ #: includes/admin/settings/class-sp-settings-events.php:235
1758
+ #: includes/admin/settings/class-sp-settings-page.php:113
1759
+ #: modules/sportspress-calendars.php:145 modules/sportspress-calendars.php:191
1760
+ #: modules/sportspress-league-tables.php:190
1761
+ #: modules/sportspress-player-lists.php:143
1762
+ #: modules/sportspress-player-lists.php:191
1763
+ #: modules/sportspress-tutorials.php:106
1764
  msgid "Layout"
1765
  msgstr ""
1766
 
1771
  #: includes/admin/post-types/class-sp-admin-cpt-list.php:74
1772
  #: includes/admin/post-types/class-sp-admin-cpt-list.php:77
1773
  #: includes/admin/post-types/class-sp-admin-cpt-list.php:83
1774
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:92
1775
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:111
1776
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:87
1777
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:96
1778
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:151
1779
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:69
1780
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:51
1781
+ #: includes/admin/settings/class-sp-settings-events.php:425
1782
+ #: includes/class-sp-ajax.php:199 includes/class-sp-ajax.php:276
1783
+ #: includes/class-sp-ajax.php:314 includes/class-sp-ajax.php:395
1784
+ #: includes/class-sp-ajax.php:404 includes/class-sp-ajax.php:477
1785
+ #: includes/class-sp-ajax.php:558 includes/class-sp-ajax.php:567
1786
+ #: includes/class-sp-post-types.php:41 includes/class-sp-post-types.php:77
1787
+ #: includes/class-sp-post-types.php:113 includes/class-sp-post-types.php:149
1788
+ #: includes/class-sp-post-types.php:185 includes/sp-core-functions.php:456
1789
+ #: includes/sp-core-functions.php:457 includes/sp-core-functions.php:459
1790
+ #: includes/sp-core-functions.php:586 includes/sp-core-functions.php:617
1791
+ #: includes/sp-core-functions.php:1420
1792
  #: includes/widgets/class-sp-widget-countdown.php:76
1793
+ #: includes/widgets/class-sp-widget-event-blocks.php:103
1794
+ #: includes/widgets/class-sp-widget-event-blocks.php:168
1795
+ #: includes/widgets/class-sp-widget-event-calendar.php:91
1796
+ #: includes/widgets/class-sp-widget-event-calendar.php:156
1797
+ #: includes/widgets/class-sp-widget-event-list.php:108
1798
+ #: includes/widgets/class-sp-widget-event-list.php:173
1799
+ #: modules/sportspress-officials.php:80 modules/sportspress-overview.php:138
1800
  msgid "All"
1801
  msgstr ""
1802
 
1803
  #: includes/admin/post-types/class-sp-admin-cpt-calendar.php:87
1804
+ #: includes/admin/post-types/class-sp-admin-cpt-official.php:108
1805
+ #: includes/admin/post-types/class-sp-admin-cpt-player.php:115
1806
  #: includes/admin/post-types/class-sp-admin-cpt-staff.php:97
1807
+ #: includes/admin/settings/class-sp-settings-players.php:94
1808
+ #: includes/admin/settings/class-sp-settings-staff.php:70
1809
+ #: includes/sp-core-functions.php:1447 templates/official-details.php:83
1810
+ #: templates/player-details.php:83 templates/staff-details.php:57
1811
  msgid "Current Team"
1812
  msgstr ""
1813
 
1814
  #: includes/admin/post-types/class-sp-admin-cpt-calendar.php:115
1815
+ #: includes/admin/post-types/class-sp-admin-cpt-event.php:265
1816
  #: includes/admin/post-types/class-sp-admin-cpt-list.php:109
1817
+ #: includes/admin/post-types/class-sp-admin-cpt-player.php:167
1818
  #: includes/admin/post-types/class-sp-admin-cpt-staff.php:134
1819
  #: includes/admin/post-types/class-sp-admin-cpt-table.php:91
1820
  #: includes/admin/post-types/class-sp-admin-cpt-team.php:111
1821
+ msgid "Show all leagues"
1822
  msgstr ""
1823
 
1824
  #: includes/admin/post-types/class-sp-admin-cpt-calendar.php:124
1825
+ #: includes/admin/post-types/class-sp-admin-cpt-event.php:274
1826
  #: includes/admin/post-types/class-sp-admin-cpt-list.php:118
1827
+ #: includes/admin/post-types/class-sp-admin-cpt-player.php:178
1828
  #: includes/admin/post-types/class-sp-admin-cpt-staff.php:143
1829
  #: includes/admin/post-types/class-sp-admin-cpt-table.php:100
1830
  #: includes/admin/post-types/class-sp-admin-cpt-team.php:120
1832
  msgstr ""
1833
 
1834
  #: includes/admin/post-types/class-sp-admin-cpt-calendar.php:135
1835
+ #: includes/admin/post-types/class-sp-admin-cpt-event.php:257
1836
  #: includes/admin/post-types/class-sp-admin-cpt-list.php:129
1837
+ #: includes/admin/post-types/class-sp-admin-cpt-official.php:142
1838
+ #: includes/admin/post-types/class-sp-admin-cpt-player.php:158
1839
  #: includes/admin/post-types/class-sp-admin-cpt-staff.php:126
1840
  #: includes/admin/post-types/class-sp-admin-cpt-table.php:111
1841
  msgid "Show all teams"
1847
  #: includes/admin/post-types/class-sp-admin-cpt-performance.php:44
1848
  #: includes/admin/post-types/class-sp-admin-cpt-result.php:43
1849
  #: includes/admin/post-types/class-sp-admin-cpt-statistic.php:43
1850
+ #: includes/admin/views/html-admin-config.php:30
1851
+ #: includes/admin/views/html-admin-config.php:89
1852
+ #: includes/admin/views/html-admin-config.php:170
1853
+ #: includes/admin/views/html-admin-config.php:266
1854
+ #: includes/admin/views/html-admin-config.php:320
1855
+ #: includes/admin/views/html-admin-config.php:373
1856
  msgid "Label"
1857
  msgstr ""
1858
 
1859
  #: includes/admin/post-types/class-sp-admin-cpt-column.php:44
1860
  #: includes/admin/post-types/class-sp-admin-cpt-statistic.php:44
1861
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-column-details.php:34
1862
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:38
1863
+ #: includes/sp-template-hooks.php:72
1864
  msgid "Key"
1865
  msgstr ""
1866
 
1867
  #: includes/admin/post-types/class-sp-admin-cpt-column.php:45
1868
  #: includes/admin/post-types/class-sp-admin-cpt-statistic.php:45
1869
  #: includes/admin/post-types/class-sp-admin-meta-boxes.php:48
1870
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:64
1871
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:80
1872
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:105
1873
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:80
1874
+ #: includes/admin/views/html-admin-config.php:91
1875
+ #: includes/admin/views/html-admin-config.php:267
1876
+ #: includes/admin/views/html-admin-config.php:374
1877
+ #: includes/sp-core-functions.php:468
1878
  msgid "Equation"
1879
  msgstr ""
1880
 
1881
  #: includes/admin/post-types/class-sp-admin-cpt-column.php:46
1882
  #: includes/admin/post-types/class-sp-admin-cpt-statistic.php:46
1883
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-column-details.php:39
1884
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:88
1885
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-result-details.php:39
1886
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:43
1887
+ #: includes/admin/views/html-admin-config.php:92
1888
+ #: includes/admin/views/html-admin-config.php:268
1889
+ #: includes/admin/views/html-admin-config.php:375
1890
  msgid "Decimal Places"
1891
  msgstr ""
1892
 
1893
  #: includes/admin/post-types/class-sp-admin-cpt-column.php:47
1894
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:125
1895
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-column-details.php:43
1896
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:130
1897
+ #: includes/admin/views/html-admin-config.php:269
1898
  msgid "Sort Order"
1899
  msgstr ""
1900
 
1904
  #: includes/admin/post-types/class-sp-admin-cpt-performance.php:48
1905
  #: includes/admin/post-types/class-sp-admin-cpt-result.php:45
1906
  #: includes/admin/post-types/class-sp-admin-cpt-statistic.php:47
1907
+ #: includes/admin/views/html-admin-config.php:34
1908
+ #: includes/admin/views/html-admin-config.php:93
1909
+ #: includes/admin/views/html-admin-config.php:180
1910
+ #: includes/admin/views/html-admin-config.php:270
1911
+ #: includes/admin/views/html-admin-config.php:322
1912
+ #: includes/admin/views/html-admin-config.php:383
1913
+ #: includes/class-sp-templates.php:89 includes/class-sp-templates.php:157
1914
+ #: includes/class-sp-templates.php:225 includes/sp-template-hooks.php:66
 
1915
  msgid "Description"
1916
  msgstr ""
1917
 
1918
+ #: includes/admin/post-types/class-sp-admin-cpt-event.php:60
1919
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:61
1920
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-results.php:275
1921
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-results.php:293
1922
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:130
1923
+ #: includes/class-sp-ajax.php:64 includes/class-sp-team.php:340
1924
  #: includes/widgets/class-sp-widget-countdown.php:93
1925
+ #: modules/sportspress-tutorials.php:102
1926
  msgid "(Auto)"
1927
  msgstr ""
1928
 
1929
+ #: includes/admin/post-types/class-sp-admin-cpt-event.php:218
1930
  msgid "Edit Results"
1931
  msgstr ""
1932
 
1933
+ #: includes/admin/post-types/class-sp-admin-cpt-event.php:220
1934
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-video.php:33
1935
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:102
1936
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:115
1937
+ #: includes/class-sp-ajax.php:87 includes/class-sp-ajax.php:117
1938
+ #: includes/class-sp-ajax.php:147 includes/class-sp-ajax.php:177
1939
+ #: includes/class-sp-ajax.php:288 includes/class-sp-ajax.php:451
1940
+ #: includes/class-sp-ajax.php:605 includes/class-sp-ajax.php:678
1941
+ #: includes/class-sp-ajax.php:742 includes/class-sp-ajax.php:772
1942
+ #: includes/class-sp-ajax.php:802 includes/class-sp-ajax.php:902
1943
+ #: includes/class-sp-ajax.php:986
1944
  msgid "Cancel"
1945
  msgstr ""
1946
 
1947
+ #: includes/admin/post-types/class-sp-admin-cpt-event.php:221
1948
+ #: includes/class-sp-post-types.php:44 includes/class-sp-post-types.php:80
1949
+ #: includes/class-sp-post-types.php:116 includes/class-sp-post-types.php:152
1950
+ #: includes/class-sp-post-types.php:188 modules/sportspress-officials.php:83
1951
  msgid "Update"
1952
  msgstr ""
1953
 
1955
  #: includes/admin/post-types/class-sp-admin-cpt-outcome.php:44
1956
  #: includes/admin/post-types/class-sp-admin-cpt-performance.php:45
1957
  #: includes/admin/post-types/class-sp-admin-cpt-result.php:44
1958
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-metric-details.php:29
1959
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:41
1960
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:56
1961
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-result-details.php:34
1962
+ #: includes/admin/views/html-admin-config.php:31
1963
+ #: includes/admin/views/html-admin-config.php:171
1964
+ #: includes/admin/views/html-admin-config.php:321
1965
+ #: includes/sp-template-hooks.php:72
1966
  msgid "Variable"
1967
  msgstr ""
1968
 
1969
+ #: includes/admin/post-types/class-sp-admin-cpt-official.php:73
1970
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-official-details.php:63
1971
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-official-details.php:70
1972
+ #: modules/sportspress-officials.php:78 modules/sportspress-officials.php:92
1973
+ msgid "Duties"
1974
+ msgstr ""
1975
+
1976
+ #: includes/admin/post-types/class-sp-admin-cpt-official.php:130
1977
+ msgid "Show all duties"
1978
+ msgstr ""
1979
+
1980
+ #: includes/admin/post-types/class-sp-admin-cpt-official.php:186
1981
+ #: includes/admin/post-types/class-sp-admin-cpt-official.php:251
1982
+ #: includes/admin/post-types/class-sp-admin-cpt-player.php:254
1983
+ #: includes/admin/post-types/class-sp-admin-cpt-player.php:323
1984
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-official-details.php:79
1985
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:103
1986
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:87
1987
+ #: includes/api/class-sp-rest-api.php:368
1988
+ #: includes/api/class-sp-rest-api.php:464
1989
+ msgid "Current Teams"
1990
+ msgstr ""
1991
+
1992
+ #: includes/admin/post-types/class-sp-admin-cpt-official.php:193
1993
+ #: includes/admin/post-types/class-sp-admin-cpt-official.php:258
1994
+ #: includes/admin/post-types/class-sp-admin-cpt-player.php:261
1995
+ #: includes/admin/post-types/class-sp-admin-cpt-player.php:330
1996
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-official-details.php:94
1997
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:118
1998
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:102
1999
+ #: includes/admin/settings/class-sp-settings-players.php:102
2000
+ #: includes/admin/settings/class-sp-settings-staff.php:78
2001
+ #: includes/api/class-sp-rest-api.php:384
2002
+ #: includes/api/class-sp-rest-api.php:480 includes/sp-core-functions.php:1463
2003
+ #: templates/official-details.php:96 templates/player-details.php:96
2004
+ #: templates/staff-details.php:67
2005
+ msgid "Past Teams"
2006
+ msgstr ""
2007
+
2008
  #: includes/admin/post-types/class-sp-admin-cpt-performance.php:43
2009
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:312
2010
+ #: includes/admin/views/html-admin-config.php:169
2011
+ #: includes/class-sp-post-types.php:360
2012
  msgid "Icon"
2013
  msgstr ""
2014
 
2015
  #: includes/admin/post-types/class-sp-admin-cpt-performance.php:46
2016
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:65
2017
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:47
2018
+ #: includes/admin/views/html-admin-config.php:172
2019
+ #: includes/admin/views/html-admin-config.php:376
2020
  msgid "Category"
2021
  msgstr ""
2022
 
2023
+ #: includes/admin/post-types/class-sp-admin-cpt-player.php:146
2024
  msgid "Show all positions"
2025
  msgstr ""
2026
 
 
 
 
 
 
 
 
 
2027
  #: includes/admin/post-types/class-sp-admin-cpt-team.php:63
2028
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:303
2029
+ #: includes/class-sp-post-types.php:460 includes/class-sp-templates.php:108
2030
+ #: modules/sportspress-tutorials.php:109
2031
  msgid "Logo"
2032
  msgstr ""
2033
 
2046
  msgid "Uploaded to this %s"
2047
  msgstr ""
2048
 
2049
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:114
2050
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:187
2051
+ #: modules/sportspress-tutorials.php:121
2052
  msgid "Shortcodes"
2053
  msgstr ""
2054
 
2055
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:127
2056
+ #: includes/admin/settings/class-sp-settings-events.php:347
2057
+ #: modules/sportspress-league-tables.php:177
2058
+ msgid "Mode"
 
 
 
 
 
 
 
 
2059
  msgstr ""
2060
 
2061
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:134
2062
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-officials.php:51
2063
+ #: includes/class-sp-modules.php:110 modules/sportspress-officials.php:120
2064
+ #: modules/sportspress-officials.php:312 modules/sportspress-officials.php:336
2065
+ #: modules/sportspress-officials.php:348 modules/sportspress-officials.php:436
2066
+ #: modules/sportspress-officials.php:451 modules/sportspress-officials.php:468
2067
+ #: templates/event-officials-list.php:15 templates/event-officials-table.php:15
2068
+ msgid "Officials"
2069
+ msgstr ""
2070
+
2071
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:193
2072
+ #: includes/admin/settings/class-sp-settings-events.php:281
2073
+ #: includes/admin/settings/class-sp-settings-events.php:336
2074
+ #: includes/admin/settings/class-sp-settings-players.php:142
2075
+ #: modules/sportspress-calendars.php:198
2076
+ #: modules/sportspress-player-lists.php:198
2077
  msgid "Columns"
2078
  msgstr ""
2079
 
2080
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:207
2081
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:56
2082
+ #: includes/api/class-sp-rest-api.php:416
2083
  msgid "Metrics"
2084
  msgstr ""
2085
 
2086
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:223
2087
+ #: modules/sportspress-calendars.php:179
2088
+ #: modules/sportspress-league-tables.php:184
2089
+ #: modules/sportspress-player-lists.php:185
2090
  msgid "Shortcode"
2091
  msgstr ""
2092
 
2093
+ #: includes/admin/post-types/class-sp-admin-meta-boxes.php:306
2094
  #: includes/admin/post-types/class-sp-admin-meta-boxes.php:309
2095
+ #: includes/class-sp-post-types.php:497 includes/class-sp-post-types.php:534
2096
+ #: includes/class-sp-templates.php:183 includes/class-sp-templates.php:251
2097
+ #: includes/sp-core-functions.php:1464 modules/sportspress-officials.php:129
 
2098
  msgid "Photo"
2099
  msgstr ""
2100
 
2101
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:43
 
 
 
 
 
2102
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:74
2103
+ #: includes/sp-core-functions.php:1483
2104
+ #: includes/widgets/class-sp-widget-event-list.php:193
2105
+ #: templates/event-list.php:113 templates/event-list.php:151
2106
  msgid "Time/Results"
2107
  msgstr ""
2108
 
2109
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php:53
2110
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:111
2111
+ #: includes/class-sp-ajax.php:433 includes/class-sp-templates.php:44
2112
+ #: includes/sp-core-functions.php:1442
2113
+ #: includes/widgets/class-sp-widget-event-list.php:207
2114
+ #: templates/event-list.php:165
2115
+ msgid "Article"
2116
+ msgstr ""
2117
+
2118
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:226
2119
+ #: includes/class-sp-template-loader.php:155
2120
+ #: includes/sp-core-functions.php:1474 templates/event-list.php:399
2121
  msgid "Recap"
2122
  msgstr ""
2123
 
2124
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:228
2125
+ #: includes/class-sp-template-loader.php:157
2126
+ #: includes/sp-core-functions.php:1471 templates/event-list.php:401
2127
+ #: templates/event-logos-block.php:50
2128
  msgid "Preview"
2129
  msgstr ""
2130
 
2131
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:255
2132
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:32
2133
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:101
2134
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:32
2135
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:96
2136
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:32
2137
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:97
2138
+ #: includes/admin/views/html-admin-config.php:49
2139
+ #: includes/admin/views/html-admin-config.php:125
2140
+ #: includes/admin/views/html-admin-config.php:231
2141
+ #: includes/admin/views/html-admin-config.php:285
2142
+ #: includes/admin/views/html-admin-config.php:335
2143
+ #: includes/admin/views/html-admin-config.php:407
2144
+ #: includes/class-sp-post-types.php:50 includes/class-sp-post-types.php:86
2145
+ #: includes/class-sp-post-types.php:122 includes/class-sp-post-types.php:158
2146
+ #: includes/class-sp-post-types.php:194 includes/class-sp-post-types.php:237
2147
+ #: includes/class-sp-post-types.php:238 includes/class-sp-post-types.php:267
2148
+ #: includes/class-sp-post-types.php:268 includes/class-sp-post-types.php:297
2149
+ #: includes/class-sp-post-types.php:298 includes/class-sp-post-types.php:327
2150
+ #: includes/class-sp-post-types.php:328 includes/class-sp-post-types.php:358
2151
+ #: includes/class-sp-post-types.php:359 includes/class-sp-post-types.php:393
2152
+ #: includes/class-sp-post-types.php:394 includes/class-sp-post-types.php:421
2153
+ #: includes/class-sp-post-types.php:422 includes/class-sp-post-types.php:458
2154
+ #: includes/class-sp-post-types.php:459 includes/class-sp-post-types.php:495
2155
+ #: includes/class-sp-post-types.php:496 includes/class-sp-post-types.php:532
2156
+ #: includes/class-sp-post-types.php:533 includes/sp-core-functions.php:982
2157
+ #: includes/sp-core-functions.php:1045 modules/sportspress-calendars.php:78
2158
+ #: modules/sportspress-calendars.php:79
2159
+ #: modules/sportspress-lazy-loading.php:217
2160
+ #: modules/sportspress-lazy-loading.php:230
2161
+ #: modules/sportspress-league-tables.php:75
2162
+ #: modules/sportspress-league-tables.php:76
2163
+ #: modules/sportspress-officials.php:89 modules/sportspress-officials.php:127
2164
+ #: modules/sportspress-officials.php:128 modules/sportspress-overview.php:341
2165
+ #: modules/sportspress-player-lists.php:75
2166
+ #: modules/sportspress-player-lists.php:76
2167
  msgid "No results found."
2168
  msgstr ""
2169
 
2170
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php:264
2171
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-officials.php:51
2172
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:166
2173
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:214
2174
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-official-details.php:51
2175
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-official-details.php:70
2176
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-official-details.php:86
2177
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-official-details.php:101
2178
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:75
2179
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:94
2180
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:110
2181
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:125
2182
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:141
2183
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-details.php:158
2184
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:65
2185
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:76
2186
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:94
2187
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:109
2188
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:124
2189
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-details.php:139
2190
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:135
2191
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:179
2192
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:67
2193
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:84
2194
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:101
2195
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-lists.php:110
2196
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-staff.php:105
2197
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-tables.php:106
2198
+ #: modules/sportspress-user-registration.php:124
2199
+ #: modules/sportspress-wordpay.php:164
2200
  #, php-format
2201
  msgid "Select %s"
2202
  msgstr ""
2203
 
2204
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:38
2205
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:39
2206
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:34
2207
+ #: includes/admin/settings/class-sp-settings-general.php:355
2208
+ msgid "Heading"
2209
+ msgstr ""
2210
+
2211
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:41
2212
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:336
2213
  msgid "Status"
2214
  msgstr ""
2215
 
2216
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:72
2217
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:62
2218
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:98
2219
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:57
2220
+ #: includes/widgets/class-sp-widget-event-blocks.php:150
2221
+ #: includes/widgets/class-sp-widget-event-calendar.php:138
2222
+ #: includes/widgets/class-sp-widget-event-list.php:155
2223
+ msgid "Past"
2224
+ msgstr ""
2225
+
2226
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:76
2227
+ #: includes/class-sp-frontend-scripts.php:79
2228
+ #: includes/widgets/class-sp-widget-event-blocks.php:153
2229
+ #: includes/widgets/class-sp-widget-event-calendar.php:141
2230
+ #: includes/widgets/class-sp-widget-event-list.php:158
2231
+ msgid "Next"
2232
+ msgstr ""
2233
+
2234
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:84
2235
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:70
2236
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-details.php:65
2237
+ #: includes/widgets/class-sp-widget-event-blocks.php:161
2238
+ #: includes/widgets/class-sp-widget-event-calendar.php:149
2239
+ #: includes/widgets/class-sp-widget-event-list.php:166
2240
+ msgid "Relative"
2241
+ msgstr ""
2242
+
2243
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:118
2244
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:108
2245
+ msgid "Sort by"
2246
+ msgstr ""
2247
+
2248
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:128
2249
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-column-details.php:59
2250
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:133
2251
+ #: includes/class-sp-ajax.php:418 includes/class-sp-ajax.php:591
2252
+ #: includes/class-sp-ajax.php:888 includes/class-sp-ajax.php:972
2253
+ #: includes/widgets/class-sp-widget-event-blocks.php:176
2254
+ #: includes/widgets/class-sp-widget-event-list.php:181
2255
  #: includes/widgets/class-sp-widget-player-gallery.php:133
2256
  #: includes/widgets/class-sp-widget-player-list.php:158
2257
  msgid "Ascending"
2258
  msgstr ""
2259
 
2260
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-details.php:129
2261
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-column-details.php:59
2262
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:134
2263
+ #: includes/class-sp-ajax.php:419 includes/class-sp-ajax.php:592
2264
+ #: includes/class-sp-ajax.php:889 includes/class-sp-ajax.php:973
2265
+ #: includes/widgets/class-sp-widget-event-blocks.php:177
2266
+ #: includes/widgets/class-sp-widget-event-list.php:182
2267
  #: includes/widgets/class-sp-widget-player-gallery.php:134
2268
  #: includes/widgets/class-sp-widget-player-list.php:159
2269
  msgid "Descending"
2270
  msgstr ""
2271
 
2272
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-feeds.php:45
2273
+ #: includes/admin/settings/class-sp-settings-events.php:51
2274
+ #: includes/admin/settings/class-sp-settings-events.php:176
2275
+ #: includes/admin/settings/class-sp-settings-general.php:356
2276
+ #: includes/admin/settings/class-sp-settings-players.php:53
2277
+ #: includes/admin/settings/class-sp-settings-staff.php:53
2278
+ #: includes/admin/settings/class-sp-settings-teams.php:54
2279
+ #: includes/class-sp-templates.php:133
2280
  msgid "Link"
2281
  msgstr ""
2282
 
2285
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-shortcode.php:26
2286
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-shortcode.php:24
2287
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-staff-shortcode.php:24
2288
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-shortcode.php:26
2289
  msgid ""
2290
  "Copy this code and paste it into your post, page or text widget content."
2291
  msgstr ""
2296
 
2297
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:34
2298
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:37
2299
+ #: includes/class-sp-ajax.php:872 includes/class-sp-ajax.php:956
 
2300
  #: includes/widgets/class-sp-widget-player-gallery.php:113
2301
  #: includes/widgets/class-sp-widget-player-list.php:141
2302
  msgid "Played"
2312
 
2313
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:34
2314
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:37
2315
+ #: includes/admin/settings/class-sp-settings-events.php:398
2316
  msgid "Minutes"
2317
  msgstr ""
2318
 
2340
  msgid "Streak"
2341
  msgstr ""
2342
 
2343
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:46
2344
+ #: modules/sportspress-league-tables.php:275
2345
+ #: modules/sportspress-officials.php:390
2346
+ msgid "Form"
2347
+ msgstr ""
2348
+
2349
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:46
2350
  msgid "Last 5"
2351
  msgstr ""
2354
  msgid "Last 10"
2355
  msgstr ""
2356
 
2357
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:168
2358
+ msgid "Presets"
2359
+ msgstr ""
2360
+
2361
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:169
2362
  msgid "Operators"
2363
  msgstr ""
2364
 
2365
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:170
2366
  msgid "Subsets"
2367
  msgstr ""
2368
 
2369
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php:171
2370
  msgid "Constants"
2371
  msgstr ""
2372
 
2373
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:28
2374
+ msgid "Optional"
2375
+ msgstr ""
2376
+
2377
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-details.php:34
2378
+ #: includes/admin/settings/class-sp-settings-events.php:90
2379
+ #: includes/admin/settings/class-sp-settings-events.php:144
2380
+ #: includes/api/class-sp-rest-api.php:129 includes/sp-core-functions.php:1455
2381
+ #: templates/event-details.php:53 templates/event-logos-block.php:66
2382
  msgid "Full Time"
2383
  msgstr ""
2384
 
2385
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-mode.php:25
2386
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-mode.php:25
2387
+ #: includes/admin/settings/class-sp-settings-events.php:105
2388
+ msgid "Team vs team"
 
 
 
 
 
 
2389
  msgstr ""
2390
 
2391
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-mode.php:25
2392
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-mode.php:25
2393
+ #: includes/admin/settings/class-sp-settings-events.php:106
2394
+ msgid "Player vs player"
 
 
 
 
 
 
2395
  msgstr ""
2396
 
2397
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:340
2398
+ #: includes/admin/settings/class-sp-settings-events.php:364
2399
+ #: includes/sp-core-functions.php:1466
2400
+ #: templates/event-performance-table.php:100
2401
+ msgid "Player of the Match"
2402
+ msgstr ""
2403
+
2404
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:340
2405
+ #: includes/admin/settings/class-sp-settings-events.php:365
2406
+ #: templates/event-performance-table.php:103
2407
+ #: templates/event-performance-table.php:106
2408
+ msgid "Stars"
2409
  msgstr ""
2410
 
2411
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:362
2412
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:114
2413
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:162
2414
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:73
2415
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-columns.php:38
2416
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-columns.php:76
2417
+ #: includes/admin/settings/class-sp-settings-events.php:328
2418
+ #: includes/admin/settings/class-sp-settings-events.php:420
2419
+ #: includes/admin/settings/class-sp-settings-players.php:166
2420
+ #: includes/class-sp-player.php:236 includes/class-sp-player.php:591
2421
+ #: includes/class-sp-player.php:657 includes/class-sp-team.php:65
2422
+ #: includes/sp-core-functions.php:412 includes/sp-core-functions.php:416
2423
+ #: includes/sp-core-functions.php:1484
2424
+ #: templates/event-performance-table.php:214
2425
  msgid "Total"
2426
  msgstr ""
2427
 
2428
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:532
2429
  msgid "Starting Lineup"
2430
  msgstr ""
2431
 
2432
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php:533
2433
+ #: includes/class-sp-event.php:396 includes/class-sp-event.php:407
2434
  msgid "Substitute"
2435
  msgstr ""
2436
 
2437
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:36
2438
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:177
2439
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:198
2440
  msgid "&mdash; None &mdash;"
2441
  msgstr ""
2442
 
2443
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php:123
2444
+ #: includes/class-sp-ajax.php:58 includes/class-sp-ajax.php:103
2445
+ #: includes/class-sp-ajax.php:133 includes/class-sp-ajax.php:163
2446
+ #: includes/class-sp-ajax.php:193 includes/class-sp-ajax.php:310
2447
+ #: includes/class-sp-ajax.php:473 includes/class-sp-ajax.php:627
2448
+ #: includes/class-sp-ajax.php:700 includes/class-sp-ajax.php:758
2449
+ #: includes/class-sp-ajax.php:788 includes/class-sp-ajax.php:824
2450
+ #: includes/class-sp-ajax.php:924
2451
  #: includes/widgets/class-sp-widget-countdown.php:69
2452
  #: includes/widgets/class-sp-widget-countdown.php:86
2453
+ #: includes/widgets/class-sp-widget-event-blocks.php:99
2454
+ #: includes/widgets/class-sp-widget-event-calendar.php:87
2455
+ #: includes/widgets/class-sp-widget-event-list.php:104
2456
  #: includes/widgets/class-sp-widget-league-table.php:79
2457
  #: includes/widgets/class-sp-widget-player-gallery.php:84
2458
  #: includes/widgets/class-sp-widget-player-list.php:84
2459
  #: includes/widgets/class-sp-widget-staff.php:57
2460
+ #: includes/widgets/class-sp-widget-team-gallery.php:81
2461
  #, php-format
2462
  msgid "Select %s:"
2463
  msgstr ""
2478
 
2479
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:34
2480
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:51
2481
+ #: includes/class-sp-ajax.php:727 includes/sp-core-functions.php:1473
2482
  #: includes/widgets/class-sp-widget-player-list.php:120
2483
  #: includes/widgets/class-sp-widget-player-list.php:126
2484
+ #: includes/widgets/class-sp-widget-team-gallery.php:105
2485
+ #: templates/player-list.php:216
2486
  msgid "Rank"
2487
  msgstr ""
2488
 
2489
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:52
2490
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:166
2491
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:135
2492
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:179
2493
  msgid "Data"
2494
  msgstr ""
2495
 
2496
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-columns.php:55
2497
+ #: includes/admin/settings/class-sp-settings-events.php:408
2498
+ #: includes/class-sp-post-types.php:351
2499
  msgid "Performance"
2500
  msgstr ""
2501
 
2502
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:43
2503
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:65
2504
+ #: includes/admin/settings/class-sp-settings-events.php:352
2505
  msgid "Values"
2506
  msgstr ""
2507
 
2508
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:44
2509
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:66
2510
+ #: modules/sportspress-tutorials.php:110
2511
  msgid "Adjustments"
2512
  msgstr ""
2513
 
2514
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:98
2515
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:60
2516
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:111
2517
+ #: includes/admin/views/html-admin-config.php:45
2518
+ #: includes/admin/views/html-admin-config.php:121
2519
+ #: includes/admin/views/html-admin-config.php:227
2520
+ #: includes/admin/views/html-admin-config.php:281
2521
+ #: includes/admin/views/html-admin-config.php:331
2522
+ #: includes/admin/views/html-admin-config.php:403
2523
+ #: modules/sportspress-event-status.php:81
2524
  msgid "Edit"
2525
  msgstr ""
2526
 
2527
  #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-data.php:103
2528
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:116
2529
  msgid "Save"
2530
  msgstr ""
2531
 
2532
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:97
2533
+ msgid "Current"
2534
+ msgstr ""
2535
+
2536
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:101
2537
  msgid "Grouping"
2538
  msgstr ""
2539
 
2540
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:127
2541
+ msgid "Skip if zero?"
2542
+ msgstr ""
2543
+
2544
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:150
2545
+ #: includes/admin/settings/class-sp-settings-events.php:246
2546
+ #: includes/admin/settings/class-sp-settings-events.php:381
2547
+ #: includes/admin/settings/class-sp-settings-players.php:165
2548
+ msgid "Display"
2549
+ msgstr ""
2550
+
2551
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php:151
2552
+ #: modules/sportspress-player-lists.php:283
2553
+ msgid "players"
2554
+ msgstr ""
2555
+
2556
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-metric-details.php:35
2557
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:141
2558
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:81
2559
+ #: includes/admin/views/html-admin-config.php:176
2560
+ #: includes/admin/views/html-admin-config.php:379
2561
+ msgid "Visible"
2562
+ msgstr ""
2563
+
2564
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-metric-details.php:36
2565
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:142
2566
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:82
2567
+ #: includes/admin/views/html-admin-config.php:177
2568
+ #: includes/admin/views/html-admin-config.php:380
2569
+ msgid "Display in player profile?"
2570
+ msgstr ""
2571
+
2572
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-metric-details.php:42
2573
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:102
2574
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:122
2575
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:148
2576
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:88
2577
+ #: includes/admin/settings/class-sp-settings-status.php:73
2578
+ #: includes/admin/settings/class-sp-settings-status.php:97
2579
+ #: includes/admin/settings/class-sp-settings-status.php:122
2580
+ #: includes/admin/views/html-admin-page-status.php:37
2581
+ #: includes/admin/views/html-admin-page-status.php:61
2582
+ #: includes/admin/views/html-admin-page-status.php:86
2583
+ msgid "Yes"
2584
+ msgstr ""
2585
+
2586
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-metric-details.php:48
2587
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:108
2588
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:128
2589
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:154
2590
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:94
2591
+ #: includes/admin/settings/class-sp-settings-status.php:73
2592
+ #: includes/admin/settings/class-sp-settings-status.php:97
2593
+ #: includes/admin/settings/class-sp-settings-status.php:122
2594
+ #: includes/admin/views/html-admin-page-status.php:37
2595
+ #: includes/admin/views/html-admin-page-status.php:61
2596
+ #: includes/admin/views/html-admin-page-status.php:86
2597
+ msgid "No"
2598
  msgstr ""
2599
 
2600
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:37
2601
+ #: includes/admin/settings/class-sp-settings-events.php:426
2602
+ #: includes/admin/settings/class-sp-settings-general.php:352
2603
+ #: includes/admin/views/html-admin-config.php:88
2604
+ #: includes/admin/views/html-admin-config.php:168
2605
  #: includes/sp-core-functions.php:379
2606
  msgid "Primary"
2607
  msgstr ""
2608
 
2609
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:50
2610
+ msgid "Color"
2611
+ msgstr ""
2612
+
2613
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:57
2614
+ #: includes/admin/views/html-admin-config.php:33
2615
  msgid "Condition"
2616
  msgstr ""
2617
 
2618
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:63
2619
  #: includes/sp-core-functions.php:383
2620
  #, php-format
2621
  msgid "Most %s"
2622
  msgstr ""
2623
 
2624
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:64
2625
  #: includes/sp-core-functions.php:384
2626
  #, php-format
2627
  msgid "Least %s"
2628
  msgstr ""
2629
 
2630
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php:65
2631
  #: includes/sp-core-functions.php:385
2632
  #, php-format
2633
  msgid "Equal %s"
2634
  msgstr ""
2635
 
2636
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:61
2637
+ msgid "Singular"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2638
  msgstr ""
2639
 
2640
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:80
2641
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:62
2642
  #: includes/sp-core-functions.php:468 includes/sp-core-functions.php:469
2643
  #: includes/sp-core-functions.php:471
2644
  msgid "Number"
2645
  msgstr ""
2646
 
2647
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:80
2648
+ #: includes/admin/settings/class-sp-settings-general.php:354
2649
  #: includes/admin/settings/class-sp-settings-text.php:25
2650
  #: includes/admin/settings/class-sp-settings-text.php:40
2651
+ #: includes/sp-core-functions.php:468 modules/sportspress-tutorials.php:98
2652
  msgid "Text"
2653
  msgstr ""
2654
 
2655
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:95
2656
+ msgid "Timed"
 
 
2657
  msgstr ""
2658
 
2659
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:96
2660
+ msgid "Record minutes?"
 
 
 
 
 
2661
  msgstr ""
2662
 
2663
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:115
2664
+ msgid "Send Off"
 
2665
  msgstr ""
2666
 
2667
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php:116
2668
+ msgid "Don't count minutes after?"
 
2669
  msgstr ""
2670
 
2671
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:42
2672
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php:69
2673
+ #: includes/admin/settings/class-sp-settings-players.php:174
2674
+ #: includes/sp-core-functions.php:1446 templates/player-statistics.php:72
2675
+ msgid "Career Total"
2676
  msgstr ""
2677
 
2678
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:69
2679
+ #: includes/admin/settings/class-sp-settings-events.php:192
2680
+ msgid "Type"
2681
  msgstr ""
2682
 
2683
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php:73
2684
+ #: includes/sp-core-functions.php:412
2685
+ msgid "Average"
2686
  msgstr ""
2687
 
2688
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php:75
2689
+ #: modules/sportspress-tutorials.php:111
2690
+ msgid "Highlight"
 
 
 
2691
  msgstr ""
2692
 
2693
+ #: includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php:112
2694
+ msgid "Redirect"
 
2695
  msgstr ""
2696
 
2697
+ #: includes/admin/settings/class-sp-settings-events.php:45
2698
+ msgid "Event Options"
 
2699
  msgstr ""
2700
 
2701
+ #: includes/admin/settings/class-sp-settings-events.php:52
2702
+ msgid "Link events"
2703
  msgstr ""
2704
 
2705
+ #: includes/admin/settings/class-sp-settings-events.php:100
2706
+ msgid "Default mode"
2707
  msgstr ""
2708
 
2709
+ #: includes/admin/settings/class-sp-settings-events.php:108
2710
  msgctxt "mode setting description"
2711
  msgid "Who competes in events?"
2712
  msgstr ""
2713
 
2714
+ #: includes/admin/settings/class-sp-settings-events.php:112
2715
+ #: modules/sportspress-calendars.php:296 modules/sportspress-calendars.php:365
2716
+ #: modules/sportspress-league-tables.php:262
2717
+ #: modules/sportspress-officials.php:377
2718
+ #: modules/sportspress-player-lists.php:279
2719
  msgid "Limit"
2720
  msgstr ""
2721
 
2722
+ #: includes/admin/settings/class-sp-settings-events.php:116
2723
+ #: modules/sportspress-league-tables.php:266
2724
+ #: modules/sportspress-officials.php:381
2725
  msgid "teams"
2726
  msgstr ""
2727
 
2728
+ #: includes/admin/settings/class-sp-settings-events.php:128
2729
+ msgid "Filter by league"
2730
  msgstr ""
2731
 
2732
+ #: includes/admin/settings/class-sp-settings-events.php:136
2733
  msgid "Filter by season"
2734
  msgstr ""
2735
 
2736
+ #: includes/admin/settings/class-sp-settings-events.php:157
2737
+ msgid "Comments"
 
 
 
 
 
2738
  msgstr ""
2739
 
2740
+ #: includes/admin/settings/class-sp-settings-events.php:158
2741
+ msgid "Allow people to post comments on new articles"
2742
  msgstr ""
2743
 
2744
+ #: includes/admin/settings/class-sp-settings-events.php:177
2745
+ #: includes/admin/settings/class-sp-settings-teams.php:63
2746
+ msgid "Link venues"
2747
  msgstr ""
2748
 
2749
+ #: includes/admin/settings/class-sp-settings-events.php:184
2750
+ msgid "Google Maps"
2751
  msgstr ""
2752
 
2753
+ #: includes/admin/settings/class-sp-settings-events.php:185
2754
+ msgid "Display maps"
2755
  msgstr ""
2756
 
2757
+ #: includes/admin/settings/class-sp-settings-events.php:198
2758
+ msgid "Satellite"
2759
  msgstr ""
2760
 
2761
+ #: includes/admin/settings/class-sp-settings-events.php:203
2762
+ msgid "Zoom"
2763
  msgstr ""
2764
 
2765
+ #: includes/admin/settings/class-sp-settings-events.php:228
2766
+ msgid "Reverse order"
2767
  msgstr ""
2768
 
2769
+ #: includes/admin/settings/class-sp-settings-events.php:240
2770
+ msgid "Inline"
2771
  msgstr ""
2772
 
2773
+ #: includes/admin/settings/class-sp-settings-events.php:241
2774
+ msgid "Block"
2775
  msgstr ""
2776
 
2777
+ #: includes/admin/settings/class-sp-settings-events.php:276
2778
  #: includes/admin/settings/class-sp-settings-status.php:273
 
2779
  #: includes/admin/views/html-admin-config.php:78
2780
+ #: includes/admin/views/html-admin-config.php:82
2781
  #: includes/admin/views/html-admin-page-status.php:237
2782
+ #: includes/class-sp-post-types.php:230
2783
  msgid "Event Results"
2784
  msgstr ""
2785
 
2786
+ #: includes/admin/settings/class-sp-settings-events.php:293
 
 
 
 
 
2787
  msgid "Display outcome"
2788
  msgstr ""
2789
 
2790
+ #: includes/admin/settings/class-sp-settings-events.php:311
2791
  msgid "Rows"
2792
  msgstr ""
2793
 
2794
+ #: includes/admin/settings/class-sp-settings-events.php:353
2795
  msgid "Icons"
2796
  msgstr ""
2797
 
2798
+ #: includes/admin/settings/class-sp-settings-events.php:358
2799
+ msgid "Awards"
2800
  msgstr ""
2801
 
2802
+ #: includes/admin/settings/class-sp-settings-events.php:366
2803
+ msgid "Star Number"
2804
  msgstr ""
2805
 
2806
+ #: includes/admin/settings/class-sp-settings-events.php:372
2807
+ msgid "Top-level only"
2808
  msgstr ""
2809
 
2810
+ #: includes/admin/settings/class-sp-settings-events.php:413
2811
+ #: includes/admin/settings/class-sp-settings-players.php:158
2812
+ #: modules/sportspress-calendars.php:280
2813
  msgid "Combined"
2814
  msgstr ""
2815
 
2816
+ #: includes/admin/settings/class-sp-settings-events.php:472
2817
+ #: includes/admin/settings/class-sp-settings-events.php:476
2818
  msgid "Delimiter"
2819
  msgstr ""
2820
 
2821
+ #: includes/admin/settings/class-sp-settings-events.php:481
2822
  msgid "Custom:"
2823
  msgstr ""
2824
 
2826
  msgid "General Options"
2827
  msgstr ""
2828
 
2829
+ #: includes/admin/settings/class-sp-settings-general.php:53
2830
+ #: includes/admin/settings/class-sp-settings-status.php:259
2831
+ #: includes/admin/views/html-admin-page-status.php:223
2832
+ msgid "Sport"
2833
+ msgstr ""
2834
+
2835
  #: includes/admin/settings/class-sp-settings-general.php:63
2836
  msgid "Styles and Scripts"
2837
  msgstr ""
2858
  msgid "Padding"
2859
  msgstr ""
2860
 
2861
+ #: includes/admin/settings/class-sp-settings-general.php:104
2862
  msgid "Custom CSS"
2863
  msgstr ""
2864
 
2865
+ #: includes/admin/settings/class-sp-settings-general.php:113
2866
  msgid "Scripts"
2867
  msgstr ""
2868
 
2869
+ #: includes/admin/settings/class-sp-settings-general.php:114
2870
  msgid "Live countdowns"
2871
  msgstr ""
2872
 
2873
+ #: includes/admin/settings/class-sp-settings-general.php:119
2874
  msgid "This will enable a script allowing the countdowns to be animated."
2875
  msgstr ""
2876
 
2877
+ #: includes/admin/settings/class-sp-settings-general.php:123
2878
  msgid "Shortcode menu"
2879
  msgstr ""
2880
 
2881
+ #: includes/admin/settings/class-sp-settings-general.php:128
2882
  msgid "This will enable a shortcode menu to be displayed in the visual editor."
2883
  msgstr ""
2884
 
2885
+ #: includes/admin/settings/class-sp-settings-general.php:134
2886
  msgid "Tables"
2887
  msgstr ""
2888
 
2889
+ #: includes/admin/settings/class-sp-settings-general.php:135
2890
  msgid "Responsive"
2891
  msgstr ""
2892
 
2893
+ #: includes/admin/settings/class-sp-settings-general.php:143
2894
  msgid "Scrollable"
2895
  msgstr ""
2896
 
2897
+ #: includes/admin/settings/class-sp-settings-general.php:151
2898
  msgid "Sortable"
2899
  msgstr ""
2900
 
2901
+ #: includes/admin/settings/class-sp-settings-general.php:159
2902
  msgid "Widgets"
2903
  msgstr ""
2904
 
2905
+ #: includes/admin/settings/class-sp-settings-general.php:160
2906
  msgid "Unique"
2907
  msgstr ""
2908
 
2909
+ #: includes/admin/settings/class-sp-settings-general.php:164
2910
  msgid "Hide widget when same as content."
2911
  msgstr ""
2912
 
2913
+ #: includes/admin/settings/class-sp-settings-general.php:170
2914
  msgid "Header Offset"
2915
  msgstr ""
2916
 
2917
+ #: includes/admin/settings/class-sp-settings-general.php:312
2918
+ msgid "Color Scheme"
2919
  msgstr ""
2920
 
2921
+ #: includes/admin/settings/class-sp-settings-general.php:333
2922
+ #: modules/sportspress-icons.php:172
2923
  msgid "Customize"
2924
  msgstr ""
2925
 
2926
+ #: includes/admin/settings/class-sp-settings-general.php:353
2927
  msgid "Background"
2928
  msgstr ""
2929
 
2930
+ #: includes/admin/settings/class-sp-settings-general.php:362
2931
+ #: modules/sportspress-styles.php:63
2932
  msgid "Enable"
2933
  msgstr ""
2934
 
2935
+ #: includes/admin/settings/class-sp-settings-licenses.php:30
2936
+ msgid "Licenses"
2937
+ msgstr ""
2938
+
2939
+ #: includes/admin/settings/class-sp-settings-licenses.php:70
2940
+ msgid "License Key"
2941
+ msgstr ""
2942
+
2943
+ #: includes/admin/settings/class-sp-settings-licenses.php:74
2944
+ msgid "Enter the license key from your purchase receipt."
2945
+ msgstr ""
2946
+
2947
+ #: includes/admin/settings/class-sp-settings-licenses.php:81
2948
+ msgid "Deactivate"
2949
+ msgstr ""
2950
+
2951
+ #: includes/admin/settings/class-sp-settings-licenses.php:86
2952
+ msgid "Activate"
2953
+ msgstr ""
2954
+
2955
+ #: includes/admin/settings/class-sp-settings-licenses.php:161
2956
+ msgid "License activated."
2957
+ msgstr ""
2958
+
2959
+ #: includes/admin/settings/class-sp-settings-licenses.php:163
2960
+ msgid "License invalid."
2961
+ msgstr ""
2962
+
2963
+ #: includes/admin/settings/class-sp-settings-licenses.php:205
2964
+ msgid "License deactivated."
2965
+ msgstr ""
2966
+
2967
  #: includes/admin/settings/class-sp-settings-modules.php:30
2968
+ #: includes/admin/settings/class-sp-settings-modules.php:235
2969
  msgid "Modules"
2970
  msgstr ""
2971
 
2977
  msgid "SportsPress Pro"
2978
  msgstr ""
2979
 
 
 
 
 
 
 
2980
  #: includes/admin/settings/class-sp-settings-modules.php:69
2981
+ #: includes/admin/settings/class-sp-settings-modules.php:88
2982
+ #: includes/class-sp-modules.php:179 includes/class-sp-modules.php:190
2983
  msgid "Premium"
2984
  msgstr ""
2985
 
2988
  msgstr ""
2989
 
2990
  #: includes/admin/settings/class-sp-settings-modules.php:81
2991
+ #: includes/class-sp-modules.php:162
2992
+ msgid "WordPay"
2993
+ msgstr ""
2994
+
2995
+ #: includes/admin/settings/class-sp-settings-modules.php:86
2996
+ #: includes/class-sp-modules.php:166
2997
+ msgid "Start collecting club membership payments with WordPay."
2998
  msgstr ""
2999
 
3000
  #: includes/admin/settings/class-sp-settings-modules.php:89
3001
+ #: includes/class-sp-modules.php:167
3002
+ msgid "Get WordPay"
3003
  msgstr ""
3004
 
3005
+ #: includes/admin/settings/class-sp-settings-modules.php:100
3006
+ msgid "Get Freebies"
 
 
3007
  msgstr ""
3008
 
3009
+ #: includes/admin/settings/class-sp-settings-modules.php:105
3010
+ msgid "Instant access to exclusive SportsPress extensions and free downloads."
3011
  msgstr ""
3012
 
3013
+ #: includes/admin/settings/class-sp-settings-modules.php:107
3014
+ msgid "Create a free account"
3015
  msgstr ""
3016
 
3017
+ #: includes/admin/settings/class-sp-settings-modules.php:108
3018
+ msgid "Sign Up"
3019
  msgstr ""
3020
 
3021
+ #: includes/admin/settings/class-sp-settings-modules.php:121
3022
  msgid "Current Theme"
3023
  msgstr ""
3024
 
3025
+ #: includes/admin/settings/class-sp-settings-modules.php:127
3026
+ #: includes/admin/settings/class-sp-settings-modules.php:145
3027
+ msgid "Rookie is a free starter theme for SportsPress designed by ThemeBoy."
3028
+ msgstr ""
3029
+
3030
+ #: includes/admin/settings/class-sp-settings-modules.php:129
3031
  msgid "Need a better theme?"
3032
  msgstr ""
3033
 
3034
+ #: includes/admin/settings/class-sp-settings-modules.php:130
3035
+ #: sportspress.php:147
3036
  msgid "Upgrade"
3037
  msgstr ""
3038
 
3039
+ #: includes/admin/settings/class-sp-settings-modules.php:139
3040
+ msgid "Free SportsPress Theme"
3041
+ msgstr ""
3042
+
3043
+ #: includes/admin/settings/class-sp-settings-modules.php:147
3044
+ #: includes/class-sp-modules.php:144 includes/class-sp-modules.php:152
3045
+ #: includes/class-sp-modules.php:201
3046
  msgid "Free"
3047
  msgstr ""
3048
 
3049
+ #: includes/admin/settings/class-sp-settings-modules.php:148
3050
+ #: includes/admin/views/html-notice-theme-support.php:8
3051
+ msgid "Install Now"
3052
+ msgstr ""
3053
+
3054
+ #: includes/admin/settings/class-sp-settings-modules.php:160
3055
  msgid "Documentation"
3056
  msgstr ""
3057
 
3058
+ #: includes/admin/settings/class-sp-settings-modules.php:162
3059
  msgid "Getting Started"
3060
  msgstr ""
3061
 
3062
+ #: includes/admin/settings/class-sp-settings-modules.php:163
3063
  msgid "Manuals"
3064
  msgstr ""
3065
 
3066
+ #: includes/admin/settings/class-sp-settings-modules.php:164
3067
  msgid "Videos"
3068
  msgstr ""
3069
 
3070
+ #: includes/admin/settings/class-sp-settings-modules.php:169
 
 
 
 
 
3071
  msgid "Help"
3072
  msgstr ""
3073
 
3074
+ #: includes/admin/settings/class-sp-settings-modules.php:171
3075
  msgid "Support Forums"
3076
  msgstr ""
3077
 
3078
+ #: includes/admin/settings/class-sp-settings-modules.php:172
3079
  msgid "Feature Requests"
3080
  msgstr ""
3081
 
3082
+ #: includes/admin/settings/class-sp-settings-modules.php:177
3083
  msgid "Connect"
3084
  msgstr ""
3085
 
3086
+ #: includes/admin/settings/class-sp-settings-modules.php:179
3087
+ #: includes/class-sp-modules.php:139
3088
  msgid "Twitter"
3089
  msgstr ""
3090
 
3091
+ #: includes/admin/settings/class-sp-settings-modules.php:180
3092
+ #: includes/class-sp-modules.php:147
3093
  msgid "Facebook"
3094
  msgstr ""
3095
 
3096
+ #: includes/admin/settings/class-sp-settings-modules.php:181
3097
  msgid "YouTube"
3098
  msgstr ""
3099
 
3100
+ #: includes/admin/settings/class-sp-settings-modules.php:182
3101
  msgid "Google+"
3102
  msgstr ""
3103
 
 
3104
  #: includes/admin/settings/class-sp-settings-modules.php:187
3105
+ msgid "Developers"
3106
+ msgstr ""
3107
+
3108
+ #: includes/admin/settings/class-sp-settings-modules.php:189
3109
+ msgid "Reference"
3110
+ msgstr ""
3111
+
3112
+ #: includes/admin/settings/class-sp-settings-modules.php:190
3113
+ msgid "Slack"
3114
+ msgstr ""
3115
+
3116
+ #: includes/admin/settings/class-sp-settings-modules.php:191
3117
+ msgid "GitHub"
3118
+ msgstr ""
3119
+
3120
+ #: includes/admin/settings/class-sp-settings-modules.php:197
3121
+ #: includes/admin/settings/class-sp-settings-modules.php:199
3122
  msgid "Premium Support"
3123
  msgstr ""
3124
 
3125
+ #: includes/admin/settings/class-sp-settings-modules.php:274
3126
+ #: includes/admin/views/html-admin-settings.php:15
3127
+ msgid "Save Changes"
3128
  msgstr ""
3129
 
3130
+ #: includes/admin/settings/class-sp-settings-page.php:116
3131
+ msgid "Drag each item into the order you prefer."
3132
+ msgstr ""
3133
+
3134
+ #: includes/admin/settings/class-sp-settings-page.php:169
3135
+ msgid "Tabs"
3136
  msgstr ""
3137
 
3138
+ #: includes/admin/settings/class-sp-settings-page.php:172
3139
+ msgid "Drag items here to display them as tabs."
3140
+ msgstr ""
3141
+
3142
+ #: includes/admin/settings/class-sp-settings-players.php:44
3143
  msgid "Player Options"
3144
  msgstr ""
3145
 
3146
+ #: includes/admin/settings/class-sp-settings-players.php:54
3147
  msgid "Link players"
3148
  msgstr ""
3149
 
3150
+ #: includes/admin/settings/class-sp-settings-players.php:127
3151
+ #: includes/admin/settings/class-sp-settings-staff.php:87
3152
+ #: modules/sportspress-player-lists.php:263
3153
  msgid "Display national flags"
3154
  msgstr ""
3155
 
3156
+ #: includes/admin/settings/class-sp-settings-players.php:153
3157
+ msgid "Categories"
3158
+ msgstr ""
3159
+
3160
+ #: includes/admin/settings/class-sp-settings-staff.php:44
3161
  msgid "Staff Options"
3162
  msgstr ""
3163
 
3164
+ #: includes/admin/settings/class-sp-settings-staff.php:54
3165
  msgid "Link staff"
3166
  msgstr ""
3167
 
3196
  #: includes/admin/views/html-admin-page-status.php:28
3197
  msgid "SP Version"
3198
  msgstr ""
3199
+
3200
+ #: includes/admin/settings/class-sp-settings-status.php:68
3201
+ #: includes/admin/views/html-admin-page-status.php:32
3202
+ msgid "WP Version"
3203
+ msgstr ""
3204
+
3205
+ #: includes/admin/settings/class-sp-settings-status.php:72
3206
+ #: includes/admin/views/html-admin-page-status.php:36
3207
+ msgid "WP Multisite Enabled"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3208
  msgstr ""
3209
 
3210
  #: includes/admin/settings/class-sp-settings-status.php:76
3350
  msgid "is available"
3351
  msgstr ""
3352
 
3353
+ #: includes/admin/settings/class-sp-settings-status.php:237
3354
+ #: includes/admin/views/html-admin-page-status.php:201
3355
+ msgid "by"
3356
+ msgstr ""
3357
+
3358
  #: includes/admin/settings/class-sp-settings-status.php:237
3359
  #: includes/admin/views/html-admin-page-status.php:201
3360
  msgid "version"
3366
  msgstr ""
3367
 
3368
  #: includes/admin/settings/class-sp-settings-status.php:263
3369
+ #: includes/admin/views/html-admin-config.php:23
3370
  #: includes/admin/views/html-admin-page-status.php:227
3371
+ #: includes/class-sp-post-types.php:260 modules/sportspress-tutorials.php:102
3372
  msgid "Event Outcomes"
3373
  msgstr ""
3374
 
3375
  #: includes/admin/settings/class-sp-settings-status.php:283
3376
+ #: includes/admin/views/html-admin-config.php:158
3377
+ #: includes/admin/views/html-admin-config.php:162
3378
  #: includes/admin/views/html-admin-page-status.php:247
3379
+ #: includes/class-sp-post-types.php:350 includes/class-sp-post-types.php:352
3380
  msgid "Player Performance"
3381
  msgstr ""
3382
 
3383
  #: includes/admin/settings/class-sp-settings-status.php:293
3384
+ #: includes/admin/views/html-admin-config.php:259
3385
  #: includes/admin/views/html-admin-page-status.php:257
3386
+ #: includes/class-sp-post-types.php:290
3387
+ #: modules/sportspress-league-tables.php:161
 
3388
  msgid "Table Columns"
3389
  msgstr ""
3390
 
3391
  #: includes/admin/settings/class-sp-settings-status.php:305
3392
+ #: includes/admin/views/html-admin-config.php:313
3393
  #: includes/admin/views/html-admin-page-status.php:267
3394
+ #: includes/class-sp-post-types.php:320 modules/sportspress-tutorials.php:114
3395
  msgid "Player Metrics"
3396
  msgstr ""
3397
 
3398
  #: includes/admin/settings/class-sp-settings-status.php:315
3399
+ #: includes/admin/views/html-admin-config.php:366
3400
  #: includes/admin/views/html-admin-page-status.php:277
3401
+ #: includes/class-sp-post-types.php:385
3402
  msgid "Player Statistics"
3403
  msgstr ""
3404
 
3457
  msgid "No overrides present in theme."
3458
  msgstr ""
3459
 
3460
+ #: includes/admin/settings/class-sp-settings-teams.php:45
3461
  msgid "Team Options"
3462
  msgstr ""
3463
 
3464
+ #: includes/admin/settings/class-sp-settings-teams.php:55
3465
  msgid "Link teams"
3466
  msgstr ""
3467
 
3468
+ #: includes/admin/settings/class-sp-settings-teams.php:71
3469
  msgid "Abbreviate team names"
3470
  msgstr ""
3471
 
3472
+ #: includes/admin/settings/class-sp-settings-teams.php:78
3473
+ #: includes/class-sp-templates.php:132 includes/sp-core-functions.php:359
3474
+ #: includes/sp-core-functions.php:1490 templates/team-link.php:22
3475
+ msgid "Visit Site"
3476
+ msgstr ""
3477
+
3478
+ #: includes/admin/settings/class-sp-settings-teams.php:79
3479
  msgid "Open link in a new window/tab"
3480
  msgstr ""
3481
 
3483
  msgid "The following options affect how words are displayed on the frontend."
3484
  msgstr ""
3485
 
3486
+ #: includes/admin/views/html-admin-config.php:24
3487
+ #: includes/admin/views/html-admin-config.php:79
3488
+ #: includes/admin/views/html-admin-config.php:159
3489
+ msgid "Used for events."
3490
+ msgstr ""
3491
+
3492
+ #: includes/admin/views/html-admin-config.php:90
3493
  msgid "Variables"
3494
  msgstr ""
3495
 
3496
+ #: includes/admin/views/html-admin-config.php:105
3497
+ #: includes/admin/views/html-admin-config.php:192
3498
  #, php-format
3499
  msgid "Default (%s)"
3500
  msgstr ""
3501
 
3502
+ #: includes/admin/views/html-admin-config.php:260
3503
  msgid "Used for league tables."
3504
  msgstr ""
3505
 
3506
+ #: includes/admin/views/html-admin-config.php:314
3507
+ #: includes/admin/views/html-admin-config.php:367
3508
  msgid "Used for player lists."
3509
  msgstr ""
3510
 
3511
  #: includes/admin/views/html-notice-install.php:5
3512
+ msgid "Let's get started with some basic settings."
3513
+ msgstr ""
3514
+
3515
+ #: includes/admin/views/html-notice-install.php:7
3516
+ msgid "Run the Setup Wizard"
3517
  msgstr ""
3518
 
3519
  #: includes/admin/views/html-notice-install.php:8
3522
  msgid "Hide this notice"
3523
  msgstr ""
3524
 
3525
+ #: includes/admin/views/html-notice-no-access.php:5
3526
+ msgid "You are not allowed to edit this item."
3527
+ msgstr ""
3528
+
3529
  #: includes/admin/views/html-notice-template-check.php:5
3530
  msgid ""
3531
  "<strong>Your theme has bundled outdated copies of SportsPress template "
3542
  "SportsPress theme :)"
3543
  msgstr ""
3544
 
3545
+ #: includes/admin/views/html-notice-theme-support.php:6
3546
+ msgid "Have you tried the free Rookie theme yet?"
3547
+ msgstr ""
3548
+
3549
+ #: includes/admin/views/html-notice-theme-support.php:9
3550
+ msgid "Theme Integration Guide"
3551
+ msgstr ""
3552
+
3553
+ #: includes/api/class-sp-rest-api.php:83
3554
+ msgid "Main Results"
3555
+ msgstr ""
3556
+
3557
+ #: includes/api/class-sp-rest-api.php:113
3558
+ msgid "Winner"
3559
  msgstr ""
3560
 
3561
+ #: includes/api/class-sp-rest-api.php:400
3562
+ #: includes/api/class-sp-rest-api.php:496
3563
+ msgid "Nationalities"
3564
+ msgstr ""
3565
+
3566
+ #: includes/class-sp-ajax.php:75
3567
  #: includes/widgets/class-sp-widget-countdown.php:107
3568
+ #: modules/sportspress-calendars.php:349
3569
  msgid "Display venue"
3570
  msgstr ""
3571
 
3572
+ #: includes/class-sp-ajax.php:81
3573
  #: includes/widgets/class-sp-widget-countdown.php:110
3574
+ #: modules/sportspress-calendars.php:333
3575
+ msgid "Display league"
3576
  msgstr ""
3577
 
3578
+ #: includes/class-sp-ajax.php:86 includes/class-sp-ajax.php:116
3579
+ #: includes/class-sp-ajax.php:146 includes/class-sp-ajax.php:176
3580
+ #: includes/class-sp-ajax.php:287 includes/class-sp-ajax.php:450
3581
+ #: includes/class-sp-ajax.php:604 includes/class-sp-ajax.php:677
3582
+ #: includes/class-sp-ajax.php:741 includes/class-sp-ajax.php:771
3583
+ #: includes/class-sp-ajax.php:801 includes/class-sp-ajax.php:901
3584
+ #: includes/class-sp-ajax.php:985
3585
  msgid "Insert Shortcode"
3586
  msgstr ""
3587
 
3588
+ #: includes/class-sp-ajax.php:207 includes/class-sp-ajax.php:324
3589
+ #: includes/class-sp-ajax.php:487
3590
+ msgid "Team:"
3591
+ msgstr ""
3592
+
3593
+ #: includes/class-sp-ajax.php:221 includes/class-sp-ajax.php:338
3594
+ #: includes/class-sp-ajax.php:501
3595
+ msgid "League:"
3596
+ msgstr ""
3597
+
3598
+ #: includes/class-sp-ajax.php:235 includes/class-sp-ajax.php:352
3599
+ #: includes/class-sp-ajax.php:515
3600
+ msgid "Season:"
3601
+ msgstr ""
3602
+
3603
+ #: includes/class-sp-ajax.php:249 includes/class-sp-ajax.php:366
3604
+ #: includes/class-sp-ajax.php:529
3605
+ msgid "Venue:"
3606
+ msgstr ""
3607
+
3608
+ #: includes/class-sp-ajax.php:263 includes/class-sp-ajax.php:380
3609
+ #: includes/class-sp-ajax.php:543
3610
+ #: includes/widgets/class-sp-widget-event-blocks.php:116
3611
+ #: includes/widgets/class-sp-widget-event-calendar.php:104
3612
+ #: includes/widgets/class-sp-widget-event-list.php:121
3613
  msgid "Status:"
3614
  msgstr ""
3615
 
3616
+ #: includes/class-sp-ajax.php:275 includes/class-sp-ajax.php:403
3617
+ #: includes/class-sp-ajax.php:566
3618
+ #: includes/widgets/class-sp-widget-event-blocks.php:167
3619
+ #: includes/widgets/class-sp-widget-event-calendar.php:155
3620
+ #: includes/widgets/class-sp-widget-event-list.php:172
3621
+ msgid "Match Day:"
3622
+ msgstr ""
3623
+
3624
+ #: includes/class-sp-ajax.php:281 includes/class-sp-ajax.php:445
3625
+ #: includes/class-sp-ajax.php:599
3626
+ #: includes/widgets/class-sp-widget-event-blocks.php:181
3627
+ #: includes/widgets/class-sp-widget-event-calendar.php:159
3628
+ #: includes/widgets/class-sp-widget-event-list.php:219
3629
  msgid "Display link to view all events"
3630
  msgstr ""
3631
 
3632
+ #: includes/class-sp-ajax.php:304 includes/class-sp-ajax.php:467
3633
+ #: includes/class-sp-ajax.php:621 includes/class-sp-ajax.php:694
3634
+ #: includes/class-sp-ajax.php:818 includes/class-sp-ajax.php:918
3635
  #: includes/widgets/class-sp-widget-birthdays.php:55
3636
  #: includes/widgets/class-sp-widget-countdown.php:63
3637
+ #: includes/widgets/class-sp-widget-event-blocks.php:93
3638
+ #: includes/widgets/class-sp-widget-event-calendar.php:84
3639
+ #: includes/widgets/class-sp-widget-event-list.php:98
3640
  #: includes/widgets/class-sp-widget-league-table.php:73
3641
  #: includes/widgets/class-sp-widget-player-gallery.php:78
3642
  #: includes/widgets/class-sp-widget-player-list.php:78
3643
  #: includes/widgets/class-sp-widget-staff.php:54
3644
+ #: includes/widgets/class-sp-widget-team-gallery.php:75
3645
  msgid "Title:"
3646
  msgstr ""
3647
 
3648
+ #: includes/class-sp-ajax.php:392 includes/class-sp-ajax.php:555
3649
+ #: includes/widgets/class-sp-widget-event-blocks.php:130
3650
+ #: includes/widgets/class-sp-widget-event-calendar.php:118
3651
+ #: includes/widgets/class-sp-widget-event-list.php:135
3652
  msgid "Date:"
3653
  msgstr ""
3654
 
3655
+ #: includes/class-sp-ajax.php:396 includes/class-sp-ajax.php:559
3656
+ #: includes/sp-core-functions.php:622
3657
  msgid "This week"
3658
  msgstr ""
3659
 
3660
+ #: includes/class-sp-ajax.php:397 includes/class-sp-ajax.php:560
3661
+ #: includes/sp-core-functions.php:619
3662
  #: includes/widgets/class-sp-widget-birthdays.php:48
3663
  msgid "Today"
3664
  msgstr ""
3665
 
3666
+ #: includes/class-sp-ajax.php:409 includes/class-sp-ajax.php:572
3667
+ #: includes/widgets/class-sp-widget-event-blocks.php:170
3668
+ #: includes/widgets/class-sp-widget-event-list.php:175
3669
  msgid "Number of events to show:"
3670
  msgstr ""
3671
 
3672
+ #: includes/class-sp-ajax.php:415 includes/class-sp-ajax.php:588
3673
+ #: includes/class-sp-ajax.php:885 includes/class-sp-ajax.php:969
3674
+ #: includes/widgets/class-sp-widget-event-blocks.php:173
3675
+ #: includes/widgets/class-sp-widget-event-list.php:178
3676
  #: includes/widgets/class-sp-widget-player-gallery.php:131
3677
  #: includes/widgets/class-sp-widget-player-list.php:156
3678
  msgid "Sort Order:"
3679
  msgstr ""
3680
 
3681
+ #: includes/class-sp-ajax.php:424 includes/class-sp-ajax.php:645
3682
+ #: includes/class-sp-ajax.php:719 includes/class-sp-ajax.php:842
3683
+ #: includes/class-sp-ajax.php:943
3684
+ #: includes/widgets/class-sp-widget-event-list.php:186
3685
  #: includes/widgets/class-sp-widget-league-table.php:100
3686
  #: includes/widgets/class-sp-widget-player-gallery.php:103
3687
+ #: includes/widgets/class-sp-widget-team-gallery.php:100
3688
  msgid "Columns:"
3689
  msgstr ""
3690
 
3691
+ #: includes/class-sp-ajax.php:578 includes/class-sp-ajax.php:865
3692
+ #: includes/class-sp-ajax.php:949
3693
+ #: includes/widgets/class-sp-widget-player-gallery.php:106
3694
+ #: includes/widgets/class-sp-widget-player-list.php:134
3695
+ #: includes/widgets/class-sp-widget-team-gallery.php:103
3696
+ msgid "Sort by:"
3697
+ msgstr ""
3698
+
3699
+ #: includes/class-sp-ajax.php:640 includes/class-sp-ajax.php:713
3700
  #: includes/widgets/class-sp-widget-league-table.php:96
3701
+ #: includes/widgets/class-sp-widget-team-gallery.php:97
3702
  msgid "Number of teams to show:"
3703
  msgstr ""
3704
 
3705
+ #: includes/class-sp-ajax.php:666
3706
  #: includes/widgets/class-sp-widget-league-table.php:120
3707
+ #: modules/sportspress-calendars.php:256 modules/sportspress-calendars.php:325
3708
+ #: modules/sportspress-countdowns.php:86
3709
+ #: modules/sportspress-league-tables.php:247
3710
+ #: modules/sportspress-officials.php:362
3711
  msgid "Display logos"
3712
  msgstr ""
3713
 
3714
+ #: includes/class-sp-ajax.php:672 includes/class-sp-ajax.php:736
3715
  #: includes/widgets/class-sp-widget-league-table.php:123
3716
  msgid "Display link to view full table"
3717
  msgstr ""
3718
 
3719
+ #: includes/class-sp-ajax.php:725
3720
+ msgid "Order by"
3721
+ msgstr ""
3722
+
3723
+ #: includes/class-sp-ajax.php:728
3724
+ #: includes/widgets/class-sp-widget-team-gallery.php:106
3725
+ msgid "Alphabetical"
3726
+ msgstr ""
3727
+
3728
+ #: includes/class-sp-ajax.php:729
3729
+ #: includes/widgets/class-sp-widget-player-gallery.php:116
3730
+ #: includes/widgets/class-sp-widget-team-gallery.php:107
3731
+ msgid "Random"
3732
+ msgstr ""
3733
+
3734
+ #: includes/class-sp-ajax.php:837 includes/class-sp-ajax.php:937
3735
  #: includes/widgets/class-sp-widget-player-gallery.php:100
3736
  #: includes/widgets/class-sp-widget-player-list.php:100
3737
  msgid "Number of players to show:"
3738
  msgstr ""
3739
 
3740
+ #: includes/class-sp-ajax.php:856
3741
+ msgid "#"
 
 
3742
  msgstr ""
3743
 
3744
+ #: includes/class-sp-ajax.php:896 includes/class-sp-ajax.php:980
3745
  #: includes/widgets/class-sp-widget-player-gallery.php:138
3746
  #: includes/widgets/class-sp-widget-player-list.php:163
3747
  msgid "Display link to view all players"
3759
  msgid "Europe"
3760
  msgstr ""
3761
 
3762
+ #: includes/class-sp-countries.php:195
3763
  msgid "North America"
3764
  msgstr ""
3765
 
3766
+ #: includes/class-sp-countries.php:230
3767
  msgid "Oceania"
3768
  msgstr ""
3769
 
3770
+ #: includes/class-sp-countries.php:253
3771
  msgid "South America"
3772
  msgstr ""
3773
 
3774
+ #: includes/class-sp-countries.php:271
3775
  msgid "Afghanistan"
3776
  msgstr ""
3777
 
3778
+ #: includes/class-sp-countries.php:272
3779
  msgid "Anguilla"
3780
  msgstr ""
3781
 
3782
+ #: includes/class-sp-countries.php:273
3783
  msgid "Albania"
3784
  msgstr ""
3785
 
3786
+ #: includes/class-sp-countries.php:274
3787
  msgid "Algeria"
3788
  msgstr ""
3789
 
3790
+ #: includes/class-sp-countries.php:275
3791
  msgid "Andorra"
3792
  msgstr ""
3793
 
3794
+ #: includes/class-sp-countries.php:276
3795
  msgid "Angola"
3796
  msgstr ""
3797
 
3798
+ #: includes/class-sp-countries.php:277
3799
  msgid "Argentina"
3800
  msgstr ""
3801
 
3802
+ #: includes/class-sp-countries.php:278
3803
  msgid "Armenia"
3804
  msgstr ""
3805
 
3806
+ #: includes/class-sp-countries.php:279
3807
  msgid "Aruba"
3808
  msgstr ""
3809
 
3810
+ #: includes/class-sp-countries.php:280
3811
  msgid "American Samoa"
3812
  msgstr ""
3813
 
3814
+ #: includes/class-sp-countries.php:281
3815
  msgid "Antigua and Barbuda"
3816
  msgstr ""
3817
 
3818
+ #: includes/class-sp-countries.php:282
3819
  msgid "Australia"
3820
  msgstr ""
3821
 
3822
+ #: includes/class-sp-countries.php:283
3823
  msgid "Austria"
3824
  msgstr ""
3825
 
3826
+ #: includes/class-sp-countries.php:284
3827
  msgid "Azerbaijan"
3828
  msgstr ""
3829
 
3830
+ #: includes/class-sp-countries.php:285
3831
  msgid "Bahamas"
3832
  msgstr ""
3833
 
3834
+ #: includes/class-sp-countries.php:286
3835
  msgid "Bangladesh"
3836
  msgstr ""
3837
 
3838
+ #: includes/class-sp-countries.php:287
3839
  msgid "Burundi"
3840
  msgstr ""
3841
 
3842
+ #: includes/class-sp-countries.php:288
3843
  msgid "Belgium"
3844
  msgstr ""
3845
 
3846
+ #: includes/class-sp-countries.php:289
3847
  msgid "Benin"
3848
  msgstr ""
3849
 
3850
+ #: includes/class-sp-countries.php:290
3851
  msgid "Bermuda"
3852
  msgstr ""
3853
 
3854
+ #: includes/class-sp-countries.php:291
3855
  msgid "Burkina Faso"
3856
  msgstr ""
3857
 
3858
+ #: includes/class-sp-countries.php:292
3859
  msgid "Bahrain"
3860
  msgstr ""
3861
 
3862
+ #: includes/class-sp-countries.php:293
3863
  msgid "Bhutan"
3864
  msgstr ""
3865
 
3866
+ #: includes/class-sp-countries.php:294
3867
  msgid "Bosnia and Herzegovina"
3868
  msgstr ""
3869
 
3870
+ #: includes/class-sp-countries.php:295
3871
  msgid "Belarus"
3872
  msgstr ""
3873
 
3874
+ #: includes/class-sp-countries.php:296
3875
  msgid "Belize"
3876
  msgstr ""
3877
 
3878
+ #: includes/class-sp-countries.php:297
3879
  msgid "Bolivia"
3880
  msgstr ""
3881
 
3882
+ #: includes/class-sp-countries.php:298
3883
  msgid "Botswana"
3884
  msgstr ""
3885
 
3886
+ #: includes/class-sp-countries.php:299
3887
  msgid "Brazil"
3888
  msgstr ""
3889
 
3890
+ #: includes/class-sp-countries.php:300
3891
  msgid "Barbados"
3892
  msgstr ""
3893
 
3894
+ #: includes/class-sp-countries.php:301
3895
  msgid "Brunei"
3896
  msgstr ""
3897
 
3898
+ #: includes/class-sp-countries.php:302
3899
  msgid "Bulgaria"
3900
  msgstr ""
3901
 
3902
+ #: includes/class-sp-countries.php:303
3903
  msgid "Cambodia"
3904
  msgstr ""
3905
 
3906
+ #: includes/class-sp-countries.php:304
3907
  msgid "Canada"
3908
  msgstr ""
3909
 
3910
+ #: includes/class-sp-countries.php:305
3911
  msgid "Cayman Islands"
3912
  msgstr ""
3913
 
3914
+ #: includes/class-sp-countries.php:306
3915
  msgid "Republic of the Congo"
3916
  msgstr ""
3917
 
3918
+ #: includes/class-sp-countries.php:307
3919
  msgid "Chad"
3920
  msgstr ""
3921
 
3922
+ #: includes/class-sp-countries.php:308
3923
  msgid "Chile"
3924
  msgstr ""
3925
 
3926
+ #: includes/class-sp-countries.php:309
3927
  msgid "China"
3928
  msgstr ""
3929
 
3930
+ #: includes/class-sp-countries.php:310
3931
  msgid "Ivory Coast"
3932
  msgstr ""
3933
 
3934
+ #: includes/class-sp-countries.php:311
3935
  msgid "Cameroon"
3936
  msgstr ""
3937
 
3938
+ #: includes/class-sp-countries.php:312
3939
  msgid "Democratic Republic of the Congo"
3940
  msgstr ""
3941
 
3942
+ #: includes/class-sp-countries.php:313
3943
  msgid "Cook Islands"
3944
  msgstr ""
3945
 
3946
+ #: includes/class-sp-countries.php:314
3947
  msgid "Colombia"
3948
  msgstr ""
3949
 
3950
+ #: includes/class-sp-countries.php:315
3951
  msgid "Comoros"
3952
  msgstr ""
3953
 
3954
+ #: includes/class-sp-countries.php:316
3955
  msgid "Cape Verde"
3956
  msgstr ""
3957
 
3958
+ #: includes/class-sp-countries.php:317
3959
  msgid "Costa Rica"
3960
  msgstr ""
3961
 
3962
+ #: includes/class-sp-countries.php:318
3963
  msgid "Croatia"
3964
  msgstr ""
3965
 
3966
+ #: includes/class-sp-countries.php:319
3967
  msgid "Central African Republic"
3968
  msgstr ""
3969
 
3970
+ #: includes/class-sp-countries.php:320
3971
  msgid "Cuba"
3972
  msgstr ""
3973
 
3974
+ #: includes/class-sp-countries.php:321
3975
  msgid "Curacao"
3976
  msgstr ""
3977
 
3978
+ #: includes/class-sp-countries.php:322
3979
  msgid "Cyprus"
3980
  msgstr ""
3981
 
3982
+ #: includes/class-sp-countries.php:323
3983
  msgid "Czech Republic"
3984
  msgstr ""
3985
 
3986
+ #: includes/class-sp-countries.php:324
3987
  msgid "Denmark"
3988
  msgstr ""
3989
 
3990
+ #: includes/class-sp-countries.php:325
3991
  msgid "Djibouti"
3992
  msgstr ""
3993
 
3994
+ #: includes/class-sp-countries.php:326
3995
  msgid "Dominica"
3996
  msgstr ""
3997
 
3998
+ #: includes/class-sp-countries.php:327
3999
  msgid "Dominican Republic"
4000
  msgstr ""
4001
 
4002
+ #: includes/class-sp-countries.php:328
4003
  msgid "Ecuador"
4004
  msgstr ""
4005
 
4006
+ #: includes/class-sp-countries.php:329
4007
  msgid "Egypt"
4008
  msgstr ""
4009
 
4010
+ #: includes/class-sp-countries.php:330
4011
  msgid "England"
4012
  msgstr ""
4013
 
4014
+ #: includes/class-sp-countries.php:331
4015
  msgid "Equatorial Guinea"
4016
  msgstr ""
4017
 
4018
+ #: includes/class-sp-countries.php:332
4019
  msgid "Eritrea"
4020
  msgstr ""
4021
 
4022
+ #: includes/class-sp-countries.php:333
4023
  msgid "Western Sahara"
4024
  msgstr ""
4025
 
4026
+ #: includes/class-sp-countries.php:334
4027
  msgid "Spain"
4028
  msgstr ""
4029
 
4030
+ #: includes/class-sp-countries.php:335
4031
  msgid "Estonia"
4032
  msgstr ""
4033
 
4034
+ #: includes/class-sp-countries.php:336
4035
  msgid "Ethiopia"
4036
  msgstr ""
4037
 
4038
+ #: includes/class-sp-countries.php:337
4039
  msgid "Fiji"
4040
  msgstr ""
4041
 
4042
+ #: includes/class-sp-countries.php:338
4043
  msgid "Finland"
4044
  msgstr ""
4045
 
4046
+ #: includes/class-sp-countries.php:339
4047
  msgid "France"
4048
  msgstr ""
4049
 
4050
+ #: includes/class-sp-countries.php:340
4051
  msgid "Faroe Islands"
4052
  msgstr ""
4053
 
4054
+ #: includes/class-sp-countries.php:341
4055
  msgid "Micronesia"
4056
  msgstr ""
4057
 
4058
+ #: includes/class-sp-countries.php:342
4059
  msgid "Gabon"
4060
  msgstr ""
4061
 
4062
+ #: includes/class-sp-countries.php:343
4063
  msgid "Gambia"
4064
  msgstr ""
4065
 
4066
+ #: includes/class-sp-countries.php:344
4067
  msgid "United Kingdom"
4068
  msgstr ""
4069
 
4070
+ #: includes/class-sp-countries.php:345
4071
  msgid "Georgia"
4072
  msgstr ""
4073
 
4074
+ #: includes/class-sp-countries.php:346
4075
  msgid "Germany"
4076
  msgstr ""
4077
 
4078
+ #: includes/class-sp-countries.php:347
4079
  msgid "Ghana"
4080
  msgstr ""
4081
 
4082
+ #: includes/class-sp-countries.php:348
4083
+ msgid "Gibraltar"
4084
+ msgstr ""
4085
+
4086
+ #: includes/class-sp-countries.php:349
4087
  msgid "Guinea-Bissau"
4088
  msgstr ""
4089
 
4090
+ #: includes/class-sp-countries.php:350
4091
  msgid "Greece"
4092
  msgstr ""
4093
 
4094
+ #: includes/class-sp-countries.php:351
4095
  msgid "Grenada"
4096
  msgstr ""
4097
 
4098
+ #: includes/class-sp-countries.php:352
4099
  msgid "Guatemala"
4100
  msgstr ""
4101
 
4102
+ #: includes/class-sp-countries.php:353
4103
  msgid "Guinea"
4104
  msgstr ""
4105
 
4106
+ #: includes/class-sp-countries.php:354
4107
  msgid "Guam"
4108
  msgstr ""
4109
 
4110
+ #: includes/class-sp-countries.php:355
4111
  msgid "Guyana"
4112
  msgstr ""
4113
 
4114
+ #: includes/class-sp-countries.php:356
4115
  msgid "Haiti"
4116
  msgstr ""
4117
 
4118
+ #: includes/class-sp-countries.php:357
4119
  msgid "Hong Kong"
4120
  msgstr ""
4121
 
4122
+ #: includes/class-sp-countries.php:358
4123
  msgid "Honduras"
4124
  msgstr ""
4125
 
4126
+ #: includes/class-sp-countries.php:359
4127
  msgid "Hungary"
4128
  msgstr ""
4129
 
4130
+ #: includes/class-sp-countries.php:360
4131
  msgid "Indonesia"
4132
  msgstr ""
4133
 
4134
+ #: includes/class-sp-countries.php:361
4135
  msgid "India"
4136
  msgstr ""
4137
 
4138
+ #: includes/class-sp-countries.php:362
4139
  msgid "Ireland"
4140
  msgstr ""
4141
 
4142
+ #: includes/class-sp-countries.php:363
4143
  msgid "Iran"
4144
  msgstr ""
4145
 
4146
+ #: includes/class-sp-countries.php:364
4147
  msgid "Iraq"
4148
  msgstr ""
4149
 
4150
+ #: includes/class-sp-countries.php:365
4151
  msgid "Iceland"
4152
  msgstr ""
4153
 
4154
+ #: includes/class-sp-countries.php:366
4155
  msgid "Israel"
4156
  msgstr ""
4157
 
4158
+ #: includes/class-sp-countries.php:367
4159
  msgid "Italy"
4160
  msgstr ""
4161
 
4162
+ #: includes/class-sp-countries.php:368
4163
  msgid "Jamaica"
4164
  msgstr ""
4165
 
4166
+ #: includes/class-sp-countries.php:369
4167
  msgid "Jordan"
4168
  msgstr ""
4169
 
4170
+ #: includes/class-sp-countries.php:370
4171
  msgid "Japan"
4172
  msgstr ""
4173
 
4174
+ #: includes/class-sp-countries.php:371
4175
  msgid "Kazakhstan"
4176
  msgstr ""
4177
 
4178
+ #: includes/class-sp-countries.php:372
4179
  msgid "Kenya"
4180
  msgstr ""
4181
 
4182
+ #: includes/class-sp-countries.php:373
4183
  msgid "Kosovo"
4184
  msgstr ""
4185
 
4186
+ #: includes/class-sp-countries.php:374
4187
  msgid "Kyrgyzstan"
4188
  msgstr ""
4189
 
4190
+ #: includes/class-sp-countries.php:375
4191
  msgid "Kiribati"
4192
  msgstr ""
4193
 
4194
+ #: includes/class-sp-countries.php:376
4195
  msgid "South Korea"
4196
  msgstr ""
4197
 
4198
+ #: includes/class-sp-countries.php:377
4199
  msgid "Saudi Arabia"
4200
  msgstr ""
4201
 
4202
+ #: includes/class-sp-countries.php:378
4203
  msgid "Kuwait"
4204
  msgstr ""
4205
 
4206
+ #: includes/class-sp-countries.php:379
4207
  msgid "Laos"
4208
  msgstr ""
4209
 
4210
+ #: includes/class-sp-countries.php:380
4211
  msgid "Liberia"
4212
  msgstr ""
4213
 
4214
+ #: includes/class-sp-countries.php:381
4215
  msgid "Libya"
4216
  msgstr ""
4217
 
4218
+ #: includes/class-sp-countries.php:382
4219
  msgid "Saint Lucia"
4220
  msgstr ""
4221
 
4222
+ #: includes/class-sp-countries.php:383
4223
  msgid "Lesotho"
4224
  msgstr ""
4225
 
4226
+ #: includes/class-sp-countries.php:384
4227
  msgid "Lebanon"
4228
  msgstr ""
4229
 
4230
+ #: includes/class-sp-countries.php:385
4231
  msgid "Liechtenstein"
4232
  msgstr ""
4233
 
4234
+ #: includes/class-sp-countries.php:386
4235
  msgid "Lithuania"
4236
  msgstr ""
4237
 
4238
+ #: includes/class-sp-countries.php:387
4239
  msgid "Luxembourg"
4240
  msgstr ""
4241
 
4242
+ #: includes/class-sp-countries.php:388
4243
  msgid "Latvia"
4244
  msgstr ""
4245
 
4246
+ #: includes/class-sp-countries.php:389
4247
  msgid "Macau"
4248
  msgstr ""
4249
 
4250
+ #: includes/class-sp-countries.php:390
4251
  msgid "Madagascar"
4252
  msgstr ""
4253
 
4254
+ #: includes/class-sp-countries.php:391
4255
  msgid "Morocco"
4256
  msgstr ""
4257
 
4258
+ #: includes/class-sp-countries.php:392
4259
  msgid "Malaysia"
4260
  msgstr ""
4261
 
4262
+ #: includes/class-sp-countries.php:393
4263
  msgid "Monaco"
4264
  msgstr ""
4265
 
4266
+ #: includes/class-sp-countries.php:394
4267
  msgid "Moldova"
4268
  msgstr ""
4269
 
4270
+ #: includes/class-sp-countries.php:395
4271
  msgid "Maldives"
4272
  msgstr ""
4273
 
4274
+ #: includes/class-sp-countries.php:396
4275
  msgid "Mexico"
4276
  msgstr ""
4277
 
4278
+ #: includes/class-sp-countries.php:397
4279
  msgid "Marshall Islands"
4280
  msgstr ""
4281
 
4282
+ #: includes/class-sp-countries.php:398
4283
  msgid "Macedonia"
4284
  msgstr ""
4285
 
4286
+ #: includes/class-sp-countries.php:399
4287
  msgid "Mali"
4288
  msgstr ""
4289
 
4290
+ #: includes/class-sp-countries.php:400
4291
  msgid "Malta"
4292
  msgstr ""
4293
 
4294
+ #: includes/class-sp-countries.php:401
4295
  msgid "Montenegro"
4296
  msgstr ""
4297
 
4298
+ #: includes/class-sp-countries.php:402
4299
  msgid "Mongolia"
4300
  msgstr ""
4301
 
4302
+ #: includes/class-sp-countries.php:403
4303
  msgid "Mozambique"
4304
  msgstr ""
4305
 
4306
+ #: includes/class-sp-countries.php:404
4307
  msgid "Mauritius"
4308
  msgstr ""
4309
 
4310
+ #: includes/class-sp-countries.php:405
4311
  msgid "Montserrat"
4312
  msgstr ""
4313
 
4314
+ #: includes/class-sp-countries.php:406
4315
  msgid "Mauritania"
4316
  msgstr ""
4317
 
4318
+ #: includes/class-sp-countries.php:407
4319
  msgid "Malawi"
4320
  msgstr ""
4321
 
4322
+ #: includes/class-sp-countries.php:408
4323
  msgid "Burma"
4324
  msgstr ""
4325
 
4326
+ #: includes/class-sp-countries.php:409
4327
  msgid "Namibia"
4328
  msgstr ""
4329
 
4330
+ #: includes/class-sp-countries.php:410
4331
  msgid "Nicaragua"
4332
  msgstr ""
4333
 
4334
+ #: includes/class-sp-countries.php:411
4335
  msgid "New Caledonia"
4336
  msgstr ""
4337
 
4338
+ #: includes/class-sp-countries.php:412
4339
  msgid "Netherlands"
4340
  msgstr ""
4341
 
4342
+ #: includes/class-sp-countries.php:413
4343
  msgid "Nepal"
4344
  msgstr ""
4345
 
4346
+ #: includes/class-sp-countries.php:414
4347
  msgid "Nigeria"
4348
  msgstr ""
4349
 
4350
+ #: includes/class-sp-countries.php:415
4351
  msgid "Niger"
4352
  msgstr ""
4353
 
4354
+ #: includes/class-sp-countries.php:416
4355
  msgid "Northern Ireland"
4356
  msgstr ""
4357
 
4358
+ #: includes/class-sp-countries.php:417
4359
  msgid "Norway"
4360
  msgstr ""
4361
 
4362
+ #: includes/class-sp-countries.php:418
4363
  msgid "Nauru"
4364
  msgstr ""
4365
 
4366
+ #: includes/class-sp-countries.php:419
4367
  msgid "New Zealand"
4368
  msgstr ""
4369
 
4370
+ #: includes/class-sp-countries.php:420
4371
  msgid "Oman"
4372
  msgstr ""
4373
 
4374
+ #: includes/class-sp-countries.php:421
4375
  msgid "Pakistan"
4376
  msgstr ""
4377
 
4378
+ #: includes/class-sp-countries.php:422
4379
  msgid "Panama"
4380
  msgstr ""
4381
 
4382
+ #: includes/class-sp-countries.php:423
4383
  msgid "Paraguay"
4384
  msgstr ""
4385
 
4386
+ #: includes/class-sp-countries.php:424
4387
  msgid "Peru"
4388
  msgstr ""
4389
 
4390
+ #: includes/class-sp-countries.php:425
4391
  msgid "Philippines"
4392
  msgstr ""
4393
 
4394
+ #: includes/class-sp-countries.php:426
4395
  msgid "Palestine"
4396
  msgstr ""
4397
 
4398
+ #: includes/class-sp-countries.php:427
4399
  msgid "Palau"
4400
  msgstr ""
4401
 
4402
+ #: includes/class-sp-countries.php:428
4403
  msgid "Papua New Guinea"
4404
  msgstr ""
4405
 
4406
+ #: includes/class-sp-countries.php:429
4407
  msgid "Poland"
4408
  msgstr ""
4409
 
4410
+ #: includes/class-sp-countries.php:430
4411
  msgid "Portugal"
4412
  msgstr ""
4413
 
4414
+ #: includes/class-sp-countries.php:431
4415
  msgid "North Korea"
4416
  msgstr ""
4417
 
4418
+ #: includes/class-sp-countries.php:432
4419
  msgid "Puerto Rico"
4420
  msgstr ""
4421
 
4422
+ #: includes/class-sp-countries.php:433
4423
  msgid "Qatar"
4424
  msgstr ""
4425
 
4426
+ #: includes/class-sp-countries.php:434
4427
  msgid "Romania"
4428
  msgstr ""
4429
 
4430
+ #: includes/class-sp-countries.php:435
4431
  msgid "South Africa"
4432
  msgstr ""
4433
 
4434
+ #: includes/class-sp-countries.php:436
4435
  msgid "Russia"
4436
  msgstr ""
4437
 
4438
+ #: includes/class-sp-countries.php:437
4439
  msgid "Rwanda"
4440
  msgstr ""
4441
 
4442
+ #: includes/class-sp-countries.php:438
4443
  msgid "Samoa"
4444
  msgstr ""
4445
 
4446
+ #: includes/class-sp-countries.php:439
4447
  msgid "Scotland"
4448
  msgstr ""
4449
 
4450
+ #: includes/class-sp-countries.php:440
4451
  msgid "Sudan"
4452
  msgstr ""
4453
 
4454
+ #: includes/class-sp-countries.php:441
4455
  msgid "Senegal"
4456
  msgstr ""
4457
 
4458
+ #: includes/class-sp-countries.php:442
4459
  msgid "Seychelles"
4460
  msgstr ""
4461
 
4462
+ #: includes/class-sp-countries.php:443
4463
  msgid "Singapore"
4464
  msgstr ""
4465
 
4466
+ #: includes/class-sp-countries.php:444
4467
  msgid "Saint Kitts and Nevis"
4468
  msgstr ""
4469
 
4470
+ #: includes/class-sp-countries.php:445
4471
  msgid "Sierra Leone"
4472
  msgstr ""
4473
 
4474
+ #: includes/class-sp-countries.php:446
4475
  msgid "El Salvador"
4476
  msgstr ""
4477
 
4478
+ #: includes/class-sp-countries.php:447
4479
  msgid "San Marino"
4480
  msgstr ""
4481
 
4482
+ #: includes/class-sp-countries.php:448
4483
  msgid "Solomon Islands"
4484
  msgstr ""
4485
 
4486
+ #: includes/class-sp-countries.php:449
4487
  msgid "Somalia"
4488
  msgstr ""
4489
 
4490
+ #: includes/class-sp-countries.php:450
4491
  msgid "Serbia"
4492
  msgstr ""
4493
 
4494
+ #: includes/class-sp-countries.php:451
4495
  msgid "Sri Lanka"
4496
  msgstr ""
4497
 
4498
+ #: includes/class-sp-countries.php:452
4499
  msgid "South Sudan"
4500
  msgstr ""
4501
 
4502
+ #: includes/class-sp-countries.php:453
4503
  msgid "Sao Tome and Principe"
4504
  msgstr ""
4505
 
4506
+ #: includes/class-sp-countries.php:454
4507
  msgid "Switzerland"
4508
  msgstr ""
4509
 
4510
+ #: includes/class-sp-countries.php:455
4511
  msgid "Suriname"
4512
  msgstr ""
4513
 
4514
+ #: includes/class-sp-countries.php:456
4515
  msgid "Slovakia"
4516
  msgstr ""
4517
 
4518
+ #: includes/class-sp-countries.php:457
4519
  msgid "Slovenia"
4520
  msgstr ""
4521
 
4522
+ #: includes/class-sp-countries.php:458
4523
  msgid "Sweden"
4524
  msgstr ""
4525
 
4526
+ #: includes/class-sp-countries.php:459
4527
  msgid "Swaziland"
4528
  msgstr ""
4529
 
4530
+ #: includes/class-sp-countries.php:460
4531
  msgid "Syria"
4532
  msgstr ""
4533
 
4534
+ #: includes/class-sp-countries.php:461
4535
  msgid "Tahiti"
4536
  msgstr ""
4537
 
4538
+ #: includes/class-sp-countries.php:462
4539
  msgid "Tanzania"
4540
  msgstr ""
4541
 
4542
+ #: includes/class-sp-countries.php:463
4543
  msgid "Turks and Caicos Islands"
4544
  msgstr ""
4545
 
4546
+ #: includes/class-sp-countries.php:464
4547
  msgid "Tonga"
4548
  msgstr ""
4549
 
4550
+ #: includes/class-sp-countries.php:465
4551
  msgid "Thailand"
4552
  msgstr ""
4553
 
4554
+ #: includes/class-sp-countries.php:466
4555
  msgid "Tajikistan"
4556
  msgstr ""
4557
 
4558
+ #: includes/class-sp-countries.php:467
4559
  msgid "Turkmenistan"
4560
  msgstr ""
4561
 
4562
+ #: includes/class-sp-countries.php:468
4563
  msgid "East Timor"
4564
  msgstr ""
4565
 
4566
+ #: includes/class-sp-countries.php:469
4567
  msgid "Togo"
4568
  msgstr ""
4569
 
4570
+ #: includes/class-sp-countries.php:470
4571
  msgid "Taiwan"
4572
  msgstr ""
4573
 
4574
+ #: includes/class-sp-countries.php:471
4575
  msgid "Trinidad and Tobago"
4576
  msgstr ""
4577
 
4578
+ #: includes/class-sp-countries.php:472
4579
  msgid "Tunisia"
4580
  msgstr ""
4581
 
4582
+ #: includes/class-sp-countries.php:473
4583
  msgid "Turkey"
4584
  msgstr ""
4585
 
4586
+ #: includes/class-sp-countries.php:474
4587
  msgid "Tuvalu"
4588
  msgstr ""
4589
 
4590
+ #: includes/class-sp-countries.php:475
4591
  msgid "United Arab Emirates"
4592
  msgstr ""
4593
 
4594
+ #: includes/class-sp-countries.php:476
4595
  msgid "Uganda"
4596
  msgstr ""
4597
 
4598
+ #: includes/class-sp-countries.php:477
4599
  msgid "Ukraine"
4600
  msgstr ""
4601
 
4602
+ #: includes/class-sp-countries.php:478
4603
  msgid "Uruguay"
4604
  msgstr ""
4605
 
4606
+ #: includes/class-sp-countries.php:479
4607
  msgid "United States"
4608
  msgstr ""
4609
 
4610
+ #: includes/class-sp-countries.php:480
4611
  msgid "Uzbekistan"
4612
  msgstr ""
4613
 
4614
+ #: includes/class-sp-countries.php:481
4615
  msgid "Vanuatu"
4616
  msgstr ""
4617
 
4618
+ #: includes/class-sp-countries.php:482
4619
  msgid "Vatican City"
4620
  msgstr ""
4621
 
4622
+ #: includes/class-sp-countries.php:483
4623
  msgid "Venezuela"
4624
  msgstr ""
4625
 
4626
+ #: includes/class-sp-countries.php:484
4627
  msgid "British Virgin Islands"
4628
  msgstr ""
4629
 
4630
+ #: includes/class-sp-countries.php:485
4631
  msgid "Vietnam"
4632
  msgstr ""
4633
 
4634
+ #: includes/class-sp-countries.php:486
4635
  msgid "Saint Vincent and the Grenadines"
4636
  msgstr ""
4637
 
4638
+ #: includes/class-sp-countries.php:487
4639
  msgid "US Virgin Islands"
4640
  msgstr ""
4641
 
4642
+ #: includes/class-sp-countries.php:488
4643
  msgid "Wales"
4644
  msgstr ""
4645
 
4646
+ #: includes/class-sp-countries.php:489
4647
  msgid "West Indies"
4648
  msgstr ""
4649
 
4650
+ #: includes/class-sp-countries.php:490
4651
  msgid "Yemen"
4652
  msgstr ""
4653
 
4654
+ #: includes/class-sp-countries.php:491
4655
  msgid "Zambia"
4656
  msgstr ""
4657
 
4658
+ #: includes/class-sp-countries.php:492
4659
  msgid "Zimbabwe"
4660
  msgstr ""
4661
 
4671
  msgid "Google"
4672
  msgstr ""
4673
 
4674
+ #: includes/class-sp-formats.php:36
4675
+ msgid "Standings"
4676
  msgstr ""
4677
 
4678
+ #: includes/class-sp-frontend-scripts.php:79
4679
+ msgid "Previous"
4680
  msgstr ""
4681
 
4682
+ #: includes/class-sp-install.php:208
4683
  msgid "Event Manager"
4684
  msgstr ""
4685
 
4686
+ #: includes/class-sp-install.php:255
4687
  msgid "Team Manager"
4688
  msgstr ""
4689
 
4690
+ #: includes/class-sp-install.php:325
4691
  msgid "League Manager"
4692
  msgstr ""
4693
 
4694
+ #: includes/class-sp-install.php:580
4695
  msgid "What's new:"
4696
  msgstr ""
4697
 
4698
+ #: includes/class-sp-league-table.php:772 includes/sp-core-functions.php:1468
4699
+ #: modules/sportspress-league-tables.php:288
4700
+ #: modules/sportspress-officials.php:403 templates/league-table.php:73
4701
  msgid "Pos"
4702
  msgstr ""
4703
 
 
 
 
 
4704
  #: includes/class-sp-modules.php:33
4705
+ msgid "Scoreboard"
4706
  msgstr ""
4707
 
4708
  #: includes/class-sp-modules.php:37
4709
+ msgid "Display multiple event results in a horizontal scoreboard."
4710
  msgstr ""
4711
 
4712
  #: includes/class-sp-modules.php:40
4713
+ msgid "User Scores"
4714
  msgstr ""
4715
 
4716
  #: includes/class-sp-modules.php:44
4717
+ msgid "Let players, staff, and visitors submit event scores for review."
4718
+ msgstr ""
4719
+
4720
+ #: includes/class-sp-modules.php:47
4721
+ msgid "Match Stats"
4722
  msgstr ""
4723
 
4724
  #: includes/class-sp-modules.php:51
4725
+ msgid "Display head-to-head team comparison charts in events."
4726
  msgstr ""
4727
 
4728
  #: includes/class-sp-modules.php:54
4729
+ msgid "Timelines"
4730
  msgstr ""
4731
 
4732
  #: includes/class-sp-modules.php:58
4733
+ msgid "Display a visual timeline of player performance in events."
4734
  msgstr ""
4735
 
4736
  #: includes/class-sp-modules.php:61
4737
+ msgid "Tournaments"
4738
  msgstr ""
4739
 
4740
  #: includes/class-sp-modules.php:65
4741
+ msgid "Schedule tournaments and create interactive playoff brackets."
 
 
 
 
4742
  msgstr ""
4743
 
4744
+ #: includes/class-sp-modules.php:75
4745
+ msgid "League Menu"
4746
  msgstr ""
4747
 
4748
  #: includes/class-sp-modules.php:79
4749
+ msgid "Add a global navigation bar to display logos that link to each team."
4750
  msgstr ""
4751
 
4752
  #: includes/class-sp-modules.php:82
4753
+ msgid "Team Colors"
 
4754
  msgstr ""
4755
 
4756
  #: includes/class-sp-modules.php:86
4757
+ msgid "Create a custom color palette for each team."
4758
  msgstr ""
4759
 
4760
  #: includes/class-sp-modules.php:89
4761
+ msgid "Team Access"
4762
  msgstr ""
4763
 
4764
  #: includes/class-sp-modules.php:93
4765
+ msgid "Limit user access to data that is related to their team."
4766
+ msgstr ""
4767
+
4768
+ #: includes/class-sp-modules.php:103
4769
+ msgid "Directories"
4770
+ msgstr ""
4771
+
4772
+ #: includes/class-sp-modules.php:107
4773
  msgid "Organize and display staff in list and gallery layouts."
4774
  msgstr ""
4775
 
4776
+ #: includes/class-sp-modules.php:112
4777
+ msgid "Manage referees, umpires, judges, timekeepers, and other officials."
4778
+ msgstr ""
4779
+
4780
+ #: includes/class-sp-modules.php:118 modules/sportspress-tutorials.php:133
4781
+ #: modules/sportspress-tutorials.php:135 modules/sportspress-tutorials.php:144
4782
  msgid "Tutorials"
4783
  msgstr ""
4784
 
4785
+ #: includes/class-sp-modules.php:120
4786
  msgid "Display a dashboard page with SportsPress video tutorials."
4787
  msgstr ""
4788
 
4789
+ #: includes/class-sp-modules.php:123
4790
  msgid "Branding"
4791
  msgstr ""
4792
 
4793
+ #: includes/class-sp-modules.php:127
4794
  msgid "Instantly rebrand the dashboard with your own logo and colors."
4795
  msgstr ""
4796
 
4797
+ #: includes/class-sp-modules.php:130
4798
  msgid "Duplicator"
4799
  msgstr ""
4800
 
4801
+ #: includes/class-sp-modules.php:134
4802
  msgid "Clone anything with just one click. Great for creating multiple events."
4803
  msgstr ""
4804
 
4805
+ #: includes/class-sp-modules.php:143
4806
+ msgid "Add a Twitter feed to team, player, and staff pages."
 
 
 
 
 
 
4807
  msgstr ""
4808
 
4809
+ #: includes/class-sp-modules.php:151
4810
+ msgid "Add a Facebook Page widget to embed and promote each team."
4811
  msgstr ""
4812
 
4813
+ #: includes/class-sp-modules.php:155
4814
  msgid "Sponsors"
4815
  msgstr ""
4816
 
4817
+ #: includes/class-sp-modules.php:159
4818
  msgid "Attract sponsors by offering them advertising space on your website."
4819
  msgstr ""
4820
 
4821
+ #: includes/class-sp-modules.php:174
4822
+ msgid "BuddyPress"
4823
+ msgstr ""
4824
+
4825
+ #: includes/class-sp-modules.php:178
4826
+ msgid "Easily display SportsPress player information in BuddyPress profiles."
4827
+ msgstr ""
4828
+
4829
+ #: includes/class-sp-modules.php:185
4830
+ msgid "WooCommerce"
4831
+ msgstr ""
4832
+
4833
+ #: includes/class-sp-modules.php:189
4834
+ msgid "Sell team merchandise by integrating WooCommerce with SportsPress."
4835
+ msgstr ""
4836
+
4837
+ #: includes/class-sp-modules.php:196
4838
+ msgid "Yoast SEO"
4839
+ msgstr ""
4840
+
4841
+ #: includes/class-sp-modules.php:200
4842
+ msgid "Generate custom titles for SportsPress pages using Yoast SEO."
4843
+ msgstr ""
4844
+
4845
+ #: includes/class-sp-modules.php:207
4846
  msgid "Multisite"
4847
  msgstr ""
4848
 
4849
+ #: includes/class-sp-modules.php:211
4850
  msgid "Manage multiple sports and display different widgets all on one site."
4851
  msgstr ""
4852
 
4853
+ #: includes/class-sp-post-types.php:42
4854
+ msgid "Edit League"
4855
  msgstr ""
4856
 
4857
+ #: includes/class-sp-post-types.php:43 includes/class-sp-post-types.php:79
4858
+ #: includes/class-sp-post-types.php:115 includes/class-sp-post-types.php:151
4859
+ #: includes/class-sp-post-types.php:187 includes/class-sp-post-types.php:235
4860
+ #: includes/class-sp-post-types.php:265 includes/class-sp-post-types.php:295
4861
+ #: includes/class-sp-post-types.php:325 includes/class-sp-post-types.php:356
4862
+ #: includes/class-sp-post-types.php:391
4863
+ #: modules/sportspress-bulk-actions.php:100
4864
+ #: modules/sportspress-officials.php:82
4865
  msgid "View"
4866
  msgstr ""
4867
 
4868
+ #: includes/class-sp-post-types.php:47 includes/class-sp-post-types.php:83
4869
+ #: includes/class-sp-post-types.php:119 includes/class-sp-post-types.php:155
4870
+ #: includes/class-sp-post-types.php:191 modules/sportspress-officials.php:86
4871
  msgid "Parent"
4872
  msgstr ""
4873
 
4874
+ #: includes/class-sp-post-types.php:48 includes/class-sp-post-types.php:84
4875
+ #: includes/class-sp-post-types.php:120 includes/class-sp-post-types.php:156
4876
+ #: includes/class-sp-post-types.php:192 modules/sportspress-officials.php:87
4877
  msgid "Parent:"
4878
  msgstr ""
4879
 
4880
+ #: includes/class-sp-post-types.php:49 includes/class-sp-post-types.php:85
4881
+ #: includes/class-sp-post-types.php:121 includes/class-sp-post-types.php:157
4882
+ #: includes/class-sp-post-types.php:193 includes/class-sp-post-types.php:236
4883
+ #: includes/class-sp-post-types.php:266 includes/class-sp-post-types.php:296
4884
+ #: includes/class-sp-post-types.php:326 includes/class-sp-post-types.php:357
4885
+ #: includes/class-sp-post-types.php:392 includes/class-sp-post-types.php:420
4886
+ #: includes/class-sp-post-types.php:457 includes/class-sp-post-types.php:494
4887
+ #: includes/class-sp-post-types.php:531 modules/sportspress-calendars.php:77
4888
+ #: modules/sportspress-league-tables.php:74
4889
+ #: modules/sportspress-officials.php:88 modules/sportspress-officials.php:126
4890
+ #: modules/sportspress-player-lists.php:74
4891
  msgid "Search"
4892
  msgstr ""
4893
 
4894
+ #: includes/class-sp-post-types.php:78
4895
  msgid "Edit Season"
4896
  msgstr ""
4897
 
4898
+ #: includes/class-sp-post-types.php:114
4899
  msgid "Edit Venue"
4900
  msgstr ""
4901
 
4902
+ #: includes/class-sp-post-types.php:150
4903
  msgid "Edit Position"
4904
  msgstr ""
4905
 
4906
+ #: includes/class-sp-post-types.php:186
4907
  msgid "Edit Job"
4908
  msgstr ""
4909
 
4910
+ #: includes/class-sp-post-types.php:231
4911
  msgid "Result"
4912
  msgstr ""
4913
 
4914
+ #: includes/class-sp-post-types.php:232
4915
  msgid "Add New Result"
4916
  msgstr ""
4917
 
4918
+ #: includes/class-sp-post-types.php:233
4919
  msgid "Edit Result"
4920
  msgstr ""
4921
 
4922
+ #: includes/class-sp-post-types.php:234 includes/class-sp-post-types.php:264
4923
+ #: includes/class-sp-post-types.php:294 includes/class-sp-post-types.php:324
4924
+ #: includes/class-sp-post-types.php:355 includes/class-sp-post-types.php:390
4925
+ #: includes/class-sp-post-types.php:418 includes/class-sp-post-types.php:455
4926
+ #: includes/class-sp-post-types.php:492 includes/class-sp-post-types.php:529
4927
+ #: modules/sportspress-calendars.php:75
4928
+ #: modules/sportspress-league-tables.php:72
4929
+ #: modules/sportspress-officials.php:124
4930
+ #: modules/sportspress-player-lists.php:72
4931
  msgid "New"
4932
  msgstr ""
4933
 
4934
+ #: includes/class-sp-post-types.php:262
4935
  msgid "Add New Outcome"
4936
  msgstr ""
4937
 
4938
+ #: includes/class-sp-post-types.php:263
4939
  msgid "Edit Outcome"
4940
  msgstr ""
4941
 
4942
+ #: includes/class-sp-post-types.php:291
4943
  msgid "Column"
4944
  msgstr ""
4945
 
4946
+ #: includes/class-sp-post-types.php:292
4947
  msgid "Add New Column"
4948
  msgstr ""
4949
 
4950
+ #: includes/class-sp-post-types.php:293
4951
  msgid "Edit Column"
4952
  msgstr ""
4953
 
4954
+ #: includes/class-sp-post-types.php:321
4955
  msgid "Metric"
4956
  msgstr ""
4957
 
4958
+ #: includes/class-sp-post-types.php:322
4959
  msgid "Add New Metric"
4960
  msgstr ""
4961
 
4962
+ #: includes/class-sp-post-types.php:323
4963
  msgid "Edit Metric"
4964
  msgstr ""
4965
 
4966
+ #: includes/class-sp-post-types.php:353
4967
  msgid "Add New Performance"
4968
  msgstr ""
4969
 
4970
+ #: includes/class-sp-post-types.php:354
4971
  msgid "Edit Performance"
4972
  msgstr ""
4973
 
4974
+ #: includes/class-sp-post-types.php:361 modules/sportspress-icons.php:170
4975
+ msgid "Select Icon"
4976
+ msgstr ""
4977
+
4978
+ #: includes/class-sp-post-types.php:362
4979
+ msgid "Remove icon"
4980
+ msgstr ""
4981
+
4982
+ #: includes/class-sp-post-types.php:363
4983
+ msgid "Add icon"
4984
+ msgstr ""
4985
+
4986
+ #: includes/class-sp-post-types.php:387
4987
  msgid "Statistic"
4988
  msgstr ""
4989
 
4990
+ #: includes/class-sp-post-types.php:388
4991
  msgid "Add New Statistic"
4992
  msgstr ""
4993
 
4994
+ #: includes/class-sp-post-types.php:389
4995
  msgid "Edit Statistic"
4996
  msgstr ""
4997
 
4998
+ #: includes/class-sp-post-types.php:416 modules/sportspress-tutorials.php:91
4999
+ msgid "Add New Event"
5000
+ msgstr ""
5001
+
5002
+ #: includes/class-sp-post-types.php:417 modules/sportspress-tutorials.php:92
5003
  msgid "Edit Event"
5004
  msgstr ""
5005
 
5006
+ #: includes/class-sp-post-types.php:453 modules/sportspress-tutorials.php:79
5007
+ msgid "Add New Team"
5008
  msgstr ""
5009
 
5010
+ #: includes/class-sp-post-types.php:454
5011
  msgid "Edit Team"
5012
  msgstr ""
5013
 
5014
+ #: includes/class-sp-post-types.php:456
5015
  msgid "View Team"
5016
  msgstr ""
5017
 
5018
+ #: includes/class-sp-post-types.php:461 includes/class-sp-post-types.php:463
5019
+ msgid "Select Logo"
5020
+ msgstr ""
5021
+
5022
+ #: includes/class-sp-post-types.php:462
5023
+ msgid "Remove Logo"
5024
+ msgstr ""
5025
+
5026
+ #: includes/class-sp-post-types.php:490 modules/sportspress-tutorials.php:84
5027
+ msgid "Add New Player"
5028
+ msgstr ""
5029
+
5030
+ #: includes/class-sp-post-types.php:491
5031
  msgid "Edit Player"
5032
  msgstr ""
5033
 
5034
+ #: includes/class-sp-post-types.php:493
5035
  msgid "View Player"
5036
  msgstr ""
5037
 
5038
+ #: includes/class-sp-post-types.php:498 includes/class-sp-post-types.php:500
5039
+ #: includes/class-sp-post-types.php:535 includes/class-sp-post-types.php:537
5040
+ #: modules/sportspress-officials.php:130 modules/sportspress-officials.php:132
5041
+ msgid "Select Photo"
5042
+ msgstr ""
5043
+
5044
+ #: includes/class-sp-post-types.php:499 includes/class-sp-post-types.php:536
5045
+ #: modules/sportspress-officials.php:131
5046
+ msgid "Remove Photo"
5047
+ msgstr ""
5048
+
5049
+ #: includes/class-sp-post-types.php:527 modules/sportspress-tutorials.php:87
5050
  msgid "Add New Staff"
5051
  msgstr ""
5052
 
5053
+ #: includes/class-sp-post-types.php:528
5054
  msgid "Edit Staff"
5055
  msgstr ""
5056
 
5057
+ #: includes/class-sp-templates.php:35 includes/class-sp-templates.php:114
5058
+ #: includes/class-sp-templates.php:195 includes/class-sp-templates.php:263
5059
+ #: includes/sp-core-functions.php:1453
5060
+ msgid "Excerpt"
5061
  msgstr ""
5062
 
5063
+ #: includes/class-sp-templates.php:53 includes/sp-core-functions.php:1486
5064
+ #: modules/sportspress-event-videos.php:56 templates/event-video.php:19
5065
+ msgid "Video"
5066
  msgstr ""
5067
 
5068
+ #: includes/class-sp-templates.php:123 includes/class-sp-templates.php:204
5069
+ #: includes/class-sp-templates.php:272 includes/sp-core-functions.php:1472
5070
+ msgid "Profile"
5071
  msgstr ""
5072
 
5073
+ #: includes/class-sp-templates.php:176 includes/class-sp-templates.php:244
5074
+ msgid "Dropdown"
5075
  msgstr ""
5076
 
5077
+ #: includes/sp-core-functions.php:587
5078
+ msgid "Published"
5079
  msgstr ""
5080
 
5081
+ #: includes/sp-core-functions.php:588
5082
+ msgid "Scheduled"
 
 
5083
  msgstr ""
5084
 
5085
+ #: includes/sp-core-functions.php:618
5086
+ msgid "Yesterday"
 
 
 
5087
  msgstr ""
5088
 
5089
+ #: includes/sp-core-functions.php:620
5090
+ msgid "Tomorrow"
5091
  msgstr ""
5092
 
5093
+ #: includes/sp-core-functions.php:621
5094
+ msgid "Last week"
 
5095
  msgstr ""
5096
 
5097
+ #: includes/sp-core-functions.php:623
5098
+ msgid "Next week"
 
5099
  msgstr ""
5100
 
5101
+ #: includes/sp-core-functions.php:624
5102
+ msgid "Date range:"
 
5103
  msgstr ""
5104
 
5105
+ #: includes/sp-core-functions.php:899 includes/sp-core-functions.php:1068
5106
+ msgid "(no title)"
5107
  msgstr ""
5108
 
5109
+ #: includes/sp-core-functions.php:918 includes/sp-core-functions.php:1002
5110
+ #: modules/sportspress-lazy-loading.php:194
5111
+ #: modules/sportspress-lazy-loading.php:231
5112
+ msgid "Select All"
5113
  msgstr ""
5114
 
5115
+ #: includes/sp-core-functions.php:983 includes/sp-core-functions.php:986
5116
+ #: modules/sportspress-lazy-loading.php:215
5117
+ #: modules/sportspress-lazy-loading.php:218
5118
+ #: modules/sportspress-lazy-loading.php:232
5119
+ msgid "Show all"
5120
  msgstr ""
5121
 
5122
+ #: includes/sp-core-functions.php:1445 modules/sportspress-event-status.php:67
5123
+ msgid "Canceled"
5124
  msgstr ""
5125
 
5126
+ #: includes/sp-core-functions.php:1454 templates/event-fixtures-results.php:51
5127
+ msgid "Fixtures"
5128
  msgstr ""
5129
 
5130
+ #: includes/sp-core-functions.php:1470 modules/sportspress-event-status.php:66
5131
+ msgid "Postponed"
5132
  msgstr ""
5133
 
5134
+ #: includes/sp-core-functions.php:1479 modules/sportspress-event-status.php:65
5135
+ msgid "TBD"
5136
  msgstr ""
5137
 
5138
+ #: includes/sp-core-functions.php:1487 templates/event-blocks.php:176
5139
+ #: templates/event-calendar.php:253 templates/event-list.php:432
5140
+ msgid "View all events"
5141
  msgstr ""
5142
 
5143
+ #: includes/sp-core-functions.php:1488 templates/player-gallery.php:191
5144
+ #: templates/player-list.php:232
5145
+ msgid "View all players"
5146
  msgstr ""
5147
 
5148
+ #: includes/sp-core-functions.php:1489 templates/league-table.php:173
5149
+ msgid "View full table"
5150
  msgstr ""
5151
 
5152
+ #: includes/sp-core-functions.php:1505
5153
+ msgid "Love SportsPress? Help spread the word by rating us 5★ on WordPress.org"
5154
  msgstr ""
5155
 
5156
+ #: includes/sp-template-hooks.php:69
5157
+ msgid ""
5158
+ "The description is not prominent by default; however, some themes may show "
5159
+ "it."
5160
  msgstr ""
5161
 
5162
+ #: includes/sp-template-hooks.php:80
5163
+ msgid "User"
5164
  msgstr ""
5165
 
5166
+ #: includes/sp-template-hooks.php:88
5167
  msgid "Date/Time:"
5168
  msgstr ""
5169
 
5170
+ #: includes/sp-template-hooks.php:88
5171
  msgid "Now"
5172
  msgstr ""
5173
 
5175
  msgid "Display players and staff on their birthday."
5176
  msgstr ""
5177
 
5178
+ #: includes/widgets/class-sp-widget-birthdays.php:6
5179
+ msgid "Birthdays"
5180
+ msgstr ""
5181
+
5182
  #: includes/widgets/class-sp-widget-birthdays.php:49
5183
  msgid "This month"
5184
  msgstr ""
5192
  msgstr ""
5193
 
5194
  #: includes/widgets/class-sp-widget-countdown.php:66
5195
+ #: includes/widgets/class-sp-widget-event-blocks.php:96
5196
+ #: includes/widgets/class-sp-widget-event-list.php:101
5197
  #: includes/widgets/class-sp-widget-league-table.php:76
5198
  #: includes/widgets/class-sp-widget-player-gallery.php:81
5199
  #: includes/widgets/class-sp-widget-player-list.php:81
5200
+ #: includes/widgets/class-sp-widget-team-gallery.php:78
5201
  msgid "Heading:"
5202
  msgstr ""
5203
 
5207
  msgstr ""
5208
 
5209
  #: includes/widgets/class-sp-widget-event-blocks.php:6
5210
+ #: modules/sportspress-calendars.php:311
5211
  msgid "Event Blocks"
5212
  msgstr ""
5213
 
5220
  msgstr ""
5221
 
5222
  #: includes/widgets/class-sp-widget-event-list.php:6
5223
+ #: modules/sportspress-calendars.php:242
5224
  msgid "Event List"
5225
  msgstr ""
5226
 
5240
  msgid "Player Gallery"
5241
  msgstr ""
5242
 
 
 
 
 
5243
  #: includes/widgets/class-sp-widget-player-list.php:5
5244
  msgid "Display a list of players."
5245
  msgstr ""
5252
  msgid "Display a single staff member."
5253
  msgstr ""
5254
 
5255
+ #: includes/widgets/class-sp-widget-team-gallery.php:5
5256
+ msgid "Display a gallery of teams."
5257
+ msgstr ""
5258
+
5259
+ #: includes/widgets/class-sp-widget-team-gallery.php:6
5260
+ msgid "Team Gallery"
5261
+ msgstr ""
5262
+
5263
+ #: includes/widgets/class-sp-widget-team-gallery.php:111
5264
+ msgid "Display link to view all teams"
5265
+ msgstr ""
5266
+
5267
+ #: modules/sportspress-birthdays.php:69
5268
  #, php-format
5269
  msgid "Birthday: <b>%1$s</b>"
5270
  msgstr ""
5271
 
5272
+ #: modules/sportspress-birthdays.php:71 modules/sportspress-birthdays.php:90
5273
+ #: modules/sportspress-birthdays.php:102 modules/sportspress-birthdays.php:130
5274
+ #: modules/sportspress-birthdays.php:157 modules/sportspress-birthdays.php:174
5275
  msgid "Birthday"
5276
  msgstr ""
5277
 
5278
+ #: modules/sportspress-birthdays.php:89 modules/sportspress-birthdays.php:161
5279
+ #: modules/sportspress-birthdays.php:178
5280
+ msgid "Age"
5281
+ msgstr ""
5282
+
5283
+ #: modules/sportspress-birthdays.php:103 modules/sportspress-birthdays.php:131
5284
  msgid "Display birthday"
5285
  msgstr ""
5286
 
5287
+ #: modules/sportspress-birthdays.php:111 modules/sportspress-birthdays.php:139
5288
  msgid "Display age"
5289
  msgstr ""
5290
 
5291
+ #: modules/sportspress-bulk-actions.php:55
5292
+ msgid "Generate Calendars"
5293
  msgstr ""
5294
 
5295
+ #: modules/sportspress-bulk-actions.php:96
5296
+ #, php-format
5297
+ msgid "Generated %s calendar."
5298
+ msgid_plural "Generated %s calendars."
5299
+ msgstr[0] ""
5300
+ msgstr[1] ""
5301
+
5302
+ #: modules/sportspress-calendars.php:73
5303
  msgid "Add New Calendar"
5304
  msgstr ""
5305
 
5306
+ #: modules/sportspress-calendars.php:74
5307
  msgid "Edit Calendar"
5308
  msgstr ""
5309
 
5310
+ #: modules/sportspress-calendars.php:76
5311
  msgid "View Calendar"
5312
  msgstr ""
5313
 
5314
+ #: modules/sportspress-calendars.php:185
5315
  msgid "Feeds"
5316
  msgstr ""
5317
 
5318
+ #: modules/sportspress-calendars.php:248 modules/sportspress-calendars.php:317
5319
  msgid "Display calendar title"
5320
  msgstr ""
5321
 
5322
+ #: modules/sportspress-calendars.php:263
5323
  msgid "Title Format"
5324
  msgstr ""
5325
 
5326
+ #: modules/sportspress-calendars.php:275
5327
  msgid "Time/Results Format"
5328
  msgstr ""
5329
 
5330
+ #: modules/sportspress-calendars.php:281
5331
  msgid "Separate"
5332
  msgstr ""
5333
 
5334
+ #: modules/sportspress-calendars.php:282
5335
  msgid "Time Only"
5336
  msgstr ""
5337
 
5338
+ #: modules/sportspress-calendars.php:283
5339
  msgid "Results Only"
5340
  msgstr ""
5341
 
5342
+ #: modules/sportspress-calendars.php:288 modules/sportspress-calendars.php:357
5343
+ #: modules/sportspress-league-tables.php:254
5344
+ #: modules/sportspress-officials.php:369
5345
+ #: modules/sportspress-player-lists.php:271
5346
  msgid "Pagination"
5347
  msgstr ""
5348
 
5349
+ #: modules/sportspress-calendars.php:289 modules/sportspress-calendars.php:358
5350
+ #: modules/sportspress-league-tables.php:255
5351
+ #: modules/sportspress-officials.php:370
5352
+ #: modules/sportspress-player-lists.php:272
5353
  msgid "Paginate"
5354
  msgstr ""
5355
 
5356
+ #: modules/sportspress-calendars.php:300 modules/sportspress-calendars.php:369
5357
+ #: modules/sportspress-league-tables.php:279
5358
+ #: modules/sportspress-officials.php:394
5359
  msgid "events"
5360
  msgstr ""
5361
 
5362
+ #: modules/sportspress-calendars.php:341
5363
  msgid "Display season"
5364
  msgstr ""
5365
 
5366
+ #: modules/sportspress-event-status.php:64
5367
+ msgid "On time"
5368
  msgstr ""
5369
 
5370
+ #: modules/sportspress-event-status.php:80
5371
+ msgid "Time:"
5372
  msgstr ""
5373
 
5374
+ #: modules/sportspress-event-status.php:81
5375
+ msgid "Edit status"
5376
+ msgstr ""
5377
+
5378
+ #: modules/sportspress-icons.php:162
5379
+ msgid "Image"
5380
  msgstr ""
5381
 
5382
+ #: modules/sportspress-lazy-loading.php:233
5383
  msgid "Loading&hellip;"
5384
  msgstr ""
5385
 
5386
+ #: modules/sportspress-league-tables.php:70
5387
  msgid "Add New League Table"
5388
  msgstr ""
5389
 
5390
+ #: modules/sportspress-league-tables.php:71
5391
  msgid "Edit League Table"
5392
  msgstr ""
5393
 
5394
+ #: modules/sportspress-league-tables.php:73
5395
  msgid "View League Table"
5396
  msgstr ""
5397
 
5398
+ #: modules/sportspress-league-tables.php:239
5399
+ #: modules/sportspress-officials.php:354
5400
+ #: modules/sportspress-player-lists.php:247
5401
  msgid "Display title"
5402
  msgstr ""
5403
 
5404
+ #: modules/sportspress-league-tables.php:289
5405
+ #: modules/sportspress-officials.php:404
5406
  msgid "Always increment"
5407
  msgstr ""
5408
 
5409
+ #: modules/sportspress-league-tables.php:296
5410
+ #: modules/sportspress-officials.php:411
5411
+ msgid "Tiebreaker"
5412
+ msgstr ""
5413
+
5414
+ #: modules/sportspress-league-tables.php:302
5415
+ #: modules/sportspress-officials.php:417
5416
+ msgid "Head to head"
5417
+ msgstr ""
5418
+
5419
+ #: modules/sportspress-officials.php:79 modules/sportspress-officials.php:353
5420
+ msgid "Duty"
5421
+ msgstr ""
5422
+
5423
+ #: modules/sportspress-officials.php:81
5424
+ msgid "Edit Duty"
5425
+ msgstr ""
5426
+
5427
+ #: modules/sportspress-officials.php:121 modules/sportspress-officials.php:186
5428
+ msgid "Official"
5429
+ msgstr ""
5430
+
5431
+ #: modules/sportspress-officials.php:122
5432
+ msgid "Add New Official"
5433
+ msgstr ""
5434
+
5435
+ #: modules/sportspress-officials.php:123
5436
+ msgid "Edit Official"
5437
+ msgstr ""
5438
+
5439
+ #: modules/sportspress-officials.php:125
5440
+ msgid "View Official"
5441
+ msgstr ""
5442
+
5443
+ #: modules/sportspress-officials.php:456
5444
+ msgid "Table"
5445
  msgstr ""
5446
 
5447
  #: modules/sportspress-overview.php:52 modules/sportspress-overview.php:62
5448
+ #: modules/sportspress-tutorials.php:119
5449
  msgid "Overview"
5450
  msgstr ""
5451
 
5452
+ #: modules/sportspress-player-lists.php:70
5453
  msgid "Add New Player List"
5454
  msgstr ""
5455
 
5456
+ #: modules/sportspress-player-lists.php:71
5457
  msgid "Edit Player List"
5458
  msgstr ""
5459
 
5460
+ #: modules/sportspress-player-lists.php:73
5461
  msgid "View Player List"
5462
  msgstr ""
5463
 
5464
+ #: modules/sportspress-player-lists.php:255
5465
  msgid "Display photos"
5466
  msgstr ""
5467
 
5468
+ #: modules/sportspress-styles.php:62
5469
+ msgid "Frontend Styles"
5470
+ msgstr ""
5471
+
5472
+ #: modules/sportspress-template-selector.php:129
5473
  msgid "Default Template"
5474
  msgstr ""
5475
 
5476
+ #: modules/sportspress-template-selector.php:133
5477
  msgid "Template"
5478
  msgstr ""
5479
 
5480
+ #: modules/sportspress-tutorials.php:72
5481
+ msgid "Get Started"
5482
+ msgstr ""
5483
+
5484
+ #: modules/sportspress-tutorials.php:73
5485
  msgid "Installation"
5486
  msgstr ""
5487
 
5488
+ #: modules/sportspress-tutorials.php:99
5489
  msgid "Permalinks"
5490
  msgstr ""
5491
 
5492
+ #: modules/sportspress-tutorials.php:115
5493
  msgid "Player Ranking"
5494
  msgstr ""
5495
 
5496
+ #: modules/sportspress-tutorials.php:118
5497
  msgid "Demo Content"
5498
  msgstr ""
5499
 
5500
+ #: modules/sportspress-tutorials.php:120
5501
  msgid "User Roles"
5502
  msgstr ""
5503
 
5504
+ #: modules/sportspress-tutorials.php:122
5505
  msgid "Page not found"
5506
  msgstr ""
5507
 
5508
+ #: modules/sportspress-tutorials.php:145
5509
  msgid "Advanced"
5510
  msgstr ""
5511
 
5512
+ #: modules/sportspress-tutorials.php:169
5513
  msgid "Pop-out"
5514
  msgstr ""
5515
 
5516
+ #: modules/sportspress-tutorials.php:207
5517
  msgid "Watch Tutorials"
5518
  msgstr ""
5519
 
5520
+ #: modules/sportspress-user-registration.php:59
5521
+ msgid "User Registration"
5522
+ msgstr ""
5523
+
5524
+ #: modules/sportspress-user-registration.php:60
5525
+ msgid "Add name fields to signup form"
5526
+ msgstr ""
5527
+
5528
+ #: modules/sportspress-user-registration.php:68
5529
+ msgid "Add a team name field to signup form"
5530
+ msgstr ""
5531
+
5532
+ #: modules/sportspress-user-registration.php:76
5533
+ msgid "Add a team selector to signup form"
5534
+ msgstr ""
5535
+
5536
+ #: modules/sportspress-user-registration.php:84
5537
+ msgid "Create player profiles for new users"
5538
+ msgstr ""
5539
+
5540
+ #: modules/sportspress-user-registration.php:104
5541
+ msgid "First Name"
5542
+ msgstr ""
5543
+
5544
+ #: modules/sportspress-user-registration.php:109
5545
+ msgid "Last Name"
5546
+ msgstr ""
5547
+
5548
  #: modules/sportspress-widget-alignment.php:107
5549
  #: modules/sportspress-widget-alignment.php:141
5550
  #, php-format
5551
  msgid "Alignment: %s"
5552
  msgstr ""
5553
 
5554
+ #: modules/sportspress-wordpay.php:86
5555
+ msgid "There are no plans associated with the Team Manager role."
5556
+ msgstr ""
5557
+
5558
+ #: modules/sportspress-wordpay.php:112
5559
+ msgid "There are no plans associated with the Player role."
5560
+ msgstr ""
5561
+
5562
+ #: modules/sportspress-wordpay.php:150
5563
+ msgid "Team Name"
5564
+ msgstr ""
5565
+
5566
+ #: modules/sportspress-wordpay.php:188
5567
+ msgid "Register Team"
5568
+ msgstr ""
5569
+
5570
+ #: modules/sportspress-wordpay.php:189
5571
+ msgid "Register Player"
5572
+ msgstr ""
5573
+
5574
+ #: modules/sportspress-wordpay.php:198
5575
+ msgid "Members"
5576
+ msgstr ""
5577
+
5578
+ #: modules/sportspress-wordpay.php:204
5579
+ msgid "For:"
5580
+ msgstr ""
5581
+
5582
+ #: sportspress.php:92 sportspress.php:101
5583
  msgid "Cheatin&#8217; huh?"
5584
  msgstr ""
5585
 
5586
+ #: templates/event-calendar.php:124 templates/event-calendar.php:152
5587
+ #: templates/event-calendar.php:160
5588
  #, php-format
5589
  msgctxt "calendar caption"
5590
  msgid "%1$s %2$s"
5591
  msgstr ""
5592
+
5593
+ #: templates/team-gallery.php:140
5594
+ msgid "View all teams"
5595
+ msgstr ""
license.txt CHANGED
@@ -1,6 +1,6 @@
1
  SportsPress
2
 
3
- Copyright 2017 by the contributors
4
 
5
  This program is free software; you can redistribute it and/or modify
6
  it under the terms of the GNU General Public License as published by
1
  SportsPress
2
 
3
+ Copyright 2018 by the contributors
4
 
5
  This program is free software; you can redistribute it and/or modify
6
  it under the terms of the GNU General Public License as published by
modules/sportspress-birthdays.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
5
  Description: Add birthdays to players and staff.
6
  Author: ThemeBoy
7
  Author URI: http://themeboy.com/
8
- Version: 2.1.4
9
  */
10
 
11
  // Exit if accessed directly
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Birthdays' ) ) :
17
  * Main SportsPress Birthdays Class
18
  *
19
  * @class SportsPress_Birthdays
20
- * @version 2.1.4
21
  */
22
  class SportsPress_Birthdays {
23
 
@@ -43,7 +43,7 @@ class SportsPress_Birthdays {
43
  */
44
  private function define_constants() {
45
  if ( !defined( 'SP_BIRTHDAYS_VERSION' ) )
46
- define( 'SP_BIRTHDAYS_VERSION', '2.1.4' );
47
 
48
  if ( !defined( 'SP_BIRTHDAYS_URL' ) )
49
  define( 'SP_BIRTHDAYS_URL', plugin_dir_url( __FILE__ ) );
@@ -60,7 +60,7 @@ class SportsPress_Birthdays {
60
 
61
  global $typenow;
62
 
63
- if ( 'default' == $domain && in_array( $typenow, array( 'sp_player', 'sp_staff' ) ) ):
64
  switch ( $untranslated_text ):
65
  case 'Scheduled for: <b>%1$s</b>':
66
  case 'Published on: <b>%1$s</b>':
5
  Description: Add birthdays to players and staff.
6
  Author: ThemeBoy
7
  Author URI: http://themeboy.com/
8
+ Version: 2.5
9
  */
10
 
11
  // Exit if accessed directly
17
  * Main SportsPress Birthdays Class
18
  *
19
  * @class SportsPress_Birthdays
20
+ * @version 2.5
21
  */
22
  class SportsPress_Birthdays {
23
 
43
  */
44
  private function define_constants() {
45
  if ( !defined( 'SP_BIRTHDAYS_VERSION' ) )
46
+ define( 'SP_BIRTHDAYS_VERSION', '2.5' );
47
 
48
  if ( !defined( 'SP_BIRTHDAYS_URL' ) )
49
  define( 'SP_BIRTHDAYS_URL', plugin_dir_url( __FILE__ ) );
60
 
61
  global $typenow;
62
 
63
+ if ( 'default' == $domain && in_array( $typenow, array( 'sp_player', 'sp_staff', 'sp_official' ) ) ):
64
  switch ( $untranslated_text ):
65
  case 'Scheduled for: <b>%1$s</b>':
66
  case 'Published on: <b>%1$s</b>':
modules/sportspress-calendars.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
5
  Description: Add event calendars to SportsPress.
6
  Author: ThemeBoy
7
  Author URI: http://themeboy.com/
8
- Version: 2.2
9
  */
10
 
11
  // Exit if accessed directly
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Calendars' ) ) :
17
  * Main SportsPress Calendars Class
18
  *
19
  * @class SportsPress_Calendars
20
- * @version 2.2
21
  */
22
  class SportsPress_Calendars {
23
 
@@ -51,7 +51,7 @@ class SportsPress_Calendars {
51
  */
52
  private function define_constants() {
53
  if ( !defined( 'SP_CALENDARS_VERSION' ) )
54
- define( 'SP_CALENDARS_VERSION', '2.2' );
55
 
56
  if ( !defined( 'SP_CALENDARS_URL' ) )
57
  define( 'SP_CALENDARS_URL', plugin_dir_url( __FILE__ ) );
@@ -330,7 +330,7 @@ class SportsPress_Calendars {
330
 
331
  array(
332
  'title' => __( 'Details', 'sportspress' ),
333
- 'desc' => __( 'Display competition', 'sportspress' ),
334
  'id' => 'sportspress_event_blocks_show_league',
335
  'default' => 'no',
336
  'type' => 'checkbox',
5
  Description: Add event calendars to SportsPress.
6
  Author: ThemeBoy
7
  Author URI: http://themeboy.com/
8
+ Version: 2.5
9
  */
10
 
11
  // Exit if accessed directly
17
  * Main SportsPress Calendars Class
18
  *
19
  * @class SportsPress_Calendars
20
+ * @version 2.5
21
  */
22
  class SportsPress_Calendars {
23
 
51
  */
52
  private function define_constants() {
53
  if ( !defined( 'SP_CALENDARS_VERSION' ) )
54
+ define( 'SP_CALENDARS_VERSION', '2.5' );
55
 
56
  if ( !defined( 'SP_CALENDARS_URL' ) )
57
  define( 'SP_CALENDARS_URL', plugin_dir_url( __FILE__ ) );
330
 
331
  array(
332
  'title' => __( 'Details', 'sportspress' ),
333
+ 'desc' => __( 'Display league', 'sportspress' ),
334
  'id' => 'sportspress_event_blocks_show_league',
335
  'default' => 'no',
336
  'type' => 'checkbox',
modules/sportspress-icons.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
5
  Description: Add vector performance icons to SportsPress.
6
  Author: ThemeBoy
7
  Author URI: http://themeboy.com/
8
- Version: 2.2
9
  */
10
 
11
  // Exit if accessed directly
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Icons' ) ) :
17
  * Main SportsPress Icons Class
18
  *
19
  * @class SportsPress_Icons
20
- * @version 2.2
21
  */
22
  class SportsPress_Icons {
23
 
@@ -48,7 +48,7 @@ class SportsPress_Icons {
48
  */
49
  private function define_constants() {
50
  if ( !defined( 'SP_ICONS_VERSION' ) )
51
- define( 'SP_ICONS_VERSION', '2.2' );
52
 
53
  if ( !defined( 'SP_ICONS_URL' ) )
54
  define( 'SP_ICONS_URL', plugin_dir_url( __FILE__ ) );
@@ -76,11 +76,29 @@ class SportsPress_Icons {
76
  private function get_icons() {
77
  $this->icons = apply_filters( 'sportspress_icons', array(
78
  'soccerball',
 
79
  'baseball',
 
80
  'basketball',
 
81
  'cricketball',
 
 
 
 
 
 
 
82
  'shoe',
83
  'card',
 
 
 
 
 
 
 
 
84
  ) );
85
  }
86
 
@@ -127,13 +145,16 @@ class SportsPress_Icons {
127
  $post_type = get_post_type( $id );
128
  if ( 'sp_performance' !== $post_type ) return $content;
129
 
 
 
 
130
  // Enqueue scripts
131
- wp_enqueue_script( 'sp_iconpicker', SP()->plugin_url() . '/assets/js/admin/iconpicker.js', array( 'jquery', 'wp-color-picker', 'iris' ), SP_ICONS_VERSION, true );
132
 
133
  // Get selected icon
134
  $has_icon = has_post_thumbnail( $id );
135
- $selected = get_post_meta( $id, 'sp_icon', true );
136
  if ( $has_icon ) $selected = null;
 
137
 
138
  // Generate icon selector
139
  $icons = '';
@@ -151,8 +172,8 @@ class SportsPress_Icons {
151
 
152
  $content = '<p><strong>' . __( 'Select Icon', 'sportspress' ) . '</strong></p>
153
  <p class="sp-icons">' . $icons . '</p>
154
- <div class="sp-para sp-custom-colors' . ( $has_icon ? ' hidden' : '' ) . '"><label data-sp-colors="' . $value . '"><strong>' . __( 'Customize', 'sportspress' ) . '</strong><br></label>' . $color . '</div>
155
- <div class="sp-custom-thumbnail' . ( $has_icon ? '' : ' hidden' ) . '">' . $content . '</div>';
156
  return $content;
157
  }
158
 
5
  Description: Add vector performance icons to SportsPress.
6
  Author: ThemeBoy
7
  Author URI: http://themeboy.com/
8
+ Version: 2.5.2
9
  */
10
 
11
  // Exit if accessed directly
17
  * Main SportsPress Icons Class
18
  *
19
  * @class SportsPress_Icons
20
+ * @version 2.5.2
21
  */
22
  class SportsPress_Icons {
23
 
48
  */
49
  private function define_constants() {
50
  if ( !defined( 'SP_ICONS_VERSION' ) )
51
+ define( 'SP_ICONS_VERSION', '2.5.2' );
52
 
53
  if ( !defined( 'SP_ICONS_URL' ) )
54
  define( 'SP_ICONS_URL', plugin_dir_url( __FILE__ ) );
76
  private function get_icons() {
77
  $this->icons = apply_filters( 'sportspress_icons', array(
78
  'soccerball',
79
+ 'soccerball-alt',
80
  'baseball',
81
+ 'baseball-alt',
82
  'basketball',
83
+ 'golfball',
84
  'cricketball',
85
+ 'bowling',
86
+ 'ice-hockey',
87
+ 'football',
88
+ 'poolball',
89
+ 'table-tennis',
90
+ 'tennis',
91
+ 'racing-flag',
92
  'shoe',
93
  'card',
94
+ 'sub',
95
+ 'update',
96
+ 'undo',
97
+ 'redo',
98
+ 'marker',
99
+ 'no',
100
+ 'heart',
101
+ 'star-filled',
102
  ) );
103
  }
104
 
145
  $post_type = get_post_type( $id );
146
  if ( 'sp_performance' !== $post_type ) return $content;
147
 
148
+ // Detect if image uploaded
149
+ $is_uploaded = isset( $_POST['thumbnail_id'] );
150
+
151
  // Enqueue scripts
152
+ wp_enqueue_script( 'sp_iconpicker', SP()->plugin_url() . '/assets/js/admin/iconpicker.js', array( 'jquery', 'wp-color-picker', 'iris' ), SP_ICONS_VERSION, true );
153
 
154
  // Get selected icon
155
  $has_icon = has_post_thumbnail( $id );
 
156
  if ( $has_icon ) $selected = null;
157
+ else $selected = $is_uploaded ? null : get_post_meta( $id, 'sp_icon', true );
158
 
159
  // Generate icon selector
160
  $icons = '';
172
 
173
  $content = '<p><strong>' . __( 'Select Icon', 'sportspress' ) . '</strong></p>
174
  <p class="sp-icons">' . $icons . '</p>
175
+ <div class="sp-para sp-custom-colors' . ( null == $selected ? ' hidden' : '' ) . '"><label data-sp-colors="' . $value . '"><strong>' . __( 'Customize', 'sportspress' ) . '</strong><br></label>' . $color . '</div>
176
+ <div class="sp-custom-thumbnail' . ( null == $selected ? '' : ' hidden' ) . '">' . $content . '</div>';
177
  return $content;
178
  }
179
 
modules/sportspress-lazy-loading.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://tboy.co/pro
5
  Description: Load players using Ajax to speed up the event edit screen.
6
  Author: ThemeBoy
7
  Author URI: http://themeboy.com
8
- Version: 2.3
9
  */
10
 
11
  // Exit if accessed directly
@@ -137,11 +137,22 @@ class SportsPress_Lazy_Loading {
137
  'orderby' => 'menu_order',
138
  );
139
 
140
- if ( 'sp_player' == $post_type ):
141
- $args['meta_key'] = 'sp_number';
142
- $args['orderby'] = 'meta_value_num';
143
- $args['order'] = 'ASC';
144
- endif;
 
 
 
 
 
 
 
 
 
 
 
145
 
146
  $args['meta_query'] = array(
147
  array(
@@ -198,7 +209,16 @@ class SportsPress_Lazy_Loading {
198
  <li>
199
  <label class="selectit">
200
  <input type="checkbox" value="<?php echo $post->ID; ?>" name="<?php echo $slug; ?><?php if ( isset( $index ) ) echo '[' . $index . ']'; ?>[]" <?php checked( array_key_exists( $post->ID, $selected ) ); ?>>
201
- <?php echo sp_get_player_name_with_number( $post->ID ); ?>
 
 
 
 
 
 
 
 
 
202
  </label>
203
  </li>
204
  <?php unset( $selected[ $post->ID ] ); ?>
@@ -208,7 +228,16 @@ class SportsPress_Lazy_Loading {
208
  <li>
209
  <label class="selectit">
210
  <input type="checkbox" value="<?php echo $post_id; ?>" name="<?php echo $slug; ?><?php if ( isset( $index ) ) echo '[' . $index . ']'; ?>[]" <?php checked( true ); ?>>
211
- <?php echo sp_get_player_name_with_number( $post_id ); ?>
 
 
 
 
 
 
 
 
 
212
  </label>
213
  </li>
214
  <?php } } ?>
5
  Description: Load players using Ajax to speed up the event edit screen.
6
  Author: ThemeBoy
7
  Author URI: http://themeboy.com
8
+ Version: 2.5.5
9
  */
10
 
11
  // Exit if accessed directly
137
  'orderby' => 'menu_order',
138
  );
139
 
140
+ $player_sort = get_option( 'sportspress_event_player_sort', 'jersey' );
141
+
142
+ if ( 'sp_player' == $post_type )
143
+ {
144
+ if( $player_sort == 'name' )
145
+ {
146
+ $args['order'] = 'ASC';
147
+ $args['orderby'] = 'title';
148
+ }
149
+ else // default 'jersey'
150
+ {
151
+ $args['meta_key'] = 'sp_number';
152
+ $args['orderby'] = 'meta_value_num';
153
+ $args['order'] = 'ASC';
154
+ }
155
+ }
156
 
157
  $args['meta_query'] = array(
158
  array(
209
  <li>
210
  <label class="selectit">
211
  <input type="checkbox" value="<?php echo $post->ID; ?>" name="<?php echo $slug; ?><?php if ( isset( $index ) ) echo '[' . $index . ']'; ?>[]" <?php checked( array_key_exists( $post->ID, $selected ) ); ?>>
212
+ <?php
213
+ switch( $player_sort )
214
+ {
215
+ case 'name':
216
+ echo sp_get_player_name_then_number( $post->ID );
217
+ break;
218
+ default: // 'jersey'
219
+ echo sp_get_player_name_with_number( $post->ID );
220
+ }
221
+ ?>
222
  </label>
223
  </li>
224
  <?php unset( $selected[ $post->ID ] ); ?>
228
  <li>
229
  <label class="selectit">
230
  <input type="checkbox" value="<?php echo $post_id; ?>" name="<?php echo $slug; ?><?php if ( isset( $index ) ) echo '[' . $index . ']'; ?>[]" <?php checked( true ); ?>>
231
+ <?php
232
+ switch( $player_sort )
233
+ {
234
+ case 'name':
235
+ echo sp_get_player_name_then_number( $post_id );
236
+ break;
237
+ default: // 'jersey'
238
+ echo sp_get_player_name_with_number( $post_id );
239
+ }
240
+ ?>
241
  </label>
242
  </li>
243
  <?php } } ?>
modules/sportspress-officials.php ADDED
@@ -0,0 +1,654 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: SportsPress Officials
4
+ Plugin URI: http://themeboy.com/
5
+ Description: Add officials to SportsPress.
6
+ Author: ThemeBoy
7
+ Author URI: http://themeboy.com/
8
+ Version: 2.5.1
9
+ */
10
+
11
+ // Exit if accessed directly
12
+ if ( ! defined( 'ABSPATH' ) ) exit;
13
+
14
+ if ( ! class_exists( 'SportsPress_Officials' ) ) :
15
+
16
+ /**
17
+ * Main SportsPress Officials Class
18
+ *
19
+ * @class SportsPress_Officials
20
+ * @version 2.5.1
21
+ */
22
+ class SportsPress_Officials {
23
+
24
+ /**
25
+ * Constructor
26
+ */
27
+ public function __construct() {
28
+ // Define constants
29
+ $this->define_constants();
30
+
31
+ // Actions
32
+ add_action( 'sportspress_after_register_taxonomy', array( $this, 'register_taxonomy' ) );
33
+ add_action( 'sportspress_after_register_post_type', array( $this, 'register_post_type' ) );
34
+ add_action( 'sportspress_include_post_type_handlers', array( $this, 'include_post_type_handler' ) );
35
+ add_action( 'sportspress_create_rest_routes', array( $this, 'create_rest_routes' ) );
36
+ add_action( 'sportspress_register_rest_fields', array( $this, 'register_rest_fields' ) );
37
+ add_action( 'sportspress_event_list_head_row', array( $this, 'event_list_head_row' ) );
38
+ add_action( 'sportspress_event_list_row', array( $this, 'event_list_row' ), 10, 2 );
39
+ add_action( 'sportspress_calendar_data_meta_box_table_head_row', array( $this, 'calendar_meta_head_row' ) );
40
+ add_action( 'sportspress_calendar_data_meta_box_table_row', array( $this, 'calendar_meta_row' ), 10, 2 );
41
+ add_action( 'sp_duty_edit_form_fields', array( $this, 'edit_taxonomy_fields' ), 10, 1 );
42
+ add_action( 'edited_sp_duty', array( $this, 'save_taxonomy_fields' ), 10, 1 );
43
+ add_action( 'admin_menu', array( $this, 'duties_menu' ) );
44
+ add_action( 'parent_file', array( $this, 'parent_file' ) );
45
+
46
+ // Filters
47
+ add_filter( 'sportspress_meta_boxes', array( $this, 'add_meta_boxes' ) );
48
+ add_filter( 'sportspress_calendar_columns', array( $this, 'calendar_columns' ) );
49
+ add_filter( 'sportspress_after_event_template', array( $this, 'add_event_template' ), 30 );
50
+ add_filter( 'sportspress_event_options', array( $this, 'add_event_options' ) );
51
+ add_filter( 'sportspress_text', array( $this, 'add_text_options' ) );
52
+ add_filter( 'sportspress_menu_items', array( $this, 'add_menu_item' ) );
53
+ add_filter( 'sportspress_glance_items', array( $this, 'add_glance_item' ) );
54
+ add_filter( 'sportspress_importers', array( $this, 'register_importer' ) );
55
+ add_filter( 'sportspress_screen_ids', array( $this, 'screen_ids' ) );
56
+ add_filter( 'sportspress_post_types', array( $this, 'add_post_type' ) );
57
+ add_filter( 'sportspress_primary_post_types', array( $this, 'add_post_type' ) );
58
+ add_filter( 'sportspress_importable_post_types', array( $this, 'add_post_type' ) );
59
+ add_filter( 'sportspress_post_type_hierarchy', array( $this, 'add_to_hierarchy' ) );
60
+ add_filter( 'manage_edit-sp_duty_columns', array( $this, 'taxonomy_columns' ) );
61
+ add_filter( 'manage_sp_duty_custom_column', array( $this, 'taxonomy_column_value' ), 10, 3 );
62
+ }
63
+
64
+ /**
65
+ * Define constants.
66
+ */
67
+ private function define_constants() {
68
+ if ( !defined( 'SP_OFFICIALS_VERSION' ) )
69
+ define( 'SP_OFFICIALS_VERSION', '2.5.1' );
70
+
71
+ if ( !defined( 'SP_OFFICIALS_URL' ) )
72
+ define( 'SP_OFFICIALS_URL', plugin_dir_url( __FILE__ ) );
73
+
74
+ if ( !defined( 'SP_OFFICIALS_DIR' ) )
75
+ define( 'SP_OFFICIALS_DIR', plugin_dir_path( __FILE__ ) );
76
+ }
77
+
78
+ /**
79
+ * Register officials taxonomy
80
+ */
81
+ public static function register_taxonomy() {
82
+ $labels = array(
83
+ 'name' => __( 'Duties', 'sportspress' ),
84
+ 'singular_name' => __( 'Duty', 'sportspress' ),
85
+ 'all_items' => __( 'All', 'sportspress' ),
86
+ 'edit_item' => __( 'Edit Duty', 'sportspress' ),
87
+ 'view_item' => __( 'View', 'sportspress' ),
88
+ 'update_item' => __( 'Update', 'sportspress' ),
89
+ 'add_new_item' => __( 'Add New', 'sportspress' ),
90
+ 'new_item_name' => __( 'Name', 'sportspress' ),
91
+ 'parent_item' => __( 'Parent', 'sportspress' ),
92
+ 'parent_item_colon' => __( 'Parent:', 'sportspress' ),
93
+ 'search_items' => __( 'Search', 'sportspress' ),
94
+ 'not_found' => __( 'No results found.', 'sportspress' ),
95
+ );
96
+ $args = apply_filters( 'sportspress_register_taxonomy_duty', array(
97
+ 'label' => __( 'Duties', 'sportspress' ),
98
+ 'labels' => $labels,
99
+ 'public' => false,
100
+ 'show_ui' => true,
101
+ 'show_in_menu' => true,
102
+ 'show_in_nav_menus' => false,
103
+ 'show_tagcloud' => false,
104
+ 'hierarchical' => true,
105
+ 'rewrite' => array( 'slug' => get_option( 'sportspress_duty_slug', 'duty' ) ),
106
+ 'capabilities' => array(
107
+ 'manage_terms' => 'manage_sp_event_terms',
108
+ 'edit_terms' => 'edit_sp_event_terms',
109
+ 'delete_terms' => 'delete_sp_event_terms',
110
+ 'assign_terms' => 'assign_sp_event_terms',
111
+ ),
112
+ 'show_in_rest' => true,
113
+ 'rest_controller_class' => 'SP_REST_Terms_Controller',
114
+ 'rest_base' => 'duties',
115
+ ) );
116
+ $object_types = apply_filters( 'sportspress_duty_object_types', array() );
117
+ register_taxonomy( 'sp_duty', $object_types, $args );
118
+ foreach ( $object_types as $object_type ):
119
+ register_taxonomy_for_object_type( 'sp_duty', $object_type );
120
+ endforeach;
121
+ }
122
+
123
+ /**
124
+ * Register officials post type
125
+ */
126
+ public static function register_post_type() {
127
+ register_post_type( 'sp_official',
128
+ apply_filters( 'sportspress_register_post_type_official',
129
+ array(
130
+ 'labels' => array(
131
+ 'name' => __( 'Officials', 'sportspress' ),
132
+ 'singular_name' => __( 'Official', 'sportspress' ),
133
+ 'add_new_item' => __( 'Add New Official', 'sportspress' ),
134
+ 'edit_item' => __( 'Edit Official', 'sportspress' ),
135
+ 'new_item' => __( 'New', 'sportspress' ),
136
+ 'view_item' => __( 'View Official', 'sportspress' ),
137
+ 'search_items' => __( 'Search', 'sportspress' ),
138
+ 'not_found' => __( 'No results found.', 'sportspress' ),
139
+ 'not_found_in_trash' => __( 'No results found.', 'sportspress' ),
140
+ 'featured_image' => __( 'Photo', 'sportspress' ),
141
+ 'set_featured_image' => __( 'Select Photo', 'sportspress' ),
142
+ 'remove_featured_image' => __( 'Remove Photo', 'sportspress' ),
143
+ 'use_featured_image' => __( 'Select Photo', 'sportspress' ),
144
+ ),
145
+ 'public' => true,
146
+ 'show_ui' => true,
147
+ 'capability_type' => 'sp_event',
148
+ 'map_meta_cap' => true,
149
+ 'publicly_queryable' => true,
150
+ 'exclude_from_search' => false,
151
+ 'hierarchical' => false,
152
+ 'rewrite' => array( 'slug' => get_option( 'sportspress_official_slug', 'official' ) ),
153
+ 'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'page-attributes' ),
154
+ 'has_archive' => false,
155
+ 'show_in_nav_menus' => true,
156
+ 'menu_icon' => 'dashicons-flag',
157
+ 'show_in_rest' => true,
158
+ 'rest_controller_class' => 'SP_REST_Posts_Controller',
159
+ 'rest_base' => 'officials',
160
+ )
161
+ )
162
+ );
163
+ }
164
+
165
+ /**
166
+ * Conditonally load the class and functions only needed when viewing this post type.
167
+ */
168
+ public function include_post_type_handler() {
169
+ include_once( SP()->plugin_path() . '/includes/admin/post-types/class-sp-admin-cpt-official.php' );
170
+ }
171
+
172
+ /**
173
+ * Create REST API routes.
174
+ */
175
+ public function create_rest_routes() {
176
+ $controller = new SP_REST_Posts_Controller( 'sp_official' );
177
+ $controller->register_routes();
178
+ }
179
+
180
+ /**
181
+ * Register REST API fields.
182
+ */
183
+ public function register_rest_fields() {
184
+ register_rest_field( 'sp_official',
185
+ 'data',
186
+ array(
187
+ 'get_callback' => 'SP_REST_API::get_post_data',
188
+ 'update_callback' => 'SP_REST_API::update_post_meta_arrays',
189
+ 'schema' => array(
190
+ 'description' => __( 'Official', 'sportspress' ),
191
+ 'type' => 'array',
192
+ 'context' => array( 'view', 'edit' ),
193
+ 'arg_options' => array(
194
+ 'sanitize_callback' => 'rest_sanitize_request_arg',
195
+ ),
196
+ ),
197
+ )
198
+ );
199
+ }
200
+
201
+ /**
202
+ * Event list head row.
203
+ */
204
+ public function event_list_head_row( $usecolumns = array() ) {
205
+ if ( is_array( $usecolumns ) && in_array( 'officials', $usecolumns ) ) {
206
+ $duties = get_terms( array(
207
+ 'taxonomy' => 'sp_duty',
208
+ 'hide_empty' => false,
209
+ 'orderby' => 'meta_value_num',
210
+ 'meta_query' => array(
211
+ 'relation' => 'OR',
212
+ array(
213
+ 'key' => 'sp_order',
214
+ 'compare' => 'NOT EXISTS'
215
+ ),
216
+ array(
217
+ 'key' => 'sp_order',
218
+ 'compare' => 'EXISTS'
219
+ ),
220
+ ),
221
+ ) );
222
+
223
+ if ( empty( $duties ) ) return;
224
+
225
+ foreach ( $duties as $duty ) {
226
+ ?>
227
+ <th class="data-officials">
228
+ <?php echo $duty->name; ?>
229
+ </th>
230
+ <?php
231
+ }
232
+ }
233
+ }
234
+
235
+ /**
236
+ * Event list row.
237
+ */
238
+ public function event_list_row( $event, $usecolumns = array() ) {
239
+ if ( is_array( $usecolumns ) && in_array( 'officials', $usecolumns ) ) {
240
+ $event = new SP_Event( $event );
241
+ $appointments = $event->appointments( true );
242
+ unset( $appointments[0] );
243
+
244
+ foreach ( $appointments as $officials ) {
245
+ ?>
246
+ <td class="data-officials">
247
+ <?php echo implode( '<br>', $officials ); ?>
248
+ </td>
249
+ <?php
250
+ }
251
+ }
252
+ }
253
+
254
+ /**
255
+ * Calendar meta box table head row.
256
+ */
257
+ public function calendar_meta_head_row( $usecolumns = array() ) {
258
+ if ( is_array( $usecolumns ) && in_array( 'officials', $usecolumns ) ) {
259
+ $duties = get_terms( array(
260
+ 'taxonomy' => 'sp_duty',
261
+ 'hide_empty' => false,
262
+ 'orderby' => 'meta_value_num',
263
+ 'meta_query' => array(
264
+ 'relation' => 'OR',
265
+ array(
266
+ 'key' => 'sp_order',
267
+ 'compare' => 'NOT EXISTS'
268
+ ),
269
+ array(
270
+ 'key' => 'sp_order',
271
+ 'compare' => 'EXISTS'
272
+ ),
273
+ ),
274
+ ) );
275
+
276
+ if ( empty( $duties ) ) return;
277
+
278
+ foreach ( $duties as $duty ) {
279
+ ?>
280
+ <th class="column-officials">
281
+ <label for="sp_columns_officials">
282
+ <?php echo $duty->name; ?>
283
+ </label>
284
+ </th>
285
+ <?php
286
+ }
287
+ }
288
+ }
289
+
290
+ /**
291
+ * Calendar meta box table row.
292
+ */
293
+ public function calendar_meta_row( $event, $usecolumns = array() ) {
294
+ if ( is_array( $usecolumns ) && in_array( 'officials', $usecolumns ) ) {
295
+ $event = new SP_Event( $event );
296
+ $appointments = $event->appointments( true, '&mdash;' );
297
+ unset( $appointments[0] );
298
+
299
+ foreach ( $appointments as $officials ) {
300
+ ?>
301
+ <td>
302
+ <?php echo implode( '<br>', $officials ); ?>
303
+ </td>
304
+ <?php
305
+ }
306
+ }
307
+ }
308
+
309
+ /**
310
+ * Add meta boxes.
311
+ *
312
+ * @return array
313
+ */
314
+ public function add_meta_boxes( $meta_boxes ) {
315
+ $meta_boxes['sp_event']['officials'] = array(
316
+ 'title' => __( 'Officials', 'sportspress' ),
317
+ 'output' => 'SP_Meta_Box_Event_Officials::output',
318
+ 'save' => 'SP_Meta_Box_Event_Officials::save',
319
+ 'context' => 'side',
320
+ 'priority' => 'default',
321
+ );
322
+ return $meta_boxes;
323
+ }
324
+
325
+ /**
326
+ * Add calendar columns.
327
+ *
328
+ * @return array
329
+ */
330
+ public function calendar_columns( $columns = array() ) {
331
+ $columns['officials'] = __( 'Officials', 'sportspress' );
332
+ return $columns;
333
+ }
334
+
335
+ /**
336
+ * Add settings.
337
+ *
338
+ * @return array
339
+ */
340
+ public function add_settings( $settings ) {
341
+ return array_merge( $settings,
342
+ array(
343
+ array( 'title' => __( 'Officials', 'sportspress' ), 'type' => 'title', 'id' => 'table_options' ),
344
+ ),
345
+
346
+ apply_filters( 'sportspress_table_options', array(
347
+ array(
348
+ 'title' => __( 'Duty', 'sportspress' ),
349
+ 'desc' => __( 'Display title', 'sportspress' ),
350
+ 'id' => 'sportspress_table_show_title',
351
+ 'default' => 'yes',
352
+ 'type' => 'checkbox',
353
+ ),
354
+
355
+ array(
356
+ 'title' => __( 'Teams', 'sportspress' ),
357
+ 'desc' => __( 'Display logos', 'sportspress' ),
358
+ 'id' => 'sportspress_table_show_logos',
359
+ 'default' => 'yes',
360
+ 'type' => 'checkbox',
361
+ ),
362
+
363
+ array(
364
+ 'title' => __( 'Pagination', 'sportspress' ),
365
+ 'desc' => __( 'Paginate', 'sportspress' ),
366
+ 'id' => 'sportspress_table_paginated',
367
+ 'default' => 'yes',
368
+ 'type' => 'checkbox',
369
+ ),
370
+
371
+ array(
372
+ 'title' => __( 'Limit', 'sportspress' ),
373
+ 'id' => 'sportspress_table_rows',
374
+ 'class' => 'small-text',
375
+ 'default' => '10',
376
+ 'desc' => __( 'teams', 'sportspress' ),
377
+ 'type' => 'number',
378
+ 'custom_attributes' => array(
379
+ 'min' => 1,
380
+ 'step' => 1
381
+ ),
382
+ ),
383
+
384
+ array(
385
+ 'title' => __( 'Form', 'sportspress' ),
386
+ 'id' => 'sportspress_form_limit',
387
+ 'class' => 'small-text',
388
+ 'default' => '5',
389
+ 'desc' => __( 'events', 'sportspress' ),
390
+ 'type' => 'number',
391
+ 'custom_attributes' => array(
392
+ 'min' => 1,
393
+ 'step' => 1
394
+ ),
395
+ ),
396
+
397
+ array(
398
+ 'title' => __( 'Pos', 'sportspress' ),
399
+ 'desc' => __( 'Always increment', 'sportspress' ),
400
+ 'id' => 'sportspress_table_increment',
401
+ 'default' => 'no',
402
+ 'type' => 'checkbox',
403
+ ),
404
+
405
+ array(
406
+ 'title' => __( 'Tiebreaker', 'sportspress' ),
407
+ 'id' => 'sportspress_table_tiebreaker',
408
+ 'default' => 'none',
409
+ 'type' => 'select',
410
+ 'options' => array(
411
+ 'none' => __( 'None', 'sportspress' ),
412
+ 'h2h' => __( 'Head to head', 'sportspress' ),
413
+ ),
414
+ ),
415
+ ) ),
416
+
417
+ array(
418
+ array( 'type' => 'sectionend', 'id' => 'table_options' ),
419
+ )
420
+ );
421
+ }
422
+
423
+ /**
424
+ * Add event template.
425
+ *
426
+ * @return array
427
+ */
428
+ public function add_event_template( $templates ) {
429
+ return array_merge( $templates, array(
430
+ 'officials' => array(
431
+ 'title' => __( 'Officials', 'sportspress' ),
432
+ 'option' => 'sportspress_event_show_officials',
433
+ 'action' => 'sportspress_output_event_officials',
434
+ 'default' => 'yes',
435
+ ),
436
+ ) );
437
+ }
438
+
439
+ /**
440
+ * Add event options.
441
+ *
442
+ * @return array
443
+ */
444
+ public function add_event_options( $options ) {
445
+ $options[] = array(
446
+ 'title' => __( 'Officials', 'sportspress' ),
447
+ 'id' => 'sportspress_event_officials_format',
448
+ 'default' => 'table',
449
+ 'type' => 'radio',
450
+ 'options' => array(
451
+ 'table' => __( 'Table', 'sportspress' ),
452
+ 'list' => __( 'List', 'sportspress' ),
453
+ ),
454
+ );
455
+ return $options;
456
+ }
457
+
458
+ /**
459
+ * Add text options
460
+ */
461
+ public function add_text_options( $options = array() ) {
462
+ return array_merge( $options, array(
463
+ __( 'Officials', 'sportspress' ),
464
+ ) );
465
+ }
466
+
467
+ /**
468
+ * Add menu item
469
+ */
470
+ public function add_menu_item( $items ) {
471
+ $items[] = 'edit.php?post_type=sp_official';
472
+ return $items;
473
+ }
474
+
475
+ /**
476
+ * Add glance item
477
+ */
478
+ public function add_glance_item( $items ) {
479
+ $items[] = 'sp_official';
480
+ return $items;
481
+ }
482
+
483
+ /**
484
+ * Register importer
485
+ */
486
+ public function register_importer( $importers = array() ) {
487
+ $importers['sp_official_csv'] = array(
488
+ 'name' => __( 'SportsPress Officials (CSV)', 'sportspress' ),
489
+ 'description' => __( 'Import <strong>officials</strong> from a csv file.', 'sportspress'),
490
+ 'callback' => array( $this, 'officials_importer' ),
491
+ );
492
+ return $importers;
493
+ }
494
+
495
+ /**
496
+ * Officials importer
497
+ */
498
+ public function officials_importer() {
499
+ SP_Admin_Importers::includes();
500
+
501
+ require SP()->plugin_path() . '/includes/admin/importers/class-sp-official-importer.php';
502
+
503
+ // Dispatch
504
+ $importer = new SP_Official_Importer();
505
+ $importer->dispatch();
506
+ }
507
+
508
+ /**
509
+ * Add screen ids.
510
+ *
511
+ * @return array
512
+ */
513
+ public function screen_ids( $ids ) {
514
+ return array_merge( $ids, array(
515
+ 'sp_official',
516
+ 'edit-sp_official',
517
+ 'sp_duty',
518
+ 'edit-sp_duty',
519
+ ) );
520
+ }
521
+
522
+ public static function add_post_type( $post_types = array() ) {
523
+ $post_types[] = 'sp_official';
524
+ return $post_types;
525
+ }
526
+
527
+ public static function add_to_hierarchy( $hierarchy = array() ) {
528
+ $hierarchy['sp_official'] = array();
529
+ return $hierarchy;
530
+ }
531
+
532
+ /**
533
+ * Taxonomy columns.
534
+ *
535
+ * @access public
536
+ * @param mixed $columns
537
+ * @return array
538
+ */
539
+ public function taxonomy_columns( $columns ) {
540
+ $new_columns = array();
541
+
542
+ if ( function_exists( 'get_term_meta' ) ) $new_columns['sp_order'] = __( 'Order', 'sportspress' );
543
+
544
+ $new_columns['posts'] = $columns['posts'];
545
+
546
+ unset( $columns['posts'] );
547
+
548
+ return array_merge( $columns, $new_columns );
549
+ }
550
+
551
+ /**
552
+ * Edit taxonomy fields.
553
+ *
554
+ * @access public
555
+ * @param mixed $term Term (category) being edited
556
+ */
557
+ public function edit_taxonomy_fields( $term ) {
558
+ $t_id = $term->term_id;
559
+ ?>
560
+ <?php if ( function_exists( 'get_term_meta' ) ) { ?>
561
+ <?php $order = get_term_meta( $t_id, 'sp_order', true ); ?>
562
+ <tr class="form-field">
563
+ <th scope="row" valign="top"><label for="sp_order"><?php _e( 'Order', 'sportspress' ); ?></label></th>
564
+ <td><input name="sp_order" class="sp-number-input" type="text" step="1" size="4" id="sp_order" value="<?php echo (int) $order; ?>"></td>
565
+ </tr>
566
+ <?php } ?>
567
+ <?php
568
+ }
569
+
570
+ /**
571
+ * Save taxonomy fields.
572
+ *
573
+ * @access public
574
+ * @param mixed $term_id Term ID being saved
575
+ * @return void
576
+ */
577
+ public function save_taxonomy_fields( $term_id ) {
578
+ if ( function_exists( 'add_term_meta' ) ) {
579
+ update_term_meta( $term_id, 'sp_order', (int) sp_array_value( $_POST, 'sp_order', 0 ) );
580
+ }
581
+ }
582
+
583
+ /**
584
+ * Column value added to category admin.
585
+ *
586
+ * @access public
587
+ * @param mixed $columns
588
+ * @param mixed $column
589
+ * @param mixed $id
590
+ * @return array
591
+ */
592
+ public function taxonomy_column_value( $columns, $column, $id ) {
593
+
594
+ if ( $column == 'sp_address' ) {
595
+
596
+ $term_meta = get_option( "taxonomy_$id" );
597
+
598
+ $address = ( isset( $term_meta['sp_address'] ) ? $term_meta['sp_address'] : '&mdash;' );
599
+
600
+ $columns .= $address;
601
+
602
+ } elseif ( $column == 'sp_sections' ) {
603
+
604
+ $options = apply_filters( 'sportspress_performance_sections', array( 0 => __( 'Offense', 'sportspress' ), 1 => __( 'Defense', 'sportspress' ) ) );
605
+
606
+ $sections = sp_get_term_sections( $id );
607
+
608
+ $section_names = array();
609
+
610
+ if ( is_array( $sections ) ) {
611
+ foreach ( $sections as $section ) {
612
+ if ( array_key_exists( $section, $options ) ) {
613
+ $section_names[] = $options[ $section ];
614
+ }
615
+ }
616
+ }
617
+
618
+ $columns .= implode( ', ', $section_names );
619
+
620
+ } elseif ( $column == 'sp_order' ) {
621
+
622
+ $columns = (int) get_term_meta( $id, 'sp_order', true );
623
+
624
+ }
625
+
626
+ return $columns;
627
+ }
628
+
629
+ /**
630
+ * Add menu item
631
+ */
632
+ public function duties_menu() {
633
+ add_submenu_page( 'edit.php?post_type=sp_official', __( 'Duties', 'sportspress' ), __( 'Duties', 'sportspress' ), 'manage_sp_event_terms', 'edit-tags.php?taxonomy=sp_duty');
634
+ }
635
+
636
+ /**
637
+ * Highlight parent menu item
638
+ */
639
+ public function parent_file( $parent_file ) {
640
+ global $current_screen;
641
+ $taxonomy = $current_screen->taxonomy;
642
+
643
+ if ( 'sp_duty' == $taxonomy )
644
+ $parent_file = 'edit.php?post_type=sp_official';
645
+
646
+ return $parent_file;
647
+ }
648
+ }
649
+
650
+ endif;
651
+
652
+ if ( get_option( 'sportspress_load_officials_module', 'no' ) == 'yes' ) {
653
+ new SportsPress_Officials();
654
+ }
modules/sportspress-overview.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
5
  Description: Display a visual overview of SportsPress data.
6
  Author: ThemeBoy
7
  Author URI: http://themeboy.com/
8
- Version: 1.8.3
9
  */
10
 
11
  // Exit if accessed directly
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Overview' ) ) :
17
  * Main SportsPress Overview Class
18
  *
19
  * @class SportsPress_Overview
20
- * @version 1.8.3
21
  */
22
  class SportsPress_Overview {
23
 
@@ -36,7 +36,7 @@ class SportsPress_Overview {
36
  */
37
  private function define_constants() {
38
  if ( !defined( 'SP_OVERVIEW_VERSION' ) )
39
- define( 'SP_OVERVIEW_VERSION', '1.8.3' );
40
 
41
  if ( !defined( 'SP_OVERVIEW_URL' ) )
42
  define( 'SP_OVERVIEW_URL', plugin_dir_url( __FILE__ ) );
@@ -78,7 +78,7 @@ class SportsPress_Overview {
78
  <li class="sp-home"><a class="button disabled"><?php _e( 'SportsPress', 'sportspress' ); ?></a></li>
79
  <?php foreach ( $taxonomies as $taxonomy ): $object = get_taxonomy( $taxonomy ); $post_types = apply_filters( 'sportspress_sitemap_taxonomy_post_types', $object->object_type, $taxonomy ); ?>
80
  <li><a class="button button-primary" href="<?php echo esc_url( admin_url( add_query_arg( array( 'page' => 'sportspress-overview', 'taxonomy' => $taxonomy ), 'admin.php' ) ) ); ?>"><?php echo $object->labels->name; ?></a>
81
- <?php $terms = get_terms( $taxonomy, array( 'hide_empty' => false, 'parent' => 0, 'orderby' => 'slug' ) ); ?>
82
  <ul>
83
  <?php if ( sizeof( $terms ) > 0 ): ?>
84
  <?php foreach ( $terms as $term ): ?>
5
  Description: Display a visual overview of SportsPress data.
6
  Author: ThemeBoy
7
  Author URI: http://themeboy.com/
8
+ Version: 2.5
9
  */
10
 
11
  // Exit if accessed directly
17
  * Main SportsPress Overview Class
18
  *
19
  * @class SportsPress_Overview
20
+ * @version 2.5
21
  */
22
  class SportsPress_Overview {
23
 
36
  */
37
  private function define_constants() {
38
  if ( !defined( 'SP_OVERVIEW_VERSION' ) )
39
+ define( 'SP_OVERVIEW_VERSION', '2.5' );
40
 
41
  if ( !defined( 'SP_OVERVIEW_URL' ) )
42
  define( 'SP_OVERVIEW_URL', plugin_dir_url( __FILE__ ) );
78
  <li class="sp-home"><a class="button disabled"><?php _e( 'SportsPress', 'sportspress' ); ?></a></li>
79
  <?php foreach ( $taxonomies as $taxonomy ): $object = get_taxonomy( $taxonomy ); $post_types = apply_filters( 'sportspress_sitemap_taxonomy_post_types', $object->object_type, $taxonomy ); ?>
80
  <li><a class="button button-primary" href="<?php echo esc_url( admin_url( add_query_arg( array( 'page' => 'sportspress-overview', 'taxonomy' => $taxonomy ), 'admin.php' ) ) ); ?>"><?php echo $object->labels->name; ?></a>
81
+ <?php $terms = get_terms( $taxonomy, array( 'hide_empty' => false, 'parent' => 0, 'orderby' => 'slug', ) ); ?>
82
  <ul>
83
  <?php if ( sizeof( $terms ) > 0 ): ?>
84
  <?php foreach ( $terms as $term ): ?>
modules/sportspress-tutorials.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
5
  Description: Display SportsPress video tutorials.
6
  Author: ThemeBoy
7
  Author URI: http://themeboy.com/
8
- Version: 2.1
9
  */
10
 
11
  // Exit if accessed directly
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Tutorials' ) ) :
17
  * Main SportsPress Tutorials Class
18
  *
19
  * @class SportsPress_Tutorials
20
- * @version 2.1
21
  */
22
  class SportsPress_Tutorials {
23
 
@@ -54,7 +54,7 @@ class SportsPress_Tutorials {
54
  */
55
  private function define_constants() {
56
  if ( !defined( 'SP_TUTORIALS_VERSION' ) )
57
- define( 'SP_TUTORIALS_VERSION', '2.1' );
58
 
59
  if ( !defined( 'SP_TUTORIALS_URL' ) )
60
  define( 'SP_TUTORIALS_URL', plugin_dir_url( __FILE__ ) );
@@ -71,7 +71,7 @@ class SportsPress_Tutorials {
71
  'tutorials' => apply_filters( 'sportspress_tutorial_videos', array(
72
  __( 'Get Started', 'sportspress' ) => apply_filters( 'sportspress_get_started_tutorial_videos', array(
73
  __( 'Installation', 'sportspress' ) => '//www.youtube-nocookie.com/embed/nE8-RlbotmU?rel=0&amp;showinfo=0',
74
- __( 'Competitions', 'sportspress' ) . ' &amp; ' . __( 'Seasons', 'sportspress' ) => '//www.youtube-nocookie.com/embed/XAf2EsDrf8M?rel=0&amp;showinfo=0',
75
  __( 'Venues', 'sportspress' ) => '//www.youtube-nocookie.com/embed/iTZnC_7VvYk?rel=0&amp;showinfo=0',
76
  __( 'Positions', 'sportspress' ) . ' &amp; ' . __( 'Jobs', 'sportspress' ) => '//www.youtube-nocookie.com/embed/g6QKbDH05n0?rel=0&amp;showinfo=0',
77
  ) ),
5
  Description: Display SportsPress video tutorials.
6
  Author: ThemeBoy
7
  Author URI: http://themeboy.com/
8
+ Version: 2.5
9
  */
10
 
11
  // Exit if accessed directly
17
  * Main SportsPress Tutorials Class
18
  *
19
  * @class SportsPress_Tutorials
20
+ * @version 2.5
21
  */
22
  class SportsPress_Tutorials {
23
 
54
  */
55
  private function define_constants() {
56
  if ( !defined( 'SP_TUTORIALS_VERSION' ) )
57
+ define( 'SP_TUTORIALS_VERSION', '2.5' );
58
 
59
  if ( !defined( 'SP_TUTORIALS_URL' ) )
60
  define( 'SP_TUTORIALS_URL', plugin_dir_url( __FILE__ ) );
71
  'tutorials' => apply_filters( 'sportspress_tutorial_videos', array(
72
  __( 'Get Started', 'sportspress' ) => apply_filters( 'sportspress_get_started_tutorial_videos', array(
73
  __( 'Installation', 'sportspress' ) => '//www.youtube-nocookie.com/embed/nE8-RlbotmU?rel=0&amp;showinfo=0',
74
+ __( 'Leagues', 'sportspress' ) . ' &amp; ' . __( 'Seasons', 'sportspress' ) => '//www.youtube-nocookie.com/embed/XAf2EsDrf8M?rel=0&amp;showinfo=0',
75
  __( 'Venues', 'sportspress' ) => '//www.youtube-nocookie.com/embed/iTZnC_7VvYk?rel=0&amp;showinfo=0',
76
  __( 'Positions', 'sportspress' ) . ' &amp; ' . __( 'Jobs', 'sportspress' ) => '//www.youtube-nocookie.com/embed/g6QKbDH05n0?rel=0&amp;showinfo=0',
77
  ) ),
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === SportsPress - Sports Club & League Manager ===
2
- Contributors: ThemeBoy, brianmiyaji, aylaview, rochesterj
3
  Tags: calendars, club, club management, esports, events, fixtures, leagues, league management, sports, sports club, sports data, team rosters
4
  Donate link: http://tboy.co/donate
5
  Requires at least: 3.8
6
  Tested up to: 4.9
7
- Stable tag: 2.4.3
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -87,6 +87,7 @@ Looking for more advanced sports functionality? Upgrade to [SportsPress Pro](htt
87
  * Slovenian – Slovenija ( sl_SI )
88
  * Spanish – Español ( es_ES )
89
  * Swedish – Svenska ( sv_SE )
 
90
  * Tamil – தமிழ் ( ta_IN )
91
  * Thai – ไทย ( th )
92
  * Turkish – Türkçe ( tr_TR )
@@ -236,6 +237,84 @@ When you upgrade to one of the SportsPress Pro licenses, you can simply activate
236
 
237
  == Changelog ==
238
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
239
  = 2.4.3 =
240
  * Fix - Substitute Typo.
241
  * Fix - WordPay image trailing slash.
1
  === SportsPress - Sports Club & League Manager ===
2
+ Contributors: ThemeBoy, brianmiyaji, aylaview, savvasha
3
  Tags: calendars, club, club management, esports, events, fixtures, leagues, league management, sports, sports club, sports data, team rosters
4
  Donate link: http://tboy.co/donate
5
  Requires at least: 3.8
6
  Tested up to: 4.9
7
+ Stable tag: 2.5.10
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
87
  * Slovenian – Slovenija ( sl_SI )
88
  * Spanish – Español ( es_ES )
89
  * Swedish – Svenska ( sv_SE )
90
+ * Tagalog - Tagalog ( tl )
91
  * Tamil – தமிழ் ( ta_IN )
92
  * Thai – ไทย ( th )
93
  * Turkish – Türkçe ( tr_TR )
237
 
238
  == Changelog ==
239
 
240
+ = 2.5.10 =
241
+ * Fix - Date ranges not being applied to calendars.
242
+
243
+ = 2.5.9 =
244
+ * Fix - Unpublished posts being displayed in some themes.
245
+
246
+ = 2.5.8 =
247
+ * Fix - Display scheduled events using default permalinks via archives and third-party widgets.
248
+
249
+ = 2.5.7 =
250
+ * Fix - Blank general settings screen on WordPress versions prior to 4.9.
251
+ * Fix - Revert responsive table behavior to prevent display issues on mobile.
252
+
253
+ = 2.5.6 =
254
+ * Tweak - Adjust player-related hooks.
255
+ * Fix - Turn off responsive tables by default.
256
+
257
+ = 2.5.5 =
258
+ * Feature - Main league and current season settings.
259
+ * Feature - New shortcode including full staff profile.
260
+ * Feature - Add code highlighting to custom CSS field.
261
+ * Feature - Add responsive layout option to tables.
262
+ * Feature - Add filters to REST API players endpoint.
263
+ * Feature - Option to merge duplicate teams, players, and staff.
264
+ * Feature - Option to display specific event in event blocks.
265
+ * Feature - Option to sort player checklist by name and squad number in events.
266
+ * Feature - Option to filter player lists by team.
267
+ * Feature - Option to link staff members.
268
+ * Feature - Filter countdown by calendar.
269
+ * Fix - Calculate column totals in box score.
270
+ * Fix - Mismatched encoding of included library.
271
+ * Localization - Fix translation function missing around string.
272
+
273
+ = 2.5.4 =
274
+ * Fix - Error when editing league table using older versions of WordPress.
275
+
276
+ = 2.5.3 =
277
+ * Fix - Calendar templates not loading when timezone setting is relative to UTC.
278
+
279
+ = 2.5.2 =
280
+ * Feature - Add match day to REST API.
281
+ * Tweak - Add order to positions during preset installation.
282
+ * Tweak - Display links to add new duties and officials if empty.
283
+ * Tweak - Add linebreaks to substitute dropdowns.
284
+ * Fix - Use default full time minutes in REST API.
285
+ * Fix - Uploading custom images as performance icons.
286
+ * Fix - Displaying timed performance with custom images.
287
+
288
+ = 2.5.1 =
289
+ * Feature - Officials importer.
290
+ * Feature - Officials added to dashboard glance items.
291
+ * Feature - Order setting added to staff jobs for custom sorting.
292
+ * Tweak - Display only the highest order job in staff profiles.
293
+ * Tweak - Require box score importer to be accessed from within an event.
294
+ * Tweak - Add hook to declare importable post types.
295
+ * Fix - Officials meta box in events when module is inactive.
296
+ * Fix - Issues when timezone is not set.
297
+
298
+ = 2.5 =
299
+ * Feature - Player of the match and star numbers added to box scores.
300
+ * Feature - Officials module for displaying referee appointments in matches.
301
+ * Feature - New player performance icons to choose from.
302
+ * Feature - Schema microdata added to event calendars, lists, and blocks.
303
+ * Feature - Box score importer for updating existing events.
304
+ * Feature - Order setting added to taxonomies for custom sorting.
305
+ * Feature - New relative date range options in event calendars.
306
+ * Feature - Date range options added to league tables and player lists.
307
+ * Feature - Option to hide players with zero statistics in player list.
308
+ * Tweak - Allow staff members to have multiple jobs.
309
+ * Tweak - Indicator dots added to calendars with events in frontend stylesheet.
310
+ * Tweak - Box score columns are now selected by default when adding new events.
311
+ * Tweak - Events made sortable by match day in admin.
312
+ * Tweak - Competitions renamed to leagues.
313
+ * Fix - Quick edit teams not showing when filtering players by team.
314
+ * Fix - Calendar feeds not updating without E-tag.
315
+ * Fix - Admin table cells wrapping.
316
+ * Fix - Timezone issues in calendars.
317
+
318
  = 2.4.3 =
319
  * Fix - Substitute Typo.
320
  * Fix - WordPay image trailing slash.
sportspress.php CHANGED
@@ -3,11 +3,11 @@
3
  * Plugin Name: SportsPress
4
  * Plugin URI: http://themeboy.com/sportspress/
5
  * Description: Manage your club and its players, staff, events, league tables, and player lists.
6
- * Version: 2.4.3
7
  * Author: ThemeBoy
8
  * Author URI: http://themeboy.com
9
  * Requires at least: 3.8
10
- * Tested up to: 4.8
11
  *
12
  * Text Domain: sportspress
13
  * Domain Path: /languages/
@@ -26,14 +26,14 @@ if ( ! class_exists( 'SportsPress' ) ) :
26
  * Main SportsPress Class
27
  *
28
  * @class SportsPress
29
- * @version 2.4.3
30
  */
31
  final class SportsPress {
32
 
33
  /**
34
  * @var string
35
  */
36
- public $version = '2.4.3';
37
 
38
  /**
39
  * @var SportsPress The single instance of the class
@@ -222,7 +222,8 @@ final class SportsPress {
222
  include_once( 'includes/class-sp-post-types.php' ); // Registers post types
223
 
224
  // Include abstract classes
225
- include_once( 'includes/abstracts/abstract-sp-custom-post.php' ); // Custom posts
 
226
 
227
  // Classes (used on all pages)
228
  include_once( 'includes/class-sp-modules.php' ); // Defines available modules
@@ -446,3 +447,8 @@ function SP() {
446
  endif;
447
 
448
  SP();
 
 
 
 
 
3
  * Plugin Name: SportsPress
4
  * Plugin URI: http://themeboy.com/sportspress/
5
  * Description: Manage your club and its players, staff, events, league tables, and player lists.
6
+ * Version: 2.5.10
7
  * Author: ThemeBoy
8
  * Author URI: http://themeboy.com
9
  * Requires at least: 3.8
10
+ * Tested up to: 4.9
11
  *
12
  * Text Domain: sportspress
13
  * Domain Path: /languages/
26
  * Main SportsPress Class
27
  *
28
  * @class SportsPress
29
+ * @version 2.5.10
30
  */
31
  final class SportsPress {
32
 
33
  /**
34
  * @var string
35
  */
36
+ public $version = '2.5.10';
37
 
38
  /**
39
  * @var SportsPress The single instance of the class
222
  include_once( 'includes/class-sp-post-types.php' ); // Registers post types
223
 
224
  // Include abstract classes
225
+ include_once( 'includes/abstracts/abstract-sp-custom-post.php' ); // Custom posts
226
+ include_once( 'includes/abstracts/abstract-sp-secondary-post.php' ); // Secondary posts
227
 
228
  // Classes (used on all pages)
229
  include_once( 'includes/class-sp-modules.php' ); // Defines available modules
447
  endif;
448
 
449
  SP();
450
+
451
+ /**
452
+ * Want to work with us?
453
+ * @link https://www.themeboy.com/jobs/
454
+ */
templates/countdown.php CHANGED
@@ -4,13 +4,14 @@
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
- * @version 2.2
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
11
 
12
  $defaults = array(
13
  'team' => null,
 
14
  'league' => null,
15
  'season' => null,
16
  'id' => null,
@@ -21,9 +22,17 @@ $defaults = array(
21
  'link_venues' => get_option( 'sportspress_link_venues', 'no' ) == 'yes' ? true : false,
22
  'show_logos' => get_option( 'sportspress_countdown_show_logos', 'no' ) == 'yes' ? true : false,
23
  );
24
-
25
  if ( isset( $id ) ):
26
  $post = get_post( $id );
 
 
 
 
 
 
 
 
 
27
  else:
28
  $args = array();
29
  if ( isset( $team ) ) {
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
+ * @version 2.5.5
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
11
 
12
  $defaults = array(
13
  'team' => null,
14
+ 'calendar' => null,
15
  'league' => null,
16
  'season' => null,
17
  'id' => null,
22
  'link_venues' => get_option( 'sportspress_link_venues', 'no' ) == 'yes' ? true : false,
23
  'show_logos' => get_option( 'sportspress_countdown_show_logos', 'no' ) == 'yes' ? true : false,
24
  );
 
25
  if ( isset( $id ) ):
26
  $post = get_post( $id );
27
+ elseif ( $calendar ):
28
+ $calendar = new SP_Calendar( $calendar );
29
+ if ( $team )
30
+ $calendar->team = $team;
31
+ $calendar->status = 'future';
32
+ $calendar->number = 1;
33
+ $calendar->order = 'ASC';
34
+ $data = $calendar->data();
35
+ $post = array_shift( $data );
36
  else:
37
  $args = array();
38
  if ( isset( $team ) ) {
templates/event-blocks.php CHANGED
@@ -4,18 +4,22 @@
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
- * @version 2.2.6
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
11
 
12
  $defaults = array(
13
  'id' => null,
 
14
  'title' => false,
15
  'status' => 'default',
16
  'date' => 'default',
17
  'date_from' => 'default',
18
  'date_to' => 'default',
 
 
 
19
  'day' => 'default',
20
  'league' => null,
21
  'season' => null,
@@ -49,6 +53,14 @@ if ( $date_from != 'default' )
49
  $calendar->from = $date_from;
50
  if ( $date_to != 'default' )
51
  $calendar->to = $date_to;
 
 
 
 
 
 
 
 
52
  if ( $league )
53
  $calendar->league = $league;
54
  if ( $season )
@@ -105,14 +117,21 @@ if ( $title )
105
  $j = 0;
106
  foreach( $teams as $team ):
107
  $j++;
 
108
  if ( has_post_thumbnail ( $team ) ):
 
 
109
  if ( $link_teams ):
110
- $logo = '<a class="team-logo logo-' . ( $j % 2 ? 'odd' : 'even' ) . '" href="' . get_permalink( $team, false, true ) . '" title="' . get_the_title( $team ) . '">' . get_the_post_thumbnail( $team, 'sportspress-fit-icon' ) . '</a>';
111
- else:
112
- $logo = '<span class="team-logo logo-' . ( $j % 2 ? 'odd' : 'even' ) . '" title="' . get_the_title( $team ) . '">' . get_the_post_thumbnail( $team, 'sportspress-fit-icon' ) . '</span>';
113
  endif;
114
- $logos[] = $logo;
 
 
 
115
  endif;
 
 
116
  endforeach;
117
  endif;
118
 
@@ -124,10 +143,10 @@ if ( $title )
124
  endif;
125
  endif;
126
  ?>
127
- <tr class="sp-row sp-post<?php echo ( $i % 2 == 0 ? ' alternate' : '' ); ?>">
128
  <td>
129
  <?php echo implode( $logos, ' ' ); ?>
130
- <time class="sp-event-date" datetime="<?php echo $event->post_date; ?>">
131
  <?php echo sp_add_link( get_the_time( get_option( 'date_format' ), $event ), $permalink, $link_events ); ?>
132
  </time>
133
  <h5 class="sp-event-results">
@@ -142,7 +161,7 @@ if ( $title )
142
  <?php if ( $show_venue ): $venues = get_the_terms( $event, 'sp_venue' ); if ( $venues ): $venue = array_shift( $venues ); ?>
143
  <div class="sp-event-venue"><?php echo $venue->name; ?></div>
144
  <?php endif; endif; ?>
145
- <h4 class="sp-event-title">
146
  <?php echo sp_add_link( $event->post_title, $permalink, $link_events ); ?>
147
  </h4>
148
 
@@ -159,4 +178,4 @@ if ( $title )
159
  if ( $id && $show_all_events_link )
160
  echo '<div class="sp-calendar-link sp-view-all-link"><a href="' . get_permalink( $id ) . '">' . __( 'View all events', 'sportspress' ) . '</a></div>';
161
  ?>
162
- </div>
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
+ * @version 2.5.5
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
11
 
12
  $defaults = array(
13
  'id' => null,
14
+ 'event' => null,
15
  'title' => false,
16
  'status' => 'default',
17
  'date' => 'default',
18
  'date_from' => 'default',
19
  'date_to' => 'default',
20
+ 'date_past' => 'default',
21
+ 'date_future' => 'default',
22
+ 'date_relative' => 'default',
23
  'day' => 'default',
24
  'league' => null,
25
  'season' => null,
53
  $calendar->from = $date_from;
54
  if ( $date_to != 'default' )
55
  $calendar->to = $date_to;
56
+ if ( $date_past != 'default' )
57
+ $calendar->past = $date_past;
58
+ if ( $date_future != 'default' )
59
+ $calendar->future = $date_future;
60
+ if ( $date_relative != 'default' )
61
+ $calendar->relative = $date_relative;
62
+ if ( $event )
63
+ $calendar->event = $event;
64
  if ( $league )
65
  $calendar->league = $league;
66
  if ( $season )
117
  $j = 0;
118
  foreach( $teams as $team ):
119
  $j++;
120
+ $team_name = get_the_title( $team );
121
  if ( has_post_thumbnail ( $team ) ):
122
+ $logo = get_the_post_thumbnail( $team, 'sportspress-fit-icon', array( 'itemprop' => 'logo' ) );
123
+
124
  if ( $link_teams ):
125
+ $team_permalink = get_permalink( $team, false, true );
126
+ $logo = '<a href="' . $team_permalink . '" itemprop="url" content="' . $team_permalink . '">' . $logo . '</a>';
 
127
  endif;
128
+
129
+ $logo = '<span class="team-logo logo-' . ( $j % 2 ? 'odd' : 'even' ) . '" title="' . $team_name . '" itemprop="competitor" itemscope itemtype="http://schema.org/SportsTeam"><meta itemprop="name" content="' . $team_name . '">' . $logo . '</span>';
130
+ else:
131
+ $logo = '<span itemprop="competitor" itemscope itemtype="http://schema.org/SportsTeam"><meta itemprop="name" content="' . $team_name . '"></span>';
132
  endif;
133
+
134
+ $logos[] = $logo;
135
  endforeach;
136
  endif;
137
 
143
  endif;
144
  endif;
145
  ?>
146
+ <tr class="sp-row sp-post<?php echo ( $i % 2 == 0 ? ' alternate' : '' ); ?>" itemscope itemtype="http://schema.org/SportsEvent">
147
  <td>
148
  <?php echo implode( $logos, ' ' ); ?>
149
+ <time class="sp-event-date" datetime="<?php echo $event->post_date; ?>" itemprop="startDate" content="<?php echo mysql2date( 'Y-m-d\TH:iP', $event->post_date ); ?>">
150
  <?php echo sp_add_link( get_the_time( get_option( 'date_format' ), $event ), $permalink, $link_events ); ?>
151
  </time>
152
  <h5 class="sp-event-results">
161
  <?php if ( $show_venue ): $venues = get_the_terms( $event, 'sp_venue' ); if ( $venues ): $venue = array_shift( $venues ); ?>
162
  <div class="sp-event-venue"><?php echo $venue->name; ?></div>
163
  <?php endif; endif; ?>
164
+ <h4 class="sp-event-title" itemprop="name">
165
  <?php echo sp_add_link( $event->post_title, $permalink, $link_events ); ?>
166
  </h4>
167
 
178
  if ( $id && $show_all_events_link )
179
  echo '<div class="sp-calendar-link sp-view-all-link"><a href="' . get_permalink( $id ) . '">' . __( 'View all events', 'sportspress' ) . '</a></div>';
180
  ?>
181
+ </div>
templates/event-calendar.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
- * @version 2.2
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -17,6 +17,9 @@ $defaults = array(
17
  'date' => 'default',
18
  'date_from' => 'default',
19
  'date_to' => 'default',
 
 
 
20
  'day' => 'default',
21
  'league' => null,
22
  'season' => null,
@@ -40,6 +43,12 @@ if ( $date_from != 'default' )
40
  $calendar->from = $date_from;
41
  if ( $date_to != 'default' )
42
  $calendar->to = $date_to;
 
 
 
 
 
 
43
  if ( $day != 'default' )
44
  $calendar->day = $day;
45
  if ( $league )
@@ -213,13 +222,19 @@ for ( $day = 1; $day <= $daysinmonth; ++$day ) {
213
  $calendar_output .= "\n\t</tr>\n\t<tr>\n\t\t";
214
  $newrow = false;
215
 
 
 
 
216
  if ( $day == gmdate('j', current_time('timestamp')) && $thismonth == gmdate('m', current_time('timestamp')) && $thisyear == gmdate('Y', current_time('timestamp')) )
217
- $calendar_output .= '<td id="today" class="sp-highlight">';
218
- else
219
- $calendar_output .= '<td>';
 
 
 
220
 
221
- if ( array_key_exists($day, $daywithpost) ) // any posts today?
222
- $calendar_output .= '<a data-tooltip data-options="disable_for_touch:true" class="has-tip" href="' . ( sizeof( $daywithpost[ $day ] ) > 1 ? add_query_arg( array( 'post_type' => 'sp_event' ), get_day_link( $thisyear, $thismonth, $day ) ) . '" title="' . sprintf( '%s events', ( sizeof( $daywithpost[ $day ] ) ) ) : get_post_permalink( $daywithpost[ $day ][0], false, true ) . '" title="' . esc_attr( $ak_titles_for_day[ $day ] ) ) . "\">$day</a>";
223
  else
224
  $calendar_output .= $day;
225
  $calendar_output .= '</td>';
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
+ * @version 2.5.5
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
17
  'date' => 'default',
18
  'date_from' => 'default',
19
  'date_to' => 'default',
20
+ 'date_past' => 'default',
21
+ 'date_future' => 'default',
22
+ 'date_relative' => 'default',
23
  'day' => 'default',
24
  'league' => null,
25
  'season' => null,
43
  $calendar->from = $date_from;
44
  if ( $date_to != 'default' )
45
  $calendar->to = $date_to;
46
+ if ( $date_past != 'default' )
47
+ $calendar->past = $date_past;
48
+ if ( $date_future != 'default' )
49
+ $calendar->future = $date_future;
50
+ if ( $date_relative != 'default' )
51
+ $calendar->relative = $date_relative;
52
  if ( $day != 'default' )
53
  $calendar->day = $day;
54
  if ( $league )
222
  $calendar_output .= "\n\t</tr>\n\t<tr>\n\t\t";
223
  $newrow = false;
224
 
225
+ $day_has_posts = array_key_exists($day, $daywithpost);
226
+ $td_properties = '';
227
+
228
  if ( $day == gmdate('j', current_time('timestamp')) && $thismonth == gmdate('m', current_time('timestamp')) && $thisyear == gmdate('Y', current_time('timestamp')) )
229
+ $td_properties .= ' id="today" class="sp-highlight"';
230
+
231
+ if ( $day_has_posts )
232
+ $td_properties .= ' itemscope itemtype="http://schema.org/SportsEvent"';
233
+
234
+ $calendar_output .= '<td' . $td_properties . '>';
235
 
236
+ if ( $day_has_posts ) // any posts today?
237
+ $calendar_output .= '<a data-tooltip data-options="disable_for_touch:true" class="has-tip" href="' . ( sizeof( $daywithpost[ $day ] ) > 1 ? add_query_arg( array( 'post_type' => 'sp_event' ), get_day_link( $thisyear, $thismonth, $day ) ) . '" title="' . sprintf( __( '%s events', 'sportspress' ), ( sizeof( $daywithpost[ $day ] ) ) ) : get_post_permalink( $daywithpost[ $day ][0], false, true ) . '" title="' . esc_attr( $ak_titles_for_day[ $day ] ) ) . "\" itemprop=\"url\">$day</a>";
238
  else
239
  $calendar_output .= $day;
240
  $calendar_output .= '</td>';
templates/event-list.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
- * @version 2.2
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -16,6 +16,9 @@ $defaults = array(
16
  'date' => 'default',
17
  'date_from' => 'default',
18
  'date_to' => 'default',
 
 
 
19
  'day' => 'default',
20
  'league' => null,
21
  'season' => null,
@@ -28,6 +31,7 @@ $defaults = array(
28
  'link_teams' => get_option( 'sportspress_link_teams', 'no' ) == 'yes' ? true : false,
29
  'link_venues' => get_option( 'sportspress_link_venues', 'yes' ) == 'yes' ? true : false,
30
  'abbreviate_teams' => get_option( 'sportspress_abbreviate_teams', 'yes' ) === 'yes' ? true : false,
 
31
  'sortable' => get_option( 'sportspress_enable_sortable_tables', 'yes' ) == 'yes' ? true : false,
32
  'scrollable' => get_option( 'sportspress_enable_scrollable_tables', 'yes' ) == 'yes' ? true : false,
33
  'paginated' => get_option( 'sportspress_event_list_paginated', 'yes' ) == 'yes' ? true : false,
@@ -51,6 +55,12 @@ if ( $date_from != 'default' )
51
  $calendar->from = $date_from;
52
  if ( $date_to != 'default' )
53
  $calendar->to = $date_to;
 
 
 
 
 
 
54
  if ( $league )
55
  $calendar->league = $league;
56
  if ( $season )
@@ -82,13 +92,16 @@ if ( $show_title && false === $title && $id ):
82
  else
83
  $title = get_the_title( $id );
84
  endif;
 
 
 
85
  ?>
86
  <div class="sp-template sp-template-event-list">
87
  <?php if ( $title ) { ?>
88
  <h4 class="sp-table-caption"><?php echo $title; ?></h4>
89
  <?php } ?>
90
  <div class="sp-table-wrapper">
91
- <table class="sp-event-list sp-event-list-format-<?php echo $title_format; ?> sp-data-table<?php if ( $paginated ) { ?> sp-paginated-table<?php } if ( $sortable ) { ?> sp-sortable-table<?php } if ( $scrollable ) { ?> sp-scrollable-table<?php } ?>" data-sp-rows="<?php echo $rows; ?>">
92
  <thead>
93
  <tr>
94
  <?php
@@ -102,6 +115,7 @@ endif;
102
 
103
  if ( 'combined' == $time_format && sp_column_active( $usecolumns, 'time' ) ) {
104
  echo '<th class="data-time">' . __( 'Time/Results', 'sportspress' ) . '</th>';
 
105
  } elseif ( in_array( $time_format, array( 'separate', 'results' ) ) && sp_column_active( $usecolumns, 'results' ) ) {
106
  echo '<th class="data-results">' . __( 'Results', 'sportspress' ) . '</th>';
107
  }
@@ -116,10 +130,11 @@ endif;
116
  break;
117
  default:
118
  if ( sp_column_active( $usecolumns, 'event' ) ) {
119
- if ( $title_format == 'teams' )
120
  echo '<th class="data-teams">' . __( 'Teams', 'sportspress' ) . '</th>';
121
- else
122
  echo '<th class="data-event">' . __( 'Event', 'sportspress' ) . '</th>';
 
123
  }
124
 
125
  switch ( $time_format ) {
@@ -144,7 +159,7 @@ endif;
144
  }
145
 
146
  if ( sp_column_active( $usecolumns, 'league' ) )
147
- echo '<th class="data-league">' . __( 'Competition', 'sportspress' ) . '</th>';
148
 
149
  if ( sp_column_active( $usecolumns, 'season' ) )
150
  echo '<th class="data-season">' . __( 'Season', 'sportspress' ) . '</th>';
@@ -157,6 +172,8 @@ endif;
157
 
158
  if ( sp_column_active( $usecolumns, 'day' ) )
159
  echo '<th class="data-day">' . __( 'Match Day', 'sportspress' ) . '</th>';
 
 
160
  ?>
161
  </tr>
162
  </thead>
@@ -185,9 +202,11 @@ endif;
185
  $name = sp_get_team_name( $team, $abbreviate_teams );
186
  if ( $name ):
187
 
 
 
188
  if ( $show_team_logo ):
189
  if ( has_post_thumbnail( $team ) ):
190
- $logo = '<span class="team-logo">' . sp_get_logo( $team, 'mini' ) . '</span>';
191
  $team_logos[] = $logo;
192
  $team_class .= ' has-logo';
193
 
@@ -200,7 +219,7 @@ endif;
200
  endif;
201
 
202
  if ( $link_teams ):
203
- $team_output = '<a href="' . get_post_permalink( $team ) . '">' . $name . '</a>';
204
  else:
205
  $team_output = $name;
206
  endif;
@@ -222,24 +241,24 @@ endif;
222
  $teams_output .= '&mdash;';
223
  endif;
224
 
225
- echo '<tr class="sp-row sp-post' . ( $i % 2 == 0 ? ' alternate' : '' ) . ' sp-row-no-' . $i . '">';
226
 
227
  $date_html = '<date>' . get_post_time( 'Y-m-d H:i:s', false, $event ) . '</date>' . apply_filters( 'sportspress_event_date', get_post_time( get_option( 'date_format' ), false, $event, true ), $event->ID );
228
 
229
- if ( $link_events ) $date_html = '<a href="' . get_post_permalink( $event->ID, false, true ) . '">' . $date_html . '</a>';
230
 
231
- echo '<td class="data-date">' . $date_html . '</td>';
232
 
233
  switch ( $title_format ) {
234
  case 'homeaway':
235
  if ( sp_column_active( $usecolumns, 'event' ) ) {
236
  $team = array_shift( $teams_array );
237
- echo '<td class="data-home' . $team_class . '">' . $team . '</td>';
238
  }
239
 
240
  if ( 'combined' == $time_format && sp_column_active( $usecolumns, 'time' ) ) {
241
- echo '<td class="data-time">';
242
- if ( $link_events ) echo '<a href="' . get_post_permalink( $event->ID, false, true ) . '">';
243
  if ( ! empty( $main_results ) ):
244
  echo implode( ' - ', $main_results );
245
  else:
@@ -248,8 +267,8 @@ endif;
248
  if ( $link_events ) echo '</a>';
249
  echo '</td>';
250
  } elseif ( in_array( $time_format, array( 'separate', 'results' ) ) && sp_column_active( $usecolumns, 'results' ) ) {
251
- echo '<td class="data-results">';
252
- if ( $link_events ) echo '<a href="' . get_post_permalink( $event->ID, false, true ) . '">';
253
  if ( ! empty( $main_results ) ):
254
  echo implode( ' - ', $main_results );
255
  else:
@@ -261,12 +280,12 @@ endif;
261
 
262
  if ( sp_column_active( $usecolumns, 'event' ) ) {
263
  $team = array_shift( $teams_array );
264
- echo '<td class="data-away' . $team_class . '">' . $team . '</td>';
265
  }
266
 
267
  if ( in_array( $time_format, array( 'separate', 'time' ) ) && sp_column_active( $usecolumns, 'time' ) ) {
268
- echo '<td class="data-time">';
269
- if ( $link_events ) echo '<a href="' . get_post_permalink( $event->ID, false, true ) . '">';
270
  echo '<date>&nbsp;' . get_post_time( 'H:i:s', false, $event ) . '</date>' . apply_filters( 'sportspress_event_time', sp_get_time( $event ), $event->ID );
271
  if ( $link_events ) echo '</a>';
272
  echo '</td>';
@@ -275,26 +294,26 @@ endif;
275
  default:
276
  if ( sp_column_active( $usecolumns, 'event' ) ) {
277
  if ( $title_format == 'teams' ) {
278
- echo '<td class="data-event data-teams">' . $teams_output . '</td>';
279
  } else {
280
  $title_html = implode( ' ', $team_logos ) . ' ' . $event->post_title;
281
- if ( $link_events ) $title_html = '<a href="' . get_post_permalink( $event->ID, false, true ) . '">' . $title_html . '</a>';
282
- echo '<td class="data-event">' . $title_html . '</td>';
283
  }
284
  }
285
 
286
  switch ( $time_format ) {
287
  case 'separate':
288
  if ( sp_column_active( $usecolumns, 'time' ) ) {
289
- echo '<td class="data-time">';
290
- if ( $link_events ) echo '<a href="' . get_post_permalink( $event->ID, false, true ) . '">';
291
  echo '<date>&nbsp;' . get_post_time( 'H:i:s', false, $event ) . '</date>' . apply_filters( 'sportspress_event_time', sp_get_time( $event ), $event->ID );
292
  if ( $link_events ) echo '</a>';
293
  echo '</td>';
294
  }
295
  if ( sp_column_active( $usecolumns, 'results' ) ) {
296
- echo '<td class="data-results">';
297
- if ( $link_events ) echo '<a href="' . get_post_permalink( $event->ID, false, true ) . '">';
298
  if ( ! empty( $main_results ) ):
299
  echo implode( ' - ', $main_results );
300
  else:
@@ -306,8 +325,8 @@ endif;
306
  break;
307
  case 'time':
308
  if ( sp_column_active( $usecolumns, 'time' ) ) {
309
- echo '<td class="data-time">';
310
- if ( $link_events ) echo '<a href="' . get_post_permalink( $event->ID, false, true ) . '">';
311
  echo '<date>&nbsp;' . get_post_time( 'H:i:s', false, $event ) . '</date>' . apply_filters( 'sportspress_event_time', sp_get_time( $event ), $event->ID );
312
  if ( $link_events ) echo '</a>';
313
  echo '</td>';
@@ -315,8 +334,8 @@ endif;
315
  break;
316
  case 'results':
317
  if ( sp_column_active( $usecolumns, 'results' ) ) {
318
- echo '<td class="data-results">';
319
- if ( $link_events ) echo '<a href="' . get_post_permalink( $event->ID, false, true ) . '">';
320
  if ( ! empty( $main_results ) ):
321
  echo implode( ' - ', $main_results );
322
  else:
@@ -328,8 +347,8 @@ endif;
328
  break;
329
  default:
330
  if ( sp_column_active( $usecolumns, 'time' ) ) {
331
- echo '<td class="data-time">';
332
- if ( $link_events ) echo '<a href="' . get_post_permalink( $event->ID, false, true ) . '">';
333
  if ( ! empty( $main_results ) ):
334
  echo implode( ' - ', $main_results );
335
  else:
@@ -342,7 +361,7 @@ endif;
342
  }
343
 
344
  if ( sp_column_active( $usecolumns, 'league' ) ):
345
- echo '<td class="data-league">';
346
  $leagues = get_the_terms( $event->ID, 'sp_league' );
347
  if ( $leagues ): foreach ( $leagues as $league ):
348
  echo $league->name;
@@ -351,7 +370,7 @@ endif;
351
  endif;
352
 
353
  if ( sp_column_active( $usecolumns, 'season' ) ):
354
- echo '<td class="data-season">';
355
  $seasons = get_the_terms( $event->ID, 'sp_season' );
356
  if ( $seasons ): foreach ( $seasons as $season ):
357
  echo $season->name;
@@ -360,7 +379,7 @@ endif;
360
  endif;
361
 
362
  if ( sp_column_active( $usecolumns, 'venue' ) ):
363
- echo '<td class="data-venue">';
364
  if ( $link_venues ):
365
  the_terms( $event->ID, 'sp_venue' );
366
  else:
@@ -373,8 +392,8 @@ endif;
373
  endif;
374
 
375
  if ( sp_column_active( $usecolumns, 'article' ) ):
376
- echo '<td class="data-article">';
377
- if ( $link_events ) echo '<a href="' . get_post_permalink( $event->ID, false, true ) . '">';
378
 
379
  if ( $video ):
380
  echo '<div class="dashicons dashicons-video-alt"></div>';
@@ -394,7 +413,7 @@ endif;
394
  endif;
395
 
396
  if ( sp_column_active( $usecolumns, 'day' ) ):
397
- echo '<td class="data-day">';
398
  $day = get_post_meta( $event->ID, 'sp_day', true );
399
  if ( '' == $day ) {
400
  echo '-';
@@ -404,6 +423,8 @@ endif;
404
  echo '</td>';
405
  endif;
406
 
 
 
407
  echo '</tr>';
408
 
409
  $i++;
@@ -413,7 +434,12 @@ endif;
413
  </table>
414
  </div>
415
  <?php
416
- if ( $id && $show_all_events_link )
 
 
 
 
417
  echo '<div class="sp-calendar-link sp-view-all-link"><a href="' . get_permalink( $id ) . '">' . __( 'View all events', 'sportspress' ) . '</a></div>';
 
418
  ?>
419
  </div>
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
+ * @version 2.5.5
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
16
  'date' => 'default',
17
  'date_from' => 'default',
18
  'date_to' => 'default',
19
+ 'date_past' => 'default',
20
+ 'date_future' => 'default',
21
+ 'date_relative' => 'default',
22
  'day' => 'default',
23
  'league' => null,
24
  'season' => null,
31
  'link_teams' => get_option( 'sportspress_link_teams', 'no' ) == 'yes' ? true : false,
32
  'link_venues' => get_option( 'sportspress_link_venues', 'yes' ) == 'yes' ? true : false,
33
  'abbreviate_teams' => get_option( 'sportspress_abbreviate_teams', 'yes' ) === 'yes' ? true : false,
34
+ 'responsive' => get_option( 'sportspress_enable_responsive_tables', 'no' ) == 'yes' ? true : false,
35
  'sortable' => get_option( 'sportspress_enable_sortable_tables', 'yes' ) == 'yes' ? true : false,
36
  'scrollable' => get_option( 'sportspress_enable_scrollable_tables', 'yes' ) == 'yes' ? true : false,
37
  'paginated' => get_option( 'sportspress_event_list_paginated', 'yes' ) == 'yes' ? true : false,
55
  $calendar->from = $date_from;
56
  if ( $date_to != 'default' )
57
  $calendar->to = $date_to;
58
+ if ( $date_past != 'default' )
59
+ $calendar->past = $date_past;
60
+ if ( $date_future != 'default' )
61
+ $calendar->future = $date_future;
62
+ if ( $date_relative != 'default' )
63
+ $calendar->relative = $date_relative;
64
  if ( $league )
65
  $calendar->league = $league;
66
  if ( $season )
92
  else
93
  $title = get_the_title( $id );
94
  endif;
95
+ $labels = array();
96
+ //Create a unique identifier based on the current time in microseconds
97
+ $identifier = uniqid( 'eventlist_' );
98
  ?>
99
  <div class="sp-template sp-template-event-list">
100
  <?php if ( $title ) { ?>
101
  <h4 class="sp-table-caption"><?php echo $title; ?></h4>
102
  <?php } ?>
103
  <div class="sp-table-wrapper">
104
+ <table class="sp-event-list sp-event-list-format-<?php echo $title_format; ?> sp-data-table<?php if ( $paginated ) { ?> sp-paginated-table<?php } if ( $sortable ) { ?> sp-sortable-table<?php } if ( $responsive ) { echo ' sp-responsive-table '.$identifier; } if ( $scrollable ) { ?> sp-scrollable-table <?php } ?>" data-sp-rows="<?php echo $rows; ?>">
105
  <thead>
106
  <tr>
107
  <?php
115
 
116
  if ( 'combined' == $time_format && sp_column_active( $usecolumns, 'time' ) ) {
117
  echo '<th class="data-time">' . __( 'Time/Results', 'sportspress' ) . '</th>';
118
+ $labels[] = __( 'Time/Results', 'sportspress' );
119
  } elseif ( in_array( $time_format, array( 'separate', 'results' ) ) && sp_column_active( $usecolumns, 'results' ) ) {
120
  echo '<th class="data-results">' . __( 'Results', 'sportspress' ) . '</th>';
121
  }
130
  break;
131
  default:
132
  if ( sp_column_active( $usecolumns, 'event' ) ) {
133
+ if ( $title_format == 'teams' ){
134
  echo '<th class="data-teams">' . __( 'Teams', 'sportspress' ) . '</th>';
135
+ } else {
136
  echo '<th class="data-event">' . __( 'Event', 'sportspress' ) . '</th>';
137
+ }
138
  }
139
 
140
  switch ( $time_format ) {
159
  }
160
 
161
  if ( sp_column_active( $usecolumns, 'league' ) )
162
+ echo '<th class="data-league">' . __( 'League', 'sportspress' ) . '</th>';
163
 
164
  if ( sp_column_active( $usecolumns, 'season' ) )
165
  echo '<th class="data-season">' . __( 'Season', 'sportspress' ) . '</th>';
172
 
173
  if ( sp_column_active( $usecolumns, 'day' ) )
174
  echo '<th class="data-day">' . __( 'Match Day', 'sportspress' ) . '</th>';
175
+
176
+ do_action( 'sportspress_event_list_head_row', $usecolumns );
177
  ?>
178
  </tr>
179
  </thead>
202
  $name = sp_get_team_name( $team, $abbreviate_teams );
203
  if ( $name ):
204
 
205
+ $name = '<meta itemprop="name" content="' . $name . '">' . $name;
206
+
207
  if ( $show_team_logo ):
208
  if ( has_post_thumbnail( $team ) ):
209
+ $logo = '<span class="team-logo">' . sp_get_logo( $team, 'mini', array( 'itemprop' => 'url' ) ) . '</span>';
210
  $team_logos[] = $logo;
211
  $team_class .= ' has-logo';
212
 
219
  endif;
220
 
221
  if ( $link_teams ):
222
+ $team_output = '<a href="' . get_post_permalink( $team ) . '" itemprop="url">' . $name . '</a>';
223
  else:
224
  $team_output = $name;
225
  endif;
241
  $teams_output .= '&mdash;';
242
  endif;
243
 
244
+ echo '<tr class="sp-row sp-post' . ( $i % 2 == 0 ? ' alternate' : '' ) . ' sp-row-no-' . $i . '" itemscope itemtype="http://schema.org/SportsEvent">';
245
 
246
  $date_html = '<date>' . get_post_time( 'Y-m-d H:i:s', false, $event ) . '</date>' . apply_filters( 'sportspress_event_date', get_post_time( get_option( 'date_format' ), false, $event, true ), $event->ID );
247
 
248
+ if ( $link_events ) $date_html = '<a href="' . get_post_permalink( $event->ID, false, true ) . '" itemprop="url">' . $date_html . '</a>';
249
 
250
+ echo '<td class="data-date" itemprop="startDate" content="' . mysql2date( 'Y-m-d\TH:iP', $event->post_date ) . '" data-label="'.__( 'Date', 'sportspress' ).'">' . $date_html . '</td>';
251
 
252
  switch ( $title_format ) {
253
  case 'homeaway':
254
  if ( sp_column_active( $usecolumns, 'event' ) ) {
255
  $team = array_shift( $teams_array );
256
+ echo '<td class="data-home' . $team_class . '" itemprop="competitor" itemscope itemtype="http://schema.org/SportsTeam" data-label="'.__( 'Home', 'sportspress' ).'">' . $team . '</td>';
257
  }
258
 
259
  if ( 'combined' == $time_format && sp_column_active( $usecolumns, 'time' ) ) {
260
+ echo '<td class="data-time" data-label="'.__( 'Time/Results', 'sportspress' ).'">';
261
+ if ( $link_events ) echo '<a href="' . get_post_permalink( $event->ID, false, true ) . '" itemprop="url">';
262
  if ( ! empty( $main_results ) ):
263
  echo implode( ' - ', $main_results );
264
  else:
267
  if ( $link_events ) echo '</a>';
268
  echo '</td>';
269
  } elseif ( in_array( $time_format, array( 'separate', 'results' ) ) && sp_column_active( $usecolumns, 'results' ) ) {
270
+ echo '<td class="data-results" data-label="'.__( 'Results', 'sportspress' ).'">';
271
+ if ( $link_events ) echo '<a href="' . get_post_permalink( $event->ID, false, true ) . '" itemprop="url">';
272
  if ( ! empty( $main_results ) ):
273
  echo implode( ' - ', $main_results );
274
  else:
280
 
281
  if ( sp_column_active( $usecolumns, 'event' ) ) {
282
  $team = array_shift( $teams_array );
283
+ echo '<td class="data-away' . $team_class . '" itemprop="competitor" itemscope itemtype="http://schema.org/SportsTeam" data-label="'.__( 'Away', 'sportspress' ).'">' . $team . '</td>';
284
  }
285
 
286
  if ( in_array( $time_format, array( 'separate', 'time' ) ) && sp_column_active( $usecolumns, 'time' ) ) {
287
+ echo '<td class="data-time" data-label="'.__( 'Time', 'sportspress' ).'">';
288
+ if ( $link_events ) echo '<a href="' . get_post_permalink( $event->ID, false, true ) . '" itemprop="url">';
289
  echo '<date>&nbsp;' . get_post_time( 'H:i:s', false, $event ) . '</date>' . apply_filters( 'sportspress_event_time', sp_get_time( $event ), $event->ID );
290
  if ( $link_events ) echo '</a>';
291
  echo '</td>';
294
  default:
295
  if ( sp_column_active( $usecolumns, 'event' ) ) {
296
  if ( $title_format == 'teams' ) {
297
+ echo '<td class="data-event data-teams" data-label="'.__( 'Teams', 'sportspress' ).'">' . $teams_output . '</td>';
298
  } else {
299
  $title_html = implode( ' ', $team_logos ) . ' ' . $event->post_title;
300
+ if ( $link_events ) $title_html = '<a href="' . get_post_permalink( $event->ID, false, true ) . '" itemprop="url">' . $title_html . '</a>';
301
+ echo '<td class="data-event" data-label="'.__( 'Event', 'sportspress' ).'">' . $title_html . '</td>';
302
  }
303
  }
304
 
305
  switch ( $time_format ) {
306
  case 'separate':
307
  if ( sp_column_active( $usecolumns, 'time' ) ) {
308
+ echo '<td class="data-time" data-label="'.__( 'Time', 'sportspress' ).'">';
309
+ if ( $link_events ) echo '<a href="' . get_post_permalink( $event->ID, false, true ) . '" itemprop="url">';
310
  echo '<date>&nbsp;' . get_post_time( 'H:i:s', false, $event ) . '</date>' . apply_filters( 'sportspress_event_time', sp_get_time( $event ), $event->ID );
311
  if ( $link_events ) echo '</a>';
312
  echo '</td>';
313
  }
314
  if ( sp_column_active( $usecolumns, 'results' ) ) {
315
+ echo '<td class="data-results" data-label="'.__( 'Results', 'sportspress' ).'">';
316
+ if ( $link_events ) echo '<a href="' . get_post_permalink( $event->ID, false, true ) . '" itemprop="url">';
317
  if ( ! empty( $main_results ) ):
318
  echo implode( ' - ', $main_results );
319
  else:
325
  break;
326
  case 'time':
327
  if ( sp_column_active( $usecolumns, 'time' ) ) {
328
+ echo '<td class="data-time" data-label="'.__( 'Time', 'sportspress' ).'">';
329
+ if ( $link_events ) echo '<a href="' . get_post_permalink( $event->ID, false, true ) . '" itemprop="url">';
330
  echo '<date>&nbsp;' . get_post_time( 'H:i:s', false, $event ) . '</date>' . apply_filters( 'sportspress_event_time', sp_get_time( $event ), $event->ID );
331
  if ( $link_events ) echo '</a>';
332
  echo '</td>';
334
  break;
335
  case 'results':
336
  if ( sp_column_active( $usecolumns, 'results' ) ) {
337
+ echo '<td class="data-results" data-label="'.__( 'Results', 'sportspress' ).'">';
338
+ if ( $link_events ) echo '<a href="' . get_post_permalink( $event->ID, false, true ) . '" itemprop="url">';
339
  if ( ! empty( $main_results ) ):
340
  echo implode( ' - ', $main_results );
341
  else:
347
  break;
348
  default:
349
  if ( sp_column_active( $usecolumns, 'time' ) ) {
350
+ echo '<td class="data-time" data-label="'.__( 'Time/Results', 'sportspress' ).'">';
351
+ if ( $link_events ) echo '<a href="' . get_post_permalink( $event->ID, false, true ) . '" itemprop="url">';
352
  if ( ! empty( $main_results ) ):
353
  echo implode( ' - ', $main_results );
354
  else:
361
  }
362
 
363
  if ( sp_column_active( $usecolumns, 'league' ) ):
364
+ echo '<td class="data-league" data-label="'.__( 'League', 'sportspress' ).'">';
365
  $leagues = get_the_terms( $event->ID, 'sp_league' );
366
  if ( $leagues ): foreach ( $leagues as $league ):
367
  echo $league->name;
370
  endif;
371
 
372
  if ( sp_column_active( $usecolumns, 'season' ) ):
373
+ echo '<td class="data-season" data-label="'.__( 'Season', 'sportspress' ).'">';
374
  $seasons = get_the_terms( $event->ID, 'sp_season' );
375
  if ( $seasons ): foreach ( $seasons as $season ):
376
  echo $season->name;
379
  endif;
380
 
381
  if ( sp_column_active( $usecolumns, 'venue' ) ):
382
+ echo '<td class="data-venue" data-label="'.__( 'Venue', 'sportspress' ).'">';
383
  if ( $link_venues ):
384
  the_terms( $event->ID, 'sp_venue' );
385
  else:
392
  endif;
393
 
394
  if ( sp_column_active( $usecolumns, 'article' ) ):
395
+ echo '<td class="data-article" data-label="'.__( 'Article', 'sportspress' ).'">';
396
+ if ( $link_events ) echo '<a href="' . get_post_permalink( $event->ID, false, true ) . '" itemprop="url">';
397
 
398
  if ( $video ):
399
  echo '<div class="dashicons dashicons-video-alt"></div>';
413
  endif;
414
 
415
  if ( sp_column_active( $usecolumns, 'day' ) ):
416
+ echo '<td class="data-day" data-label="'.__( 'Match Day', 'sportspress' ).'">';
417
  $day = get_post_meta( $event->ID, 'sp_day', true );
418
  if ( '' == $day ) {
419
  echo '-';
423
  echo '</td>';
424
  endif;
425
 
426
+ do_action( 'sportspress_event_list_row', $event, $usecolumns );
427
+
428
  echo '</tr>';
429
 
430
  $i++;
434
  </table>
435
  </div>
436
  <?php
437
+ // If responsive tables are enabled then load the inline css code
438
+ if ( $responsive ){
439
+ //sportspress_responsive_tables_css( $identifier );
440
+ }
441
+ if ( $id && $show_all_events_link ) {
442
  echo '<div class="sp-calendar-link sp-view-all-link"><a href="' . get_permalink( $id ) . '">' . __( 'View all events', 'sportspress' ) . '</a></div>';
443
+ }
444
  ?>
445
  </div>
templates/event-officials-list.php ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Event Officials List
4
+ *
5
+ * @author ThemeBoy
6
+ * @package SportsPress/Templates
7
+ * @version 2.5
8
+ */
9
+
10
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
11
+
12
+ $scrollable = get_option( 'sportspress_enable_scrollable_tables', 'yes' ) == 'yes' ? true : false;
13
+ ?>
14
+ <div class="sp-template sp-template-event-officials sp-template-details">
15
+ <h4 class="sp-table-caption"><?php _e( 'Officials', 'sportspress' ); ?></h4>
16
+ <div class="sp-list-wrapper">
17
+ <dl class="sp-event-officials">
18
+ <?php
19
+ foreach ( $labels as $key => $label ) {
20
+ $appointed_officials = (array) sp_array_value( $data, $key, array() );
21
+ if ( empty( $appointed_officials ) ) continue;
22
+
23
+ echo '<dt>' . $label . '</dt>';
24
+
25
+ foreach ( $appointed_officials as $official_id => $official_name ) {
26
+ if ( $link_officials && sp_post_exists( $official_id ) ) {
27
+ $official_name = '<a href="' . get_post_permalink( $official_id ) . '">' . $official_name . '</a>';
28
+ }
29
+ echo '<dd>' . $official_name . '</dd>';
30
+ }
31
+ }
32
+ ?>
33
+ </dl>
34
+ </div>
35
+ </div>
templates/event-officials-table.php ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Event Officials Table
4
+ *
5
+ * @author ThemeBoy
6
+ * @package SportsPress/Templates
7
+ * @version 2.5
8
+ */
9
+
10
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
11
+
12
+ $scrollable = get_option( 'sportspress_enable_scrollable_tables', 'yes' ) == 'yes' ? true : false;
13
+ ?>
14
+ <div class="sp-template sp-template-event-officials">
15
+ <h4 class="sp-table-caption"><?php _e( 'Officials', 'sportspress' ); ?></h4>
16
+ <div class="sp-table-wrapper">
17
+ <table class="sp-event-officials sp-data-table<?php echo $scrollable ? ' sp-scrollable-table' : ''; ?>">
18
+ <thead>
19
+ <tr>
20
+ <?php
21
+ foreach ( $labels as $label ) {
22
+ echo '<th class="data-name">' . $label . '</th>';
23
+ }
24
+ ?>
25
+ </tr>
26
+ </thead>
27
+ <tbody>
28
+ <tr>
29
+ <?php
30
+ foreach ( $data as $appointed_officials ) {
31
+ foreach ( $appointed_officials as $official_id => $official_name ) {
32
+ if ( $link_officials && sp_post_exists( $official_id ) ) {
33
+ $appointed_officials[ $official_id ] = '<a href="' . get_post_permalink( $official_id ) . '">' . $official_name . '</a>';
34
+ }
35
+ }
36
+ echo '<td class="data-name">' . implode( '<br>', $appointed_officials ) . '</td>';
37
+ }
38
+ ?>
39
+ </tr>
40
+ </tbody>
41
+ </table>
42
+ </div>
43
+ </div>
templates/event-officials.php ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Event Officials
4
+ *
5
+ * @author ThemeBoy
6
+ * @package SportsPress/Templates
7
+ * @version 2.5
8
+ */
9
+
10
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
11
+
12
+ if ( ! isset( $id ) )
13
+ $id = get_the_ID();
14
+
15
+ $event = new SP_Event( $id );
16
+
17
+ // Get appointed officials from event
18
+ $data = $event->appointments();
19
+
20
+ // Return if no officials are in event
21
+ if ( empty( $data ) ) return;
22
+
23
+ // The first row should be column labels
24
+ $labels = $data[0];
25
+ unset( $data[0] );
26
+
27
+ $link_officials = get_option( 'sportspress_link_officials', 'no' ) == 'yes' ? true : false;
28
+ $format = get_option( 'sportspress_event_officials_format', 'table' );
29
+
30
+ switch ( $format ):
31
+ case 'list':
32
+ sp_get_template( 'event-officials-list.php', array(
33
+ 'labels' => $labels,
34
+ 'data' => $data,
35
+ 'link_officials' => $link_officials,
36
+ ) );
37
+ break;
38
+ default:
39
+ sp_get_template( 'event-officials-table.php', array(
40
+ 'labels' => $labels,
41
+ 'data' => $data,
42
+ 'link_officials' => $link_officials,
43
+ ) );
44
+ endswitch;
templates/event-performance-table.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
- * @version 2.2.10
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -20,13 +20,21 @@ if ( ! isset( $class ) ) $class = null;
20
  // Initialize arrays
21
  if ( ! isset( $lineups ) ) $lineups = array();
22
  if ( ! isset( $subs ) ) $subs = array();
 
 
 
 
 
 
 
 
23
  ?>
24
  <div class="sp-template sp-template-event-performance sp-template-event-performance-<?php echo $mode; ?><?php if ( isset( $class ) ) { echo ' ' . $class; } ?>">
25
  <?php if ( $caption ): ?>
26
  <h4 class="sp-table-caption"><?php echo $caption; ?></h4>
27
  <?php endif; ?>
28
  <div class="sp-table-wrapper">
29
- <table class="sp-event-performance sp-data-table<?php if ( $mode == 'values' ) { ?><?php if ( $scrollable ) { ?> sp-scrollable-table<?php } ?><?php if ( $sortable ) { ?> sp-sortable-table<?php } ?><?php } ?>">
30
  <thead>
31
  <tr>
32
  <?php if ( $mode == 'values' ): ?>
@@ -65,6 +73,8 @@ if ( ! isset( $subs ) ) $subs = array();
65
 
66
  $data = apply_filters( 'sportspress_event_performance_players', $data, $lineups, $subs, $mode );
67
 
 
 
68
  $i = 0;
69
  foreach ( $data as $player_id => $row ):
70
 
@@ -82,7 +92,7 @@ if ( ! isset( $subs ) ) $subs = array();
82
  $number = sp_array_value( $row, 'number', '&nbsp;' );
83
 
84
  // Player number
85
- echo '<td class="data-number">' . $number . '</td>';
86
  }
87
 
88
  if ( $link_posts ):
@@ -90,6 +100,23 @@ if ( ! isset( $subs ) ) $subs = array();
90
  $name = '<a href="' . $permalink . '">' . $name . '</a>';
91
  endif;
92
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  if ( array_key_exists( $player_id, $lineup_sub_relation ) ):
94
  $name .= ' <span class="sub-in" title="' . get_the_title( $lineup_sub_relation[ $player_id ] ) . '">' . sp_array_value( sp_array_value( $data, $lineup_sub_relation[ $player_id ], array() ), 'number', null ) . '</span>';
95
  elseif ( isset( $row['sub'] ) && $row['sub'] ):
@@ -148,12 +175,12 @@ if ( ! isset( $subs ) ) $subs = array();
148
  endif;
149
 
150
  if ( $mode == 'values' ):
151
- $content .= '<td class="data-' . $key . '">' . $value . '</td>';
152
  elseif ( intval( $value ) && $mode == 'icons' ):
153
  $performance_id = sp_array_value( $performance_ids, $key, null );
154
  $icons = '';
155
  if ( $performance_id && has_post_thumbnail( $performance_id ) ):
156
- $icons = str_repeat( get_the_post_thumbnail( $performance_id, 'sportspress-fit-mini', array( 'title' => sp_get_singular_name( $performance_id ) ) ) . ' ', $value );
157
  endif;
158
  $content .= apply_filters( 'sportspress_event_performance_icons', $icons, $performance_id, $value );
159
  endif;
@@ -163,7 +190,7 @@ if ( ! isset( $subs ) ) $subs = array();
163
  $name .= ' <small class="sp-player-position">' . $position . '</small>';
164
  endif;
165
 
166
- echo '<td class="data-name">' . $name . '</td>';
167
 
168
  if ( $mode == 'icons' ):
169
  echo '<td class="sp-performance-icons">' . $content . '</td>';
@@ -176,6 +203,14 @@ if ( ! isset( $subs ) ) $subs = array();
176
  $i++;
177
 
178
  endforeach;
 
 
 
 
 
 
 
 
179
  ?>
180
  </tbody>
181
  <?php endif; ?>
@@ -189,10 +224,10 @@ if ( ! isset( $subs ) ) $subs = array();
189
  <?php
190
  if ( $show_players ):
191
  if ( apply_filters( 'sportspress_event_performance_show_numbers', $show_numbers, $section ) ) {
192
- echo '<td class="data-number">&nbsp;</td>';
193
  }
194
  if ( $mode == 'values' ):
195
- echo '<td class="data-name">' . __( 'Total', 'sportspress' ) . '</td>';
196
  endif;
197
  endif;
198
 
@@ -216,7 +251,11 @@ if ( ! isset( $subs ) ) $subs = array();
216
  endif;
217
 
218
  if ( $mode == 'values' ):
219
- echo '<td class="data-' . $key . '">' . $value . '</td>';
 
 
 
 
220
  elseif ( intval( $value ) && $mode == 'icons' ):
221
  $performance_id = sp_array_value( $performance_ids, $key, null );
222
  $icons = '';
@@ -237,4 +276,4 @@ if ( ! isset( $subs ) ) $subs = array();
237
  </div>
238
 
239
  <?php do_action( 'sportspress_after_event_performance_table', $data, $lineups, $subs, $class ); ?>
240
- </div>
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
+ * @version 2.5.5
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
20
  // Initialize arrays
21
  if ( ! isset( $lineups ) ) $lineups = array();
22
  if ( ! isset( $subs ) ) $subs = array();
23
+
24
+ $responsive = get_option( 'sportspress_enable_responsive_tables', 'no' ) == 'yes' ? true : false;
25
+ //Create a unique identifier based on the current time in microseconds
26
+ $identifier = uniqid( 'performance_' );
27
+ // If responsive tables are enabled then load the inline css code
28
+ if ( true == $responsive && $mode == 'values' ){
29
+ //sportspress_responsive_tables_css( $identifier );
30
+ }
31
  ?>
32
  <div class="sp-template sp-template-event-performance sp-template-event-performance-<?php echo $mode; ?><?php if ( isset( $class ) ) { echo ' ' . $class; } ?>">
33
  <?php if ( $caption ): ?>
34
  <h4 class="sp-table-caption"><?php echo $caption; ?></h4>
35
  <?php endif; ?>
36
  <div class="sp-table-wrapper">
37
+ <table class="sp-event-performance sp-data-table<?php if ( $mode == 'values' ) { ?><?php if ( $scrollable ) { ?> sp-scrollable-table<?php }if ( $responsive ) { echo ' sp-responsive-table '.$identifier; } if ( $sortable ) { ?> sp-sortable-table<?php } ?><?php } ?>">
38
  <thead>
39
  <tr>
40
  <?php if ( $mode == 'values' ): ?>
73
 
74
  $data = apply_filters( 'sportspress_event_performance_players', $data, $lineups, $subs, $mode );
75
 
76
+ $stars_type = get_option( 'sportspress_event_performance_stars_type', 0 );
77
+
78
  $i = 0;
79
  foreach ( $data as $player_id => $row ):
80
 
92
  $number = sp_array_value( $row, 'number', '&nbsp;' );
93
 
94
  // Player number
95
+ echo '<td class="data-number" data-label="#">' . $number . '</td>';
96
  }
97
 
98
  if ( $link_posts ):
100
  $name = '<a href="' . $permalink . '">' . $name . '</a>';
101
  endif;
102
 
103
+ if ( $stars_type ):
104
+ $player_stars = sp_array_value( $stars, $player_id, 0 );
105
+ if ( $player_stars ):
106
+ switch ( $stars_type ):
107
+ case 1:
108
+ $name .= ' <span class="sp-event-stars"><i class="sp-event-star dashicons dashicons-star-filled" title="' . __( 'Player of the Match', 'sportspress' ) . '"></i></span>';
109
+ break;
110
+ case 2:
111
+ $name .= ' <span class="sp-event-stars">' . str_repeat( '<i class="sp-event-star dashicons dashicons-star-filled" title="' . __( 'Stars', 'sportspress' ) . '"></i>', $player_stars ) . '</span>';
112
+ break;
113
+ case 3:
114
+ $name .= ' <span class="sp-event-stars"><i class="sp-event-star sp-event-star-' . $player_stars . ' dashicons dashicons-star-filled" title="' . __( 'Stars', 'sportspress' ) . '"></i><span class="sp-event-star-number">' . $player_stars . '</span></span>';
115
+ break;
116
+ endswitch;
117
+ endif;
118
+ endif;
119
+
120
  if ( array_key_exists( $player_id, $lineup_sub_relation ) ):
121
  $name .= ' <span class="sub-in" title="' . get_the_title( $lineup_sub_relation[ $player_id ] ) . '">' . sp_array_value( sp_array_value( $data, $lineup_sub_relation[ $player_id ], array() ), 'number', null ) . '</span>';
122
  elseif ( isset( $row['sub'] ) && $row['sub'] ):
175
  endif;
176
 
177
  if ( $mode == 'values' ):
178
+ $content .= '<td class="data-' . $key . '" data-label="'.$labels[$key].'">' . $value . '</td>';
179
  elseif ( intval( $value ) && $mode == 'icons' ):
180
  $performance_id = sp_array_value( $performance_ids, $key, null );
181
  $icons = '';
182
  if ( $performance_id && has_post_thumbnail( $performance_id ) ):
183
+ $icons = str_repeat( get_the_post_thumbnail( $performance_id, 'sportspress-fit-mini', array( 'title' => sp_get_singular_name( $performance_id ) ) ) . ' ', intval($value) );
184
  endif;
185
  $content .= apply_filters( 'sportspress_event_performance_icons', $icons, $performance_id, $value );
186
  endif;
190
  $name .= ' <small class="sp-player-position">' . $position . '</small>';
191
  endif;
192
 
193
+ echo '<td class="data-name" data-label="' . ( isset( $section_label ) ? $section_label : __( 'Player', 'sportspress' ) ) .'">' . $name . '</td>';
194
 
195
  if ( $mode == 'icons' ):
196
  echo '<td class="sp-performance-icons">' . $content . '</td>';
203
  $i++;
204
 
205
  endforeach;
206
+
207
+ foreach ( $labels as $key => $label ):
208
+ $format = sp_array_value( $formats, $key, 'number' );
209
+ if ( 'equation' === $format ):
210
+ $post = get_page_by_path( $key, OBJECT, 'sp_performance' );
211
+ if ( $post ) $totals[ $key ] = sp_solve( get_post_meta( $post->ID, 'sp_equation', true ), $totals, get_post_meta( $post->ID, 'sp_precision', true ) );
212
+ endif;
213
+ endforeach;
214
  ?>
215
  </tbody>
216
  <?php endif; ?>
224
  <?php
225
  if ( $show_players ):
226
  if ( apply_filters( 'sportspress_event_performance_show_numbers', $show_numbers, $section ) ) {
227
+ echo '<td class="data-number" data-label="&nbsp;">&nbsp;</td>';
228
  }
229
  if ( $mode == 'values' ):
230
+ echo '<td class="data-name" data-label="&nbsp;">' . __( 'Total', 'sportspress' ) . '</td>';
231
  endif;
232
  endif;
233
 
251
  endif;
252
 
253
  if ( $mode == 'values' ):
254
+ if ($key == 'position'){
255
+ echo '<td class="data-' . $key . '" data-label="&nbsp;">' . $value . '</td>';
256
+ }else{
257
+ echo '<td class="data-' . $key . '" data-label="'.$labels[$key].'">' . $value . '</td>';
258
+ }
259
  elseif ( intval( $value ) && $mode == 'icons' ):
260
  $performance_id = sp_array_value( $performance_ids, $key, null );
261
  $icons = '';
276
  </div>
277
 
278
  <?php do_action( 'sportspress_after_event_performance_table', $data, $lineups, $subs, $class ); ?>
279
+ </div>
templates/event-performance.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
- * @version 2.3
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -35,6 +35,7 @@ if ( is_array( $teams ) ):
35
 
36
  $event = new SP_Event( $id );
37
  $performance = $event->performance();
 
38
 
39
  $link_posts = get_option( 'sportspress_link_players', 'yes' ) == 'yes' ? true : false;
40
  $scrollable = get_option( 'sportspress_enable_scrollable_tables', 'yes' ) == 'yes' ? true : false;
@@ -121,6 +122,7 @@ if ( is_array( $teams ) ):
121
  'mode' => $mode,
122
  'data' => $data,
123
  'event' => $event,
 
124
  'link_posts' => $link_posts,
125
  'performance_ids' => isset( $performance_ids ) ? $performance_ids : null,
126
  'primary' => 'primary' == $total ? $primary : null,
@@ -230,6 +232,7 @@ if ( is_array( $teams ) ):
230
  'mode' => $mode,
231
  'data' => $data[ $section_id ],
232
  'event' => $event,
 
233
  'link_posts' => $link_posts,
234
  'performance_ids' => isset( $performance_ids ) ? $performance_ids : null,
235
  'primary' => 'primary' == $total ? $primary : null,
@@ -266,6 +269,7 @@ if ( is_array( $teams ) ):
266
  'mode' => $mode,
267
  'data' => $data,
268
  'event' => $event,
 
269
  'link_posts' => $link_posts,
270
  'performance_ids' => isset( $performance_ids ) ? $performance_ids : null,
271
  'primary' => 'primary' == $total ? $primary : null,
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
+ * @version 2.5
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
35
 
36
  $event = new SP_Event( $id );
37
  $performance = $event->performance();
38
+ $stars = $event->stars();
39
 
40
  $link_posts = get_option( 'sportspress_link_players', 'yes' ) == 'yes' ? true : false;
41
  $scrollable = get_option( 'sportspress_enable_scrollable_tables', 'yes' ) == 'yes' ? true : false;
122
  'mode' => $mode,
123
  'data' => $data,
124
  'event' => $event,
125
+ 'stars' => $stars,
126
  'link_posts' => $link_posts,
127
  'performance_ids' => isset( $performance_ids ) ? $performance_ids : null,
128
  'primary' => 'primary' == $total ? $primary : null,
232
  'mode' => $mode,
233
  'data' => $data[ $section_id ],
234
  'event' => $event,
235
+ 'stars' => $stars,
236
  'link_posts' => $link_posts,
237
  'performance_ids' => isset( $performance_ids ) ? $performance_ids : null,
238
  'primary' => 'primary' == $total ? $primary : null,
269
  'mode' => $mode,
270
  'data' => $data,
271
  'event' => $event,
272
+ 'stars' => $stars,
273
  'link_posts' => $link_posts,
274
  'performance_ids' => isset( $performance_ids ) ? $performance_ids : null,
275
  'primary' => 'primary' == $total ? $primary : null,
templates/event-results.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
- * @version 2.2.4
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -114,4 +114,4 @@ endif;
114
  ?>
115
  <div class="sp-template sp-template-event-results">
116
  <?php echo $output; ?>
117
- </div>
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
+ * @version 2.5
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
114
  ?>
115
  <div class="sp-template sp-template-event-results">
116
  <?php echo $output; ?>
117
+ </div>
templates/event-staff.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
- * @version 1.7
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -36,12 +36,13 @@ extract( $defaults, EXTR_SKIP );
36
 
37
  $staff = new SP_Staff( $staff_id );
38
 
39
- $role = $staff->role();
40
-
41
- if ( $role )
42
- echo $role->name;
43
- else
44
  _e( 'Staff', 'sportspress' );
 
45
 
46
  echo ': ';
47
 
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
+ * @version 2.5
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
36
 
37
  $staff = new SP_Staff( $staff_id );
38
 
39
+ $roles = $staff->roles();
40
+ if ( ! empty( $roles ) ):
41
+ $roles = wp_list_pluck( $roles, 'name' );
42
+ echo implode( '<span class="sp-staff-role-delimiter">/</span>', $roles );
43
+ else:
44
  _e( 'Staff', 'sportspress' );
45
+ endif;
46
 
47
  echo ': ';
48
 
templates/league-table.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
- * @version 2.3
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -19,6 +19,7 @@ $defaults = array(
19
  'show_title' => get_option( 'sportspress_table_show_title', 'yes' ) == 'yes' ? true : false,
20
  'show_team_logo' => get_option( 'sportspress_table_show_logos', 'yes' ) == 'yes' ? true : false,
21
  'link_posts' => null,
 
22
  'sortable' => get_option( 'sportspress_enable_sortable_tables', 'yes' ) == 'yes' ? true : false,
23
  'scrollable' => get_option( 'sportspress_enable_scrollable_tables', 'yes' ) == 'yes' ? true : false,
24
  'paginated' => get_option( 'sportspress_table_paginated', 'yes' ) == 'yes' ? true : false,
@@ -47,6 +48,9 @@ if ( $show_title && false === $title && $id ):
47
  $title = get_the_title( $id );
48
  endif;
49
 
 
 
 
50
  $output = '';
51
 
52
  if ( $title )
@@ -54,13 +58,16 @@ if ( $title )
54
 
55
  $output .= '<div class="sp-table-wrapper">';
56
 
57
- $output .= '<table class="sp-league-table sp-data-table' . ( $sortable ? ' sp-sortable-table' : '' ) . ( $scrollable ? ' sp-scrollable-table' : '' ) . ( $paginated ? ' sp-paginated-table' : '' ) . '" data-sp-rows="' . $rows . '">' . '<thead>' . '<tr>';
58
 
59
  $data = $table->data();
60
 
61
  // The first row should be column labels
62
  $labels = $data[0];
63
-
 
 
 
64
  // Remove the first row to leave us with the actual data
65
  unset( $data[0] );
66
 
@@ -132,7 +139,7 @@ foreach ( $data as $team_id => $row ):
132
  $output .= '<tr class="' . ( $i % 2 == 0 ? 'odd' : 'even' ) . $tr_class . ' sp-row-no-' . $i . '">';
133
 
134
  // Rank
135
- $output .= '<td class="data-rank' . $td_class . '">' . sp_array_value( $row, 'pos' ) . '</td>';
136
 
137
  $name_class = '';
138
 
@@ -149,13 +156,13 @@ foreach ( $data as $team_id => $row ):
149
  $name = '<a href="' . $permalink . '">' . $name . '</a>';
150
  endif;
151
 
152
- $output .= '<td class="data-name' . $name_class . $td_class . '">' . $name . '</td>';
153
 
154
  foreach( $labels as $key => $value ):
155
  if ( in_array( $key, array( 'pos', 'name' ) ) )
156
  continue;
157
  if ( ! is_array( $columns ) || in_array( $key, $columns ) )
158
- $output .= '<td class="data-' . $key . $td_class . '">' . sp_array_value( $row, $key, '&mdash;' ) . '</td>';
159
  endforeach;
160
 
161
  $output .= '</tr>';
@@ -171,7 +178,6 @@ $output .= '</div>';
171
 
172
  if ( $show_full_table_link )
173
  $output .= '<div class="sp-league-table-link sp-view-all-link"><a href="' . get_permalink( $id ) . '">' . __( 'View full table', 'sportspress' ) . '</a></div>';
174
-
175
  ?>
176
  <div class="sp-template sp-template-league-table">
177
  <?php echo $output; ?>
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
+ * @version 2.5.5
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
19
  'show_title' => get_option( 'sportspress_table_show_title', 'yes' ) == 'yes' ? true : false,
20
  'show_team_logo' => get_option( 'sportspress_table_show_logos', 'yes' ) == 'yes' ? true : false,
21
  'link_posts' => null,
22
+ 'responsive' => get_option( 'sportspress_enable_responsive_tables', 'no' ) == 'yes' ? true : false,
23
  'sortable' => get_option( 'sportspress_enable_sortable_tables', 'yes' ) == 'yes' ? true : false,
24
  'scrollable' => get_option( 'sportspress_enable_scrollable_tables', 'yes' ) == 'yes' ? true : false,
25
  'paginated' => get_option( 'sportspress_table_paginated', 'yes' ) == 'yes' ? true : false,
48
  $title = get_the_title( $id );
49
  endif;
50
 
51
+ //Create a unique identifier based on the current time in microseconds
52
+ $identifier = uniqid( 'table_' );
53
+
54
  $output = '';
55
 
56
  if ( $title )
58
 
59
  $output .= '<div class="sp-table-wrapper">';
60
 
61
+ $output .= '<table class="sp-league-table sp-data-table' . ( $sortable ? ' sp-sortable-table' : '' ) . ( $responsive ? ' sp-responsive-table '.$identifier : '' ). ( $scrollable ? ' sp-scrollable-table' : '' ) . ( $paginated ? ' sp-paginated-table' : '' ) . '" data-sp-rows="' . $rows . '">' . '<thead>' . '<tr>';
62
 
63
  $data = $table->data();
64
 
65
  // The first row should be column labels
66
  $labels = $data[0];
67
+ // If responsive tables are enabled then load the inline css code
68
+ if ( true == $responsive ){
69
+ //sportspress_responsive_tables_css( $identifier );
70
+ }
71
  // Remove the first row to leave us with the actual data
72
  unset( $data[0] );
73
 
139
  $output .= '<tr class="' . ( $i % 2 == 0 ? 'odd' : 'even' ) . $tr_class . ' sp-row-no-' . $i . '">';
140
 
141
  // Rank
142
+ $output .= '<td class="data-rank' . $td_class . '" data-label="'.$labels['pos'].'">' . sp_array_value( $row, 'pos' ) . '</td>';
143
 
144
  $name_class = '';
145
 
156
  $name = '<a href="' . $permalink . '">' . $name . '</a>';
157
  endif;
158
 
159
+ $output .= '<td class="data-name' . $name_class . $td_class . '" data-label="'.$labels['name'].'">' . $name . '</td>';
160
 
161
  foreach( $labels as $key => $value ):
162
  if ( in_array( $key, array( 'pos', 'name' ) ) )
163
  continue;
164
  if ( ! is_array( $columns ) || in_array( $key, $columns ) )
165
+ $output .= '<td class="data-' . $key . $td_class . '" data-label="'.$labels[$key].'">' . sp_array_value( $row, $key, '&mdash;' ) . '</td>';
166
  endforeach;
167
 
168
  $output .= '</tr>';
178
 
179
  if ( $show_full_table_link )
180
  $output .= '<div class="sp-league-table-link sp-view-all-link"><a href="' . get_permalink( $id ) . '">' . __( 'View full table', 'sportspress' ) . '</a></div>';
 
181
  ?>
182
  <div class="sp-template sp-template-league-table">
183
  <?php echo $output; ?>
templates/official-details.php ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Official Details
4
+ *
5
+ * @author ThemeBoy
6
+ * @package SportsPress/Templates
7
+ * @version 2.5
8
+ */
9
+
10
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
11
+ if ( get_option( 'sportspress_official_show_details', 'yes' ) === 'no' ) return;
12
+
13
+ if ( ! isset( $id ) )
14
+ $id = get_the_ID();
15
+
16
+ $defaults = array(
17
+ 'show_number' => get_option( 'sportspress_official_show_number', 'no' ) == 'yes' ? true : false,
18
+ 'show_name' => get_option( 'sportspress_official_show_name', 'no' ) == 'yes' ? true : false,
19
+ 'show_nationality' => get_option( 'sportspress_official_show_nationality', 'yes' ) == 'yes' ? true : false,
20
+ 'show_positions' => get_option( 'sportspress_official_show_positions', 'yes' ) == 'yes' ? true : false,
21
+ 'show_current_teams' => get_option( 'sportspress_official_show_current_teams', 'yes' ) == 'yes' ? true : false,
22
+ 'show_past_teams' => get_option( 'sportspress_official_show_past_teams', 'yes' ) == 'yes' ? true : false,
23
+ 'show_leagues' => get_option( 'sportspress_official_show_leagues', 'no' ) == 'yes' ? true : false,
24
+ 'show_seasons' => get_option( 'sportspress_official_show_seasons', 'no' ) == 'yes' ? true : false,
25
+ 'show_nationality_flags' => get_option( 'sportspress_official_show_flags', 'yes' ) == 'yes' ? true : false,
26
+ 'abbreviate_teams' => get_option( 'sportspress_abbreviate_teams', 'yes' ) === 'yes' ? true : false,
27
+ 'link_teams' => get_option( 'sportspress_link_teams', 'no' ) == 'yes' ? true : false,
28
+ );
29
+
30
+ extract( $defaults, EXTR_SKIP );
31
+
32
+ $countries = SP()->countries->countries;
33
+
34
+ $official = new SP_Official( $id );
35
+
36
+ $metrics_before = $official->metrics( true );
37
+ $metrics_after = $official->metrics( false );
38
+
39
+ $common = array();
40
+
41
+ if ( $show_number ):
42
+ $common[ '#' ] = $official->number;
43
+ endif;
44
+
45
+ if ( $show_name ):
46
+ $common[ __( 'Name', 'sportspress' ) ] = $official->post->post_title;
47
+ endif;
48
+
49
+ if ( $show_nationality ):
50
+ $nationalities = $official->nationalities();
51
+ if ( $nationalities && is_array( $nationalities ) ):
52
+ $values = array();
53
+ foreach ( $nationalities as $nationality ):
54
+ $country_name = sp_array_value( $countries, $nationality, null );
55
+ $values[] = $country_name ? ( $show_nationality_flags ? '<img src="' . plugin_dir_url( SP_PLUGIN_FILE ) . 'assets/images/flags/' . strtolower( $nationality ) . '.png" alt="' . $nationality . '"> ' : '' ) . $country_name : '&mdash;';
56
+ endforeach;
57
+ $common[ __( 'Nationality', 'sportspress' ) ] = implode( '<br>', $values );
58
+ endif;
59
+ endif;
60
+
61
+ if ( $show_positions ):
62
+ $positions = $official->positions();
63
+ if ( $positions && is_array( $positions ) ):
64
+ $position_names = array();
65
+ foreach ( $positions as $position ):
66
+ $position_names[] = $position->name;
67
+ endforeach;
68
+ $common[ __( 'Position', 'sportspress' ) ] = implode( ', ', $position_names );
69
+ endif;
70
+ endif;
71
+
72
+ $data = array_merge( $metrics_before, $common, $metrics_after );
73
+
74
+ if ( $show_current_teams ):
75
+ $current_teams = $official->current_teams();
76
+ if ( $current_teams ):
77
+ $teams = array();
78
+ foreach ( $current_teams as $team ):
79
+ $team_name = sp_get_team_name( $team, $abbreviate_teams );
80
+ if ( $link_teams ) $team_name = '<a href="' . get_post_permalink( $team ) . '">' . $team_name . '</a>';
81
+ $teams[] = $team_name;
82
+ endforeach;
83
+ $data[ __( 'Current Team', 'sportspress' ) ] = implode( ', ', $teams );
84
+ endif;
85
+ endif;
86
+
87
+ if ( $show_past_teams ):
88
+ $past_teams = $official->past_teams();
89
+ if ( $past_teams ):
90
+ $teams = array();
91
+ foreach ( $past_teams as $team ):
92
+ $team_name = sp_get_team_name( $team, $abbreviate_teams );
93
+ if ( $link_teams ) $team_name = '<a href="' . get_post_permalink( $team ) . '">' . $team_name . '</a>';
94
+ $teams[] = $team_name;
95
+ endforeach;
96
+ $data[ __( 'Past Teams', 'sportspress' ) ] = implode( ', ', $teams );
97
+ endif;
98
+ endif;
99
+
100
+ if ( $show_leagues ):
101
+ $leagues = $official->leagues();
102
+ if ( $leagues && ! is_wp_error( $leagues ) ):
103
+ $terms = array();
104
+ foreach ( $leagues as $league ) {
105
+ $terms[] = $league->name;
106
+ }
107
+ $data[ __( 'Leagues', 'sportspress' ) ] = implode( ', ', $terms );
108
+ endif;
109
+ endif;
110
+
111
+ if ( $show_seasons ):
112
+ $seasons = $official->seasons();
113
+ if ( $seasons && ! is_wp_error( $seasons ) ):
114
+ $terms = array();
115
+ foreach ( $seasons as $season ) {
116
+ $terms[] = $season->name;
117
+ }
118
+ $data[ __( 'Seasons', 'sportspress' ) ] = implode( ', ', $terms );
119
+ endif;
120
+ endif;
121
+
122
+ $data = apply_filters( 'sportspress_official_details', $data, $id );
123
+
124
+ if ( empty( $data ) )
125
+ return;
126
+
127
+ $output = '<div class="sp-template sp-template-official-details sp-template-details"><div class="sp-list-wrapper"><dl class="sp-official-details">';
128
+
129
+ foreach( $data as $label => $value ):
130
+
131
+ $output .= '<dt>' . $label . '</dt><dd>' . $value . '</dd>';
132
+
133
+ endforeach;
134
+
135
+ $output .= '</dl></div></div>';
136
+
137
+ echo $output;
templates/player-details.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
- * @version 2.1
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -104,7 +104,7 @@ if ( $show_leagues ):
104
  foreach ( $leagues as $league ) {
105
  $terms[] = $league->name;
106
  }
107
- $data[ __( 'Competitions', 'sportspress' ) ] = implode( ', ', $terms );
108
  endif;
109
  endif;
110
 
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
+ * @version 2.5
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
104
  foreach ( $leagues as $league ) {
105
  $terms[] = $league->name;
106
  }
107
+ $data[ __( 'Leagues', 'sportspress' ) ] = implode( ', ', $terms );
108
  endif;
109
  endif;
110
 
templates/player-gallery.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
- * @version 2.2
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -112,7 +112,20 @@ echo apply_filters( 'gallery_style', $gallery_style . "\n\t\t" );
112
  $limit = $number;
113
 
114
  if ( $grouping === 'position' ):
115
- $groups = get_terms( 'sp_position', array( 'orderby' => 'slug' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
116
  else:
117
  $group = new stdClass();
118
  $group->term_id = null;
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
+ * @version 2.5
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
112
  $limit = $number;
113
 
114
  if ( $grouping === 'position' ):
115
+ $groups = get_terms( 'sp_position', array(
116
+ 'orderby' => 'meta_value_num',
117
+ 'meta_query' => array(
118
+ 'relation' => 'OR',
119
+ array(
120
+ 'key' => 'sp_order',
121
+ 'compare' => 'NOT EXISTS'
122
+ ),
123
+ array(
124
+ 'key' => 'sp_order',
125
+ 'compare' => 'EXISTS'
126
+ ),
127
+ ),
128
+ ) );
129
  else:
130
  $group = new stdClass();
131
  $group->term_id = null;
templates/player-list.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
- * @version 2.2
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -25,6 +25,7 @@ $defaults = array(
25
  'link_posts' => get_option( 'sportspress_link_players', 'yes' ) == 'yes' ? true : false,
26
  'link_teams' => get_option( 'sportspress_link_teams', 'no' ) == 'yes' ? true : false,
27
  'abbreviate_teams' => get_option( 'sportspress_abbreviate_teams', 'yes' ) === 'yes' ? true : false,
 
28
  'sortable' => get_option( 'sportspress_enable_sortable_tables', 'yes' ) == 'yes' ? true : false,
29
  'scrollable' => get_option( 'sportspress_enable_scrollable_tables', 'yes' ) == 'yes' ? true : false,
30
  'paginated' => get_option( 'sportspress_list_paginated', 'yes' ) == 'yes' ? true : false,
@@ -56,6 +57,12 @@ $data = $list->data();
56
  // The first row should be column labels
57
  $labels = $data[0];
58
 
 
 
 
 
 
 
59
  // Remove the first row to leave us with the actual data
60
  unset( $data[0] );
61
 
@@ -79,7 +86,20 @@ endif;
79
  $output = '';
80
 
81
  if ( $grouping === 'position' ):
82
- $groups = get_terms( 'sp_position', array( 'orderby' => 'slug' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
83
  else:
84
  if ( $show_title && false === $title && $id ):
85
  $caption = $list->caption;
@@ -117,9 +137,9 @@ foreach ( $groups as $group ):
117
  // Rank or number
118
  if ( ! is_array( $labels ) || array_key_exists( 'number', $labels ) ):
119
  if ( isset( $orderby ) && $orderby != 'number' ):
120
- $tbody .= '<td class="data-rank">' . ( $i + 1 ) . '</td>';
121
  else:
122
- $tbody .= '<td class="data-number">' . sp_array_value( $row, 'number', '&nbsp;' ) . '</td>';
123
  endif;
124
  endif;
125
 
@@ -149,7 +169,7 @@ foreach ( $groups as $group ):
149
  $name = '<a href="' . $permalink . '">' . $name . '</a>';
150
  endif;
151
 
152
- $tbody .= '<td class="data-name' . $name_class . '">' . $name . '</td>';
153
 
154
  if ( array_key_exists( 'team', $labels ) ):
155
  $team = sp_array_value( $row, 'team', get_post_meta( $id, 'sp_team', true ) );
@@ -157,7 +177,7 @@ foreach ( $groups as $group ):
157
  if ( $link_teams && false !== get_post_status( $team ) ):
158
  $team_name = '<a href="' . get_post_permalink( $team ) . '">' . $team_name . '</a>';
159
  endif;
160
- $tbody .= '<td class="data-team">' . $team_name . '</td>';
161
  endif;
162
 
163
  if ( array_key_exists( 'position', $labels ) ):
@@ -168,14 +188,14 @@ foreach ( $groups as $group ):
168
  $position_term = get_term_by( 'id', $position, 'sp_position', ARRAY_A );
169
  $positions = sp_array_value( $position_term, 'name', '&mdash;' );
170
  endif;
171
- $tbody .= '<td class="data-position">' . $positions . '</td>';
172
  endif;
173
 
174
  foreach( $labels as $key => $value ):
175
  if ( in_array( $key, array( 'number', 'name', 'team', 'position' ) ) )
176
  continue;
177
  if ( ! is_array( $columns ) || in_array( $key, $columns ) )
178
- $tbody .= '<td class="data-' . $key . '">' . sp_array_value( $row, $key, '&mdash;' ) . '</td>';
179
  endforeach;
180
 
181
  $tbody .= '</tr>';
@@ -194,7 +214,7 @@ foreach ( $groups as $group ):
194
  endif;
195
 
196
  $output .= '<div class="sp-table-wrapper">' .
197
- '<table class="sp-player-list sp-data-table' . ( $sortable ? ' sp-sortable-table' : '' ) . ( $scrollable ? ' sp-scrollable-table' : '' ) . ( $paginated ? ' sp-paginated-table' : '' ) . '" data-sp-rows="' . $rows . '">' . '<thead>' . '<tr>';
198
 
199
  if ( ! is_array( $labels ) || array_key_exists( 'number', $labels ) ):
200
  if ( in_array( $orderby, array( 'number', 'name' ) ) ):
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
+ * @version 2.5.5
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
25
  'link_posts' => get_option( 'sportspress_link_players', 'yes' ) == 'yes' ? true : false,
26
  'link_teams' => get_option( 'sportspress_link_teams', 'no' ) == 'yes' ? true : false,
27
  'abbreviate_teams' => get_option( 'sportspress_abbreviate_teams', 'yes' ) === 'yes' ? true : false,
28
+ 'responsive' => get_option( 'sportspress_enable_responsive_tables', 'no' ) == 'yes' ? true : false,
29
  'sortable' => get_option( 'sportspress_enable_sortable_tables', 'yes' ) == 'yes' ? true : false,
30
  'scrollable' => get_option( 'sportspress_enable_scrollable_tables', 'yes' ) == 'yes' ? true : false,
31
  'paginated' => get_option( 'sportspress_list_paginated', 'yes' ) == 'yes' ? true : false,
57
  // The first row should be column labels
58
  $labels = $data[0];
59
 
60
+ //Create a unique identifier based on the current time in microseconds
61
+ $identifier = uniqid( 'playerlist_' );
62
+ // If responsive tables are enabled then load the inline css code
63
+ if ( true == $responsive ){
64
+ //sportspress_responsive_tables_css( $identifier );
65
+ }
66
  // Remove the first row to leave us with the actual data
67
  unset( $data[0] );
68
 
86
  $output = '';
87
 
88
  if ( $grouping === 'position' ):
89
+ $groups = get_terms( 'sp_position', array(
90
+ 'orderby' => 'meta_value_num',
91
+ 'meta_query' => array(
92
+ 'relation' => 'OR',
93
+ array(
94
+ 'key' => 'sp_order',
95
+ 'compare' => 'NOT EXISTS'
96
+ ),
97
+ array(
98
+ 'key' => 'sp_order',
99
+ 'compare' => 'EXISTS'
100
+ ),
101
+ ),
102
+ ) );
103
  else:
104
  if ( $show_title && false === $title && $id ):
105
  $caption = $list->caption;
137
  // Rank or number
138
  if ( ! is_array( $labels ) || array_key_exists( 'number', $labels ) ):
139
  if ( isset( $orderby ) && $orderby != 'number' ):
140
+ $tbody .= '<td class="data-rank" data-label="'.$labels['number'].'">' . ( $i + 1 ) . '</td>';
141
  else:
142
+ $tbody .= '<td class="data-number" data-label="'.$labels['number'].'">' . sp_array_value( $row, 'number', '&nbsp;' ) . '</td>';
143
  endif;
144
  endif;
145
 
169
  $name = '<a href="' . $permalink . '">' . $name . '</a>';
170
  endif;
171
 
172
+ $tbody .= '<td class="data-name' . $name_class . '" data-label="'.$labels['name'].'">' . $name . '</td>';
173
 
174
  if ( array_key_exists( 'team', $labels ) ):
175
  $team = sp_array_value( $row, 'team', get_post_meta( $id, 'sp_team', true ) );
177
  if ( $link_teams && false !== get_post_status( $team ) ):
178
  $team_name = '<a href="' . get_post_permalink( $team ) . '">' . $team_name . '</a>';
179
  endif;
180
+ $tbody .= '<td class="data-team" data-label="'.$labels['team'].'">' . $team_name . '</td>';
181
  endif;
182
 
183
  if ( array_key_exists( 'position', $labels ) ):
188
  $position_term = get_term_by( 'id', $position, 'sp_position', ARRAY_A );
189
  $positions = sp_array_value( $position_term, 'name', '&mdash;' );
190
  endif;
191
+ $tbody .= '<td class="data-position" data-label="'.$labels['position'].'">' . $positions . '</td>';
192
  endif;
193
 
194
  foreach( $labels as $key => $value ):
195
  if ( in_array( $key, array( 'number', 'name', 'team', 'position' ) ) )
196
  continue;
197
  if ( ! is_array( $columns ) || in_array( $key, $columns ) )
198
+ $tbody .= '<td class="data-' . $key . '" data-label="'.$labels[$key].'">' . sp_array_value( $row, $key, '&mdash;' ) . '</td>';
199
  endforeach;
200
 
201
  $tbody .= '</tr>';
214
  endif;
215
 
216
  $output .= '<div class="sp-table-wrapper">' .
217
+ '<table class="sp-player-list sp-data-table' . ( $sortable ? ' sp-sortable-table' : '' ). ( $responsive ? ' sp-responsive-table '.$identifier : '' ) . ( $scrollable ? ' sp-scrollable-table' : '' ) . ( $paginated ? ' sp-paginated-table' : '' ) . '" data-sp-rows="' . $rows . '">' . '<thead>' . '<tr>';
218
 
219
  if ( ! is_array( $labels ) || array_key_exists( 'number', $labels ) ):
220
  if ( in_array( $orderby, array( 'number', 'name' ) ) ):
templates/player-statistics-league.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php
2
  /**
3
- * Player Statistics for Single Competition
4
  *
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
- * @version 2.0.5
9
  */
10
 
11
  // The first row should be column labels
1
  <?php
2
  /**
3
+ * Player Statistics for Single League
4
  *
5
  * @author ThemeBoy
6
  * @category Admin
7
  * @package SportsPress/Admin/Meta_Boxes
8
+ * @version 2.5
9
  */
10
 
11
  // The first row should be column labels
templates/staff-content.php ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Staff Content
4
+ *
5
+ * @author ThemeBoy
6
+ * @package SportsPress/Templates
7
+ * @version 2.5.5
8
+ */
9
+
10
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
11
+ if ( get_option( 'sportspress_staff_show_content', 'yes' ) === 'no' ) return;
12
+
13
+ if ( ! isset( $id ) )
14
+ $id = get_the_ID();
15
+
16
+ $post = get_post( $id );
17
+ $content = $post->post_content;
18
+ if ( $content ) {
19
+ ?>
20
+ <div class="sp-post-content">
21
+ <?php echo apply_filters( 'the_content', $content ); ?>
22
+ </div>
23
+ <?php
24
+ }
templates/staff-excerpt.php ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Staff Excerpt
4
+ *
5
+ * @author ThemeBoy
6
+ * @package SportsPress/Templates
7
+ * @version 2.5.5
8
+ */
9
+
10
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
11
+ if ( get_option( 'sportspress_staff_show_excerpt', 'yes' ) === 'no' ) return;
12
+
13
+ if ( ! isset( $id ) )
14
+ $id = get_the_ID();
15
+
16
+ $post = get_post( $id );
17
+ $excerpt = $post->post_excerpt;
18
+ if ( $excerpt ) {
19
+ ?>
20
+ <p class="sp-excerpt">
21
+ <?php echo $excerpt; ?>
22
+ </p>
23
+ <?php
24
+ }
templates/staff-header.php ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Staff Header
4
+ *
5
+ * @author ThemeBoy
6
+ * @package SportsPress/Templates
7
+ * @version 2.5.5
8
+ */
9
+
10
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
11
+
12
+ if ( ! isset( $id ) )
13
+ $id = get_the_ID();
14
+
15
+ $post = get_post( $id );
16
+ $title = $post->post_title;
17
+ if ( $title ) {
18
+ $staff = new SP_Staff( $id );
19
+ $role = $staff->role();
20
+ if ( $role )
21
+ $title = '<strong class="sp-staff-role">' . $role->name . '</strong> ' . $title;
22
+ ?>
23
+ <h3 class="sp-staff-name"><?php echo $title ?></h3>
24
+ <?php
25
+ }
templates/team-details.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
- * @version 1.8
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -21,7 +21,7 @@ if ( $terms ):
21
  foreach ( $terms as $term ):
22
  $leagues[] = $term->name;
23
  endforeach;
24
- $data[ __( 'Competitions', 'sportspress' ) ] = implode( ', ', $leagues );
25
  endif;
26
 
27
  $terms = get_the_terms( $id, 'sp_season' );
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
+ * @version 2.5
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
21
  foreach ( $terms as $term ):
22
  $leagues[] = $term->name;
23
  endforeach;
24
+ $data[ __( 'Leagues', 'sportspress' ) ] = implode( ', ', $leagues );
25
  endif;
26
 
27
  $terms = get_the_terms( $id, 'sp_season' );
templates/team-staff.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
- * @version 1.9.13
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -14,18 +14,21 @@ if ( ! isset( $id ) )
14
 
15
  $team = new SP_Team( $id );
16
  $members = $team->staff();
 
17
 
18
  foreach ( $members as $staff ):
19
  $id = $staff->ID;
20
  $name = $staff->post_title;
21
 
22
  $staff = new SP_Staff( $id );
23
- $role = $staff->role();
24
-
25
- if ( $role )
26
- $name = '<span class="sp-staff-role">' . $role->name . '</span> ' . $name;
 
 
27
  ?>
28
- <h4 class="sp-staff-name"><?php echo $name; ?></h4>
29
  <?php
30
  sp_get_template( 'staff-photo.php', array( 'id' => $id ) );
31
  sp_get_template( 'staff-details.php', array( 'id' => $id ) );
4
  *
5
  * @author ThemeBoy
6
  * @package SportsPress/Templates
7
+ * @version 2.5.5
8
  */
9
 
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
14
 
15
  $team = new SP_Team( $id );
16
  $members = $team->staff();
17
+ $link_staff = get_option( 'sportspress_team_link_staff', 'no' ) === 'yes' ? true : false;
18
 
19
  foreach ( $members as $staff ):
20
  $id = $staff->ID;
21
  $name = $staff->post_title;
22
 
23
  $staff = new SP_Staff( $id );
24
+ $roles = $staff->roles();
25
+
26
+ if ( ! empty( $roles ) ):
27
+ $roles = wp_list_pluck( $roles, 'name' );
28
+ $name = '<span class="sp-staff-role">' . implode( '<span class="sp-staff-role-delimiter">/</span>', $roles ) . '</span> ' . $name;
29
+ endif;
30
  ?>
31
+ <h4 class="sp-staff-name"><?php echo $link_staff ? '<a href="'. get_permalink( $id ) .'">'. $name .'</a>' : $name ?></h4>
32
  <?php
33
  sp_get_template( 'staff-photo.php', array( 'id' => $id ) );
34
  sp_get_template( 'staff-details.php', array( 'id' => $id ) );
wpml-config.xml CHANGED
@@ -6,7 +6,7 @@
6
  <key name="Birthday"/>
7
  <key name="Box Score"/>
8
  <key name="Canceled"/>
9
- <key name="Competition"/>
10
  <key name="Current Team"/>
11
  <key name="Current Teams"/>
12
  <key name="Date"/>
@@ -17,10 +17,12 @@
17
  <key name="Excerpt"/>
18
  <key name="Fixtures"/>
19
  <key name="Full Time"/>
 
20
  <key name="League Tables"/>
21
  <key name="Logos"/>
22
  <key name="Match Day"/>
23
  <key name="Nationality"/>
 
24
  <key name="Outcome"/>
25
  <key name="Past Teams"/>
26
  <key name="Performance"/>
6
  <key name="Birthday"/>
7
  <key name="Box Score"/>
8
  <key name="Canceled"/>
9
+ <key name="Career Total"/>
10
  <key name="Current Team"/>
11
  <key name="Current Teams"/>
12
  <key name="Date"/>
17
  <key name="Excerpt"/>
18
  <key name="Fixtures"/>
19
  <key name="Full Time"/>
20
+ <key name="League"/>
21
  <key name="League Tables"/>
22
  <key name="Logos"/>
23
  <key name="Match Day"/>
24
  <key name="Nationality"/>
25
+ <key name="Officials"/>
26
  <key name="Outcome"/>
27
  <key name="Past Teams"/>
28
  <key name="Performance"/>