Version Description
Download this release
Release Info
Developer | tareq1988 |
Plugin | WP User Frontend – Membership, Profile, Registration & Post Submission Plugin for WordPress |
Version | 3.3.1 |
Comparing to | |
See all releases |
Code changes from version 3.3.0 to 3.3.1
- .php_cs.dist +0 -148
- admin/html/whats-new.php +55 -21
- assets/js/countries.json +4 -4
- includes/class-frontend-render-form.php +7 -2
- includes/countries-formated.php +9 -9
- includes/countries-state.php +3 -3
- includes/countries.php +3 -2
- includes/fields/class-field-checkbox.php +7 -1
- includes/fields/class-field-email.php +40 -0
- includes/fields/class-field-multidropdown.php +7 -1
- includes/fields/class-field-text.php +5 -1
- includes/fields/class-field-textarea.php +19 -1
- includes/fields/class-field-url.php +41 -0
- includes/free/class-login.php +35 -10
- languages/wp-user-frontend.pot +344 -226
- readme.txt +10 -1
- templates/login-form.php +1 -1
- vendor/autoload.php +0 -7
- vendor/composer/ClassLoader.php +0 -445
- vendor/composer/LICENSE +0 -21
- vendor/composer/autoload_classmap.php +0 -104
- vendor/composer/autoload_namespaces.php +0 -9
- vendor/composer/autoload_psr4.php +0 -10
- vendor/composer/autoload_real.php +0 -55
- vendor/composer/autoload_static.php +0 -130
- vendor/composer/installed.json +0 -127
- vendor/composer/installers/LICENSE +0 -19
- vendor/composer/installers/composer.json +0 -108
- vendor/composer/installers/src/Composer/Installers/AglInstaller.php +0 -21
- vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php +0 -9
- vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php +0 -11
- vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php +0 -49
- vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php +0 -9
- vendor/composer/installers/src/Composer/Installers/BaseInstaller.php +0 -136
- vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php +0 -126
- vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php +0 -9
- vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php +0 -82
- vendor/composer/installers/src/Composer/Installers/ChefInstaller.php +0 -11
- vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php +0 -9
- vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php +0 -10
- vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php +0 -34
- vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php +0 -11
- vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php +0 -13
- vendor/composer/installers/src/Composer/Installers/CraftInstaller.php +0 -35
- vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php +0 -21
- vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php +0 -10
- vendor/composer/installers/src/Composer/Installers/DframeInstaller.php +0 -10
- vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php +0 -50
- vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php +0 -16
- vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php +0 -21
- vendor/composer/installers/src/Composer/Installers/ElggInstaller.php +0 -9
- vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php +0 -12
- vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php +0 -29
- vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php +0 -10
- vendor/composer/installers/src/Composer/Installers/FuelInstaller.php +0 -11
- vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php +0 -9
- vendor/composer/installers/src/Composer/Installers/GravInstaller.php +0 -30
- vendor/composer/installers/src/Composer/Installers/HuradInstaller.php +0 -25
- vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php +0 -11
- vendor/composer/installers/src/Composer/Installers/Installer.php +0 -279
- vendor/composer/installers/src/Composer/Installers/ItopInstaller.php +0 -9
- vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php +0 -15
- vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php +0 -18
- vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php +0 -11
- vendor/composer/installers/src/Composer/Installers/KnownInstaller.php +0 -11
- vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php +0 -10
- vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php +0 -9
- vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php +0 -27
- vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php +0 -9
- vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php +0 -10
- vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php +0 -10
- vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php +0 -9
- vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php +0 -16
- vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php +0 -11
- vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php +0 -37
- vendor/composer/installers/src/Composer/Installers/MakoInstaller.php +0 -9
- vendor/composer/installers/src/Composer/Installers/MantisBTInstaller.php +0 -23
- vendor/composer/installers/src/Composer/Installers/MauticInstaller.php +0 -25
- vendor/composer/installers/src/Composer/Installers/MayaInstaller.php +0 -33
- vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php +0 -51
- vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php +0 -119
- vendor/composer/installers/src/Composer/Installers/ModxInstaller.php +0 -12
- vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php +0 -58
- vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php +0 -47
- vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php +0 -24
- vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php +0 -14
- vendor/composer/installers/src/Composer/Installers/OxidInstaller.php +0 -59
- vendor/composer/installers/src/Composer/Installers/PPIInstaller.php +0 -9
- vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php +0 -11
- vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php +0 -11
- vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php +0 -21
- vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php +0 -32
- vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php +0 -29
- vendor/composer/installers/src/Composer/Installers/Plugin.php +0 -17
- vendor/composer/installers/src/Composer/Installers/PortoInstaller.php +0 -9
- vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php +0 -10
- vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php +0 -11
- vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php +0 -63
- vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php +0 -24
- vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php +0 -10
- vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php +0 -10
- vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php +0 -10
- vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php +0 -22
- vendor/composer/installers/src/Composer/Installers/SMFInstaller.php +0 -10
- vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php +0 -60
- vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php +0 -35
- vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php +0 -25
- vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php +0 -49
- vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php +0 -26
- vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php +0 -16
- vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php +0 -38
- vendor/composer/installers/src/Composer/Installers/TaoInstaller.php +0 -12
- vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php +0 -12
- vendor/composer/installers/src/Composer/Installers/TuskInstaller.php +0 -14
- vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php +0 -9
- vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php +0 -10
- vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php +0 -49
- vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php +0 -21
- vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php +0 -9
- vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php +0 -12
- vendor/composer/installers/src/Composer/Installers/YawikInstaller.php +0 -32
- vendor/composer/installers/src/Composer/Installers/ZendInstaller.php +0 -11
- vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php +0 -10
- vendor/composer/installers/src/bootstrap.php +0 -13
- wpuf-functions.php +1 -1
- wpuf.php +2 -2
.php_cs.dist
DELETED
@@ -1,148 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
$finder = PhpCsFixer\Finder::create()
|
4 |
-
->exclude( 'node_modules' )
|
5 |
-
->exclude( 'vendors' )
|
6 |
-
->in( __DIR__ )
|
7 |
-
;
|
8 |
-
|
9 |
-
$config = PhpCsFixer\Config::create()
|
10 |
-
->setRiskyAllowed( true )
|
11 |
-
->setUsingCache( false )
|
12 |
-
->setRules( [
|
13 |
-
'@PSR2' => true,
|
14 |
-
'align_multiline_comment' => true,
|
15 |
-
'array_syntax' => ['syntax' => 'short'],
|
16 |
-
'binary_operator_spaces' => [
|
17 |
-
'align_double_arrow' => true,
|
18 |
-
'align_equals' => true,
|
19 |
-
],
|
20 |
-
'blank_line_after_opening_tag' => true,
|
21 |
-
'blank_line_before_statement' => [
|
22 |
-
'statements' => ['return', 'try', 'if', 'while', 'for', 'foreach', 'do', 'case'],
|
23 |
-
],
|
24 |
-
'braces' => [
|
25 |
-
'position_after_functions_and_oop_constructs' => 'same',
|
26 |
-
'allow_single_line_closure' => false,
|
27 |
-
],
|
28 |
-
'cast_spaces' => ['space' => 'single'],
|
29 |
-
'class_attributes_separation' => ['elements' => ['method', 'const', 'property']],
|
30 |
-
'class_definition' => ['single_line' => true],
|
31 |
-
'concat_space' => ['spacing' => 'one'],
|
32 |
-
'constant_case' => ['case' => 'lower'],
|
33 |
-
'dir_constant' => true,
|
34 |
-
'elseif' => true,
|
35 |
-
'full_opening_tag' => true,
|
36 |
-
'fully_qualified_strict_types' => true,
|
37 |
-
'function_declaration' => true,
|
38 |
-
'space_inside_parenthesis' => true,
|
39 |
-
'function_typehint_space' => true,
|
40 |
-
'global_namespace_import' => ['import_classes' => true],
|
41 |
-
'include' => true,
|
42 |
-
'line_ending' => true,
|
43 |
-
'list_syntax' => ['syntax' => 'long'],
|
44 |
-
'lowercase_cast' => true,
|
45 |
-
'lowercase_keywords' => true,
|
46 |
-
'lowercase_static_reference' => true,
|
47 |
-
'magic_constant_casing' => true,
|
48 |
-
'magic_method_casing' => true,
|
49 |
-
'method_argument_space' => true,
|
50 |
-
'native_function_casing' => true,
|
51 |
-
'method_chaining_indentation' => true,
|
52 |
-
'native_function_type_declaration_casing' => true,
|
53 |
-
'new_with_braces' => true,
|
54 |
-
'no_alternative_syntax' => true,
|
55 |
-
'no_blank_lines_before_namespace' => true,
|
56 |
-
'no_blank_lines_after_class_opening' => false,
|
57 |
-
'no_blank_lines_after_phpdoc' => true,
|
58 |
-
'no_empty_comment' => true,
|
59 |
-
'no_empty_phpdoc' => true,
|
60 |
-
'no_empty_statement' => true,
|
61 |
-
'no_extra_blank_lines' => ['tokens' => [
|
62 |
-
'extra',
|
63 |
-
'parenthesis_brace_block',
|
64 |
-
'square_brace_block',
|
65 |
-
'throw',
|
66 |
-
'use',
|
67 |
-
]],
|
68 |
-
'no_leading_import_slash' => true,
|
69 |
-
'no_leading_namespace_whitespace' => true,
|
70 |
-
'no_mixed_echo_print' => true,
|
71 |
-
'no_multiline_whitespace_around_double_arrow' => true,
|
72 |
-
'no_short_bool_cast' => true,
|
73 |
-
'no_short_echo_tag' => true,
|
74 |
-
'no_singleline_whitespace_before_semicolons' => true,
|
75 |
-
'no_spaces_around_offset' => ['positions' => ['outside']],
|
76 |
-
'no_spaces_inside_parenthesis' => false,
|
77 |
-
'no_superfluous_phpdoc_tags' => ['allow_mixed' => true, 'allow_unused_params' => true],
|
78 |
-
'no_trailing_comma_in_list_call' => true,
|
79 |
-
'no_trailing_comma_in_singleline_array' => true,
|
80 |
-
'no_trailing_whitespace' => true,
|
81 |
-
'no_unneeded_control_parentheses' => true,
|
82 |
-
'no_unneeded_curly_braces' => true,
|
83 |
-
'no_unneeded_final_method' => true,
|
84 |
-
'no_unused_imports' => true,
|
85 |
-
'no_whitespace_before_comma_in_array' => true,
|
86 |
-
'no_whitespace_in_blank_line' => true,
|
87 |
-
'normalize_index_brace' => true,
|
88 |
-
'object_operator_without_whitespace' => true,
|
89 |
-
'ordered_imports' => true,
|
90 |
-
'php_unit_fqcn_annotation' => true,
|
91 |
-
'phpdoc_align' => [
|
92 |
-
'align' => 'vertical',
|
93 |
-
'tags' => [
|
94 |
-
'method',
|
95 |
-
'param',
|
96 |
-
'property',
|
97 |
-
'return',
|
98 |
-
'throws',
|
99 |
-
'type',
|
100 |
-
'var',
|
101 |
-
],
|
102 |
-
],
|
103 |
-
'phpdoc_annotation_without_dot' => true,
|
104 |
-
'phpdoc_indent' => true,
|
105 |
-
'phpdoc_inline_tag' => true,
|
106 |
-
'phpdoc_no_access' => true,
|
107 |
-
'phpdoc_no_alias_tag' => true,
|
108 |
-
'phpdoc_no_package' => true,
|
109 |
-
'phpdoc_no_useless_inheritdoc' => true,
|
110 |
-
'phpdoc_return_self_reference' => true,
|
111 |
-
'phpdoc_scalar' => true,
|
112 |
-
'phpdoc_separation' => true,
|
113 |
-
'phpdoc_single_line_var_spacing' => true,
|
114 |
-
'phpdoc_to_comment' => true,
|
115 |
-
'phpdoc_trim' => true,
|
116 |
-
'phpdoc_trim_consecutive_blank_line_separation' => true,
|
117 |
-
'phpdoc_types' => true,
|
118 |
-
'phpdoc_types_order' => [
|
119 |
-
'null_adjustment' => 'always_last',
|
120 |
-
'sort_algorithm' => 'none',
|
121 |
-
],
|
122 |
-
'phpdoc_var_without_name' => true,
|
123 |
-
'return_type_declaration' => true,
|
124 |
-
'semicolon_after_instruction' => true,
|
125 |
-
'short_scalar_cast' => true,
|
126 |
-
'single_class_element_per_statement' => true,
|
127 |
-
'single_line_comment_style' => [
|
128 |
-
'comment_types' => ['hash'],
|
129 |
-
],
|
130 |
-
'single_line_throw' => true,
|
131 |
-
'single_quote' => true,
|
132 |
-
'single_trait_insert_per_statement' => true,
|
133 |
-
'space_after_semicolon' => [
|
134 |
-
'remove_in_empty_for_expressions' => true,
|
135 |
-
],
|
136 |
-
'standardize_increment' => true,
|
137 |
-
'standardize_not_equals' => true,
|
138 |
-
'ternary_operator_spaces' => true,
|
139 |
-
'trailing_comma_in_multiline_array' => true,
|
140 |
-
'trim_array_spaces' => false,
|
141 |
-
'unary_operator_spaces' => true,
|
142 |
-
'whitespace_after_comma_in_array' => true,
|
143 |
-
// 'yoda_style' => true,
|
144 |
-
] )
|
145 |
-
->setFinder( $finder )
|
146 |
-
;
|
147 |
-
|
148 |
-
return $config;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/html/whats-new.php
CHANGED
@@ -1,91 +1,125 @@
|
|
1 |
<?php
|
2 |
$changelog = [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
[
|
4 |
'version' => 'Version 3.3.0',
|
5 |
'released' => '2020-06-11',
|
6 |
'changes' => [
|
7 |
[
|
8 |
-
'title' => 'Add Namibian Dollar in currency list',
|
9 |
'type' => 'Enhancement',
|
10 |
],
|
11 |
[
|
12 |
-
'title' => 'Add sync values option for option data fields',
|
13 |
'type' => 'Enhancement',
|
14 |
],
|
15 |
[
|
16 |
-
'title' => 'Allow uploading image that having filesize meets php ini settings',
|
17 |
'type' => 'Tweak',
|
18 |
],
|
19 |
[
|
20 |
-
'title' => 'Limit the selection of one image at a time',
|
21 |
'type' => 'Tweak',
|
22 |
],
|
23 |
[
|
24 |
-
'title' => 'Use file name and size to generate hash to prevent duplicant image upload',
|
25 |
'type' => 'Tweak',
|
26 |
],
|
27 |
[
|
28 |
-
'title' => 'Sanitize text and textarea field data',
|
29 |
'type' => 'Tweak',
|
30 |
],
|
31 |
[
|
32 |
-
'title' => 'Show label instead of values for radio, checkbox, dropdown and multiselect data',
|
33 |
'type' => 'Tweak',
|
34 |
],
|
35 |
[
|
36 |
-
'title' => 'Saving custom taxonomies for type text input',
|
37 |
'type' => 'Fix',
|
38 |
],
|
39 |
[
|
40 |
-
'title' => 'Admin settings link for recaptcha helper text',
|
41 |
'type' => 'Fix',
|
42 |
],
|
43 |
[
|
44 |
-
'title' => 'Undefined name property for Custom HTML fields',
|
45 |
'type' => 'Fix',
|
46 |
],
|
47 |
[
|
48 |
-
'title' => 'Delete attachment process',
|
49 |
'type' => 'Fix',
|
50 |
],
|
51 |
[
|
52 |
-
'title' => 'Missing billing address in invoice PDF',
|
53 |
'type' => 'Fix',
|
54 |
],
|
55 |
[
|
56 |
-
'title' => 'Showing country field value in frontend post content',
|
57 |
'type' => 'Fix',
|
58 |
],
|
59 |
[
|
60 |
-
'title' => 'Avatar size display not complying with admin settings size',
|
61 |
'type' => 'Fix',
|
62 |
],
|
63 |
[
|
64 |
-
'title' => 'Display default avatars on admin settings discussion page',
|
65 |
'type' => 'Fix',
|
66 |
],
|
67 |
[
|
68 |
-
'title' => 'Redirect to subscription page at registration',
|
69 |
'type' => 'Fix',
|
70 |
],
|
71 |
[
|
72 |
-
'title' => 'Error notice regarding registration page redirect',
|
73 |
'type' => 'Fix',
|
74 |
],
|
75 |
[
|
76 |
-
'title' => 'Escaping html in registration errors',
|
77 |
'type' => 'Fix',
|
78 |
],
|
79 |
[
|
80 |
-
'title' => 'Default login redirect link',
|
81 |
'type' => 'Fix',
|
82 |
],
|
83 |
[
|
84 |
-
'title' => 'Implementing default WP login page override option',
|
85 |
'type' => 'Fix',
|
86 |
],
|
87 |
[
|
88 |
-
'title' => 'Transparent background of autosuggestion dropdown',
|
89 |
'type' => 'Fix',
|
90 |
],
|
91 |
],
|
1 |
<?php
|
2 |
$changelog = [
|
3 |
+
[
|
4 |
+
'version' => 'Version 3.3.1',
|
5 |
+
'released' => '2020-06-16',
|
6 |
+
'changes' => [
|
7 |
+
[
|
8 |
+
'title' => __( 'Use common names for Ivory Coast, North Korea and Sourth Korea instead of their official names', 'wp-user-frontend' ),
|
9 |
+
'type' => 'Tweak',
|
10 |
+
],
|
11 |
+
[
|
12 |
+
'title' => __( 'Fix condition to use default avatar', 'wp-user-frontend' ),
|
13 |
+
'type' => 'Fix',
|
14 |
+
],
|
15 |
+
[
|
16 |
+
'title' => __( 'Make Email and URL fields clickable', 'wp-user-frontend' ),
|
17 |
+
'type' => 'Fix',
|
18 |
+
],
|
19 |
+
[
|
20 |
+
'title' => __( 'Fix redirect after user login', 'wp-user-frontend' ),
|
21 |
+
'type' => 'Fix',
|
22 |
+
],
|
23 |
+
[
|
24 |
+
'title' => __( 'Sanitize textarea field data', 'wp-user-frontend' ),
|
25 |
+
'type' => 'Fix',
|
26 |
+
],
|
27 |
+
[
|
28 |
+
'title' => __( 'Fix missing colon to email, URL, text and textarea labels when renders their data', 'wp-user-frontend' ),
|
29 |
+
'type' => 'Fix',
|
30 |
+
],
|
31 |
+
[
|
32 |
+
'title' => __( 'Prevent showing empty labels for fields that have render_field_data method', 'wp-user-frontend' ),
|
33 |
+
'type' => 'Fix',
|
34 |
+
],
|
35 |
+
],
|
36 |
+
],
|
37 |
[
|
38 |
'version' => 'Version 3.3.0',
|
39 |
'released' => '2020-06-11',
|
40 |
'changes' => [
|
41 |
[
|
42 |
+
'title' => __( 'Add Namibian Dollar in currency list', 'wp-user-frontend' ),
|
43 |
'type' => 'Enhancement',
|
44 |
],
|
45 |
[
|
46 |
+
'title' => __( 'Add sync values option for option data fields', 'wp-user-frontend' ),
|
47 |
'type' => 'Enhancement',
|
48 |
],
|
49 |
[
|
50 |
+
'title' => __( 'Allow uploading image that having filesize meets php ini settings', 'wp-user-frontend' ),
|
51 |
'type' => 'Tweak',
|
52 |
],
|
53 |
[
|
54 |
+
'title' => __( 'Limit the selection of one image at a time', 'wp-user-frontend' ),
|
55 |
'type' => 'Tweak',
|
56 |
],
|
57 |
[
|
58 |
+
'title' => __( 'Use file name and size to generate hash to prevent duplicant image upload', 'wp-user-frontend' ),
|
59 |
'type' => 'Tweak',
|
60 |
],
|
61 |
[
|
62 |
+
'title' => __( 'Sanitize text and textarea field data', 'wp-user-frontend' ),
|
63 |
'type' => 'Tweak',
|
64 |
],
|
65 |
[
|
66 |
+
'title' => __( 'Show label instead of values for radio, checkbox, dropdown and multiselect data', 'wp-user-frontend' ),
|
67 |
'type' => 'Tweak',
|
68 |
],
|
69 |
[
|
70 |
+
'title' => __( 'Saving custom taxonomies for type text input', 'wp-user-frontend' ),
|
71 |
'type' => 'Fix',
|
72 |
],
|
73 |
[
|
74 |
+
'title' => __( 'Admin settings link for recaptcha helper text', 'wp-user-frontend' ),
|
75 |
'type' => 'Fix',
|
76 |
],
|
77 |
[
|
78 |
+
'title' => __( 'Undefined name property for Custom HTML fields', 'wp-user-frontend' ),
|
79 |
'type' => 'Fix',
|
80 |
],
|
81 |
[
|
82 |
+
'title' => __( 'Delete attachment process', 'wp-user-frontend' ),
|
83 |
'type' => 'Fix',
|
84 |
],
|
85 |
[
|
86 |
+
'title' => __( 'Missing billing address in invoice PDF', 'wp-user-frontend' ),
|
87 |
'type' => 'Fix',
|
88 |
],
|
89 |
[
|
90 |
+
'title' => __( 'Showing country field value in frontend post content', 'wp-user-frontend' ),
|
91 |
'type' => 'Fix',
|
92 |
],
|
93 |
[
|
94 |
+
'title' => __( 'Avatar size display not complying with admin settings size', 'wp-user-frontend' ),
|
95 |
'type' => 'Fix',
|
96 |
],
|
97 |
[
|
98 |
+
'title' => __( 'Display default avatars on admin settings discussion page', 'wp-user-frontend' ),
|
99 |
'type' => 'Fix',
|
100 |
],
|
101 |
[
|
102 |
+
'title' => __( 'Redirect to subscription page at registration', 'wp-user-frontend' ),
|
103 |
'type' => 'Fix',
|
104 |
],
|
105 |
[
|
106 |
+
'title' => __( 'Error notice regarding registration page redirect', 'wp-user-frontend' ),
|
107 |
'type' => 'Fix',
|
108 |
],
|
109 |
[
|
110 |
+
'title' => __( 'Escaping html in registration errors', 'wp-user-frontend' ),
|
111 |
'type' => 'Fix',
|
112 |
],
|
113 |
[
|
114 |
+
'title' => __( 'Default login redirect link', 'wp-user-frontend' ),
|
115 |
'type' => 'Fix',
|
116 |
],
|
117 |
[
|
118 |
+
'title' => __( 'Implementing default WP login page override option', 'wp-user-frontend' ),
|
119 |
'type' => 'Fix',
|
120 |
],
|
121 |
[
|
122 |
+
'title' => __( 'Transparent background of autosuggestion dropdown', 'wp-user-frontend' ),
|
123 |
'type' => 'Fix',
|
124 |
],
|
125 |
],
|
assets/js/countries.json
CHANGED
@@ -52,7 +52,7 @@
|
|
52 |
{"name": "Congo, The Democratic Republic of the", "code": "CD"},
|
53 |
{"name": "Cook Islands", "code": "CK"},
|
54 |
{"name": "Costa Rica", "code": "CR"},
|
55 |
-
{"name": "
|
56 |
{"name": "Croatia", "code": "HR"},
|
57 |
{"name": "Cuba", "code": "CU"},
|
58 |
{"name": "Cyprus", "code": "CY"},
|
@@ -114,8 +114,6 @@
|
|
114 |
{"name": "Kazakhstan", "code": "KZ"},
|
115 |
{"name": "Kenya", "code": "KE"},
|
116 |
{"name": "Kiribati", "code": "KI"},
|
117 |
-
{"name": "Korea, Democratic People\"S Republic of", "code": "KP"},
|
118 |
-
{"name": "Korea, Republic of", "code": "KR"},
|
119 |
{"name": "Kuwait", "code": "KW"},
|
120 |
{"name": "Kyrgyzstan", "code": "KG"},
|
121 |
{"name": "Lao People\"S Democratic Republic", "code": "LA"},
|
@@ -161,6 +159,7 @@
|
|
161 |
{"name": "Nigeria", "code": "NG"},
|
162 |
{"name": "Niue", "code": "NU"},
|
163 |
{"name": "Norfolk Island", "code": "NF"},
|
|
|
164 |
{"name": "Northern Mariana Islands", "code": "MP"},
|
165 |
{"name": "Norway", "code": "NO"},
|
166 |
{"name": "Oman", "code": "OM"},
|
@@ -201,6 +200,7 @@
|
|
201 |
{"name": "Somalia", "code": "SO"},
|
202 |
{"name": "South Africa", "code": "ZA"},
|
203 |
{"name": "South Georgia and the South Sandwich Islands", "code": "GS"},
|
|
|
204 |
{"name": "Spain", "code": "ES"},
|
205 |
{"name": "Sri Lanka", "code": "LK"},
|
206 |
{"name": "Sudan", "code": "SD"},
|
@@ -242,4 +242,4 @@
|
|
242 |
{"name": "Yemen", "code": "YE"},
|
243 |
{"name": "Zambia", "code": "ZM"},
|
244 |
{"name": "Zimbabwe", "code": "ZW"}
|
245 |
-
]
|
52 |
{"name": "Congo, The Democratic Republic of the", "code": "CD"},
|
53 |
{"name": "Cook Islands", "code": "CK"},
|
54 |
{"name": "Costa Rica", "code": "CR"},
|
55 |
+
{"name": "Ivory Coast", "code": "CI"},
|
56 |
{"name": "Croatia", "code": "HR"},
|
57 |
{"name": "Cuba", "code": "CU"},
|
58 |
{"name": "Cyprus", "code": "CY"},
|
114 |
{"name": "Kazakhstan", "code": "KZ"},
|
115 |
{"name": "Kenya", "code": "KE"},
|
116 |
{"name": "Kiribati", "code": "KI"},
|
|
|
|
|
117 |
{"name": "Kuwait", "code": "KW"},
|
118 |
{"name": "Kyrgyzstan", "code": "KG"},
|
119 |
{"name": "Lao People\"S Democratic Republic", "code": "LA"},
|
159 |
{"name": "Nigeria", "code": "NG"},
|
160 |
{"name": "Niue", "code": "NU"},
|
161 |
{"name": "Norfolk Island", "code": "NF"},
|
162 |
+
{"name": "North Korea", "code": "KP"},
|
163 |
{"name": "Northern Mariana Islands", "code": "MP"},
|
164 |
{"name": "Norway", "code": "NO"},
|
165 |
{"name": "Oman", "code": "OM"},
|
200 |
{"name": "Somalia", "code": "SO"},
|
201 |
{"name": "South Africa", "code": "ZA"},
|
202 |
{"name": "South Georgia and the South Sandwich Islands", "code": "GS"},
|
203 |
+
{"name": "South Korea", "code": "KR"},
|
204 |
{"name": "Spain", "code": "ES"},
|
205 |
{"name": "Sri Lanka", "code": "LK"},
|
206 |
{"name": "Sudan", "code": "SD"},
|
242 |
{"name": "Yemen", "code": "YE"},
|
243 |
{"name": "Zambia", "code": "ZM"},
|
244 |
{"name": "Zimbabwe", "code": "ZW"}
|
245 |
+
]
|
includes/class-frontend-render-form.php
CHANGED
@@ -673,8 +673,13 @@ class WPUF_Frontend_Render_Form {
|
|
673 |
$multi_repeated = []; //multi repeated fields will in sotre duplicated meta key
|
674 |
|
675 |
foreach ( $meta_vars as $key => $value ) {
|
676 |
-
|
677 |
-
|
|
|
|
|
|
|
|
|
|
|
678 |
$value_name = isset( $post_data[$value['name']] ) ? array_map( 'sanitize_text_field', wp_unslash( $post_data[$value['name']] ) ): '';
|
679 |
} else {
|
680 |
$value_name = isset( $post_data[$value['name']] ) ? sanitize_text_field( wp_unslash( $post_data[$value['name']] ) ): '';
|
673 |
$multi_repeated = []; //multi repeated fields will in sotre duplicated meta key
|
674 |
|
675 |
foreach ( $meta_vars as $key => $value ) {
|
676 |
+
$wpuf_field = wpuf()->fields->get_field( $value['template'] );
|
677 |
+
$posted_field_data = isset( $post_data[ $value['name'] ] ) ? $post_data[ $value['name'] ] : null;
|
678 |
+
|
679 |
+
if ( isset( $posted_field_data ) && method_exists( $wpuf_field, 'sanitize_field_data') ) {
|
680 |
+
$meta_key_value[$value['name']] = $wpuf_field->sanitize_field_data( $posted_field_data, $value );
|
681 |
+
continue;
|
682 |
+
} else if( isset( $post_data[$value['name']] ) && is_array( $post_data[$value['name']] ) ) {
|
683 |
$value_name = isset( $post_data[$value['name']] ) ? array_map( 'sanitize_text_field', wp_unslash( $post_data[$value['name']] ) ): '';
|
684 |
} else {
|
685 |
$value_name = isset( $post_data[$value['name']] ) ? sanitize_text_field( wp_unslash( $post_data[$value['name']] ) ): '';
|
includes/countries-formated.php
CHANGED
@@ -214,7 +214,7 @@ $countries = [
|
|
214 |
'code' => 'CR',
|
215 |
],
|
216 |
[
|
217 |
-
'name' => '
|
218 |
'code' => 'CI',
|
219 |
],
|
220 |
[
|
@@ -461,14 +461,6 @@ $countries = [
|
|
461 |
'name' => 'Kiribati',
|
462 |
'code' => 'KI',
|
463 |
],
|
464 |
-
[
|
465 |
-
'name' => 'Korea, Democratic People"S Republic of',
|
466 |
-
'code' => 'KP',
|
467 |
-
],
|
468 |
-
[
|
469 |
-
'name' => 'Korea, Republic of',
|
470 |
-
'code' => 'KR',
|
471 |
-
],
|
472 |
[
|
473 |
'name' => 'Kuwait',
|
474 |
'code' => 'KW',
|
@@ -653,6 +645,10 @@ $countries = [
|
|
653 |
'name' => 'Norfolk Island',
|
654 |
'code' => 'NF',
|
655 |
],
|
|
|
|
|
|
|
|
|
656 |
[
|
657 |
'name' => 'Northern Mariana Islands',
|
658 |
'code' => 'MP',
|
@@ -813,6 +809,10 @@ $countries = [
|
|
813 |
'name' => 'South Georgia and the South Sandwich Islands',
|
814 |
'code' => 'GS',
|
815 |
],
|
|
|
|
|
|
|
|
|
816 |
[
|
817 |
'name' => 'Spain',
|
818 |
'code' => 'ES',
|
214 |
'code' => 'CR',
|
215 |
],
|
216 |
[
|
217 |
+
'name' => 'Ivory Coast',
|
218 |
'code' => 'CI',
|
219 |
],
|
220 |
[
|
461 |
'name' => 'Kiribati',
|
462 |
'code' => 'KI',
|
463 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
464 |
[
|
465 |
'name' => 'Kuwait',
|
466 |
'code' => 'KW',
|
645 |
'name' => 'Norfolk Island',
|
646 |
'code' => 'NF',
|
647 |
],
|
648 |
+
[
|
649 |
+
'name' => 'North Korea',
|
650 |
+
'code' => 'KP',
|
651 |
+
],
|
652 |
[
|
653 |
'name' => 'Northern Mariana Islands',
|
654 |
'code' => 'MP',
|
809 |
'name' => 'South Georgia and the South Sandwich Islands',
|
810 |
'code' => 'GS',
|
811 |
],
|
812 |
+
[
|
813 |
+
'name' => 'South Korea',
|
814 |
+
'code' => 'KR',
|
815 |
+
],
|
816 |
[
|
817 |
'name' => 'Spain',
|
818 |
'code' => 'ES',
|
includes/countries-state.php
CHANGED
@@ -62,7 +62,7 @@ class CountryState {
|
|
62 |
['Congo the Democratic Republic of the', 'CD', 'COD', '180', 'ISO 3166-2:CD', 'Bandundu|Bas-Congo|Equateur|Kasai-Occidental|Kasai-Oriental|Katanga|Kinshasa|Maniema|Nord-Kivu|Orientale|Sud-Kivu', '243'],
|
63 |
['Cook Islands', 'CK', 'COK', '184', 'ISO 3166-2:CK', 'Aitutaki|Atiu|Avarua|Mangaia|Manihiki|Manuae|Mauke|Mitiaro|Nassau Island|Palmerston|Penrhyn|Pukapuka|Rakahanga|Rarotonga|Suwarrow|Takutea', '682'],
|
64 |
['Costa Rica', 'CR', 'CRI', '188', 'ISO 3166-2:CR', 'Alajuela|Cartago|Guanacaste|Heredia|Limon|Puntarenas|San Jose', '506'],
|
65 |
-
["
|
66 |
['Croatia', 'HR', 'HRV', '191', 'ISO 3166-2:HR', 'Bjelovarsko-Bilogorska Zupanija|Brodsko-Posavska Zupanija|Dubrovacko-Neretvanska Zupanija|Istarska Zupanija|Karlovacka Zupanija|Koprivnicko-Krizevacka Zupanija|Krapinsko-Zagorska Zupanija|Licko-Senjska Zupanija|Medimurska Zupanija|Osjecko-Baranjska Zupanija|Pozesko-Slavonska Zupanija|Primorsko-Goranska Zupanija|Sibensko-Kninska Zupanija|Sisacko-Moslavacka Zupanija|Splitsko-Dalmatinska Zupanija|Varazdinska Zupanija|Viroviticko-Podravska Zupanija|Vukovarsko-Srijemska Zupanija|Zadarska Zupanija|Zagreb|Zagrebacka Zupanija', '385'],
|
67 |
['Cuba', 'CU', 'CUB', '192', 'ISO 3166-2:CU', 'Camaguey|Ciego de Avila|Cienfuegos|Ciudad de La Habana|Granma|Guantanamo|Holguin|Isla de la Juventud|La Habana|Las Tunas|Matanzas|Pinar del Rio|Sancti Spiritus|Santiago de Cuba|Villa Clara', '53'],
|
68 |
['Curacao', 'CW', 'CUW', '531', 'ISO 3166-2:CW', 'Curacao', ''],
|
@@ -125,8 +125,6 @@ class CountryState {
|
|
125 |
['Kazakhstan', 'KZ', 'KAZ', '398', 'ISO 3166-2:KZ', 'Almaty|Aqmola|Aqtobe|Astana|Atyrau|Batys Qazaqstan|Bayqongyr|Mangghystau|Ongtustik Qazaqstan|Pavlodar|Qaraghandy|Qostanay|Qyzylorda|Shyghys Qazaqstan|Soltustik Qazaqstan|Zhambyl', '7'],
|
126 |
['Kenya', 'KE', 'KEN', '404', 'ISO 3166-2:KE', 'Central|Coast|Eastern|Nairobi Area|North Eastern|Nyanza|Rift Valley|Western', '254'],
|
127 |
['Kiribati', 'KI', 'KIR', '296', 'ISO 3166-2:KI', 'Abaiang|Abemama|Aranuka|Arorae|Banaba|Banaba|Beru|Butaritari|Central Gilberts|Gilbert Islands|Kanton|Kiritimati|Kuria|Line Islands|Line Islands|Maiana|Makin|Marakei|Nikunau|Nonouti|Northern Gilberts|Onotoa|Phoenix Islands|Southern Gilberts|Tabiteuea|Tabuaeran|Tamana|Tarawa|Tarawa|Teraina', '686'],
|
128 |
-
["Korea, Democratic People's Republic of", 'KP', 'PRK', '408', 'ISO 3166-2:KP', "Chagang-do [Chagang Province]|Hamgyong-bukto [North Hamgyong Province]|Hamgyong-namdo [South Hamgyong Province]|Hwanghae-bukto [North Hwanghae Province]|Hwanghae-namdo [South Hwanghae Province]|Kaesong-si [Kaesong City]|Kangwon-do [Kangwon Province]|Namp'o-si [Namp'o City]|P'yongan-bukto [North P'yongan Province]|P'yongan-namdo [South P'yongan Province]|P'yongyang-si [P'yongyang City]|Yanggang-do [Yanggang Province]", '850'],
|
129 |
-
['Korea, Republic of', 'KR', 'KOR', '410', 'ISO 3166-2:KR', "Ch'ungch'ong-bukto|Ch'ungch'ong-namdo|Cheju-do|Cholla-bukto|Cholla-namdo|Inch'on-gwangyoksi|Kangwon-do|Kwangju-gwangyoksi|Kyonggi-do|Kyongsang-bukto|Kyongsang-namdo|Pusan-gwangyoksi|Soul-t'ukpyolsi|Taegu-gwangyoksi|Taejon-gwangyoksi|Ulsan-gwangyoksi", '82'],
|
130 |
['Kuwait', 'KW', 'KWT', '414', 'ISO 3166-2:KW', "Al 'Asimah|Al Ahmadi|Al Farwaniyah|Al Jahra'|Hawalli", '965'],
|
131 |
['Kyrgyzstan', 'KG', 'KGZ', '417', 'ISO 3166-2:KG', 'Batken Oblasty|Bishkek Shaary|Chuy Oblasty [Bishkek]|Jalal-Abad Oblasty|Naryn Oblasty|Osh Oblasty|Talas Oblasty|Ysyk-Kol Oblasty [Karakol]', '996'],
|
132 |
["Lao People's Democratic Republic", 'LA', 'LAO', '418', 'ISO 3166-2:LA', 'Attapu|Bokeo|Bolikhamxai|Champasak|Houaphan|Khammouan|Louangnamtha|Louangphabang|Oudomxai|Phongsali|Salavan|Savannakhet|Viangchan|Viangchan|Xaignabouli|Xaisomboun|Xekong|Xiangkhoang', '856'],
|
@@ -172,6 +170,7 @@ class CountryState {
|
|
172 |
['Nigeria', 'NG', 'NGA', '566', 'ISO 3166-2:NG', 'Abia|Abuja Federal Capital Territory|Adamawa|Akwa Ibom|Anambra|Bauchi|Bayelsa|Benue|Borno|Cross River|Delta|Ebonyi|Edo|Ekiti|Enugu|Gombe|Imo|Jigawa|Kaduna|Kano|Katsina|Kebbi|Kogi|Kwara|Lagos|Nassarawa|Niger|Ogun|Ondo|Osun|Oyo|Plateau|Rivers|Sokoto|Taraba|Yobe|Zamfara', '234'],
|
173 |
['Niue', 'NU', 'NIU', '570', 'ISO 3166-2:NU', 'Niue', '683'],
|
174 |
['Norfolk Island', 'NF', 'NFK', '574', 'ISO 3166-2:NF', 'Norfolk Island', ''],
|
|
|
175 |
['Northern Mariana Islands', 'MP', 'MNP', '580', 'ISO 3166-2:MP', 'Northern Islands|Rota|Saipan|Tinian', '1 670'],
|
176 |
['Norway', 'NO', 'NOR', '578', 'ISO 3166-2:NO', 'Akershus|Aust-Agder|Buskerud|Finnmark|Hedmark|Hordaland|More og Romsdal|Nord-Trondelag|Nordland|Oppland|Oslo|Ostfold|Rogaland|Sogn og Fjordane|Sor-Trondelag|Telemark|Troms|Vest-Agder|Vestfold', '47'],
|
177 |
['Oman', 'OM', 'OMN', '512', 'ISO 3166-2:OM', 'Ad Dakhiliyah|Al Batinah|Al Wusta|Ash Sharqiyah|Az Zahirah|Masqat|Musandam|Zufar', '968'],
|
@@ -215,6 +214,7 @@ class CountryState {
|
|
215 |
['Somalia', 'SO', 'SOM', '706', 'ISO 3166-2:SO', 'Awdal|Bakool|Banaadir|Bari|Bay|Galguduud|Gedo|Hiiraan|Jubbada Dhexe|Jubbada Hoose|Mudug|Nugaal|Sanaag|Shabeellaha Dhexe|Shabeellaha Hoose|Sool|Togdheer|Woqooyi Galbeed', '252'],
|
216 |
['South Africa', 'ZA', 'ZAF', '710', 'ISO 3166-2:ZA', 'Eastern Cape|Free State|Gauteng|KwaZulu-Natal|Limpopo|Mpumalanga|North West|Northern Cape|Western Cape', '27'],
|
217 |
['SGSSI', 'GS', 'SGS', '239', 'ISO 3166-2:GS', 'Bird Island|Bristol Island|Clerke Rocks|Montagu Island|Saunders Island|South Georgia|Southern Thule|Traversay Islands', ''],
|
|
|
218 |
['South Sudan', 'SS', 'SSD', '728', 'ISO 3166-2:SS', 'South Sudan', ''],
|
219 |
['Spain', 'ES', 'ESP', '724', 'ISO 3166-2:ES', 'Albacete|Alicante|Almer\xeda|Asturias|Badajoz|Balearic Islands|Barcelona|Biscay|Burgos|Cantabria|Castell\xf3n|Ciudad Real|Cuenca|C\xe1ceres|C\xe1diz|C\xf3rdoba|Gerona|Granada|Guadalajara|Guip\xfazcoa|Huelva|Huesca|Ja\xe9n|La Coru\xf1a|La Rioja|Las Palmas|Le\xf3n|Lugo|L\xe9rida|Madrid|Murcia|M\xe1laga|Navarre|Orense|Palencia|Pontevedra|Salamanca|Santa Cruz|Segovia|Sevilla|Soria|Tarragona|Teruel|Toledo|Valencia|Valladolid|Zamora|Zaragoza|\xc1lava|\xc1vila', '34'],
|
220 |
['Sri Lanka', 'LK', 'LKA', '144', 'ISO 3166-2:LK', 'Central|Eastern|North Central|North Eastern|North Western|Northern|Sabaragamuwa|Southern|Uva|Western', '94'],
|
62 |
['Congo the Democratic Republic of the', 'CD', 'COD', '180', 'ISO 3166-2:CD', 'Bandundu|Bas-Congo|Equateur|Kasai-Occidental|Kasai-Oriental|Katanga|Kinshasa|Maniema|Nord-Kivu|Orientale|Sud-Kivu', '243'],
|
63 |
['Cook Islands', 'CK', 'COK', '184', 'ISO 3166-2:CK', 'Aitutaki|Atiu|Avarua|Mangaia|Manihiki|Manuae|Mauke|Mitiaro|Nassau Island|Palmerston|Penrhyn|Pukapuka|Rakahanga|Rarotonga|Suwarrow|Takutea', '682'],
|
64 |
['Costa Rica', 'CR', 'CRI', '188', 'ISO 3166-2:CR', 'Alajuela|Cartago|Guanacaste|Heredia|Limon|Puntarenas|San Jose', '506'],
|
65 |
+
["Ivory Coast", 'CI', 'CIV', '384', 'ISO 3166-2:CI', "Abengourou|Abidjan|Aboisso|Adiake'|Adzope|Agboville|Agnibilekrou|Ale'pe'|Bangolo|Beoumi|Biankouma|Bocanda|Bondoukou|Bongouanou|Bouafle|Bouake|Bouna|Boundiali|Dabakala|Dabon|Daloa|Danane|Daoukro|Dimbokro|Divo|Duekoue|Ferkessedougou|Gagnoa|Grand Bassam|Grand-Lahou|Guiglo|Issia|Jacqueville|Katiola|Korhogo|Lakota|Man|Mankono|Mbahiakro|Odienne|Oume|Sakassou|San-Pedro|Sassandra|Seguela|Sinfra|Soubre|Tabou|Tanda|Tiassale|Tiebissou|Tingrela|Touba|Toulepleu|Toumodi|Vavoua|Yamoussoukro|Zuenoula", '225'],
|
66 |
['Croatia', 'HR', 'HRV', '191', 'ISO 3166-2:HR', 'Bjelovarsko-Bilogorska Zupanija|Brodsko-Posavska Zupanija|Dubrovacko-Neretvanska Zupanija|Istarska Zupanija|Karlovacka Zupanija|Koprivnicko-Krizevacka Zupanija|Krapinsko-Zagorska Zupanija|Licko-Senjska Zupanija|Medimurska Zupanija|Osjecko-Baranjska Zupanija|Pozesko-Slavonska Zupanija|Primorsko-Goranska Zupanija|Sibensko-Kninska Zupanija|Sisacko-Moslavacka Zupanija|Splitsko-Dalmatinska Zupanija|Varazdinska Zupanija|Viroviticko-Podravska Zupanija|Vukovarsko-Srijemska Zupanija|Zadarska Zupanija|Zagreb|Zagrebacka Zupanija', '385'],
|
67 |
['Cuba', 'CU', 'CUB', '192', 'ISO 3166-2:CU', 'Camaguey|Ciego de Avila|Cienfuegos|Ciudad de La Habana|Granma|Guantanamo|Holguin|Isla de la Juventud|La Habana|Las Tunas|Matanzas|Pinar del Rio|Sancti Spiritus|Santiago de Cuba|Villa Clara', '53'],
|
68 |
['Curacao', 'CW', 'CUW', '531', 'ISO 3166-2:CW', 'Curacao', ''],
|
125 |
['Kazakhstan', 'KZ', 'KAZ', '398', 'ISO 3166-2:KZ', 'Almaty|Aqmola|Aqtobe|Astana|Atyrau|Batys Qazaqstan|Bayqongyr|Mangghystau|Ongtustik Qazaqstan|Pavlodar|Qaraghandy|Qostanay|Qyzylorda|Shyghys Qazaqstan|Soltustik Qazaqstan|Zhambyl', '7'],
|
126 |
['Kenya', 'KE', 'KEN', '404', 'ISO 3166-2:KE', 'Central|Coast|Eastern|Nairobi Area|North Eastern|Nyanza|Rift Valley|Western', '254'],
|
127 |
['Kiribati', 'KI', 'KIR', '296', 'ISO 3166-2:KI', 'Abaiang|Abemama|Aranuka|Arorae|Banaba|Banaba|Beru|Butaritari|Central Gilberts|Gilbert Islands|Kanton|Kiritimati|Kuria|Line Islands|Line Islands|Maiana|Makin|Marakei|Nikunau|Nonouti|Northern Gilberts|Onotoa|Phoenix Islands|Southern Gilberts|Tabiteuea|Tabuaeran|Tamana|Tarawa|Tarawa|Teraina', '686'],
|
|
|
|
|
128 |
['Kuwait', 'KW', 'KWT', '414', 'ISO 3166-2:KW', "Al 'Asimah|Al Ahmadi|Al Farwaniyah|Al Jahra'|Hawalli", '965'],
|
129 |
['Kyrgyzstan', 'KG', 'KGZ', '417', 'ISO 3166-2:KG', 'Batken Oblasty|Bishkek Shaary|Chuy Oblasty [Bishkek]|Jalal-Abad Oblasty|Naryn Oblasty|Osh Oblasty|Talas Oblasty|Ysyk-Kol Oblasty [Karakol]', '996'],
|
130 |
["Lao People's Democratic Republic", 'LA', 'LAO', '418', 'ISO 3166-2:LA', 'Attapu|Bokeo|Bolikhamxai|Champasak|Houaphan|Khammouan|Louangnamtha|Louangphabang|Oudomxai|Phongsali|Salavan|Savannakhet|Viangchan|Viangchan|Xaignabouli|Xaisomboun|Xekong|Xiangkhoang', '856'],
|
170 |
['Nigeria', 'NG', 'NGA', '566', 'ISO 3166-2:NG', 'Abia|Abuja Federal Capital Territory|Adamawa|Akwa Ibom|Anambra|Bauchi|Bayelsa|Benue|Borno|Cross River|Delta|Ebonyi|Edo|Ekiti|Enugu|Gombe|Imo|Jigawa|Kaduna|Kano|Katsina|Kebbi|Kogi|Kwara|Lagos|Nassarawa|Niger|Ogun|Ondo|Osun|Oyo|Plateau|Rivers|Sokoto|Taraba|Yobe|Zamfara', '234'],
|
171 |
['Niue', 'NU', 'NIU', '570', 'ISO 3166-2:NU', 'Niue', '683'],
|
172 |
['Norfolk Island', 'NF', 'NFK', '574', 'ISO 3166-2:NF', 'Norfolk Island', ''],
|
173 |
+
["North Korea", 'KP', 'PRK', '408', 'ISO 3166-2:KP', "Chagang-do [Chagang Province]|Hamgyong-bukto [North Hamgyong Province]|Hamgyong-namdo [South Hamgyong Province]|Hwanghae-bukto [North Hwanghae Province]|Hwanghae-namdo [South Hwanghae Province]|Kaesong-si [Kaesong City]|Kangwon-do [Kangwon Province]|Namp'o-si [Namp'o City]|P'yongan-bukto [North P'yongan Province]|P'yongan-namdo [South P'yongan Province]|P'yongyang-si [P'yongyang City]|Yanggang-do [Yanggang Province]", '850'],
|
174 |
['Northern Mariana Islands', 'MP', 'MNP', '580', 'ISO 3166-2:MP', 'Northern Islands|Rota|Saipan|Tinian', '1 670'],
|
175 |
['Norway', 'NO', 'NOR', '578', 'ISO 3166-2:NO', 'Akershus|Aust-Agder|Buskerud|Finnmark|Hedmark|Hordaland|More og Romsdal|Nord-Trondelag|Nordland|Oppland|Oslo|Ostfold|Rogaland|Sogn og Fjordane|Sor-Trondelag|Telemark|Troms|Vest-Agder|Vestfold', '47'],
|
176 |
['Oman', 'OM', 'OMN', '512', 'ISO 3166-2:OM', 'Ad Dakhiliyah|Al Batinah|Al Wusta|Ash Sharqiyah|Az Zahirah|Masqat|Musandam|Zufar', '968'],
|
214 |
['Somalia', 'SO', 'SOM', '706', 'ISO 3166-2:SO', 'Awdal|Bakool|Banaadir|Bari|Bay|Galguduud|Gedo|Hiiraan|Jubbada Dhexe|Jubbada Hoose|Mudug|Nugaal|Sanaag|Shabeellaha Dhexe|Shabeellaha Hoose|Sool|Togdheer|Woqooyi Galbeed', '252'],
|
215 |
['South Africa', 'ZA', 'ZAF', '710', 'ISO 3166-2:ZA', 'Eastern Cape|Free State|Gauteng|KwaZulu-Natal|Limpopo|Mpumalanga|North West|Northern Cape|Western Cape', '27'],
|
216 |
['SGSSI', 'GS', 'SGS', '239', 'ISO 3166-2:GS', 'Bird Island|Bristol Island|Clerke Rocks|Montagu Island|Saunders Island|South Georgia|Southern Thule|Traversay Islands', ''],
|
217 |
+
['South Korea', 'KR', 'KOR', '410', 'ISO 3166-2:KR', "Ch'ungch'ong-bukto|Ch'ungch'ong-namdo|Cheju-do|Cholla-bukto|Cholla-namdo|Inch'on-gwangyoksi|Kangwon-do|Kwangju-gwangyoksi|Kyonggi-do|Kyongsang-bukto|Kyongsang-namdo|Pusan-gwangyoksi|Soul-t'ukpyolsi|Taegu-gwangyoksi|Taejon-gwangyoksi|Ulsan-gwangyoksi", '82'],
|
218 |
['South Sudan', 'SS', 'SSD', '728', 'ISO 3166-2:SS', 'South Sudan', ''],
|
219 |
['Spain', 'ES', 'ESP', '724', 'ISO 3166-2:ES', 'Albacete|Alicante|Almer\xeda|Asturias|Badajoz|Balearic Islands|Barcelona|Biscay|Burgos|Cantabria|Castell\xf3n|Ciudad Real|Cuenca|C\xe1ceres|C\xe1diz|C\xf3rdoba|Gerona|Granada|Guadalajara|Guip\xfazcoa|Huelva|Huesca|Ja\xe9n|La Coru\xf1a|La Rioja|Las Palmas|Le\xf3n|Lugo|L\xe9rida|Madrid|Murcia|M\xe1laga|Navarre|Orense|Palencia|Pontevedra|Salamanca|Santa Cruz|Segovia|Sevilla|Soria|Tarragona|Teruel|Toledo|Valencia|Valladolid|Zamora|Zaragoza|\xc1lava|\xc1vila', '34'],
|
220 |
['Sri Lanka', 'LK', 'LKA', '144', 'ISO 3166-2:LK', 'Central|Eastern|North Central|North Eastern|North Western|Northern|Sabaragamuwa|Southern|Uva|Western', '94'],
|
includes/countries.php
CHANGED
@@ -54,7 +54,7 @@ $countries = [
|
|
54 |
'CD' => 'Congo, Democratic Republic',
|
55 |
'CK' => 'Cook Islands',
|
56 |
'CR' => 'Costa Rica',
|
57 |
-
'CI' => '
|
58 |
'HR' => 'Croatia',
|
59 |
'CU' => 'Cuba',
|
60 |
'CY' => 'Cyprus',
|
@@ -116,7 +116,8 @@ $countries = [
|
|
116 |
'KZ' => 'Kazakhstan',
|
117 |
'KE' => 'Kenya',
|
118 |
'KI' => 'Kiribati',
|
119 |
-
'
|
|
|
120 |
'KW' => 'Kuwait',
|
121 |
'KG' => 'Kyrgyzstan',
|
122 |
'LA' => 'Lao People\'s Democratic Republic',
|
54 |
'CD' => 'Congo, Democratic Republic',
|
55 |
'CK' => 'Cook Islands',
|
56 |
'CR' => 'Costa Rica',
|
57 |
+
'CI' => 'Ivory Coast',
|
58 |
'HR' => 'Croatia',
|
59 |
'CU' => 'Cuba',
|
60 |
'CY' => 'Cyprus',
|
116 |
'KZ' => 'Kazakhstan',
|
117 |
'KE' => 'Kenya',
|
118 |
'KI' => 'Kiribati',
|
119 |
+
'KP' => 'North Korea',
|
120 |
+
'KR' => 'South Korea',
|
121 |
'KW' => 'Kuwait',
|
122 |
'KG' => 'Kyrgyzstan',
|
123 |
'LA' => 'Lao People\'s Democratic Republic',
|
includes/fields/class-field-checkbox.php
CHANGED
@@ -196,6 +196,12 @@ class WPUF_Form_Field_Checkbox extends WPUF_Field_Contract {
|
|
196 |
? wpuf_validate_boolean( $field['hide_field_label'] )
|
197 |
: false;
|
198 |
|
|
|
|
|
|
|
|
|
|
|
|
|
199 |
$container_classnames = [ 'wpuf-field-data', 'wpuf-field-data-' . $this->input_type ];
|
200 |
|
201 |
ob_start();
|
@@ -204,7 +210,7 @@ class WPUF_Form_Field_Checkbox extends WPUF_Field_Contract {
|
|
204 |
<?php if ( ! $hide_label ): ?>
|
205 |
<label><?php echo esc_html( $field['label'] ); ?></label>
|
206 |
<?php endif; ?>
|
207 |
-
<?php echo esc_html(
|
208 |
</li>
|
209 |
<?php
|
210 |
return ob_get_clean();
|
196 |
? wpuf_validate_boolean( $field['hide_field_label'] )
|
197 |
: false;
|
198 |
|
199 |
+
$data = implode( ' | ' , $selected );
|
200 |
+
|
201 |
+
if ( empty( $data ) ) {
|
202 |
+
return '';
|
203 |
+
}
|
204 |
+
|
205 |
$container_classnames = [ 'wpuf-field-data', 'wpuf-field-data-' . $this->input_type ];
|
206 |
|
207 |
ob_start();
|
210 |
<?php if ( ! $hide_label ): ?>
|
211 |
<label><?php echo esc_html( $field['label'] ); ?></label>
|
212 |
<?php endif; ?>
|
213 |
+
<?php echo esc_html( $data ); ?>
|
214 |
</li>
|
215 |
<?php
|
216 |
return ob_get_clean();
|
includes/fields/class-field-email.php
CHANGED
@@ -111,4 +111,44 @@ class WPUF_Form_Field_Email extends WPUF_Form_Field_Text {
|
|
111 |
|
112 |
return array_merge( $defaults, $props );
|
113 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
}
|
111 |
|
112 |
return array_merge( $defaults, $props );
|
113 |
}
|
114 |
+
|
115 |
+
/**
|
116 |
+
* Render field data
|
117 |
+
*
|
118 |
+
* @since 3.3.1
|
119 |
+
*
|
120 |
+
* @param mixed $data
|
121 |
+
* @param array $field
|
122 |
+
*
|
123 |
+
* @return string
|
124 |
+
*/
|
125 |
+
public function render_field_data( $data, $field ) {
|
126 |
+
$data = implode( ',' , $data );
|
127 |
+
$hide_label = isset( $field['hide_field_label'] )
|
128 |
+
? wpuf_validate_boolean( $field['hide_field_label'] )
|
129 |
+
: false;
|
130 |
+
|
131 |
+
if ( empty( $data ) ) {
|
132 |
+
return '';
|
133 |
+
}
|
134 |
+
|
135 |
+
$container_classnames = [ 'wpuf-field-data', 'wpuf-field-data-' . $this->input_type ];
|
136 |
+
|
137 |
+
ob_start();
|
138 |
+
?>
|
139 |
+
<li class="<?php echo esc_attr( implode( ' ' , $container_classnames ) ); ?>">
|
140 |
+
<?php if ( ! $hide_label ): ?>
|
141 |
+
<label><?php echo esc_html( $field['label'] ); ?>:</label>
|
142 |
+
<?php endif; ?>
|
143 |
+
<?php
|
144 |
+
echo wp_kses( make_clickable( sanitize_email( $data ) ), [
|
145 |
+
'a' => [
|
146 |
+
'href' => [],
|
147 |
+
],
|
148 |
+
] );
|
149 |
+
?>
|
150 |
+
</li>
|
151 |
+
<?php
|
152 |
+
return ob_get_clean();
|
153 |
+
}
|
154 |
}
|
includes/fields/class-field-multidropdown.php
CHANGED
@@ -148,6 +148,12 @@ class WPUF_Form_Field_MultiDropdown extends WPUF_Form_Field_Dropdown {
|
|
148 |
? wpuf_validate_boolean( $field['hide_field_label'] )
|
149 |
: false;
|
150 |
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
$container_classnames = [ 'wpuf-field-data', 'wpuf-field-data-' . $this->input_type ];
|
152 |
|
153 |
ob_start();
|
@@ -156,7 +162,7 @@ class WPUF_Form_Field_MultiDropdown extends WPUF_Form_Field_Dropdown {
|
|
156 |
<?php if ( ! $hide_label ): ?>
|
157 |
<label><?php echo esc_html( $field['label'] ); ?></label>
|
158 |
<?php endif; ?>
|
159 |
-
<?php echo esc_html(
|
160 |
</li>
|
161 |
<?php
|
162 |
return ob_get_clean();
|
148 |
? wpuf_validate_boolean( $field['hide_field_label'] )
|
149 |
: false;
|
150 |
|
151 |
+
$data = implode( ' | ' , $selected );
|
152 |
+
|
153 |
+
if ( empty( $data ) ) {
|
154 |
+
return '';
|
155 |
+
}
|
156 |
+
|
157 |
$container_classnames = [ 'wpuf-field-data', 'wpuf-field-data-' . $this->input_type ];
|
158 |
|
159 |
ob_start();
|
162 |
<?php if ( ! $hide_label ): ?>
|
163 |
<label><?php echo esc_html( $field['label'] ); ?></label>
|
164 |
<?php endif; ?>
|
165 |
+
<?php echo esc_html( $data ); ?>
|
166 |
</li>
|
167 |
<?php
|
168 |
return ob_get_clean();
|
includes/fields/class-field-text.php
CHANGED
@@ -163,13 +163,17 @@ class WPUF_Form_Field_Text extends WPUF_Field_Contract {
|
|
163 |
? wpuf_validate_boolean( $field['hide_field_label'] )
|
164 |
: false;
|
165 |
|
|
|
|
|
|
|
|
|
166 |
$container_classnames = [ 'wpuf-field-data', 'wpuf-field-data-' . $this->input_type ];
|
167 |
|
168 |
ob_start();
|
169 |
?>
|
170 |
<li class="<?php echo esc_attr( implode( ' ' , $container_classnames ) ); ?>">
|
171 |
<?php if ( ! $hide_label ): ?>
|
172 |
-
<label><?php echo esc_html( $field['label'] );
|
173 |
<?php endif; ?>
|
174 |
<?php echo esc_html( $data ); ?>
|
175 |
</li>
|
163 |
? wpuf_validate_boolean( $field['hide_field_label'] )
|
164 |
: false;
|
165 |
|
166 |
+
if ( empty( $data ) ) {
|
167 |
+
return '';
|
168 |
+
}
|
169 |
+
|
170 |
$container_classnames = [ 'wpuf-field-data', 'wpuf-field-data-' . $this->input_type ];
|
171 |
|
172 |
ob_start();
|
173 |
?>
|
174 |
<li class="<?php echo esc_attr( implode( ' ' , $container_classnames ) ); ?>">
|
175 |
<?php if ( ! $hide_label ): ?>
|
176 |
+
<label><?php echo esc_html( $field['label'] ); ?>:</label>
|
177 |
<?php endif; ?>
|
178 |
<?php echo esc_html( $data ); ?>
|
179 |
</li>
|
includes/fields/class-field-textarea.php
CHANGED
@@ -162,17 +162,35 @@ class WPUF_Form_Field_Textarea extends WPUF_Field_Contract {
|
|
162 |
? wpuf_validate_boolean( $field['hide_field_label'] )
|
163 |
: false;
|
164 |
|
|
|
|
|
|
|
|
|
165 |
$container_classnames = [ 'wpuf-field-data', 'wpuf-field-data-' . $this->input_type ];
|
166 |
|
167 |
ob_start();
|
168 |
?>
|
169 |
<li class="<?php echo esc_attr( implode( ' ' , $container_classnames ) ); ?>">
|
170 |
<?php if ( ! $hide_label ): ?>
|
171 |
-
<label><?php echo esc_html( $field['label'] );
|
172 |
<?php endif; ?>
|
173 |
<?php echo wp_kses_post( wpautop( make_clickable( $data ) ) ); ?>
|
174 |
</li>
|
175 |
<?php
|
176 |
return ob_get_clean();
|
177 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
178 |
}
|
162 |
? wpuf_validate_boolean( $field['hide_field_label'] )
|
163 |
: false;
|
164 |
|
165 |
+
if ( empty( $data ) ) {
|
166 |
+
return '';
|
167 |
+
}
|
168 |
+
|
169 |
$container_classnames = [ 'wpuf-field-data', 'wpuf-field-data-' . $this->input_type ];
|
170 |
|
171 |
ob_start();
|
172 |
?>
|
173 |
<li class="<?php echo esc_attr( implode( ' ' , $container_classnames ) ); ?>">
|
174 |
<?php if ( ! $hide_label ): ?>
|
175 |
+
<label><?php echo esc_html( $field['label'] ); ?>:</label>
|
176 |
<?php endif; ?>
|
177 |
<?php echo wp_kses_post( wpautop( make_clickable( $data ) ) ); ?>
|
178 |
</li>
|
179 |
<?php
|
180 |
return ob_get_clean();
|
181 |
}
|
182 |
+
|
183 |
+
/**
|
184 |
+
* Sanitize field data
|
185 |
+
*
|
186 |
+
* @since 3.3.1
|
187 |
+
*
|
188 |
+
* @param string $data
|
189 |
+
* @param array $field
|
190 |
+
*
|
191 |
+
* @return string
|
192 |
+
*/
|
193 |
+
public function sanitize_field_data( $data, $field ) {
|
194 |
+
return sanitize_textarea_field( $data );
|
195 |
+
}
|
196 |
}
|
includes/fields/class-field-url.php
CHANGED
@@ -111,4 +111,45 @@ class WPUF_Form_Field_URL extends WPUF_Form_Field_Text {
|
|
111 |
$field = isset( $_POST[$field['name']] ) ? sanitize_text_field( wp_unslash( $_POST[$field['name']] ) ) : '';
|
112 |
return esc_url( trim( $field ) );
|
113 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
}
|
111 |
$field = isset( $_POST[$field['name']] ) ? sanitize_text_field( wp_unslash( $_POST[$field['name']] ) ) : '';
|
112 |
return esc_url( trim( $field ) );
|
113 |
}
|
114 |
+
|
115 |
+
/**
|
116 |
+
* Render field data
|
117 |
+
*
|
118 |
+
* @since 3.3.1
|
119 |
+
*
|
120 |
+
* @param mixed $data
|
121 |
+
* @param array $field
|
122 |
+
*
|
123 |
+
* @return string
|
124 |
+
*/
|
125 |
+
public function render_field_data( $data, $field ) {
|
126 |
+
$data = implode( ',' , $data );
|
127 |
+
$hide_label = isset( $field['hide_field_label'] )
|
128 |
+
? wpuf_validate_boolean( $field['hide_field_label'] )
|
129 |
+
: false;
|
130 |
+
|
131 |
+
if ( empty( $data ) ) {
|
132 |
+
return '';
|
133 |
+
}
|
134 |
+
|
135 |
+
$container_classnames = [ 'wpuf-field-data', 'wpuf-field-data-' . $this->input_type ];
|
136 |
+
|
137 |
+
ob_start();
|
138 |
+
?>
|
139 |
+
<li class="<?php echo esc_attr( implode( ' ' , $container_classnames ) ); ?>">
|
140 |
+
<?php if ( ! $hide_label ): ?>
|
141 |
+
<label><?php echo esc_html( $field['label'] ); ?>:</label>
|
142 |
+
<?php endif; ?>
|
143 |
+
<?php
|
144 |
+
echo wp_kses( make_clickable( esc_url_raw( $data ) ), [
|
145 |
+
'a' => [
|
146 |
+
'href' => [],
|
147 |
+
'rel' => []
|
148 |
+
],
|
149 |
+
] );
|
150 |
+
?>
|
151 |
+
</li>
|
152 |
+
<?php
|
153 |
+
return ob_get_clean();
|
154 |
+
}
|
155 |
}
|
includes/free/class-login.php
CHANGED
@@ -393,6 +393,8 @@ class WPUF_Simple_Login {
|
|
393 |
$this->messages[] = __( 'You are now logged out.', 'wp-user-frontend' );
|
394 |
}
|
395 |
|
|
|
|
|
396 |
wpuf_load_template( 'login-form.php', $args );
|
397 |
|
398 |
break;
|
@@ -509,21 +511,44 @@ class WPUF_Simple_Login {
|
|
509 |
return;
|
510 |
}
|
511 |
|
512 |
-
|
513 |
-
return esc_url_raw( wp_unslash( $_REQUEST['redirect_to'] ) );
|
514 |
-
}
|
515 |
|
516 |
-
$
|
|
|
517 |
|
518 |
-
|
519 |
-
|
520 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
521 |
}
|
522 |
|
523 |
-
$
|
524 |
|
525 |
-
if (
|
526 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
527 |
}
|
528 |
|
529 |
return home_url();
|
393 |
$this->messages[] = __( 'You are now logged out.', 'wp-user-frontend' );
|
394 |
}
|
395 |
|
396 |
+
$args['redirect_to'] = $this->get_login_redirect_link( $args['redirect_to'] );
|
397 |
+
|
398 |
wpuf_load_template( 'login-form.php', $args );
|
399 |
|
400 |
break;
|
511 |
return;
|
512 |
}
|
513 |
|
514 |
+
$redirect_to = isset( $_REQUEST['redirect_to'] ) ? wp_unslash( $_REQUEST['redirect_to'] ) : '';
|
|
|
|
|
515 |
|
516 |
+
return $this->get_login_redirect_link( $redirect_to );
|
517 |
+
}
|
518 |
|
519 |
+
/**
|
520 |
+
* Get redirect link after login
|
521 |
+
*
|
522 |
+
* Redirect Scenarios (based on `Login / Registration > Redirect After Login` settings)
|
523 |
+
*
|
524 |
+
* 1. No settings - should redirect to home
|
525 |
+
* 2. Previous Page - should redirect to the page coming from before our login page
|
526 |
+
* 3. Selected specific Page - should redirect to this page
|
527 |
+
* 4. URL has `redirect_to` query param - this is the top priority above all
|
528 |
+
*
|
529 |
+
* @since 3.3.1
|
530 |
+
*
|
531 |
+
* @param string $redirect_to Optional $_REQUEST['redirect_to'] link. Must be unslashed before passing.
|
532 |
+
*
|
533 |
+
* @return string
|
534 |
+
*/
|
535 |
+
public function get_login_redirect_link( $redirect_to = '' ) {
|
536 |
+
if ( ! empty( $redirect_to ) ) {
|
537 |
+
return esc_url_raw( $redirect_to );
|
538 |
}
|
539 |
|
540 |
+
$redirect_after_login = wpuf_get_option( 'redirect_after_login_page', 'wpuf_profile', null );
|
541 |
|
542 |
+
if ( $redirect_after_login ) {
|
543 |
+
if ( 'previous_page' === $redirect_after_login ) {
|
544 |
+
return wp_get_referer();
|
545 |
+
}
|
546 |
+
|
547 |
+
$redirect_page_link = get_permalink( $redirect_after_login );
|
548 |
+
|
549 |
+
if ( ! empty( $redirect_page_link ) ) {
|
550 |
+
return $redirect_page_link;
|
551 |
+
}
|
552 |
}
|
553 |
|
554 |
return home_url();
|
languages/wp-user-frontend.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the GPL2 or later.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: WP User Frontend 3.3.
|
6 |
"Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
|
7 |
-
"POT-Creation-Date: 2020-06-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -1405,224 +1405,342 @@ msgstr ""
|
|
1405 |
msgid "Contact Support"
|
1406 |
msgstr ""
|
1407 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1408 |
#: admin/html/whats-new.php:98
|
1409 |
-
msgid "
|
1410 |
msgstr ""
|
1411 |
|
1412 |
#: admin/html/whats-new.php:102
|
1413 |
-
msgid "
|
1414 |
msgstr ""
|
1415 |
|
1416 |
#: admin/html/whats-new.php:106
|
1417 |
-
msgid "
|
1418 |
msgstr ""
|
1419 |
|
1420 |
#: admin/html/whats-new.php:110
|
1421 |
-
msgid "
|
1422 |
msgstr ""
|
1423 |
|
1424 |
#: admin/html/whats-new.php:114
|
1425 |
-
msgid "
|
1426 |
msgstr ""
|
1427 |
|
1428 |
#: admin/html/whats-new.php:118
|
1429 |
-
msgid "
|
1430 |
msgstr ""
|
1431 |
|
1432 |
#: admin/html/whats-new.php:122
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1433 |
msgid "Illegal string offset warning while updating settings"
|
1434 |
msgstr ""
|
1435 |
|
1436 |
-
#: admin/html/whats-new.php:
|
1437 |
msgid "Conditional logic for Section Break field"
|
1438 |
msgstr ""
|
1439 |
|
1440 |
-
#: admin/html/whats-new.php:
|
1441 |
msgid "Subscriptions cannot be deleted from backend"
|
1442 |
msgstr ""
|
1443 |
|
1444 |
-
#: admin/html/whats-new.php:
|
1445 |
msgid "A regression regarding saving checkbox data"
|
1446 |
msgstr ""
|
1447 |
|
1448 |
-
#: admin/html/whats-new.php:
|
1449 |
msgid "Default value of multi-select fields is not showing"
|
1450 |
msgstr ""
|
1451 |
|
1452 |
-
#: admin/html/whats-new.php:
|
1453 |
msgid "Hide post edit option when subscription is expired"
|
1454 |
msgstr ""
|
1455 |
|
1456 |
-
#: admin/html/whats-new.php:
|
1457 |
msgid "Hide post edit option from users whose subscription pack is expired."
|
1458 |
msgstr ""
|
1459 |
|
1460 |
-
#: admin/html/whats-new.php:
|
1461 |
msgid "Check files to prevent duplicity in media upload"
|
1462 |
msgstr ""
|
1463 |
|
1464 |
-
#: admin/html/whats-new.php:
|
1465 |
msgid ""
|
1466 |
"A simple measure has been taken to prevent maliciously flooding the site by "
|
1467 |
"uploading same file multiple times. Though this won't work with already "
|
1468 |
"uploaded medias."
|
1469 |
msgstr ""
|
1470 |
|
1471 |
-
#: admin/html/whats-new.php:
|
1472 |
msgid "Refactor address fields in Account section"
|
1473 |
msgstr ""
|
1474 |
|
1475 |
-
#: admin/html/whats-new.php:
|
1476 |
msgid "Address edit section from Account section has been rewritten to improve UX."
|
1477 |
msgstr ""
|
1478 |
|
1479 |
-
#: admin/html/whats-new.php:
|
1480 |
msgid "Update Paypal payment gateway"
|
1481 |
msgstr ""
|
1482 |
|
1483 |
-
#: admin/html/whats-new.php:
|
1484 |
msgid "Paypal payment gateway has seen some improvements."
|
1485 |
msgstr ""
|
1486 |
|
1487 |
-
#: admin/html/whats-new.php:
|
1488 |
msgid "Default Category selection improvements"
|
1489 |
msgstr ""
|
1490 |
|
1491 |
-
#: admin/html/whats-new.php:
|
1492 |
msgid ""
|
1493 |
"An intuitive way of selecting default category of a selected post type has "
|
1494 |
"been introduced."
|
1495 |
msgstr ""
|
1496 |
|
1497 |
-
#: admin/html/whats-new.php:
|
1498 |
msgid "Compatibility issue with ACF date time field"
|
1499 |
msgstr ""
|
1500 |
|
1501 |
-
#: admin/html/whats-new.php:
|
1502 |
msgid "A Compatibility issue with ACF date time field has been addressed."
|
1503 |
msgstr ""
|
1504 |
|
1505 |
-
#: admin/html/whats-new.php:
|
1506 |
msgid "Media title, caption & description not saving"
|
1507 |
msgstr ""
|
1508 |
|
1509 |
-
#: admin/html/whats-new.php:
|
1510 |
msgid ""
|
1511 |
"Media title, caption & description were not saving from frontend. They will "
|
1512 |
"now."
|
1513 |
msgstr ""
|
1514 |
|
1515 |
-
#: admin/html/whats-new.php:
|
1516 |
msgid ""
|
1517 |
"The Events Calendar venue and organizer fields issue in WPUF Custom Fields "
|
1518 |
"metabox"
|
1519 |
msgstr ""
|
1520 |
|
1521 |
-
#: admin/html/whats-new.php:
|
1522 |
msgid ""
|
1523 |
"A workaround has been introduced to save The Events Calendar Venue and "
|
1524 |
"Organizer fields properly from WPUF Custom Fields metabox."
|
1525 |
msgstr ""
|
1526 |
|
1527 |
-
#: admin/html/whats-new.php:
|
1528 |
msgid "Checkbox data not saving from WPUF Custom Fields metabox"
|
1529 |
msgstr ""
|
1530 |
|
1531 |
-
#: admin/html/whats-new.php:
|
1532 |
msgid ""
|
1533 |
"Checkboxe data from WPUF Custom Fields metabox were not saving. It has been "
|
1534 |
"fixed."
|
1535 |
msgstr ""
|
1536 |
|
1537 |
-
#: admin/html/whats-new.php:
|
1538 |
msgid "Multi-column Repeater field data saving issue"
|
1539 |
msgstr ""
|
1540 |
|
1541 |
-
#: admin/html/whats-new.php:
|
1542 |
msgid ""
|
1543 |
"Multi-column Repeater field data from a form was not saving. It has been "
|
1544 |
"fixed."
|
1545 |
msgstr ""
|
1546 |
|
1547 |
-
#: admin/html/whats-new.php:
|
1548 |
msgid "Multistep form conflict with Elementor"
|
1549 |
msgstr ""
|
1550 |
|
1551 |
-
#: admin/html/whats-new.php:
|
1552 |
msgid "Multistep form had a conflict with Elementor. It has been fixed."
|
1553 |
msgstr ""
|
1554 |
|
1555 |
-
#: admin/html/whats-new.php:
|
1556 |
msgid "Multiple images showing issue in frontend"
|
1557 |
msgstr ""
|
1558 |
|
1559 |
-
#: admin/html/whats-new.php:
|
1560 |
msgid "Multiple images in a post were not showing in frontend. Now they will."
|
1561 |
msgstr ""
|
1562 |
|
1563 |
-
#: admin/html/whats-new.php:
|
1564 |
msgid "Nonce not verify on login"
|
1565 |
msgstr ""
|
1566 |
|
1567 |
-
#: admin/html/whats-new.php:
|
1568 |
msgid "Return of function wp_verify_nonce() was ignored."
|
1569 |
msgstr ""
|
1570 |
|
1571 |
-
#: admin/html/whats-new.php:
|
1572 |
msgid "Option to set which tab shows as active on the account page"
|
1573 |
msgstr ""
|
1574 |
|
1575 |
-
#: admin/html/whats-new.php:
|
1576 |
msgid ""
|
1577 |
"Option to set which tab shows as active on the account page. To configure "
|
1578 |
"this setting navigate to wp-admin->User Frontend->Settings->My "
|
1579 |
"Account->Active Tab "
|
1580 |
msgstr ""
|
1581 |
|
1582 |
-
#: admin/html/whats-new.php:
|
1583 |
msgid "Unlock option was unavailable after the post being locked"
|
1584 |
msgstr ""
|
1585 |
|
1586 |
-
#: admin/html/whats-new.php:
|
1587 |
msgid "Unlock option was unavailable after the post being locked."
|
1588 |
msgstr ""
|
1589 |
|
1590 |
-
#: admin/html/whats-new.php:
|
1591 |
msgid "Gutenberg block of WPUF didn't work on bedrock installation"
|
1592 |
msgstr ""
|
1593 |
|
1594 |
-
#: admin/html/whats-new.php:
|
1595 |
msgid "Gutenberg block of WPUF didn't work on bedrock installation."
|
1596 |
msgstr ""
|
1597 |
|
1598 |
-
#: admin/html/whats-new.php:
|
1599 |
msgid "Sending admin payment received email twice"
|
1600 |
msgstr ""
|
1601 |
|
1602 |
-
#: admin/html/whats-new.php:
|
1603 |
msgid ""
|
1604 |
"After processing payment admin & user was receiving payment received email "
|
1605 |
"twice."
|
1606 |
msgstr ""
|
1607 |
|
1608 |
-
#: admin/html/whats-new.php:
|
1609 |
msgid ""
|
1610 |
"Add shortcode support to display post information in the Post Expiration "
|
1611 |
"Message"
|
1612 |
msgstr ""
|
1613 |
|
1614 |
-
#: admin/html/whats-new.php:
|
1615 |
msgid ""
|
1616 |
"Add shortcode support to display post information in the Post Expiration "
|
1617 |
"Message. You can use: <strong>{post_author} {post_url} {blogname} "
|
1618 |
"{post_title} {post_status}</strong>"
|
1619 |
msgstr ""
|
1620 |
|
1621 |
-
#: admin/html/whats-new.php:
|
1622 |
msgid "Add optin on the setup wizard"
|
1623 |
msgstr ""
|
1624 |
|
1625 |
-
#: admin/html/whats-new.php:
|
1626 |
msgid ""
|
1627 |
"Added optin on the setup wizard, admin can choose whether he/she wants to "
|
1628 |
"share server environment details (php, mysql, server, WordPress versions), "
|
@@ -1630,126 +1748,126 @@ msgid ""
|
|
1630 |
"name and url, admin name and email address. No sensitive data is tracked"
|
1631 |
msgstr ""
|
1632 |
|
1633 |
-
#: admin/html/whats-new.php:
|
1634 |
msgid "Post Owner problem"
|
1635 |
msgstr ""
|
1636 |
|
1637 |
-
#: admin/html/whats-new.php:
|
1638 |
msgid ""
|
1639 |
"Posts were not assigned to the selected default post owner, this issue has "
|
1640 |
"been fixed."
|
1641 |
msgstr ""
|
1642 |
|
1643 |
-
#: admin/html/whats-new.php:
|
1644 |
msgid "Google reCaptcha was not working"
|
1645 |
msgstr ""
|
1646 |
|
1647 |
-
#: admin/html/whats-new.php:
|
1648 |
msgid ""
|
1649 |
"Google reCaptcha was not working, users could submit the form without "
|
1650 |
"reCaptcha validation."
|
1651 |
msgstr ""
|
1652 |
|
1653 |
-
#: admin/html/whats-new.php:
|
1654 |
msgid "Added column field"
|
1655 |
msgstr ""
|
1656 |
|
1657 |
-
#: admin/html/whats-new.php:
|
1658 |
msgid "Unable to render the events on the front-end dashboard"
|
1659 |
msgstr ""
|
1660 |
|
1661 |
-
#: admin/html/whats-new.php:
|
1662 |
msgid ""
|
1663 |
"On the frontend dashboard, the submitted events were not showing, you will "
|
1664 |
"get it fixed in this version."
|
1665 |
msgstr ""
|
1666 |
|
1667 |
-
#: admin/html/whats-new.php:
|
1668 |
msgid "Page order getting 0(zero) after editing from the frontend"
|
1669 |
msgstr ""
|
1670 |
|
1671 |
-
#: admin/html/whats-new.php:
|
1672 |
msgid ""
|
1673 |
"Page order was not saving while editing a post using WPUF form, it has been "
|
1674 |
"fixed."
|
1675 |
msgstr ""
|
1676 |
|
1677 |
-
#: admin/html/whats-new.php:
|
1678 |
msgid "Text input field for taxonomies not working"
|
1679 |
msgstr ""
|
1680 |
|
1681 |
-
#: admin/html/whats-new.php:
|
1682 |
msgid ""
|
1683 |
"When taxonomy field type is set to `Text Input` then a fatal error was "
|
1684 |
"showing on the frontend, no error with taxonomy field in the latest version."
|
1685 |
msgstr ""
|
1686 |
|
1687 |
-
#: admin/html/whats-new.php:
|
1688 |
msgid ""
|
1689 |
"In radio and checkbox field use conditional logic that value does not save "
|
1690 |
"in database"
|
1691 |
msgstr ""
|
1692 |
|
1693 |
-
#: admin/html/whats-new.php:
|
1694 |
msgid ""
|
1695 |
"The selected value of radio and checkbox field were not showing while "
|
1696 |
"editing posts from the backend or frontend, you can see the selected value "
|
1697 |
"in this version."
|
1698 |
msgstr ""
|
1699 |
|
1700 |
-
#: admin/html/whats-new.php:
|
1701 |
msgid "The args param not working with get_avatar filter"
|
1702 |
msgstr ""
|
1703 |
|
1704 |
-
#: admin/html/whats-new.php:
|
1705 |
msgid "The args parameter did not exist with get_avatar filter, which now exists."
|
1706 |
msgstr ""
|
1707 |
|
1708 |
-
#: admin/html/whats-new.php:
|
1709 |
msgid "The item in ajax taxonomy field was not selected"
|
1710 |
msgstr ""
|
1711 |
|
1712 |
-
#: admin/html/whats-new.php:
|
1713 |
msgid ""
|
1714 |
"When the taxonomy field type is set to Ajax, the submitted terms were not "
|
1715 |
"showing in the backend and frontend which have been fixed."
|
1716 |
msgstr ""
|
1717 |
|
1718 |
-
#: admin/html/whats-new.php:
|
1719 |
msgid "Unable to send new user registration email"
|
1720 |
msgstr ""
|
1721 |
|
1722 |
-
#: admin/html/whats-new.php:
|
1723 |
msgid ""
|
1724 |
"WP User Frontend default registration form `[wpuf-registration]` was unable "
|
1725 |
"to send the new user registration email."
|
1726 |
msgstr ""
|
1727 |
|
1728 |
-
#: admin/html/whats-new.php:
|
1729 |
msgid "WPUF forms block compatibility issue with the latest WP version"
|
1730 |
msgstr ""
|
1731 |
|
1732 |
-
#: admin/html/whats-new.php:
|
1733 |
msgid ""
|
1734 |
"With the latest version of WordPress the gutenberg block of WP User "
|
1735 |
"Frontend were not working. In this version, you will get it fixed."
|
1736 |
msgstr ""
|
1737 |
|
1738 |
-
#: admin/html/whats-new.php:
|
1739 |
msgid "Page not update where `[wpuf_dashboard]` shortcode exist"
|
1740 |
msgstr ""
|
1741 |
|
1742 |
-
#: admin/html/whats-new.php:
|
1743 |
msgid ""
|
1744 |
"While using Gutenberg, the page were not being updated with WPUF shortcode "
|
1745 |
"[wpuf dashboard]"
|
1746 |
msgstr ""
|
1747 |
|
1748 |
-
#: admin/html/whats-new.php:
|
1749 |
msgid "Retain default when determining whether to display the admin bar"
|
1750 |
msgstr ""
|
1751 |
|
1752 |
-
#: admin/html/whats-new.php:
|
1753 |
msgid ""
|
1754 |
"From the User Frontend Settings, set that Administrator, Editor, Vendor can "
|
1755 |
"see the admin bar. Now, the super admin want, one specific user ( who has "
|
@@ -1759,11 +1877,11 @@ msgid ""
|
|
1759 |
"frontend."
|
1760 |
msgstr ""
|
1761 |
|
1762 |
-
#: admin/html/whats-new.php:
|
1763 |
msgid "Fatal error when use PHP lower version (5.4 or lower)"
|
1764 |
msgstr ""
|
1765 |
|
1766 |
-
#: admin/html/whats-new.php:
|
1767 |
msgid ""
|
1768 |
"It was unable to install WP User Frontend with PHP 5.4 or lower version. "
|
1769 |
"Here is the error details: <br><br><strong>Fatal error: Can't use method "
|
@@ -1771,42 +1889,42 @@ msgid ""
|
|
1771 |
"/wp-user-frontend/class/frontend-form-post.php on line 194</strong>"
|
1772 |
msgstr ""
|
1773 |
|
1774 |
-
#: admin/html/whats-new.php:
|
1775 |
msgid "Product form was unable to show the single gallery image"
|
1776 |
msgstr ""
|
1777 |
|
1778 |
-
#: admin/html/whats-new.php:
|
1779 |
msgid ""
|
1780 |
"When user upload single image for product gallery using WPUF WooCommerce "
|
1781 |
"product form, that image were not showing on the frontend."
|
1782 |
msgstr ""
|
1783 |
|
1784 |
-
#: admin/html/whats-new.php:
|
1785 |
msgid "WooCommerce gallery images not getting saved"
|
1786 |
msgstr ""
|
1787 |
|
1788 |
-
#: admin/html/whats-new.php:
|
1789 |
msgid ""
|
1790 |
"After releasing version 2.9.3, WooCommerce gallery image field stopped "
|
1791 |
"working. You will get it fixed in this version."
|
1792 |
msgstr ""
|
1793 |
|
1794 |
-
#: admin/html/whats-new.php:
|
1795 |
msgid "The Events Calendar Integration Form"
|
1796 |
msgstr ""
|
1797 |
|
1798 |
-
#: admin/html/whats-new.php:
|
1799 |
msgid ""
|
1800 |
"Now admin can allow users to create event from the frontend. Currently WPUF "
|
1801 |
"has a one click pre-build event form that has been integrated with The "
|
1802 |
"Events Calendar plugin"
|
1803 |
msgstr ""
|
1804 |
|
1805 |
-
#: admin/html/whats-new.php:
|
1806 |
msgid "Post Submission Facility From Account Page"
|
1807 |
msgstr ""
|
1808 |
|
1809 |
-
#: admin/html/whats-new.php:
|
1810 |
msgid ""
|
1811 |
"On the frontend account page, added a new menu item named <b>Submit "
|
1812 |
"Post</b>. Now admin can allow users to submit post from their default "
|
@@ -1815,504 +1933,504 @@ msgid ""
|
|
1815 |
"you can assign any post form that will use to submit posts."
|
1816 |
msgstr ""
|
1817 |
|
1818 |
-
#: admin/html/whats-new.php:
|
1819 |
msgid "Login/Lost Password Link Under Registration Form"
|
1820 |
msgstr ""
|
1821 |
|
1822 |
-
#: admin/html/whats-new.php:
|
1823 |
msgid "Added Login/Lost Password link under registration form"
|
1824 |
msgstr ""
|
1825 |
|
1826 |
-
#: admin/html/whats-new.php:
|
1827 |
msgid "Added drag and drop image ordering on image upload"
|
1828 |
msgstr ""
|
1829 |
|
1830 |
-
#: admin/html/whats-new.php:
|
1831 |
msgid ""
|
1832 |
"Now frontend users can drag & drop the images/files to change the order "
|
1833 |
"while uploading."
|
1834 |
msgstr ""
|
1835 |
|
1836 |
-
#: admin/html/whats-new.php:
|
1837 |
msgid "Added reCAPTCHA field in login form"
|
1838 |
msgstr ""
|
1839 |
|
1840 |
-
#: admin/html/whats-new.php:
|
1841 |
msgid ""
|
1842 |
"Admin has the option to show reCAPTCHA field in login form. Check the "
|
1843 |
"related settings from <strong>User Frontend > Settings > "
|
1844 |
"Login/Registration</strong>"
|
1845 |
msgstr ""
|
1846 |
|
1847 |
-
#: admin/html/whats-new.php:
|
1848 |
msgid "Added preview option in forms"
|
1849 |
msgstr ""
|
1850 |
|
1851 |
-
#: admin/html/whats-new.php:
|
1852 |
msgid ""
|
1853 |
"You can see a nice <strong>Preview</strong> button with <strong>Save "
|
1854 |
"Form</strong> button, admin can take a quick look of the form without using "
|
1855 |
"shortcode"
|
1856 |
msgstr ""
|
1857 |
|
1858 |
-
#: admin/html/whats-new.php:
|
1859 |
msgid "Fixed hiding “Select Image” button while uploading multiple images."
|
1860 |
msgstr ""
|
1861 |
|
1862 |
-
#: admin/html/whats-new.php:
|
1863 |
msgid ""
|
1864 |
"The upload button will not be hidden until the user selects max number of "
|
1865 |
"files "
|
1866 |
msgstr ""
|
1867 |
|
1868 |
-
#: admin/html/whats-new.php:
|
1869 |
msgid "Added form limit notice before form submission"
|
1870 |
msgstr ""
|
1871 |
|
1872 |
-
#: admin/html/whats-new.php:
|
1873 |
msgid ""
|
1874 |
"Limit notice message was showing after submission, now it is showing when "
|
1875 |
"rendering the form"
|
1876 |
msgstr ""
|
1877 |
|
1878 |
-
#: admin/html/whats-new.php:
|
1879 |
msgid "Fixed: default post category not saving"
|
1880 |
msgstr ""
|
1881 |
|
1882 |
-
#: admin/html/whats-new.php:
|
1883 |
msgid ""
|
1884 |
"From the form <strong>Settings > Post Settings</strong>, default post "
|
1885 |
"category options were not saving. Now, it's fixed."
|
1886 |
msgstr ""
|
1887 |
|
1888 |
-
#: admin/html/whats-new.php:
|
1889 |
msgid ""
|
1890 |
"WPUF dashboard shortcode with form_id attribute was not showing posts "
|
1891 |
"properly"
|
1892 |
msgstr ""
|
1893 |
|
1894 |
-
#: admin/html/whats-new.php:
|
1895 |
msgid ""
|
1896 |
"Now you can list posts on the frontend by using <strong>form_id<strong/> "
|
1897 |
"attribute with <strong>[wpuf_dashboard]</strong> shortcode"
|
1898 |
msgstr ""
|
1899 |
|
1900 |
-
#: admin/html/whats-new.php:
|
1901 |
msgid "Changed text domain to `wp-user-frontend` from `wpuf` "
|
1902 |
msgstr ""
|
1903 |
|
1904 |
-
#: admin/html/whats-new.php:
|
1905 |
msgid ""
|
1906 |
"If you are using other language than English. Please <b>rename</b> your "
|
1907 |
"<i>.po and .mo </i> files to `wp-user-frontend_` from `wpuf_` <br> This "
|
1908 |
"change was made to support translations from translate.wordpress.org"
|
1909 |
msgstr ""
|
1910 |
|
1911 |
-
#: admin/html/whats-new.php:
|
1912 |
msgid "Added WP User Frontend Data export and erase functionality."
|
1913 |
msgstr ""
|
1914 |
|
1915 |
-
#: admin/html/whats-new.php:
|
1916 |
msgid "Added functionality to export WP User Frontend Data to comply with GDPR."
|
1917 |
msgstr ""
|
1918 |
|
1919 |
-
#: admin/html/whats-new.php:
|
1920 |
msgid "Added billing address customizer."
|
1921 |
msgstr ""
|
1922 |
|
1923 |
-
#: admin/html/whats-new.php:
|
1924 |
msgid "Added customizer options for billing address in payment page."
|
1925 |
msgstr ""
|
1926 |
|
1927 |
-
#: admin/html/whats-new.php:
|
1928 |
msgid "Make the payment page responsive."
|
1929 |
msgstr ""
|
1930 |
|
1931 |
-
#: admin/html/whats-new.php:
|
1932 |
msgid "Some css adjustments are made in payment page to make it responsive."
|
1933 |
msgstr ""
|
1934 |
|
1935 |
-
#: admin/html/whats-new.php:
|
1936 |
msgid "Fixed image upload issue in Safari."
|
1937 |
msgstr ""
|
1938 |
|
1939 |
-
#: admin/html/whats-new.php:
|
1940 |
msgid "Images were not showing after upload in safari, it is fixed now."
|
1941 |
msgstr ""
|
1942 |
|
1943 |
-
#: admin/html/whats-new.php:
|
1944 |
msgid "Post update issue after updating or removing post images."
|
1945 |
msgstr ""
|
1946 |
|
1947 |
-
#: admin/html/whats-new.php:
|
1948 |
msgid ""
|
1949 |
"Posts cannot be updated after updating or removing post images, it is fixed "
|
1950 |
"now."
|
1951 |
msgstr ""
|
1952 |
|
1953 |
-
#: admin/html/whats-new.php:
|
1954 |
msgid "Allow overriding form input styles using theme styling."
|
1955 |
msgstr ""
|
1956 |
|
1957 |
-
#: admin/html/whats-new.php:
|
1958 |
msgid "Overriding form input styles using theme style is now possible."
|
1959 |
msgstr ""
|
1960 |
|
1961 |
-
#: admin/html/whats-new.php:
|
1962 |
msgid "Fixed Auto Login after registration."
|
1963 |
msgstr ""
|
1964 |
|
1965 |
-
#: admin/html/whats-new.php:
|
1966 |
msgid "Auto Login after registration was not working is fixed now."
|
1967 |
msgstr ""
|
1968 |
|
1969 |
-
#: admin/html/whats-new.php:
|
1970 |
msgid "Fixed fallback cost calculation"
|
1971 |
msgstr ""
|
1972 |
|
1973 |
-
#: admin/html/whats-new.php:
|
1974 |
msgid "Fallback cost calculation was inaccurate for some cases, it is fixed now."
|
1975 |
msgstr ""
|
1976 |
|
1977 |
-
#: admin/html/whats-new.php:
|
1978 |
msgid "Removal of subscription from User Profile gets reverted if updated"
|
1979 |
msgstr ""
|
1980 |
|
1981 |
-
#: admin/html/whats-new.php:
|
1982 |
msgid "User subscription deletion gets reverted if updated is fixed."
|
1983 |
msgstr ""
|
1984 |
|
1985 |
-
#: admin/html/whats-new.php:
|
1986 |
msgid "Show Free pack users in subscribers list."
|
1987 |
msgstr ""
|
1988 |
|
1989 |
-
#: admin/html/whats-new.php:
|
1990 |
msgid "Free pack users were not showing in subscribers list, now they will."
|
1991 |
msgstr ""
|
1992 |
|
1993 |
-
#: admin/html/whats-new.php:
|
1994 |
msgid "WP User Frontend Guten Block is added"
|
1995 |
msgstr ""
|
1996 |
|
1997 |
-
#: admin/html/whats-new.php:
|
1998 |
msgid ""
|
1999 |
"WPUF Form Block is now available to be used within gutenberg editor with "
|
2000 |
"preview of the form. "
|
2001 |
msgstr ""
|
2002 |
|
2003 |
-
#: admin/html/whats-new.php:
|
2004 |
msgid "Advanced Custom Fields plugin compatibility"
|
2005 |
msgstr ""
|
2006 |
|
2007 |
-
#: admin/html/whats-new.php:
|
2008 |
msgid "Now all your ACF fields can be used within WPUF Post forms. "
|
2009 |
msgstr ""
|
2010 |
|
2011 |
-
#: admin/html/whats-new.php:
|
2012 |
msgid "Taxonomy Terms not showing for custom post types"
|
2013 |
msgstr ""
|
2014 |
|
2015 |
-
#: admin/html/whats-new.php:
|
2016 |
msgid ""
|
2017 |
"Fixed an issue with taxonomy terms not appearing for Custom Post types "
|
2018 |
"within Form Settings and Dashboard Post Listing"
|
2019 |
msgstr ""
|
2020 |
|
2021 |
-
#: admin/html/whats-new.php:
|
2022 |
msgid "Various other code optimizations"
|
2023 |
msgstr ""
|
2024 |
|
2025 |
-
#: admin/html/whats-new.php:
|
2026 |
msgid "Code structure organization and optimization for better performance"
|
2027 |
msgstr ""
|
2028 |
|
2029 |
-
#: admin/html/whats-new.php:
|
2030 |
msgid "WoooCommerce billing address Sync"
|
2031 |
msgstr ""
|
2032 |
|
2033 |
-
#: admin/html/whats-new.php:
|
2034 |
msgid ""
|
2035 |
"If an existing customer has previously set his billing address, that will "
|
2036 |
"be imported into WPUF Billing address "
|
2037 |
msgstr ""
|
2038 |
|
2039 |
-
#: admin/html/whats-new.php:
|
2040 |
msgid "Trial subscription message not showing properly"
|
2041 |
msgstr ""
|
2042 |
|
2043 |
-
#: admin/html/whats-new.php:
|
2044 |
msgid "Subscriptions with Trial now shows trial notices"
|
2045 |
msgstr ""
|
2046 |
|
2047 |
-
#: admin/html/whats-new.php:
|
2048 |
msgid "Reset email Key not working"
|
2049 |
msgstr ""
|
2050 |
|
2051 |
-
#: admin/html/whats-new.php:
|
2052 |
msgid "Reset Email key was not working in some cases"
|
2053 |
msgstr ""
|
2054 |
|
2055 |
-
#: admin/html/whats-new.php:
|
2056 |
msgid "Post count not showing on the frontend dashboard"
|
2057 |
msgstr ""
|
2058 |
|
2059 |
-
#: admin/html/whats-new.php:
|
2060 |
msgid ""
|
2061 |
"Dashboard with multiple post type was not showing post counts properly, is "
|
2062 |
"now fixed and shows count for each post type"
|
2063 |
msgstr ""
|
2064 |
|
2065 |
-
#: admin/html/whats-new.php:
|
2066 |
msgid "Login Redirect showing blank page is fixed"
|
2067 |
msgstr ""
|
2068 |
|
2069 |
-
#: admin/html/whats-new.php:
|
2070 |
msgid ""
|
2071 |
"If \"Previous Page\" was set for redirection, login redirect was "
|
2072 |
"redirecting to blank page for users who hit login page directly"
|
2073 |
msgstr ""
|
2074 |
|
2075 |
-
#: admin/html/whats-new.php:
|
2076 |
msgid "Enhanced Login Redirect to redirect users to previous page"
|
2077 |
msgstr ""
|
2078 |
|
2079 |
-
#: admin/html/whats-new.php:
|
2080 |
msgid ""
|
2081 |
"You can choose Previous Page as Login Redirect page settings now to "
|
2082 |
"redirect users to the page from which they went for Login. "
|
2083 |
msgstr ""
|
2084 |
|
2085 |
-
#: admin/html/whats-new.php:
|
2086 |
msgid "Email HTML links not Rendreing properly issue is fixed"
|
2087 |
msgstr ""
|
2088 |
|
2089 |
-
#: admin/html/whats-new.php:
|
2090 |
msgid ""
|
2091 |
"For some clients emails were not rendering the HTML links properly, this is "
|
2092 |
"now fixed"
|
2093 |
msgstr ""
|
2094 |
|
2095 |
-
#: admin/html/whats-new.php:
|
2096 |
msgid "Form Builder : Form Field's Help text styles not showing properly"
|
2097 |
msgstr ""
|
2098 |
|
2099 |
-
#: admin/html/whats-new.php:
|
2100 |
msgid "Help texts styling is now fixed and much easier to read and understand"
|
2101 |
msgstr ""
|
2102 |
|
2103 |
-
#: admin/html/whats-new.php:
|
2104 |
msgid "Various other code improvements"
|
2105 |
msgstr ""
|
2106 |
|
2107 |
-
#: admin/html/whats-new.php:
|
2108 |
msgid "Dashboard Post Listing now supports multiple post types"
|
2109 |
msgstr ""
|
2110 |
|
2111 |
-
#: admin/html/whats-new.php:
|
2112 |
msgid ""
|
2113 |
"Now you can show multiple post type in user dashboard using shortcode like "
|
2114 |
"this : <br><b>[wpuf_dashboard post_type=\"post,page,custom_type\"]</b> "
|
2115 |
msgstr ""
|
2116 |
|
2117 |
-
#: admin/html/whats-new.php:
|
2118 |
msgid "Added Login Redirect Settings"
|
2119 |
msgstr ""
|
2120 |
|
2121 |
-
#: admin/html/whats-new.php:
|
2122 |
msgid ""
|
2123 |
"You can now set a page from <i>WPUF Settings > Login/Registration > "
|
2124 |
"Redirect after Login</i>. When login redirection is active the user will be "
|
2125 |
"redirected to this page after login."
|
2126 |
msgstr ""
|
2127 |
|
2128 |
-
#: admin/html/whats-new.php:
|
2129 |
msgid "Image Upload field button text can be changed"
|
2130 |
msgstr ""
|
2131 |
|
2132 |
-
#: admin/html/whats-new.php:
|
2133 |
msgid ""
|
2134 |
"The upload button text can now be changed for image upload fields which "
|
2135 |
"defaults to \"Select Image\" if not set. "
|
2136 |
msgstr ""
|
2137 |
|
2138 |
-
#: admin/html/whats-new.php:
|
2139 |
msgid "Multi Step Form styles made compatible with more themes"
|
2140 |
msgstr ""
|
2141 |
|
2142 |
-
#: admin/html/whats-new.php:
|
2143 |
msgid "Multi Step form can now be styled more easily with other themes "
|
2144 |
msgstr ""
|
2145 |
|
2146 |
-
#: admin/html/whats-new.php:
|
2147 |
msgid "Required field condition for google map not working is fixed"
|
2148 |
msgstr ""
|
2149 |
|
2150 |
-
#: admin/html/whats-new.php:
|
2151 |
msgid ""
|
2152 |
"If Google Map field was set as required users were able to submit form "
|
2153 |
"without changing the default value."
|
2154 |
msgstr ""
|
2155 |
|
2156 |
-
#: admin/html/whats-new.php:
|
2157 |
msgid "Admin form builder is now fully responsive."
|
2158 |
msgstr ""
|
2159 |
|
2160 |
-
#: admin/html/whats-new.php:
|
2161 |
msgid ""
|
2162 |
"Now you can edit forms from your mobile devices directly. Our improved "
|
2163 |
"responsive layouts of form builder makes it easy for you to build forms on "
|
2164 |
"the go."
|
2165 |
msgstr ""
|
2166 |
|
2167 |
-
#: admin/html/whats-new.php:
|
2168 |
msgid "Added color schemes for creating attractive form layouts."
|
2169 |
msgstr ""
|
2170 |
|
2171 |
-
#: admin/html/whats-new.php:
|
2172 |
msgid ""
|
2173 |
"We have added 3 new color schemes for the form layouts which you can choose "
|
2174 |
"from each form's new display settings."
|
2175 |
msgstr ""
|
2176 |
|
2177 |
-
#: admin/html/whats-new.php:
|
2178 |
msgid "Restrict Free subscription pack to be enabled multiple times "
|
2179 |
msgstr ""
|
2180 |
|
2181 |
-
#: admin/html/whats-new.php:
|
2182 |
msgid ""
|
2183 |
"Free subscription packs now can only be purchased once and the limit "
|
2184 |
"applies properly"
|
2185 |
msgstr ""
|
2186 |
|
2187 |
-
#: admin/html/whats-new.php:
|
2188 |
msgid "Various other bug fixes and improvements were made "
|
2189 |
msgstr ""
|
2190 |
|
2191 |
-
#: admin/html/whats-new.php:
|
2192 |
msgid "Please see the change log to see full details."
|
2193 |
msgstr ""
|
2194 |
|
2195 |
-
#: admin/html/whats-new.php:
|
2196 |
msgid "Added upgrade function for default category"
|
2197 |
msgstr ""
|
2198 |
|
2199 |
-
#: admin/html/whats-new.php:
|
2200 |
msgid "Upgrader added to upgrade previously set default post category."
|
2201 |
msgstr ""
|
2202 |
|
2203 |
-
#: admin/html/whats-new.php:
|
2204 |
msgid "Subscription pack cannot be canceled"
|
2205 |
msgstr ""
|
2206 |
|
2207 |
-
#: admin/html/whats-new.php:
|
2208 |
msgid ""
|
2209 |
"Fixed recurring subscription pack cannot be canceled from my account page "
|
2210 |
"in subscription details section."
|
2211 |
msgstr ""
|
2212 |
|
2213 |
-
#: admin/html/whats-new.php:
|
2214 |
msgid "page installer admin notice logic issue"
|
2215 |
msgstr ""
|
2216 |
|
2217 |
-
#: admin/html/whats-new.php:
|
2218 |
msgid ""
|
2219 |
"Fixed page installer admin notice logic problem due to new payment settings "
|
2220 |
"default value not set."
|
2221 |
msgstr ""
|
2222 |
|
2223 |
-
#: admin/html/whats-new.php:
|
2224 |
msgid "Setup Wizard"
|
2225 |
msgstr ""
|
2226 |
|
2227 |
-
#: admin/html/whats-new.php:
|
2228 |
msgid "Setup Wizard added to turn off payment options and install pages."
|
2229 |
msgstr ""
|
2230 |
|
2231 |
-
#: admin/html/whats-new.php:
|
2232 |
msgid "Multi-select Category"
|
2233 |
msgstr ""
|
2234 |
|
2235 |
-
#: admin/html/whats-new.php:
|
2236 |
msgid "Add multi-select to default category in post form settings."
|
2237 |
msgstr ""
|
2238 |
|
2239 |
-
#: admin/html/whats-new.php:
|
2240 |
msgid "Select Text option for Taxonomy"
|
2241 |
msgstr ""
|
2242 |
|
2243 |
-
#: admin/html/whats-new.php:
|
2244 |
msgid ""
|
2245 |
"Add Select Text option for taxonomy fields. Now you can add default text "
|
2246 |
"with empty value as first option for Taxonomy dropdown."
|
2247 |
msgstr ""
|
2248 |
|
2249 |
-
#: admin/html/whats-new.php:
|
2250 |
msgid "Taxonomy Checkbox Inline"
|
2251 |
msgstr ""
|
2252 |
|
2253 |
-
#: admin/html/whats-new.php:
|
2254 |
msgid ""
|
2255 |
"Added checkbox inline option to taxonomy checkbox. You can now display "
|
2256 |
"Taxonomy checkbox fields inline."
|
2257 |
msgstr ""
|
2258 |
|
2259 |
-
#: admin/html/whats-new.php:
|
2260 |
msgid "Manage schedule for form submission"
|
2261 |
msgstr ""
|
2262 |
|
2263 |
-
#: admin/html/whats-new.php:
|
2264 |
msgid ""
|
2265 |
"Do not accept form submission if the current date is not between the date "
|
2266 |
"range of the schedule."
|
2267 |
msgstr ""
|
2268 |
|
2269 |
-
#: admin/html/whats-new.php:
|
2270 |
msgid "Restrict form submission based on the user roles"
|
2271 |
msgstr ""
|
2272 |
|
2273 |
-
#: admin/html/whats-new.php:
|
2274 |
msgid ""
|
2275 |
"Restrict form submission based on the user roles. Now you can manage user "
|
2276 |
"role base permission on form submission."
|
2277 |
msgstr ""
|
2278 |
|
2279 |
-
#: admin/html/whats-new.php:
|
2280 |
msgid "Limit how many entries a form will accept"
|
2281 |
msgstr ""
|
2282 |
|
2283 |
-
#: admin/html/whats-new.php:
|
2284 |
msgid ""
|
2285 |
"Limit how many entries a form will accept and display a custom message when "
|
2286 |
"that limit is reached."
|
2287 |
msgstr ""
|
2288 |
|
2289 |
-
#: admin/html/whats-new.php:
|
2290 |
msgid "Show/hide Admin Bar"
|
2291 |
msgstr ""
|
2292 |
|
2293 |
-
#: admin/html/whats-new.php:
|
2294 |
msgid "Control the admin bar visibility based on user roles."
|
2295 |
msgstr ""
|
2296 |
|
2297 |
-
#: admin/html/whats-new.php:
|
2298 |
msgid "Ajax Login widget"
|
2299 |
msgstr ""
|
2300 |
|
2301 |
-
#: admin/html/whats-new.php:
|
2302 |
msgid ""
|
2303 |
"Login user is more simple now with Ajax Login Widget. The simple ajax login "
|
2304 |
"form do not required page loading for login."
|
2305 |
msgstr ""
|
2306 |
|
2307 |
-
#: admin/html/whats-new.php:
|
2308 |
msgid "Form submission with Captcha field"
|
2309 |
msgstr ""
|
2310 |
|
2311 |
-
#: admin/html/whats-new.php:
|
2312 |
msgid "Form field validation process updated if form submits with captcha field."
|
2313 |
msgstr ""
|
2314 |
|
2315 |
-
#: admin/html/whats-new.php:
|
2316 |
msgid "What's New in WPUF?"
|
2317 |
msgstr ""
|
2318 |
|
@@ -4423,8 +4541,8 @@ msgid ""
|
|
4423 |
"Please check your inbox!"
|
4424 |
msgstr ""
|
4425 |
|
4426 |
-
#: includes/class-frontend-render-form.php:
|
4427 |
-
#: includes/free/class-login.php:
|
4428 |
msgid "Empty reCaptcha Field"
|
4429 |
msgstr ""
|
4430 |
|
@@ -4501,20 +4619,20 @@ msgstr ""
|
|
4501 |
msgid "Someone has requested a password reset for the following account:"
|
4502 |
msgstr ""
|
4503 |
|
4504 |
-
#: includes/class-login-widget.php:147 includes/free/class-login.php:
|
4505 |
-
#: includes/free/class-login.php:
|
4506 |
msgid "Username: %s"
|
4507 |
msgstr ""
|
4508 |
|
4509 |
-
#: includes/class-login-widget.php:148 includes/free/class-login.php:
|
4510 |
msgid "If this was a mistake, just ignore this email and nothing will happen."
|
4511 |
msgstr ""
|
4512 |
|
4513 |
-
#: includes/class-login-widget.php:149 includes/free/class-login.php:
|
4514 |
msgid "To reset your password, visit the following address:"
|
4515 |
msgstr ""
|
4516 |
|
4517 |
-
#: includes/class-login-widget.php:154 includes/free/class-login.php:
|
4518 |
msgid "[%s] Password Reset"
|
4519 |
msgstr ""
|
4520 |
|
@@ -5344,19 +5462,19 @@ msgstr ""
|
|
5344 |
msgid "You are now logged out."
|
5345 |
msgstr ""
|
5346 |
|
5347 |
-
#: includes/free/class-login.php:
|
5348 |
msgid "Nonce is invalid"
|
5349 |
msgstr ""
|
5350 |
|
5351 |
-
#: includes/free/class-login.php:
|
5352 |
msgid "Username is required."
|
5353 |
msgstr ""
|
5354 |
|
5355 |
-
#: includes/free/class-login.php:
|
5356 |
msgid "Password is required."
|
5357 |
msgstr ""
|
5358 |
|
5359 |
-
#: includes/free/class-login.php:
|
5360 |
#: includes/free/class-registration.php:206
|
5361 |
#: includes/free/class-registration.php:212
|
5362 |
#: includes/free/class-registration.php:218
|
@@ -5369,96 +5487,96 @@ msgstr ""
|
|
5369 |
msgid "Error"
|
5370 |
msgstr ""
|
5371 |
|
5372 |
-
#: includes/free/class-login.php:
|
5373 |
msgid "A user could not be found with this email address."
|
5374 |
msgstr ""
|
5375 |
|
5376 |
-
#: includes/free/class-login.php:
|
5377 |
msgid "Please enter your password."
|
5378 |
msgstr ""
|
5379 |
|
5380 |
-
#: includes/free/class-login.php:
|
5381 |
msgid "Passwords do not match."
|
5382 |
msgstr ""
|
5383 |
|
5384 |
-
#: includes/free/class-login.php:
|
5385 |
msgid "Enter a username or e-mail address."
|
5386 |
msgstr ""
|
5387 |
|
5388 |
-
#: includes/free/class-login.php:
|
5389 |
msgid "There is no user registered with that email address."
|
5390 |
msgstr ""
|
5391 |
|
5392 |
-
#: includes/free/class-login.php:
|
5393 |
msgid "Invalid username or e-mail."
|
5394 |
msgstr ""
|
5395 |
|
5396 |
-
#: includes/free/class-login.php:
|
5397 |
msgid "Password reset is not allowed for this user"
|
5398 |
msgstr ""
|
5399 |
|
5400 |
-
#: includes/free/class-login.php:
|
5401 |
msgid ""
|
5402 |
"<strong>Your account is not active.</strong><br>Please check your email for "
|
5403 |
"activation link. <br><a href=\"%s\">Click here</a> to resend the activation "
|
5404 |
"link"
|
5405 |
msgstr ""
|
5406 |
|
5407 |
-
#: includes/free/class-login.php:
|
5408 |
msgid "Activation URL is not valid"
|
5409 |
msgstr ""
|
5410 |
|
5411 |
-
#: includes/free/class-login.php:
|
5412 |
msgid "Invalid User activation url"
|
5413 |
msgstr ""
|
5414 |
|
5415 |
-
#: includes/free/class-login.php:
|
5416 |
msgid "User already verified"
|
5417 |
msgstr ""
|
5418 |
|
5419 |
-
#: includes/free/class-login.php:
|
5420 |
msgid "Your account has been activated"
|
5421 |
msgstr ""
|
5422 |
|
5423 |
-
#: includes/free/class-login.php:
|
5424 |
msgid ""
|
5425 |
"Your account has been verified , but you can't login until manually "
|
5426 |
"approved your account by an administrator."
|
5427 |
msgstr ""
|
5428 |
|
5429 |
-
#: includes/free/class-login.php:
|
5430 |
msgid "[%s] Your username and password info"
|
5431 |
msgstr ""
|
5432 |
|
5433 |
-
#: includes/free/class-login.php:
|
5434 |
msgid "To set your password, visit the following address:"
|
5435 |
msgstr ""
|
5436 |
|
5437 |
-
#: includes/free/class-login.php:
|
5438 |
msgid "[%s] Account has been activated"
|
5439 |
msgstr ""
|
5440 |
|
5441 |
-
#: includes/free/class-login.php:
|
5442 |
msgid "Hi %s,"
|
5443 |
msgstr ""
|
5444 |
|
5445 |
-
#: includes/free/class-login.php:
|
5446 |
msgid "Congrats! Your account has been activated. To login visit the following url:"
|
5447 |
msgstr ""
|
5448 |
|
5449 |
-
#: includes/free/class-login.php:
|
5450 |
msgid "Thanks"
|
5451 |
msgstr ""
|
5452 |
|
5453 |
-
#: includes/free/class-login.php:
|
5454 |
msgid "Someone requested that the password be reset for the following account:"
|
5455 |
msgstr ""
|
5456 |
|
5457 |
-
#: includes/free/class-login.php:
|
5458 |
msgid "The e-mail could not be sent."
|
5459 |
msgstr ""
|
5460 |
|
5461 |
-
#: includes/free/class-login.php:
|
5462 |
msgid "Possible reason: your host may have disabled the mail() function."
|
5463 |
msgstr ""
|
5464 |
|
2 |
# This file is distributed under the GPL2 or later.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: WP User Frontend 3.3.1\n"
|
6 |
"Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
|
7 |
+
"POT-Creation-Date: 2020-06-16 07:50:45+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
1405 |
msgid "Contact Support"
|
1406 |
msgstr ""
|
1407 |
|
1408 |
+
#: admin/html/whats-new.php:8
|
1409 |
+
msgid ""
|
1410 |
+
"Use common names for Ivory Coast, North Korea and Sourth Korea instead of "
|
1411 |
+
"their official names"
|
1412 |
+
msgstr ""
|
1413 |
+
|
1414 |
+
#: admin/html/whats-new.php:12
|
1415 |
+
msgid "Fix condition to use default avatar"
|
1416 |
+
msgstr ""
|
1417 |
+
|
1418 |
+
#: admin/html/whats-new.php:16
|
1419 |
+
msgid "Make Email and URL fields clickable"
|
1420 |
+
msgstr ""
|
1421 |
+
|
1422 |
+
#: admin/html/whats-new.php:20
|
1423 |
+
msgid "Fix redirect after user login"
|
1424 |
+
msgstr ""
|
1425 |
+
|
1426 |
+
#: admin/html/whats-new.php:24
|
1427 |
+
msgid "Sanitize textarea field data"
|
1428 |
+
msgstr ""
|
1429 |
+
|
1430 |
+
#: admin/html/whats-new.php:28
|
1431 |
+
msgid ""
|
1432 |
+
"Fix missing colon to email, URL, text and textarea labels when renders "
|
1433 |
+
"their data"
|
1434 |
+
msgstr ""
|
1435 |
+
|
1436 |
+
#: admin/html/whats-new.php:32
|
1437 |
+
msgid "Prevent showing empty labels for fields that have render_field_data method"
|
1438 |
+
msgstr ""
|
1439 |
+
|
1440 |
+
#: admin/html/whats-new.php:42
|
1441 |
+
msgid "Add Namibian Dollar in currency list"
|
1442 |
+
msgstr ""
|
1443 |
+
|
1444 |
+
#: admin/html/whats-new.php:46
|
1445 |
+
msgid "Add sync values option for option data fields"
|
1446 |
+
msgstr ""
|
1447 |
+
|
1448 |
+
#: admin/html/whats-new.php:50
|
1449 |
+
msgid "Allow uploading image that having filesize meets php ini settings"
|
1450 |
+
msgstr ""
|
1451 |
+
|
1452 |
+
#: admin/html/whats-new.php:54
|
1453 |
+
msgid "Limit the selection of one image at a time"
|
1454 |
+
msgstr ""
|
1455 |
+
|
1456 |
+
#: admin/html/whats-new.php:58
|
1457 |
+
msgid "Use file name and size to generate hash to prevent duplicant image upload"
|
1458 |
+
msgstr ""
|
1459 |
+
|
1460 |
+
#: admin/html/whats-new.php:62
|
1461 |
+
msgid "Sanitize text and textarea field data"
|
1462 |
+
msgstr ""
|
1463 |
+
|
1464 |
+
#: admin/html/whats-new.php:66
|
1465 |
+
msgid ""
|
1466 |
+
"Show label instead of values for radio, checkbox, dropdown and multiselect "
|
1467 |
+
"data"
|
1468 |
+
msgstr ""
|
1469 |
+
|
1470 |
+
#: admin/html/whats-new.php:70
|
1471 |
+
msgid "Saving custom taxonomies for type text input"
|
1472 |
+
msgstr ""
|
1473 |
+
|
1474 |
+
#: admin/html/whats-new.php:74
|
1475 |
+
msgid "Admin settings link for recaptcha helper text"
|
1476 |
+
msgstr ""
|
1477 |
+
|
1478 |
+
#: admin/html/whats-new.php:78
|
1479 |
+
msgid "Undefined name property for Custom HTML fields"
|
1480 |
+
msgstr ""
|
1481 |
+
|
1482 |
+
#: admin/html/whats-new.php:82
|
1483 |
+
msgid "Delete attachment process"
|
1484 |
+
msgstr ""
|
1485 |
+
|
1486 |
+
#: admin/html/whats-new.php:86
|
1487 |
+
msgid "Missing billing address in invoice PDF"
|
1488 |
+
msgstr ""
|
1489 |
+
|
1490 |
+
#: admin/html/whats-new.php:90
|
1491 |
+
msgid "Showing country field value in frontend post content"
|
1492 |
+
msgstr ""
|
1493 |
+
|
1494 |
+
#: admin/html/whats-new.php:94
|
1495 |
+
msgid "Avatar size display not complying with admin settings size"
|
1496 |
+
msgstr ""
|
1497 |
+
|
1498 |
#: admin/html/whats-new.php:98
|
1499 |
+
msgid "Display default avatars on admin settings discussion page"
|
1500 |
msgstr ""
|
1501 |
|
1502 |
#: admin/html/whats-new.php:102
|
1503 |
+
msgid "Redirect to subscription page at registration"
|
1504 |
msgstr ""
|
1505 |
|
1506 |
#: admin/html/whats-new.php:106
|
1507 |
+
msgid "Error notice regarding registration page redirect"
|
1508 |
msgstr ""
|
1509 |
|
1510 |
#: admin/html/whats-new.php:110
|
1511 |
+
msgid "Escaping html in registration errors"
|
1512 |
msgstr ""
|
1513 |
|
1514 |
#: admin/html/whats-new.php:114
|
1515 |
+
msgid "Default login redirect link"
|
1516 |
msgstr ""
|
1517 |
|
1518 |
#: admin/html/whats-new.php:118
|
1519 |
+
msgid "Implementing default WP login page override option"
|
1520 |
msgstr ""
|
1521 |
|
1522 |
#: admin/html/whats-new.php:122
|
1523 |
+
msgid "Transparent background of autosuggestion dropdown"
|
1524 |
+
msgstr ""
|
1525 |
+
|
1526 |
+
#: admin/html/whats-new.php:132
|
1527 |
+
msgid "Import forms system"
|
1528 |
+
msgstr ""
|
1529 |
+
|
1530 |
+
#: admin/html/whats-new.php:136
|
1531 |
+
msgid "Password reset system"
|
1532 |
+
msgstr ""
|
1533 |
+
|
1534 |
+
#: admin/html/whats-new.php:140
|
1535 |
+
msgid "Updated url validation regex to support modern tlds"
|
1536 |
+
msgstr ""
|
1537 |
+
|
1538 |
+
#: admin/html/whats-new.php:144
|
1539 |
+
msgid "Export WPUF forms individually from admin tools page"
|
1540 |
+
msgstr ""
|
1541 |
+
|
1542 |
+
#: admin/html/whats-new.php:148
|
1543 |
+
msgid "Subscription cycle label translation issue"
|
1544 |
+
msgstr ""
|
1545 |
+
|
1546 |
+
#: admin/html/whats-new.php:152
|
1547 |
+
msgid "ACF integration for checkbox fields"
|
1548 |
+
msgstr ""
|
1549 |
+
|
1550 |
+
#: admin/html/whats-new.php:156
|
1551 |
msgid "Illegal string offset warning while updating settings"
|
1552 |
msgstr ""
|
1553 |
|
1554 |
+
#: admin/html/whats-new.php:160
|
1555 |
msgid "Conditional logic for Section Break field"
|
1556 |
msgstr ""
|
1557 |
|
1558 |
+
#: admin/html/whats-new.php:164
|
1559 |
msgid "Subscriptions cannot be deleted from backend"
|
1560 |
msgstr ""
|
1561 |
|
1562 |
+
#: admin/html/whats-new.php:168
|
1563 |
msgid "A regression regarding saving checkbox data"
|
1564 |
msgstr ""
|
1565 |
|
1566 |
+
#: admin/html/whats-new.php:172
|
1567 |
msgid "Default value of multi-select fields is not showing"
|
1568 |
msgstr ""
|
1569 |
|
1570 |
+
#: admin/html/whats-new.php:182
|
1571 |
msgid "Hide post edit option when subscription is expired"
|
1572 |
msgstr ""
|
1573 |
|
1574 |
+
#: admin/html/whats-new.php:184
|
1575 |
msgid "Hide post edit option from users whose subscription pack is expired."
|
1576 |
msgstr ""
|
1577 |
|
1578 |
+
#: admin/html/whats-new.php:187
|
1579 |
msgid "Check files to prevent duplicity in media upload"
|
1580 |
msgstr ""
|
1581 |
|
1582 |
+
#: admin/html/whats-new.php:189
|
1583 |
msgid ""
|
1584 |
"A simple measure has been taken to prevent maliciously flooding the site by "
|
1585 |
"uploading same file multiple times. Though this won't work with already "
|
1586 |
"uploaded medias."
|
1587 |
msgstr ""
|
1588 |
|
1589 |
+
#: admin/html/whats-new.php:192
|
1590 |
msgid "Refactor address fields in Account section"
|
1591 |
msgstr ""
|
1592 |
|
1593 |
+
#: admin/html/whats-new.php:194
|
1594 |
msgid "Address edit section from Account section has been rewritten to improve UX."
|
1595 |
msgstr ""
|
1596 |
|
1597 |
+
#: admin/html/whats-new.php:197
|
1598 |
msgid "Update Paypal payment gateway"
|
1599 |
msgstr ""
|
1600 |
|
1601 |
+
#: admin/html/whats-new.php:199
|
1602 |
msgid "Paypal payment gateway has seen some improvements."
|
1603 |
msgstr ""
|
1604 |
|
1605 |
+
#: admin/html/whats-new.php:202
|
1606 |
msgid "Default Category selection improvements"
|
1607 |
msgstr ""
|
1608 |
|
1609 |
+
#: admin/html/whats-new.php:204
|
1610 |
msgid ""
|
1611 |
"An intuitive way of selecting default category of a selected post type has "
|
1612 |
"been introduced."
|
1613 |
msgstr ""
|
1614 |
|
1615 |
+
#: admin/html/whats-new.php:207
|
1616 |
msgid "Compatibility issue with ACF date time field"
|
1617 |
msgstr ""
|
1618 |
|
1619 |
+
#: admin/html/whats-new.php:209
|
1620 |
msgid "A Compatibility issue with ACF date time field has been addressed."
|
1621 |
msgstr ""
|
1622 |
|
1623 |
+
#: admin/html/whats-new.php:212
|
1624 |
msgid "Media title, caption & description not saving"
|
1625 |
msgstr ""
|
1626 |
|
1627 |
+
#: admin/html/whats-new.php:214
|
1628 |
msgid ""
|
1629 |
"Media title, caption & description were not saving from frontend. They will "
|
1630 |
"now."
|
1631 |
msgstr ""
|
1632 |
|
1633 |
+
#: admin/html/whats-new.php:217
|
1634 |
msgid ""
|
1635 |
"The Events Calendar venue and organizer fields issue in WPUF Custom Fields "
|
1636 |
"metabox"
|
1637 |
msgstr ""
|
1638 |
|
1639 |
+
#: admin/html/whats-new.php:219
|
1640 |
msgid ""
|
1641 |
"A workaround has been introduced to save The Events Calendar Venue and "
|
1642 |
"Organizer fields properly from WPUF Custom Fields metabox."
|
1643 |
msgstr ""
|
1644 |
|
1645 |
+
#: admin/html/whats-new.php:222
|
1646 |
msgid "Checkbox data not saving from WPUF Custom Fields metabox"
|
1647 |
msgstr ""
|
1648 |
|
1649 |
+
#: admin/html/whats-new.php:224
|
1650 |
msgid ""
|
1651 |
"Checkboxe data from WPUF Custom Fields metabox were not saving. It has been "
|
1652 |
"fixed."
|
1653 |
msgstr ""
|
1654 |
|
1655 |
+
#: admin/html/whats-new.php:227
|
1656 |
msgid "Multi-column Repeater field data saving issue"
|
1657 |
msgstr ""
|
1658 |
|
1659 |
+
#: admin/html/whats-new.php:229
|
1660 |
msgid ""
|
1661 |
"Multi-column Repeater field data from a form was not saving. It has been "
|
1662 |
"fixed."
|
1663 |
msgstr ""
|
1664 |
|
1665 |
+
#: admin/html/whats-new.php:232
|
1666 |
msgid "Multistep form conflict with Elementor"
|
1667 |
msgstr ""
|
1668 |
|
1669 |
+
#: admin/html/whats-new.php:234
|
1670 |
msgid "Multistep form had a conflict with Elementor. It has been fixed."
|
1671 |
msgstr ""
|
1672 |
|
1673 |
+
#: admin/html/whats-new.php:237
|
1674 |
msgid "Multiple images showing issue in frontend"
|
1675 |
msgstr ""
|
1676 |
|
1677 |
+
#: admin/html/whats-new.php:239
|
1678 |
msgid "Multiple images in a post were not showing in frontend. Now they will."
|
1679 |
msgstr ""
|
1680 |
|
1681 |
+
#: admin/html/whats-new.php:248
|
1682 |
msgid "Nonce not verify on login"
|
1683 |
msgstr ""
|
1684 |
|
1685 |
+
#: admin/html/whats-new.php:250
|
1686 |
msgid "Return of function wp_verify_nonce() was ignored."
|
1687 |
msgstr ""
|
1688 |
|
1689 |
+
#: admin/html/whats-new.php:259
|
1690 |
msgid "Option to set which tab shows as active on the account page"
|
1691 |
msgstr ""
|
1692 |
|
1693 |
+
#: admin/html/whats-new.php:261
|
1694 |
msgid ""
|
1695 |
"Option to set which tab shows as active on the account page. To configure "
|
1696 |
"this setting navigate to wp-admin->User Frontend->Settings->My "
|
1697 |
"Account->Active Tab "
|
1698 |
msgstr ""
|
1699 |
|
1700 |
+
#: admin/html/whats-new.php:264
|
1701 |
msgid "Unlock option was unavailable after the post being locked"
|
1702 |
msgstr ""
|
1703 |
|
1704 |
+
#: admin/html/whats-new.php:266
|
1705 |
msgid "Unlock option was unavailable after the post being locked."
|
1706 |
msgstr ""
|
1707 |
|
1708 |
+
#: admin/html/whats-new.php:269
|
1709 |
msgid "Gutenberg block of WPUF didn't work on bedrock installation"
|
1710 |
msgstr ""
|
1711 |
|
1712 |
+
#: admin/html/whats-new.php:271
|
1713 |
msgid "Gutenberg block of WPUF didn't work on bedrock installation."
|
1714 |
msgstr ""
|
1715 |
|
1716 |
+
#: admin/html/whats-new.php:274
|
1717 |
msgid "Sending admin payment received email twice"
|
1718 |
msgstr ""
|
1719 |
|
1720 |
+
#: admin/html/whats-new.php:276
|
1721 |
msgid ""
|
1722 |
"After processing payment admin & user was receiving payment received email "
|
1723 |
"twice."
|
1724 |
msgstr ""
|
1725 |
|
1726 |
+
#: admin/html/whats-new.php:279
|
1727 |
msgid ""
|
1728 |
"Add shortcode support to display post information in the Post Expiration "
|
1729 |
"Message"
|
1730 |
msgstr ""
|
1731 |
|
1732 |
+
#: admin/html/whats-new.php:281
|
1733 |
msgid ""
|
1734 |
"Add shortcode support to display post information in the Post Expiration "
|
1735 |
"Message. You can use: <strong>{post_author} {post_url} {blogname} "
|
1736 |
"{post_title} {post_status}</strong>"
|
1737 |
msgstr ""
|
1738 |
|
1739 |
+
#: admin/html/whats-new.php:284
|
1740 |
msgid "Add optin on the setup wizard"
|
1741 |
msgstr ""
|
1742 |
|
1743 |
+
#: admin/html/whats-new.php:286
|
1744 |
msgid ""
|
1745 |
"Added optin on the setup wizard, admin can choose whether he/she wants to "
|
1746 |
"share server environment details (php, mysql, server, WordPress versions), "
|
1748 |
"name and url, admin name and email address. No sensitive data is tracked"
|
1749 |
msgstr ""
|
1750 |
|
1751 |
+
#: admin/html/whats-new.php:295
|
1752 |
msgid "Post Owner problem"
|
1753 |
msgstr ""
|
1754 |
|
1755 |
+
#: admin/html/whats-new.php:297
|
1756 |
msgid ""
|
1757 |
"Posts were not assigned to the selected default post owner, this issue has "
|
1758 |
"been fixed."
|
1759 |
msgstr ""
|
1760 |
|
1761 |
+
#: admin/html/whats-new.php:300
|
1762 |
msgid "Google reCaptcha was not working"
|
1763 |
msgstr ""
|
1764 |
|
1765 |
+
#: admin/html/whats-new.php:302
|
1766 |
msgid ""
|
1767 |
"Google reCaptcha was not working, users could submit the form without "
|
1768 |
"reCaptcha validation."
|
1769 |
msgstr ""
|
1770 |
|
1771 |
+
#: admin/html/whats-new.php:311
|
1772 |
msgid "Added column field"
|
1773 |
msgstr ""
|
1774 |
|
1775 |
+
#: admin/html/whats-new.php:316
|
1776 |
msgid "Unable to render the events on the front-end dashboard"
|
1777 |
msgstr ""
|
1778 |
|
1779 |
+
#: admin/html/whats-new.php:318
|
1780 |
msgid ""
|
1781 |
"On the frontend dashboard, the submitted events were not showing, you will "
|
1782 |
"get it fixed in this version."
|
1783 |
msgstr ""
|
1784 |
|
1785 |
+
#: admin/html/whats-new.php:321
|
1786 |
msgid "Page order getting 0(zero) after editing from the frontend"
|
1787 |
msgstr ""
|
1788 |
|
1789 |
+
#: admin/html/whats-new.php:323
|
1790 |
msgid ""
|
1791 |
"Page order was not saving while editing a post using WPUF form, it has been "
|
1792 |
"fixed."
|
1793 |
msgstr ""
|
1794 |
|
1795 |
+
#: admin/html/whats-new.php:326
|
1796 |
msgid "Text input field for taxonomies not working"
|
1797 |
msgstr ""
|
1798 |
|
1799 |
+
#: admin/html/whats-new.php:328
|
1800 |
msgid ""
|
1801 |
"When taxonomy field type is set to `Text Input` then a fatal error was "
|
1802 |
"showing on the frontend, no error with taxonomy field in the latest version."
|
1803 |
msgstr ""
|
1804 |
|
1805 |
+
#: admin/html/whats-new.php:331
|
1806 |
msgid ""
|
1807 |
"In radio and checkbox field use conditional logic that value does not save "
|
1808 |
"in database"
|
1809 |
msgstr ""
|
1810 |
|
1811 |
+
#: admin/html/whats-new.php:333
|
1812 |
msgid ""
|
1813 |
"The selected value of radio and checkbox field were not showing while "
|
1814 |
"editing posts from the backend or frontend, you can see the selected value "
|
1815 |
"in this version."
|
1816 |
msgstr ""
|
1817 |
|
1818 |
+
#: admin/html/whats-new.php:336
|
1819 |
msgid "The args param not working with get_avatar filter"
|
1820 |
msgstr ""
|
1821 |
|
1822 |
+
#: admin/html/whats-new.php:338
|
1823 |
msgid "The args parameter did not exist with get_avatar filter, which now exists."
|
1824 |
msgstr ""
|
1825 |
|
1826 |
+
#: admin/html/whats-new.php:341
|
1827 |
msgid "The item in ajax taxonomy field was not selected"
|
1828 |
msgstr ""
|
1829 |
|
1830 |
+
#: admin/html/whats-new.php:343
|
1831 |
msgid ""
|
1832 |
"When the taxonomy field type is set to Ajax, the submitted terms were not "
|
1833 |
"showing in the backend and frontend which have been fixed."
|
1834 |
msgstr ""
|
1835 |
|
1836 |
+
#: admin/html/whats-new.php:352
|
1837 |
msgid "Unable to send new user registration email"
|
1838 |
msgstr ""
|
1839 |
|
1840 |
+
#: admin/html/whats-new.php:354
|
1841 |
msgid ""
|
1842 |
"WP User Frontend default registration form `[wpuf-registration]` was unable "
|
1843 |
"to send the new user registration email."
|
1844 |
msgstr ""
|
1845 |
|
1846 |
+
#: admin/html/whats-new.php:357
|
1847 |
msgid "WPUF forms block compatibility issue with the latest WP version"
|
1848 |
msgstr ""
|
1849 |
|
1850 |
+
#: admin/html/whats-new.php:359
|
1851 |
msgid ""
|
1852 |
"With the latest version of WordPress the gutenberg block of WP User "
|
1853 |
"Frontend were not working. In this version, you will get it fixed."
|
1854 |
msgstr ""
|
1855 |
|
1856 |
+
#: admin/html/whats-new.php:362
|
1857 |
msgid "Page not update where `[wpuf_dashboard]` shortcode exist"
|
1858 |
msgstr ""
|
1859 |
|
1860 |
+
#: admin/html/whats-new.php:364
|
1861 |
msgid ""
|
1862 |
"While using Gutenberg, the page were not being updated with WPUF shortcode "
|
1863 |
"[wpuf dashboard]"
|
1864 |
msgstr ""
|
1865 |
|
1866 |
+
#: admin/html/whats-new.php:367
|
1867 |
msgid "Retain default when determining whether to display the admin bar"
|
1868 |
msgstr ""
|
1869 |
|
1870 |
+
#: admin/html/whats-new.php:369
|
1871 |
msgid ""
|
1872 |
"From the User Frontend Settings, set that Administrator, Editor, Vendor can "
|
1873 |
"see the admin bar. Now, the super admin want, one specific user ( who has "
|
1877 |
"frontend."
|
1878 |
msgstr ""
|
1879 |
|
1880 |
+
#: admin/html/whats-new.php:372
|
1881 |
msgid "Fatal error when use PHP lower version (5.4 or lower)"
|
1882 |
msgstr ""
|
1883 |
|
1884 |
+
#: admin/html/whats-new.php:374
|
1885 |
msgid ""
|
1886 |
"It was unable to install WP User Frontend with PHP 5.4 or lower version. "
|
1887 |
"Here is the error details: <br><br><strong>Fatal error: Can't use method "
|
1889 |
"/wp-user-frontend/class/frontend-form-post.php on line 194</strong>"
|
1890 |
msgstr ""
|
1891 |
|
1892 |
+
#: admin/html/whats-new.php:377
|
1893 |
msgid "Product form was unable to show the single gallery image"
|
1894 |
msgstr ""
|
1895 |
|
1896 |
+
#: admin/html/whats-new.php:379
|
1897 |
msgid ""
|
1898 |
"When user upload single image for product gallery using WPUF WooCommerce "
|
1899 |
"product form, that image were not showing on the frontend."
|
1900 |
msgstr ""
|
1901 |
|
1902 |
+
#: admin/html/whats-new.php:388
|
1903 |
msgid "WooCommerce gallery images not getting saved"
|
1904 |
msgstr ""
|
1905 |
|
1906 |
+
#: admin/html/whats-new.php:390
|
1907 |
msgid ""
|
1908 |
"After releasing version 2.9.3, WooCommerce gallery image field stopped "
|
1909 |
"working. You will get it fixed in this version."
|
1910 |
msgstr ""
|
1911 |
|
1912 |
+
#: admin/html/whats-new.php:399
|
1913 |
msgid "The Events Calendar Integration Form"
|
1914 |
msgstr ""
|
1915 |
|
1916 |
+
#: admin/html/whats-new.php:401
|
1917 |
msgid ""
|
1918 |
"Now admin can allow users to create event from the frontend. Currently WPUF "
|
1919 |
"has a one click pre-build event form that has been integrated with The "
|
1920 |
"Events Calendar plugin"
|
1921 |
msgstr ""
|
1922 |
|
1923 |
+
#: admin/html/whats-new.php:404
|
1924 |
msgid "Post Submission Facility From Account Page"
|
1925 |
msgstr ""
|
1926 |
|
1927 |
+
#: admin/html/whats-new.php:406
|
1928 |
msgid ""
|
1929 |
"On the frontend account page, added a new menu item named <b>Submit "
|
1930 |
"Post</b>. Now admin can allow users to submit post from their default "
|
1933 |
"you can assign any post form that will use to submit posts."
|
1934 |
msgstr ""
|
1935 |
|
1936 |
+
#: admin/html/whats-new.php:409
|
1937 |
msgid "Login/Lost Password Link Under Registration Form"
|
1938 |
msgstr ""
|
1939 |
|
1940 |
+
#: admin/html/whats-new.php:411
|
1941 |
msgid "Added Login/Lost Password link under registration form"
|
1942 |
msgstr ""
|
1943 |
|
1944 |
+
#: admin/html/whats-new.php:420
|
1945 |
msgid "Added drag and drop image ordering on image upload"
|
1946 |
msgstr ""
|
1947 |
|
1948 |
+
#: admin/html/whats-new.php:422
|
1949 |
msgid ""
|
1950 |
"Now frontend users can drag & drop the images/files to change the order "
|
1951 |
"while uploading."
|
1952 |
msgstr ""
|
1953 |
|
1954 |
+
#: admin/html/whats-new.php:425
|
1955 |
msgid "Added reCAPTCHA field in login form"
|
1956 |
msgstr ""
|
1957 |
|
1958 |
+
#: admin/html/whats-new.php:427
|
1959 |
msgid ""
|
1960 |
"Admin has the option to show reCAPTCHA field in login form. Check the "
|
1961 |
"related settings from <strong>User Frontend > Settings > "
|
1962 |
"Login/Registration</strong>"
|
1963 |
msgstr ""
|
1964 |
|
1965 |
+
#: admin/html/whats-new.php:430
|
1966 |
msgid "Added preview option in forms"
|
1967 |
msgstr ""
|
1968 |
|
1969 |
+
#: admin/html/whats-new.php:432
|
1970 |
msgid ""
|
1971 |
"You can see a nice <strong>Preview</strong> button with <strong>Save "
|
1972 |
"Form</strong> button, admin can take a quick look of the form without using "
|
1973 |
"shortcode"
|
1974 |
msgstr ""
|
1975 |
|
1976 |
+
#: admin/html/whats-new.php:435
|
1977 |
msgid "Fixed hiding “Select Image” button while uploading multiple images."
|
1978 |
msgstr ""
|
1979 |
|
1980 |
+
#: admin/html/whats-new.php:437
|
1981 |
msgid ""
|
1982 |
"The upload button will not be hidden until the user selects max number of "
|
1983 |
"files "
|
1984 |
msgstr ""
|
1985 |
|
1986 |
+
#: admin/html/whats-new.php:440
|
1987 |
msgid "Added form limit notice before form submission"
|
1988 |
msgstr ""
|
1989 |
|
1990 |
+
#: admin/html/whats-new.php:442
|
1991 |
msgid ""
|
1992 |
"Limit notice message was showing after submission, now it is showing when "
|
1993 |
"rendering the form"
|
1994 |
msgstr ""
|
1995 |
|
1996 |
+
#: admin/html/whats-new.php:445
|
1997 |
msgid "Fixed: default post category not saving"
|
1998 |
msgstr ""
|
1999 |
|
2000 |
+
#: admin/html/whats-new.php:447
|
2001 |
msgid ""
|
2002 |
"From the form <strong>Settings > Post Settings</strong>, default post "
|
2003 |
"category options were not saving. Now, it's fixed."
|
2004 |
msgstr ""
|
2005 |
|
2006 |
+
#: admin/html/whats-new.php:450
|
2007 |
msgid ""
|
2008 |
"WPUF dashboard shortcode with form_id attribute was not showing posts "
|
2009 |
"properly"
|
2010 |
msgstr ""
|
2011 |
|
2012 |
+
#: admin/html/whats-new.php:452
|
2013 |
msgid ""
|
2014 |
"Now you can list posts on the frontend by using <strong>form_id<strong/> "
|
2015 |
"attribute with <strong>[wpuf_dashboard]</strong> shortcode"
|
2016 |
msgstr ""
|
2017 |
|
2018 |
+
#: admin/html/whats-new.php:461
|
2019 |
msgid "Changed text domain to `wp-user-frontend` from `wpuf` "
|
2020 |
msgstr ""
|
2021 |
|
2022 |
+
#: admin/html/whats-new.php:463
|
2023 |
msgid ""
|
2024 |
"If you are using other language than English. Please <b>rename</b> your "
|
2025 |
"<i>.po and .mo </i> files to `wp-user-frontend_` from `wpuf_` <br> This "
|
2026 |
"change was made to support translations from translate.wordpress.org"
|
2027 |
msgstr ""
|
2028 |
|
2029 |
+
#: admin/html/whats-new.php:466
|
2030 |
msgid "Added WP User Frontend Data export and erase functionality."
|
2031 |
msgstr ""
|
2032 |
|
2033 |
+
#: admin/html/whats-new.php:468
|
2034 |
msgid "Added functionality to export WP User Frontend Data to comply with GDPR."
|
2035 |
msgstr ""
|
2036 |
|
2037 |
+
#: admin/html/whats-new.php:471
|
2038 |
msgid "Added billing address customizer."
|
2039 |
msgstr ""
|
2040 |
|
2041 |
+
#: admin/html/whats-new.php:473
|
2042 |
msgid "Added customizer options for billing address in payment page."
|
2043 |
msgstr ""
|
2044 |
|
2045 |
+
#: admin/html/whats-new.php:476
|
2046 |
msgid "Make the payment page responsive."
|
2047 |
msgstr ""
|
2048 |
|
2049 |
+
#: admin/html/whats-new.php:478
|
2050 |
msgid "Some css adjustments are made in payment page to make it responsive."
|
2051 |
msgstr ""
|
2052 |
|
2053 |
+
#: admin/html/whats-new.php:481
|
2054 |
msgid "Fixed image upload issue in Safari."
|
2055 |
msgstr ""
|
2056 |
|
2057 |
+
#: admin/html/whats-new.php:483
|
2058 |
msgid "Images were not showing after upload in safari, it is fixed now."
|
2059 |
msgstr ""
|
2060 |
|
2061 |
+
#: admin/html/whats-new.php:486
|
2062 |
msgid "Post update issue after updating or removing post images."
|
2063 |
msgstr ""
|
2064 |
|
2065 |
+
#: admin/html/whats-new.php:488
|
2066 |
msgid ""
|
2067 |
"Posts cannot be updated after updating or removing post images, it is fixed "
|
2068 |
"now."
|
2069 |
msgstr ""
|
2070 |
|
2071 |
+
#: admin/html/whats-new.php:497
|
2072 |
msgid "Allow overriding form input styles using theme styling."
|
2073 |
msgstr ""
|
2074 |
|
2075 |
+
#: admin/html/whats-new.php:499
|
2076 |
msgid "Overriding form input styles using theme style is now possible."
|
2077 |
msgstr ""
|
2078 |
|
2079 |
+
#: admin/html/whats-new.php:502
|
2080 |
msgid "Fixed Auto Login after registration."
|
2081 |
msgstr ""
|
2082 |
|
2083 |
+
#: admin/html/whats-new.php:504
|
2084 |
msgid "Auto Login after registration was not working is fixed now."
|
2085 |
msgstr ""
|
2086 |
|
2087 |
+
#: admin/html/whats-new.php:507
|
2088 |
msgid "Fixed fallback cost calculation"
|
2089 |
msgstr ""
|
2090 |
|
2091 |
+
#: admin/html/whats-new.php:509
|
2092 |
msgid "Fallback cost calculation was inaccurate for some cases, it is fixed now."
|
2093 |
msgstr ""
|
2094 |
|
2095 |
+
#: admin/html/whats-new.php:512
|
2096 |
msgid "Removal of subscription from User Profile gets reverted if updated"
|
2097 |
msgstr ""
|
2098 |
|
2099 |
+
#: admin/html/whats-new.php:514
|
2100 |
msgid "User subscription deletion gets reverted if updated is fixed."
|
2101 |
msgstr ""
|
2102 |
|
2103 |
+
#: admin/html/whats-new.php:517
|
2104 |
msgid "Show Free pack users in subscribers list."
|
2105 |
msgstr ""
|
2106 |
|
2107 |
+
#: admin/html/whats-new.php:519
|
2108 |
msgid "Free pack users were not showing in subscribers list, now they will."
|
2109 |
msgstr ""
|
2110 |
|
2111 |
+
#: admin/html/whats-new.php:528
|
2112 |
msgid "WP User Frontend Guten Block is added"
|
2113 |
msgstr ""
|
2114 |
|
2115 |
+
#: admin/html/whats-new.php:530
|
2116 |
msgid ""
|
2117 |
"WPUF Form Block is now available to be used within gutenberg editor with "
|
2118 |
"preview of the form. "
|
2119 |
msgstr ""
|
2120 |
|
2121 |
+
#: admin/html/whats-new.php:533
|
2122 |
msgid "Advanced Custom Fields plugin compatibility"
|
2123 |
msgstr ""
|
2124 |
|
2125 |
+
#: admin/html/whats-new.php:535
|
2126 |
msgid "Now all your ACF fields can be used within WPUF Post forms. "
|
2127 |
msgstr ""
|
2128 |
|
2129 |
+
#: admin/html/whats-new.php:538
|
2130 |
msgid "Taxonomy Terms not showing for custom post types"
|
2131 |
msgstr ""
|
2132 |
|
2133 |
+
#: admin/html/whats-new.php:540
|
2134 |
msgid ""
|
2135 |
"Fixed an issue with taxonomy terms not appearing for Custom Post types "
|
2136 |
"within Form Settings and Dashboard Post Listing"
|
2137 |
msgstr ""
|
2138 |
|
2139 |
+
#: admin/html/whats-new.php:543
|
2140 |
msgid "Various other code optimizations"
|
2141 |
msgstr ""
|
2142 |
|
2143 |
+
#: admin/html/whats-new.php:545 admin/html/whats-new.php:602
|
2144 |
msgid "Code structure organization and optimization for better performance"
|
2145 |
msgstr ""
|
2146 |
|
2147 |
+
#: admin/html/whats-new.php:554
|
2148 |
msgid "WoooCommerce billing address Sync"
|
2149 |
msgstr ""
|
2150 |
|
2151 |
+
#: admin/html/whats-new.php:556
|
2152 |
msgid ""
|
2153 |
"If an existing customer has previously set his billing address, that will "
|
2154 |
"be imported into WPUF Billing address "
|
2155 |
msgstr ""
|
2156 |
|
2157 |
+
#: admin/html/whats-new.php:559
|
2158 |
msgid "Trial subscription message not showing properly"
|
2159 |
msgstr ""
|
2160 |
|
2161 |
+
#: admin/html/whats-new.php:561
|
2162 |
msgid "Subscriptions with Trial now shows trial notices"
|
2163 |
msgstr ""
|
2164 |
|
2165 |
+
#: admin/html/whats-new.php:564
|
2166 |
msgid "Reset email Key not working"
|
2167 |
msgstr ""
|
2168 |
|
2169 |
+
#: admin/html/whats-new.php:566
|
2170 |
msgid "Reset Email key was not working in some cases"
|
2171 |
msgstr ""
|
2172 |
|
2173 |
+
#: admin/html/whats-new.php:569
|
2174 |
msgid "Post count not showing on the frontend dashboard"
|
2175 |
msgstr ""
|
2176 |
|
2177 |
+
#: admin/html/whats-new.php:571
|
2178 |
msgid ""
|
2179 |
"Dashboard with multiple post type was not showing post counts properly, is "
|
2180 |
"now fixed and shows count for each post type"
|
2181 |
msgstr ""
|
2182 |
|
2183 |
+
#: admin/html/whats-new.php:574
|
2184 |
msgid "Login Redirect showing blank page is fixed"
|
2185 |
msgstr ""
|
2186 |
|
2187 |
+
#: admin/html/whats-new.php:576
|
2188 |
msgid ""
|
2189 |
"If \"Previous Page\" was set for redirection, login redirect was "
|
2190 |
"redirecting to blank page for users who hit login page directly"
|
2191 |
msgstr ""
|
2192 |
|
2193 |
+
#: admin/html/whats-new.php:585
|
2194 |
msgid "Enhanced Login Redirect to redirect users to previous page"
|
2195 |
msgstr ""
|
2196 |
|
2197 |
+
#: admin/html/whats-new.php:587
|
2198 |
msgid ""
|
2199 |
"You can choose Previous Page as Login Redirect page settings now to "
|
2200 |
"redirect users to the page from which they went for Login. "
|
2201 |
msgstr ""
|
2202 |
|
2203 |
+
#: admin/html/whats-new.php:590
|
2204 |
msgid "Email HTML links not Rendreing properly issue is fixed"
|
2205 |
msgstr ""
|
2206 |
|
2207 |
+
#: admin/html/whats-new.php:592
|
2208 |
msgid ""
|
2209 |
"For some clients emails were not rendering the HTML links properly, this is "
|
2210 |
"now fixed"
|
2211 |
msgstr ""
|
2212 |
|
2213 |
+
#: admin/html/whats-new.php:595
|
2214 |
msgid "Form Builder : Form Field's Help text styles not showing properly"
|
2215 |
msgstr ""
|
2216 |
|
2217 |
+
#: admin/html/whats-new.php:597
|
2218 |
msgid "Help texts styling is now fixed and much easier to read and understand"
|
2219 |
msgstr ""
|
2220 |
|
2221 |
+
#: admin/html/whats-new.php:600
|
2222 |
msgid "Various other code improvements"
|
2223 |
msgstr ""
|
2224 |
|
2225 |
+
#: admin/html/whats-new.php:611
|
2226 |
msgid "Dashboard Post Listing now supports multiple post types"
|
2227 |
msgstr ""
|
2228 |
|
2229 |
+
#: admin/html/whats-new.php:613
|
2230 |
msgid ""
|
2231 |
"Now you can show multiple post type in user dashboard using shortcode like "
|
2232 |
"this : <br><b>[wpuf_dashboard post_type=\"post,page,custom_type\"]</b> "
|
2233 |
msgstr ""
|
2234 |
|
2235 |
+
#: admin/html/whats-new.php:616
|
2236 |
msgid "Added Login Redirect Settings"
|
2237 |
msgstr ""
|
2238 |
|
2239 |
+
#: admin/html/whats-new.php:618
|
2240 |
msgid ""
|
2241 |
"You can now set a page from <i>WPUF Settings > Login/Registration > "
|
2242 |
"Redirect after Login</i>. When login redirection is active the user will be "
|
2243 |
"redirected to this page after login."
|
2244 |
msgstr ""
|
2245 |
|
2246 |
+
#: admin/html/whats-new.php:621
|
2247 |
msgid "Image Upload field button text can be changed"
|
2248 |
msgstr ""
|
2249 |
|
2250 |
+
#: admin/html/whats-new.php:623
|
2251 |
msgid ""
|
2252 |
"The upload button text can now be changed for image upload fields which "
|
2253 |
"defaults to \"Select Image\" if not set. "
|
2254 |
msgstr ""
|
2255 |
|
2256 |
+
#: admin/html/whats-new.php:626
|
2257 |
msgid "Multi Step Form styles made compatible with more themes"
|
2258 |
msgstr ""
|
2259 |
|
2260 |
+
#: admin/html/whats-new.php:628
|
2261 |
msgid "Multi Step form can now be styled more easily with other themes "
|
2262 |
msgstr ""
|
2263 |
|
2264 |
+
#: admin/html/whats-new.php:631
|
2265 |
msgid "Required field condition for google map not working is fixed"
|
2266 |
msgstr ""
|
2267 |
|
2268 |
+
#: admin/html/whats-new.php:633
|
2269 |
msgid ""
|
2270 |
"If Google Map field was set as required users were able to submit form "
|
2271 |
"without changing the default value."
|
2272 |
msgstr ""
|
2273 |
|
2274 |
+
#: admin/html/whats-new.php:642
|
2275 |
msgid "Admin form builder is now fully responsive."
|
2276 |
msgstr ""
|
2277 |
|
2278 |
+
#: admin/html/whats-new.php:644
|
2279 |
msgid ""
|
2280 |
"Now you can edit forms from your mobile devices directly. Our improved "
|
2281 |
"responsive layouts of form builder makes it easy for you to build forms on "
|
2282 |
"the go."
|
2283 |
msgstr ""
|
2284 |
|
2285 |
+
#: admin/html/whats-new.php:647
|
2286 |
msgid "Added color schemes for creating attractive form layouts."
|
2287 |
msgstr ""
|
2288 |
|
2289 |
+
#: admin/html/whats-new.php:649
|
2290 |
msgid ""
|
2291 |
"We have added 3 new color schemes for the form layouts which you can choose "
|
2292 |
"from each form's new display settings."
|
2293 |
msgstr ""
|
2294 |
|
2295 |
+
#: admin/html/whats-new.php:652
|
2296 |
msgid "Restrict Free subscription pack to be enabled multiple times "
|
2297 |
msgstr ""
|
2298 |
|
2299 |
+
#: admin/html/whats-new.php:654
|
2300 |
msgid ""
|
2301 |
"Free subscription packs now can only be purchased once and the limit "
|
2302 |
"applies properly"
|
2303 |
msgstr ""
|
2304 |
|
2305 |
+
#: admin/html/whats-new.php:657
|
2306 |
msgid "Various other bug fixes and improvements were made "
|
2307 |
msgstr ""
|
2308 |
|
2309 |
+
#: admin/html/whats-new.php:659
|
2310 |
msgid "Please see the change log to see full details."
|
2311 |
msgstr ""
|
2312 |
|
2313 |
+
#: admin/html/whats-new.php:668
|
2314 |
msgid "Added upgrade function for default category"
|
2315 |
msgstr ""
|
2316 |
|
2317 |
+
#: admin/html/whats-new.php:670
|
2318 |
msgid "Upgrader added to upgrade previously set default post category."
|
2319 |
msgstr ""
|
2320 |
|
2321 |
+
#: admin/html/whats-new.php:673
|
2322 |
msgid "Subscription pack cannot be canceled"
|
2323 |
msgstr ""
|
2324 |
|
2325 |
+
#: admin/html/whats-new.php:675
|
2326 |
msgid ""
|
2327 |
"Fixed recurring subscription pack cannot be canceled from my account page "
|
2328 |
"in subscription details section."
|
2329 |
msgstr ""
|
2330 |
|
2331 |
+
#: admin/html/whats-new.php:678
|
2332 |
msgid "page installer admin notice logic issue"
|
2333 |
msgstr ""
|
2334 |
|
2335 |
+
#: admin/html/whats-new.php:680
|
2336 |
msgid ""
|
2337 |
"Fixed page installer admin notice logic problem due to new payment settings "
|
2338 |
"default value not set."
|
2339 |
msgstr ""
|
2340 |
|
2341 |
+
#: admin/html/whats-new.php:690
|
2342 |
msgid "Setup Wizard"
|
2343 |
msgstr ""
|
2344 |
|
2345 |
+
#: admin/html/whats-new.php:692
|
2346 |
msgid "Setup Wizard added to turn off payment options and install pages."
|
2347 |
msgstr ""
|
2348 |
|
2349 |
+
#: admin/html/whats-new.php:696
|
2350 |
msgid "Multi-select Category"
|
2351 |
msgstr ""
|
2352 |
|
2353 |
+
#: admin/html/whats-new.php:698
|
2354 |
msgid "Add multi-select to default category in post form settings."
|
2355 |
msgstr ""
|
2356 |
|
2357 |
+
#: admin/html/whats-new.php:702
|
2358 |
msgid "Select Text option for Taxonomy"
|
2359 |
msgstr ""
|
2360 |
|
2361 |
+
#: admin/html/whats-new.php:704
|
2362 |
msgid ""
|
2363 |
"Add Select Text option for taxonomy fields. Now you can add default text "
|
2364 |
"with empty value as first option for Taxonomy dropdown."
|
2365 |
msgstr ""
|
2366 |
|
2367 |
+
#: admin/html/whats-new.php:707
|
2368 |
msgid "Taxonomy Checkbox Inline"
|
2369 |
msgstr ""
|
2370 |
|
2371 |
+
#: admin/html/whats-new.php:709
|
2372 |
msgid ""
|
2373 |
"Added checkbox inline option to taxonomy checkbox. You can now display "
|
2374 |
"Taxonomy checkbox fields inline."
|
2375 |
msgstr ""
|
2376 |
|
2377 |
+
#: admin/html/whats-new.php:719
|
2378 |
msgid "Manage schedule for form submission"
|
2379 |
msgstr ""
|
2380 |
|
2381 |
+
#: admin/html/whats-new.php:721
|
2382 |
msgid ""
|
2383 |
"Do not accept form submission if the current date is not between the date "
|
2384 |
"range of the schedule."
|
2385 |
msgstr ""
|
2386 |
|
2387 |
+
#: admin/html/whats-new.php:725
|
2388 |
msgid "Restrict form submission based on the user roles"
|
2389 |
msgstr ""
|
2390 |
|
2391 |
+
#: admin/html/whats-new.php:727
|
2392 |
msgid ""
|
2393 |
"Restrict form submission based on the user roles. Now you can manage user "
|
2394 |
"role base permission on form submission."
|
2395 |
msgstr ""
|
2396 |
|
2397 |
+
#: admin/html/whats-new.php:731
|
2398 |
msgid "Limit how many entries a form will accept"
|
2399 |
msgstr ""
|
2400 |
|
2401 |
+
#: admin/html/whats-new.php:733
|
2402 |
msgid ""
|
2403 |
"Limit how many entries a form will accept and display a custom message when "
|
2404 |
"that limit is reached."
|
2405 |
msgstr ""
|
2406 |
|
2407 |
+
#: admin/html/whats-new.php:737
|
2408 |
msgid "Show/hide Admin Bar"
|
2409 |
msgstr ""
|
2410 |
|
2411 |
+
#: admin/html/whats-new.php:739
|
2412 |
msgid "Control the admin bar visibility based on user roles."
|
2413 |
msgstr ""
|
2414 |
|
2415 |
+
#: admin/html/whats-new.php:743
|
2416 |
msgid "Ajax Login widget"
|
2417 |
msgstr ""
|
2418 |
|
2419 |
+
#: admin/html/whats-new.php:745
|
2420 |
msgid ""
|
2421 |
"Login user is more simple now with Ajax Login Widget. The simple ajax login "
|
2422 |
"form do not required page loading for login."
|
2423 |
msgstr ""
|
2424 |
|
2425 |
+
#: admin/html/whats-new.php:749
|
2426 |
msgid "Form submission with Captcha field"
|
2427 |
msgstr ""
|
2428 |
|
2429 |
+
#: admin/html/whats-new.php:751
|
2430 |
msgid "Form field validation process updated if form submits with captcha field."
|
2431 |
msgstr ""
|
2432 |
|
2433 |
+
#: admin/html/whats-new.php:765
|
2434 |
msgid "What's New in WPUF?"
|
2435 |
msgstr ""
|
2436 |
|
4541 |
"Please check your inbox!"
|
4542 |
msgstr ""
|
4543 |
|
4544 |
+
#: includes/class-frontend-render-form.php:838
|
4545 |
+
#: includes/free/class-login.php:451
|
4546 |
msgid "Empty reCaptcha Field"
|
4547 |
msgstr ""
|
4548 |
|
4619 |
msgid "Someone has requested a password reset for the following account:"
|
4620 |
msgstr ""
|
4621 |
|
4622 |
+
#: includes/class-login-widget.php:147 includes/free/class-login.php:853
|
4623 |
+
#: includes/free/class-login.php:934 includes/free/class-registration.php:291
|
4624 |
msgid "Username: %s"
|
4625 |
msgstr ""
|
4626 |
|
4627 |
+
#: includes/class-login-widget.php:148 includes/free/class-login.php:935
|
4628 |
msgid "If this was a mistake, just ignore this email and nothing will happen."
|
4629 |
msgstr ""
|
4630 |
|
4631 |
+
#: includes/class-login-widget.php:149 includes/free/class-login.php:936
|
4632 |
msgid "To reset your password, visit the following address:"
|
4633 |
msgstr ""
|
4634 |
|
4635 |
+
#: includes/class-login-widget.php:154 includes/free/class-login.php:947
|
4636 |
msgid "[%s] Password Reset"
|
4637 |
msgstr ""
|
4638 |
|
5462 |
msgid "You are now logged out."
|
5463 |
msgstr ""
|
5464 |
|
5465 |
+
#: includes/free/class-login.php:419
|
5466 |
msgid "Nonce is invalid"
|
5467 |
msgstr ""
|
5468 |
|
5469 |
+
#: includes/free/class-login.php:438 includes/free/class-registration.php:224
|
5470 |
msgid "Username is required."
|
5471 |
msgstr ""
|
5472 |
|
5473 |
+
#: includes/free/class-login.php:444 includes/free/class-registration.php:230
|
5474 |
msgid "Password is required."
|
5475 |
msgstr ""
|
5476 |
|
5477 |
+
#: includes/free/class-login.php:467 includes/free/class-registration.php:200
|
5478 |
#: includes/free/class-registration.php:206
|
5479 |
#: includes/free/class-registration.php:212
|
5480 |
#: includes/free/class-registration.php:218
|
5487 |
msgid "Error"
|
5488 |
msgstr ""
|
5489 |
|
5490 |
+
#: includes/free/class-login.php:467 includes/free/class-registration.php:259
|
5491 |
msgid "A user could not be found with this email address."
|
5492 |
msgstr ""
|
5493 |
|
5494 |
+
#: includes/free/class-login.php:641
|
5495 |
msgid "Please enter your password."
|
5496 |
msgstr ""
|
5497 |
|
5498 |
+
#: includes/free/class-login.php:647
|
5499 |
msgid "Passwords do not match."
|
5500 |
msgstr ""
|
5501 |
|
5502 |
+
#: includes/free/class-login.php:695
|
5503 |
msgid "Enter a username or e-mail address."
|
5504 |
msgstr ""
|
5505 |
|
5506 |
+
#: includes/free/class-login.php:702
|
5507 |
msgid "There is no user registered with that email address."
|
5508 |
msgstr ""
|
5509 |
|
5510 |
+
#: includes/free/class-login.php:719
|
5511 |
msgid "Invalid username or e-mail."
|
5512 |
msgstr ""
|
5513 |
|
5514 |
+
#: includes/free/class-login.php:733
|
5515 |
msgid "Password reset is not allowed for this user"
|
5516 |
msgstr ""
|
5517 |
|
5518 |
+
#: includes/free/class-login.php:771
|
5519 |
msgid ""
|
5520 |
"<strong>Your account is not active.</strong><br>Please check your email for "
|
5521 |
"activation link. <br><a href=\"%s\">Click here</a> to resend the activation "
|
5522 |
"link"
|
5523 |
msgstr ""
|
5524 |
|
5525 |
+
#: includes/free/class-login.php:792 includes/free/class-login.php:817
|
5526 |
msgid "Activation URL is not valid"
|
5527 |
msgstr ""
|
5528 |
|
5529 |
+
#: includes/free/class-login.php:803
|
5530 |
msgid "Invalid User activation url"
|
5531 |
msgstr ""
|
5532 |
|
5533 |
+
#: includes/free/class-login.php:809
|
5534 |
msgid "User already verified"
|
5535 |
msgstr ""
|
5536 |
|
5537 |
+
#: includes/free/class-login.php:825 includes/free/class-login.php:889
|
5538 |
msgid "Your account has been activated"
|
5539 |
msgstr ""
|
5540 |
|
5541 |
+
#: includes/free/class-login.php:828
|
5542 |
msgid ""
|
5543 |
"Your account has been verified , but you can't login until manually "
|
5544 |
"approved your account by an administrator."
|
5545 |
msgstr ""
|
5546 |
|
5547 |
+
#: includes/free/class-login.php:851
|
5548 |
msgid "[%s] Your username and password info"
|
5549 |
msgstr ""
|
5550 |
|
5551 |
+
#: includes/free/class-login.php:854
|
5552 |
msgid "To set your password, visit the following address:"
|
5553 |
msgstr ""
|
5554 |
|
5555 |
+
#: includes/free/class-login.php:864
|
5556 |
msgid "[%s] Account has been activated"
|
5557 |
msgstr ""
|
5558 |
|
5559 |
+
#: includes/free/class-login.php:866
|
5560 |
msgid "Hi %s,"
|
5561 |
msgstr ""
|
5562 |
|
5563 |
+
#: includes/free/class-login.php:867
|
5564 |
msgid "Congrats! Your account has been activated. To login visit the following url:"
|
5565 |
msgstr ""
|
5566 |
|
5567 |
+
#: includes/free/class-login.php:869
|
5568 |
msgid "Thanks"
|
5569 |
msgstr ""
|
5570 |
|
5571 |
+
#: includes/free/class-login.php:932
|
5572 |
msgid "Someone requested that the password be reset for the following account:"
|
5573 |
msgstr ""
|
5574 |
|
5575 |
+
#: includes/free/class-login.php:953
|
5576 |
msgid "The e-mail could not be sent."
|
5577 |
msgstr ""
|
5578 |
|
5579 |
+
#: includes/free/class-login.php:953
|
5580 |
msgid "Possible reason: your host may have disabled the mail() function."
|
5581 |
msgstr ""
|
5582 |
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: Forms, registration, profile-builder, login, membership
|
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.4.2
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 3.3.
|
9 |
License: GPLv2
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -264,6 +264,15 @@ redirected to the edit page with that post id. Then you'll see the edit post for
|
|
264 |
|
265 |
== Changelog ==
|
266 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
267 |
= v3.3.0 (11 June, 2020) =
|
268 |
* Enhancement - Add Namibian Dollar in currency list
|
269 |
* Enhancement - Add sync values option for option data fields
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.4.2
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 3.3.1
|
9 |
License: GPLv2
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
264 |
|
265 |
== Changelog ==
|
266 |
|
267 |
+
= v3.3.1 (16 June, 2020) =
|
268 |
+
* Tweak - Use common names for Ivory Coast, North Korea and Sourth Korea instead of their official names
|
269 |
+
* Fix - Condition to use default avatar
|
270 |
+
* Fix - Make Email and URL fields clickable
|
271 |
+
* Fix - Redirect after user login
|
272 |
+
* Fix - Sanitize textarea field data
|
273 |
+
* Fix - Missing colon to email, URL, text and textarea labels when renders their data
|
274 |
+
* Fix - Prevent showing empty labels for fields that have render_field_data method
|
275 |
+
|
276 |
= v3.3.0 (11 June, 2020) =
|
277 |
* Enhancement - Add Namibian Dollar in currency list
|
278 |
* Enhancement - Add sync values option for option data fields
|
templates/login-form.php
CHANGED
@@ -73,7 +73,7 @@
|
|
73 |
|
74 |
<p class="submit">
|
75 |
<input type="submit" name="wp-submit" id="wp-submit" value="<?php esc_html_e( 'Log In', 'wp-user-frontend' ); ?>" />
|
76 |
-
<input type="hidden" name="redirect_to" value="<?php echo esc_attr( $redirect_to
|
77 |
<input type="hidden" name="wpuf_login" value="true" />
|
78 |
<input type="hidden" name="action" value="login" />
|
79 |
<?php wp_nonce_field( 'wpuf_login_action','wpuf-login-nonce' ); ?>
|
73 |
|
74 |
<p class="submit">
|
75 |
<input type="submit" name="wp-submit" id="wp-submit" value="<?php esc_html_e( 'Log In', 'wp-user-frontend' ); ?>" />
|
76 |
+
<input type="hidden" name="redirect_to" value="<?php echo esc_attr( $redirect_to ); ?>" />
|
77 |
<input type="hidden" name="wpuf_login" value="true" />
|
78 |
<input type="hidden" name="action" value="login" />
|
79 |
<?php wp_nonce_field( 'wpuf_login_action','wpuf-login-nonce' ); ?>
|
vendor/autoload.php
DELETED
@@ -1,7 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
// autoload.php @generated by Composer
|
4 |
-
|
5 |
-
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
-
|
7 |
-
return ComposerAutoloaderInitfb268cd7f0bd3aa9e60ccbdd9bb3a28b::getLoader();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/ClassLoader.php
DELETED
@@ -1,445 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/*
|
4 |
-
* This file is part of Composer.
|
5 |
-
*
|
6 |
-
* (c) Nils Adermann <naderman@naderman.de>
|
7 |
-
* Jordi Boggiano <j.boggiano@seld.be>
|
8 |
-
*
|
9 |
-
* For the full copyright and license information, please view the LICENSE
|
10 |
-
* file that was distributed with this source code.
|
11 |
-
*/
|
12 |
-
|
13 |
-
namespace Composer\Autoload;
|
14 |
-
|
15 |
-
/**
|
16 |
-
* ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
|
17 |
-
*
|
18 |
-
* $loader = new \Composer\Autoload\ClassLoader();
|
19 |
-
*
|
20 |
-
* // register classes with namespaces
|
21 |
-
* $loader->add('Symfony\Component', __DIR__.'/component');
|
22 |
-
* $loader->add('Symfony', __DIR__.'/framework');
|
23 |
-
*
|
24 |
-
* // activate the autoloader
|
25 |
-
* $loader->register();
|
26 |
-
*
|
27 |
-
* // to enable searching the include path (eg. for PEAR packages)
|
28 |
-
* $loader->setUseIncludePath(true);
|
29 |
-
*
|
30 |
-
* In this example, if you try to use a class in the Symfony\Component
|
31 |
-
* namespace or one of its children (Symfony\Component\Console for instance),
|
32 |
-
* the autoloader will first look for the class under the component/
|
33 |
-
* directory, and it will then fallback to the framework/ directory if not
|
34 |
-
* found before giving up.
|
35 |
-
*
|
36 |
-
* This class is loosely based on the Symfony UniversalClassLoader.
|
37 |
-
*
|
38 |
-
* @author Fabien Potencier <fabien@symfony.com>
|
39 |
-
* @author Jordi Boggiano <j.boggiano@seld.be>
|
40 |
-
* @see http://www.php-fig.org/psr/psr-0/
|
41 |
-
* @see http://www.php-fig.org/psr/psr-4/
|
42 |
-
*/
|
43 |
-
class ClassLoader
|
44 |
-
{
|
45 |
-
// PSR-4
|
46 |
-
private $prefixLengthsPsr4 = array();
|
47 |
-
private $prefixDirsPsr4 = array();
|
48 |
-
private $fallbackDirsPsr4 = array();
|
49 |
-
|
50 |
-
// PSR-0
|
51 |
-
private $prefixesPsr0 = array();
|
52 |
-
private $fallbackDirsPsr0 = array();
|
53 |
-
|
54 |
-
private $useIncludePath = false;
|
55 |
-
private $classMap = array();
|
56 |
-
private $classMapAuthoritative = false;
|
57 |
-
private $missingClasses = array();
|
58 |
-
private $apcuPrefix;
|
59 |
-
|
60 |
-
public function getPrefixes()
|
61 |
-
{
|
62 |
-
if (!empty($this->prefixesPsr0)) {
|
63 |
-
return call_user_func_array('array_merge', $this->prefixesPsr0);
|
64 |
-
}
|
65 |
-
|
66 |
-
return array();
|
67 |
-
}
|
68 |
-
|
69 |
-
public function getPrefixesPsr4()
|
70 |
-
{
|
71 |
-
return $this->prefixDirsPsr4;
|
72 |
-
}
|
73 |
-
|
74 |
-
public function getFallbackDirs()
|
75 |
-
{
|
76 |
-
return $this->fallbackDirsPsr0;
|
77 |
-
}
|
78 |
-
|
79 |
-
public function getFallbackDirsPsr4()
|
80 |
-
{
|
81 |
-
return $this->fallbackDirsPsr4;
|
82 |
-
}
|
83 |
-
|
84 |
-
public function getClassMap()
|
85 |
-
{
|
86 |
-
return $this->classMap;
|
87 |
-
}
|
88 |
-
|
89 |
-
/**
|
90 |
-
* @param array $classMap Class to filename map
|
91 |
-
*/
|
92 |
-
public function addClassMap(array $classMap)
|
93 |
-
{
|
94 |
-
if ($this->classMap) {
|
95 |
-
$this->classMap = array_merge($this->classMap, $classMap);
|
96 |
-
} else {
|
97 |
-
$this->classMap = $classMap;
|
98 |
-
}
|
99 |
-
}
|
100 |
-
|
101 |
-
/**
|
102 |
-
* Registers a set of PSR-0 directories for a given prefix, either
|
103 |
-
* appending or prepending to the ones previously set for this prefix.
|
104 |
-
*
|
105 |
-
* @param string $prefix The prefix
|
106 |
-
* @param array|string $paths The PSR-0 root directories
|
107 |
-
* @param bool $prepend Whether to prepend the directories
|
108 |
-
*/
|
109 |
-
public function add($prefix, $paths, $prepend = false)
|
110 |
-
{
|
111 |
-
if (!$prefix) {
|
112 |
-
if ($prepend) {
|
113 |
-
$this->fallbackDirsPsr0 = array_merge(
|
114 |
-
(array) $paths,
|
115 |
-
$this->fallbackDirsPsr0
|
116 |
-
);
|
117 |
-
} else {
|
118 |
-
$this->fallbackDirsPsr0 = array_merge(
|
119 |
-
$this->fallbackDirsPsr0,
|
120 |
-
(array) $paths
|
121 |
-
);
|
122 |
-
}
|
123 |
-
|
124 |
-
return;
|
125 |
-
}
|
126 |
-
|
127 |
-
$first = $prefix[0];
|
128 |
-
if (!isset($this->prefixesPsr0[$first][$prefix])) {
|
129 |
-
$this->prefixesPsr0[$first][$prefix] = (array) $paths;
|
130 |
-
|
131 |
-
return;
|
132 |
-
}
|
133 |
-
if ($prepend) {
|
134 |
-
$this->prefixesPsr0[$first][$prefix] = array_merge(
|
135 |
-
(array) $paths,
|
136 |
-
$this->prefixesPsr0[$first][$prefix]
|
137 |
-
);
|
138 |
-
} else {
|
139 |
-
$this->prefixesPsr0[$first][$prefix] = array_merge(
|
140 |
-
$this->prefixesPsr0[$first][$prefix],
|
141 |
-
(array) $paths
|
142 |
-
);
|
143 |
-
}
|
144 |
-
}
|
145 |
-
|
146 |
-
/**
|
147 |
-
* Registers a set of PSR-4 directories for a given namespace, either
|
148 |
-
* appending or prepending to the ones previously set for this namespace.
|
149 |
-
*
|
150 |
-
* @param string $prefix The prefix/namespace, with trailing '\\'
|
151 |
-
* @param array|string $paths The PSR-4 base directories
|
152 |
-
* @param bool $prepend Whether to prepend the directories
|
153 |
-
*
|
154 |
-
* @throws \InvalidArgumentException
|
155 |
-
*/
|
156 |
-
public function addPsr4($prefix, $paths, $prepend = false)
|
157 |
-
{
|
158 |
-
if (!$prefix) {
|
159 |
-
// Register directories for the root namespace.
|
160 |
-
if ($prepend) {
|
161 |
-
$this->fallbackDirsPsr4 = array_merge(
|
162 |
-
(array) $paths,
|
163 |
-
$this->fallbackDirsPsr4
|
164 |
-
);
|
165 |
-
} else {
|
166 |
-
$this->fallbackDirsPsr4 = array_merge(
|
167 |
-
$this->fallbackDirsPsr4,
|
168 |
-
(array) $paths
|
169 |
-
);
|
170 |
-
}
|
171 |
-
} elseif (!isset($this->prefixDirsPsr4[$prefix])) {
|
172 |
-
// Register directories for a new namespace.
|
173 |
-
$length = strlen($prefix);
|
174 |
-
if ('\\' !== $prefix[$length - 1]) {
|
175 |
-
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
|
176 |
-
}
|
177 |
-
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
|
178 |
-
$this->prefixDirsPsr4[$prefix] = (array) $paths;
|
179 |
-
} elseif ($prepend) {
|
180 |
-
// Prepend directories for an already registered namespace.
|
181 |
-
$this->prefixDirsPsr4[$prefix] = array_merge(
|
182 |
-
(array) $paths,
|
183 |
-
$this->prefixDirsPsr4[$prefix]
|
184 |
-
);
|
185 |
-
} else {
|
186 |
-
// Append directories for an already registered namespace.
|
187 |
-
$this->prefixDirsPsr4[$prefix] = array_merge(
|
188 |
-
$this->prefixDirsPsr4[$prefix],
|
189 |
-
(array) $paths
|
190 |
-
);
|
191 |
-
}
|
192 |
-
}
|
193 |
-
|
194 |
-
/**
|
195 |
-
* Registers a set of PSR-0 directories for a given prefix,
|
196 |
-
* replacing any others previously set for this prefix.
|
197 |
-
*
|
198 |
-
* @param string $prefix The prefix
|
199 |
-
* @param array|string $paths The PSR-0 base directories
|
200 |
-
*/
|
201 |
-
public function set($prefix, $paths)
|
202 |
-
{
|
203 |
-
if (!$prefix) {
|
204 |
-
$this->fallbackDirsPsr0 = (array) $paths;
|
205 |
-
} else {
|
206 |
-
$this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths;
|
207 |
-
}
|
208 |
-
}
|
209 |
-
|
210 |
-
/**
|
211 |
-
* Registers a set of PSR-4 directories for a given namespace,
|
212 |
-
* replacing any others previously set for this namespace.
|
213 |
-
*
|
214 |
-
* @param string $prefix The prefix/namespace, with trailing '\\'
|
215 |
-
* @param array|string $paths The PSR-4 base directories
|
216 |
-
*
|
217 |
-
* @throws \InvalidArgumentException
|
218 |
-
*/
|
219 |
-
public function setPsr4($prefix, $paths)
|
220 |
-
{
|
221 |
-
if (!$prefix) {
|
222 |
-
$this->fallbackDirsPsr4 = (array) $paths;
|
223 |
-
} else {
|
224 |
-
$length = strlen($prefix);
|
225 |
-
if ('\\' !== $prefix[$length - 1]) {
|
226 |
-
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
|
227 |
-
}
|
228 |
-
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
|
229 |
-
$this->prefixDirsPsr4[$prefix] = (array) $paths;
|
230 |
-
}
|
231 |
-
}
|
232 |
-
|
233 |
-
/**
|
234 |
-
* Turns on searching the include path for class files.
|
235 |
-
*
|
236 |
-
* @param bool $useIncludePath
|
237 |
-
*/
|
238 |
-
public function setUseIncludePath($useIncludePath)
|
239 |
-
{
|
240 |
-
$this->useIncludePath = $useIncludePath;
|
241 |
-
}
|
242 |
-
|
243 |
-
/**
|
244 |
-
* Can be used to check if the autoloader uses the include path to check
|
245 |
-
* for classes.
|
246 |
-
*
|
247 |
-
* @return bool
|
248 |
-
*/
|
249 |
-
public function getUseIncludePath()
|
250 |
-
{
|
251 |
-
return $this->useIncludePath;
|
252 |
-
}
|
253 |
-
|
254 |
-
/**
|
255 |
-
* Turns off searching the prefix and fallback directories for classes
|
256 |
-
* that have not been registered with the class map.
|
257 |
-
*
|
258 |
-
* @param bool $classMapAuthoritative
|
259 |
-
*/
|
260 |
-
public function setClassMapAuthoritative($classMapAuthoritative)
|
261 |
-
{
|
262 |
-
$this->classMapAuthoritative = $classMapAuthoritative;
|
263 |
-
}
|
264 |
-
|
265 |
-
/**
|
266 |
-
* Should class lookup fail if not found in the current class map?
|
267 |
-
*
|
268 |
-
* @return bool
|
269 |
-
*/
|
270 |
-
public function isClassMapAuthoritative()
|
271 |
-
{
|
272 |
-
return $this->classMapAuthoritative;
|
273 |
-
}
|
274 |
-
|
275 |
-
/**
|
276 |
-
* APCu prefix to use to cache found/not-found classes, if the extension is enabled.
|
277 |
-
*
|
278 |
-
* @param string|null $apcuPrefix
|
279 |
-
*/
|
280 |
-
public function setApcuPrefix($apcuPrefix)
|
281 |
-
{
|
282 |
-
$this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null;
|
283 |
-
}
|
284 |
-
|
285 |
-
/**
|
286 |
-
* The APCu prefix in use, or null if APCu caching is not enabled.
|
287 |
-
*
|
288 |
-
* @return string|null
|
289 |
-
*/
|
290 |
-
public function getApcuPrefix()
|
291 |
-
{
|
292 |
-
return $this->apcuPrefix;
|
293 |
-
}
|
294 |
-
|
295 |
-
/**
|
296 |
-
* Registers this instance as an autoloader.
|
297 |
-
*
|
298 |
-
* @param bool $prepend Whether to prepend the autoloader or not
|
299 |
-
*/
|
300 |
-
public function register($prepend = false)
|
301 |
-
{
|
302 |
-
spl_autoload_register(array($this, 'loadClass'), true, $prepend);
|
303 |
-
}
|
304 |
-
|
305 |
-
/**
|
306 |
-
* Unregisters this instance as an autoloader.
|
307 |
-
*/
|
308 |
-
public function unregister()
|
309 |
-
{
|
310 |
-
spl_autoload_unregister(array($this, 'loadClass'));
|
311 |
-
}
|
312 |
-
|
313 |
-
/**
|
314 |
-
* Loads the given class or interface.
|
315 |
-
*
|
316 |
-
* @param string $class The name of the class
|
317 |
-
* @return bool|null True if loaded, null otherwise
|
318 |
-
*/
|
319 |
-
public function loadClass($class)
|
320 |
-
{
|
321 |
-
if ($file = $this->findFile($class)) {
|
322 |
-
includeFile($file);
|
323 |
-
|
324 |
-
return true;
|
325 |
-
}
|
326 |
-
}
|
327 |
-
|
328 |
-
/**
|
329 |
-
* Finds the path to the file where the class is defined.
|
330 |
-
*
|
331 |
-
* @param string $class The name of the class
|
332 |
-
*
|
333 |
-
* @return string|false The path if found, false otherwise
|
334 |
-
*/
|
335 |
-
public function findFile($class)
|
336 |
-
{
|
337 |
-
// class map lookup
|
338 |
-
if (isset($this->classMap[$class])) {
|
339 |
-
return $this->classMap[$class];
|
340 |
-
}
|
341 |
-
if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) {
|
342 |
-
return false;
|
343 |
-
}
|
344 |
-
if (null !== $this->apcuPrefix) {
|
345 |
-
$file = apcu_fetch($this->apcuPrefix.$class, $hit);
|
346 |
-
if ($hit) {
|
347 |
-
return $file;
|
348 |
-
}
|
349 |
-
}
|
350 |
-
|
351 |
-
$file = $this->findFileWithExtension($class, '.php');
|
352 |
-
|
353 |
-
// Search for Hack files if we are running on HHVM
|
354 |
-
if (false === $file && defined('HHVM_VERSION')) {
|
355 |
-
$file = $this->findFileWithExtension($class, '.hh');
|
356 |
-
}
|
357 |
-
|
358 |
-
if (null !== $this->apcuPrefix) {
|
359 |
-
apcu_add($this->apcuPrefix.$class, $file);
|
360 |
-
}
|
361 |
-
|
362 |
-
if (false === $file) {
|
363 |
-
// Remember that this class does not exist.
|
364 |
-
$this->missingClasses[$class] = true;
|
365 |
-
}
|
366 |
-
|
367 |
-
return $file;
|
368 |
-
}
|
369 |
-
|
370 |
-
private function findFileWithExtension($class, $ext)
|
371 |
-
{
|
372 |
-
// PSR-4 lookup
|
373 |
-
$logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
|
374 |
-
|
375 |
-
$first = $class[0];
|
376 |
-
if (isset($this->prefixLengthsPsr4[$first])) {
|
377 |
-
$subPath = $class;
|
378 |
-
while (false !== $lastPos = strrpos($subPath, '\\')) {
|
379 |
-
$subPath = substr($subPath, 0, $lastPos);
|
380 |
-
$search = $subPath . '\\';
|
381 |
-
if (isset($this->prefixDirsPsr4[$search])) {
|
382 |
-
$pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
|
383 |
-
foreach ($this->prefixDirsPsr4[$search] as $dir) {
|
384 |
-
if (file_exists($file = $dir . $pathEnd)) {
|
385 |
-
return $file;
|
386 |
-
}
|
387 |
-
}
|
388 |
-
}
|
389 |
-
}
|
390 |
-
}
|
391 |
-
|
392 |
-
// PSR-4 fallback dirs
|
393 |
-
foreach ($this->fallbackDirsPsr4 as $dir) {
|
394 |
-
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
|
395 |
-
return $file;
|
396 |
-
}
|
397 |
-
}
|
398 |
-
|
399 |
-
// PSR-0 lookup
|
400 |
-
if (false !== $pos = strrpos($class, '\\')) {
|
401 |
-
// namespaced class name
|
402 |
-
$logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
|
403 |
-
. strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
|
404 |
-
} else {
|
405 |
-
// PEAR-like class name
|
406 |
-
$logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
|
407 |
-
}
|
408 |
-
|
409 |
-
if (isset($this->prefixesPsr0[$first])) {
|
410 |
-
foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
|
411 |
-
if (0 === strpos($class, $prefix)) {
|
412 |
-
foreach ($dirs as $dir) {
|
413 |
-
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
|
414 |
-
return $file;
|
415 |
-
}
|
416 |
-
}
|
417 |
-
}
|
418 |
-
}
|
419 |
-
}
|
420 |
-
|
421 |
-
// PSR-0 fallback dirs
|
422 |
-
foreach ($this->fallbackDirsPsr0 as $dir) {
|
423 |
-
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
|
424 |
-
return $file;
|
425 |
-
}
|
426 |
-
}
|
427 |
-
|
428 |
-
// PSR-0 include paths.
|
429 |
-
if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
|
430 |
-
return $file;
|
431 |
-
}
|
432 |
-
|
433 |
-
return false;
|
434 |
-
}
|
435 |
-
}
|
436 |
-
|
437 |
-
/**
|
438 |
-
* Scope isolated include.
|
439 |
-
*
|
440 |
-
* Prevents access to $this/self from included files.
|
441 |
-
*/
|
442 |
-
function includeFile($file)
|
443 |
-
{
|
444 |
-
include $file;
|
445 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/LICENSE
DELETED
@@ -1,21 +0,0 @@
|
|
1 |
-
|
2 |
-
Copyright (c) Nils Adermann, Jordi Boggiano
|
3 |
-
|
4 |
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5 |
-
of this software and associated documentation files (the "Software"), to deal
|
6 |
-
in the Software without restriction, including without limitation the rights
|
7 |
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8 |
-
copies of the Software, and to permit persons to whom the Software is furnished
|
9 |
-
to do so, subject to the following conditions:
|
10 |
-
|
11 |
-
The above copyright notice and this permission notice shall be included in all
|
12 |
-
copies or substantial portions of the Software.
|
13 |
-
|
14 |
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15 |
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
16 |
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
17 |
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
18 |
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
19 |
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
20 |
-
THE SOFTWARE.
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/autoload_classmap.php
DELETED
@@ -1,104 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
// autoload_classmap.php @generated by Composer
|
4 |
-
|
5 |
-
$vendorDir = dirname(dirname(__FILE__));
|
6 |
-
$baseDir = dirname($vendorDir);
|
7 |
-
|
8 |
-
return array(
|
9 |
-
'Composer\\Installers\\AglInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AglInstaller.php',
|
10 |
-
'Composer\\Installers\\AimeosInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AimeosInstaller.php',
|
11 |
-
'Composer\\Installers\\AnnotateCmsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php',
|
12 |
-
'Composer\\Installers\\AsgardInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AsgardInstaller.php',
|
13 |
-
'Composer\\Installers\\AttogramInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AttogramInstaller.php',
|
14 |
-
'Composer\\Installers\\BaseInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/BaseInstaller.php',
|
15 |
-
'Composer\\Installers\\BitrixInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/BitrixInstaller.php',
|
16 |
-
'Composer\\Installers\\BonefishInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/BonefishInstaller.php',
|
17 |
-
'Composer\\Installers\\CakePHPInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CakePHPInstaller.php',
|
18 |
-
'Composer\\Installers\\ChefInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ChefInstaller.php',
|
19 |
-
'Composer\\Installers\\CiviCrmInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CiviCrmInstaller.php',
|
20 |
-
'Composer\\Installers\\ClanCatsFrameworkInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php',
|
21 |
-
'Composer\\Installers\\CockpitInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CockpitInstaller.php',
|
22 |
-
'Composer\\Installers\\CodeIgniterInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php',
|
23 |
-
'Composer\\Installers\\Concrete5Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Concrete5Installer.php',
|
24 |
-
'Composer\\Installers\\CraftInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CraftInstaller.php',
|
25 |
-
'Composer\\Installers\\CroogoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CroogoInstaller.php',
|
26 |
-
'Composer\\Installers\\DecibelInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DecibelInstaller.php',
|
27 |
-
'Composer\\Installers\\DframeInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DframeInstaller.php',
|
28 |
-
'Composer\\Installers\\DokuWikiInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DokuWikiInstaller.php',
|
29 |
-
'Composer\\Installers\\DolibarrInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DolibarrInstaller.php',
|
30 |
-
'Composer\\Installers\\DrupalInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DrupalInstaller.php',
|
31 |
-
'Composer\\Installers\\ElggInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ElggInstaller.php',
|
32 |
-
'Composer\\Installers\\EliasisInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/EliasisInstaller.php',
|
33 |
-
'Composer\\Installers\\ExpressionEngineInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php',
|
34 |
-
'Composer\\Installers\\EzPlatformInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/EzPlatformInstaller.php',
|
35 |
-
'Composer\\Installers\\FuelInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/FuelInstaller.php',
|
36 |
-
'Composer\\Installers\\FuelphpInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/FuelphpInstaller.php',
|
37 |
-
'Composer\\Installers\\GravInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/GravInstaller.php',
|
38 |
-
'Composer\\Installers\\HuradInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/HuradInstaller.php',
|
39 |
-
'Composer\\Installers\\ImageCMSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ImageCMSInstaller.php',
|
40 |
-
'Composer\\Installers\\Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Installer.php',
|
41 |
-
'Composer\\Installers\\ItopInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ItopInstaller.php',
|
42 |
-
'Composer\\Installers\\JoomlaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/JoomlaInstaller.php',
|
43 |
-
'Composer\\Installers\\KanboardInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KanboardInstaller.php',
|
44 |
-
'Composer\\Installers\\KirbyInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KirbyInstaller.php',
|
45 |
-
'Composer\\Installers\\KnownInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KnownInstaller.php',
|
46 |
-
'Composer\\Installers\\KodiCMSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KodiCMSInstaller.php',
|
47 |
-
'Composer\\Installers\\KohanaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KohanaInstaller.php',
|
48 |
-
'Composer\\Installers\\LanManagementSystemInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php',
|
49 |
-
'Composer\\Installers\\LaravelInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LaravelInstaller.php',
|
50 |
-
'Composer\\Installers\\LavaLiteInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LavaLiteInstaller.php',
|
51 |
-
'Composer\\Installers\\LithiumInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LithiumInstaller.php',
|
52 |
-
'Composer\\Installers\\MODULEWorkInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php',
|
53 |
-
'Composer\\Installers\\MODXEvoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MODXEvoInstaller.php',
|
54 |
-
'Composer\\Installers\\MagentoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MagentoInstaller.php',
|
55 |
-
'Composer\\Installers\\MajimaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MajimaInstaller.php',
|
56 |
-
'Composer\\Installers\\MakoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MakoInstaller.php',
|
57 |
-
'Composer\\Installers\\MantisBTInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MantisBTInstaller.php',
|
58 |
-
'Composer\\Installers\\MauticInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MauticInstaller.php',
|
59 |
-
'Composer\\Installers\\MayaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MayaInstaller.php',
|
60 |
-
'Composer\\Installers\\MediaWikiInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MediaWikiInstaller.php',
|
61 |
-
'Composer\\Installers\\MicroweberInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MicroweberInstaller.php',
|
62 |
-
'Composer\\Installers\\ModxInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ModxInstaller.php',
|
63 |
-
'Composer\\Installers\\MoodleInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MoodleInstaller.php',
|
64 |
-
'Composer\\Installers\\OctoberInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OctoberInstaller.php',
|
65 |
-
'Composer\\Installers\\OntoWikiInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OntoWikiInstaller.php',
|
66 |
-
'Composer\\Installers\\OsclassInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OsclassInstaller.php',
|
67 |
-
'Composer\\Installers\\OxidInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OxidInstaller.php',
|
68 |
-
'Composer\\Installers\\PPIInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PPIInstaller.php',
|
69 |
-
'Composer\\Installers\\PhiftyInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PhiftyInstaller.php',
|
70 |
-
'Composer\\Installers\\PhpBBInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PhpBBInstaller.php',
|
71 |
-
'Composer\\Installers\\PimcoreInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PimcoreInstaller.php',
|
72 |
-
'Composer\\Installers\\PiwikInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PiwikInstaller.php',
|
73 |
-
'Composer\\Installers\\PlentymarketsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php',
|
74 |
-
'Composer\\Installers\\Plugin' => $vendorDir . '/composer/installers/src/Composer/Installers/Plugin.php',
|
75 |
-
'Composer\\Installers\\PortoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PortoInstaller.php',
|
76 |
-
'Composer\\Installers\\PrestashopInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PrestashopInstaller.php',
|
77 |
-
'Composer\\Installers\\PuppetInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PuppetInstaller.php',
|
78 |
-
'Composer\\Installers\\PxcmsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PxcmsInstaller.php',
|
79 |
-
'Composer\\Installers\\RadPHPInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/RadPHPInstaller.php',
|
80 |
-
'Composer\\Installers\\ReIndexInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ReIndexInstaller.php',
|
81 |
-
'Composer\\Installers\\Redaxo5Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Redaxo5Installer.php',
|
82 |
-
'Composer\\Installers\\RedaxoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/RedaxoInstaller.php',
|
83 |
-
'Composer\\Installers\\RoundcubeInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/RoundcubeInstaller.php',
|
84 |
-
'Composer\\Installers\\SMFInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SMFInstaller.php',
|
85 |
-
'Composer\\Installers\\ShopwareInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ShopwareInstaller.php',
|
86 |
-
'Composer\\Installers\\SilverStripeInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SilverStripeInstaller.php',
|
87 |
-
'Composer\\Installers\\SiteDirectInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SiteDirectInstaller.php',
|
88 |
-
'Composer\\Installers\\SyDESInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SyDESInstaller.php',
|
89 |
-
'Composer\\Installers\\Symfony1Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Symfony1Installer.php',
|
90 |
-
'Composer\\Installers\\TYPO3CmsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php',
|
91 |
-
'Composer\\Installers\\TYPO3FlowInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php',
|
92 |
-
'Composer\\Installers\\TaoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TaoInstaller.php',
|
93 |
-
'Composer\\Installers\\TheliaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TheliaInstaller.php',
|
94 |
-
'Composer\\Installers\\TuskInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TuskInstaller.php',
|
95 |
-
'Composer\\Installers\\UserFrostingInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/UserFrostingInstaller.php',
|
96 |
-
'Composer\\Installers\\VanillaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/VanillaInstaller.php',
|
97 |
-
'Composer\\Installers\\VgmcpInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/VgmcpInstaller.php',
|
98 |
-
'Composer\\Installers\\WHMCSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WHMCSInstaller.php',
|
99 |
-
'Composer\\Installers\\WolfCMSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WolfCMSInstaller.php',
|
100 |
-
'Composer\\Installers\\WordPressInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WordPressInstaller.php',
|
101 |
-
'Composer\\Installers\\YawikInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/YawikInstaller.php',
|
102 |
-
'Composer\\Installers\\ZendInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ZendInstaller.php',
|
103 |
-
'Composer\\Installers\\ZikulaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ZikulaInstaller.php',
|
104 |
-
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/autoload_namespaces.php
DELETED
@@ -1,9 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
// autoload_namespaces.php @generated by Composer
|
4 |
-
|
5 |
-
$vendorDir = dirname(dirname(__FILE__));
|
6 |
-
$baseDir = dirname($vendorDir);
|
7 |
-
|
8 |
-
return array(
|
9 |
-
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/autoload_psr4.php
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
// autoload_psr4.php @generated by Composer
|
4 |
-
|
5 |
-
$vendorDir = dirname(dirname(__FILE__));
|
6 |
-
$baseDir = dirname($vendorDir);
|
7 |
-
|
8 |
-
return array(
|
9 |
-
'Composer\\Installers\\' => array($vendorDir . '/composer/installers/src/Composer/Installers'),
|
10 |
-
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/autoload_real.php
DELETED
@@ -1,55 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
// autoload_real.php @generated by Composer
|
4 |
-
|
5 |
-
class ComposerAutoloaderInitfb268cd7f0bd3aa9e60ccbdd9bb3a28b
|
6 |
-
{
|
7 |
-
private static $loader;
|
8 |
-
|
9 |
-
public static function loadClassLoader($class)
|
10 |
-
{
|
11 |
-
if ('Composer\Autoload\ClassLoader' === $class) {
|
12 |
-
require __DIR__ . '/ClassLoader.php';
|
13 |
-
}
|
14 |
-
}
|
15 |
-
|
16 |
-
/**
|
17 |
-
* @return \Composer\Autoload\ClassLoader
|
18 |
-
*/
|
19 |
-
public static function getLoader()
|
20 |
-
{
|
21 |
-
if (null !== self::$loader) {
|
22 |
-
return self::$loader;
|
23 |
-
}
|
24 |
-
|
25 |
-
spl_autoload_register(array('ComposerAutoloaderInitfb268cd7f0bd3aa9e60ccbdd9bb3a28b', 'loadClassLoader'), true, true);
|
26 |
-
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
-
spl_autoload_unregister(array('ComposerAutoloaderInitfb268cd7f0bd3aa9e60ccbdd9bb3a28b', 'loadClassLoader'));
|
28 |
-
|
29 |
-
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
-
if ($useStaticLoader) {
|
31 |
-
require_once __DIR__ . '/autoload_static.php';
|
32 |
-
|
33 |
-
call_user_func(\Composer\Autoload\ComposerStaticInitfb268cd7f0bd3aa9e60ccbdd9bb3a28b::getInitializer($loader));
|
34 |
-
} else {
|
35 |
-
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
-
foreach ($map as $namespace => $path) {
|
37 |
-
$loader->set($namespace, $path);
|
38 |
-
}
|
39 |
-
|
40 |
-
$map = require __DIR__ . '/autoload_psr4.php';
|
41 |
-
foreach ($map as $namespace => $path) {
|
42 |
-
$loader->setPsr4($namespace, $path);
|
43 |
-
}
|
44 |
-
|
45 |
-
$classMap = require __DIR__ . '/autoload_classmap.php';
|
46 |
-
if ($classMap) {
|
47 |
-
$loader->addClassMap($classMap);
|
48 |
-
}
|
49 |
-
}
|
50 |
-
|
51 |
-
$loader->register(true);
|
52 |
-
|
53 |
-
return $loader;
|
54 |
-
}
|
55 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/autoload_static.php
DELETED
@@ -1,130 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
// autoload_static.php @generated by Composer
|
4 |
-
|
5 |
-
namespace Composer\Autoload;
|
6 |
-
|
7 |
-
class ComposerStaticInitfb268cd7f0bd3aa9e60ccbdd9bb3a28b
|
8 |
-
{
|
9 |
-
public static $prefixLengthsPsr4 = array (
|
10 |
-
'C' =>
|
11 |
-
array (
|
12 |
-
'Composer\\Installers\\' => 20,
|
13 |
-
),
|
14 |
-
);
|
15 |
-
|
16 |
-
public static $prefixDirsPsr4 = array (
|
17 |
-
'Composer\\Installers\\' =>
|
18 |
-
array (
|
19 |
-
0 => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers',
|
20 |
-
),
|
21 |
-
);
|
22 |
-
|
23 |
-
public static $classMap = array (
|
24 |
-
'Composer\\Installers\\AglInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/AglInstaller.php',
|
25 |
-
'Composer\\Installers\\AimeosInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/AimeosInstaller.php',
|
26 |
-
'Composer\\Installers\\AnnotateCmsInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php',
|
27 |
-
'Composer\\Installers\\AsgardInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/AsgardInstaller.php',
|
28 |
-
'Composer\\Installers\\AttogramInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/AttogramInstaller.php',
|
29 |
-
'Composer\\Installers\\BaseInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/BaseInstaller.php',
|
30 |
-
'Composer\\Installers\\BitrixInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/BitrixInstaller.php',
|
31 |
-
'Composer\\Installers\\BonefishInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/BonefishInstaller.php',
|
32 |
-
'Composer\\Installers\\CakePHPInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/CakePHPInstaller.php',
|
33 |
-
'Composer\\Installers\\ChefInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ChefInstaller.php',
|
34 |
-
'Composer\\Installers\\CiviCrmInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/CiviCrmInstaller.php',
|
35 |
-
'Composer\\Installers\\ClanCatsFrameworkInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php',
|
36 |
-
'Composer\\Installers\\CockpitInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/CockpitInstaller.php',
|
37 |
-
'Composer\\Installers\\CodeIgniterInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php',
|
38 |
-
'Composer\\Installers\\Concrete5Installer' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/Concrete5Installer.php',
|
39 |
-
'Composer\\Installers\\CraftInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/CraftInstaller.php',
|
40 |
-
'Composer\\Installers\\CroogoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/CroogoInstaller.php',
|
41 |
-
'Composer\\Installers\\DecibelInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/DecibelInstaller.php',
|
42 |
-
'Composer\\Installers\\DframeInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/DframeInstaller.php',
|
43 |
-
'Composer\\Installers\\DokuWikiInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/DokuWikiInstaller.php',
|
44 |
-
'Composer\\Installers\\DolibarrInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/DolibarrInstaller.php',
|
45 |
-
'Composer\\Installers\\DrupalInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/DrupalInstaller.php',
|
46 |
-
'Composer\\Installers\\ElggInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ElggInstaller.php',
|
47 |
-
'Composer\\Installers\\EliasisInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/EliasisInstaller.php',
|
48 |
-
'Composer\\Installers\\ExpressionEngineInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php',
|
49 |
-
'Composer\\Installers\\EzPlatformInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/EzPlatformInstaller.php',
|
50 |
-
'Composer\\Installers\\FuelInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/FuelInstaller.php',
|
51 |
-
'Composer\\Installers\\FuelphpInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/FuelphpInstaller.php',
|
52 |
-
'Composer\\Installers\\GravInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/GravInstaller.php',
|
53 |
-
'Composer\\Installers\\HuradInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/HuradInstaller.php',
|
54 |
-
'Composer\\Installers\\ImageCMSInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ImageCMSInstaller.php',
|
55 |
-
'Composer\\Installers\\Installer' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/Installer.php',
|
56 |
-
'Composer\\Installers\\ItopInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ItopInstaller.php',
|
57 |
-
'Composer\\Installers\\JoomlaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/JoomlaInstaller.php',
|
58 |
-
'Composer\\Installers\\KanboardInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/KanboardInstaller.php',
|
59 |
-
'Composer\\Installers\\KirbyInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/KirbyInstaller.php',
|
60 |
-
'Composer\\Installers\\KnownInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/KnownInstaller.php',
|
61 |
-
'Composer\\Installers\\KodiCMSInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/KodiCMSInstaller.php',
|
62 |
-
'Composer\\Installers\\KohanaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/KohanaInstaller.php',
|
63 |
-
'Composer\\Installers\\LanManagementSystemInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php',
|
64 |
-
'Composer\\Installers\\LaravelInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/LaravelInstaller.php',
|
65 |
-
'Composer\\Installers\\LavaLiteInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/LavaLiteInstaller.php',
|
66 |
-
'Composer\\Installers\\LithiumInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/LithiumInstaller.php',
|
67 |
-
'Composer\\Installers\\MODULEWorkInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php',
|
68 |
-
'Composer\\Installers\\MODXEvoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MODXEvoInstaller.php',
|
69 |
-
'Composer\\Installers\\MagentoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MagentoInstaller.php',
|
70 |
-
'Composer\\Installers\\MajimaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MajimaInstaller.php',
|
71 |
-
'Composer\\Installers\\MakoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MakoInstaller.php',
|
72 |
-
'Composer\\Installers\\MantisBTInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MantisBTInstaller.php',
|
73 |
-
'Composer\\Installers\\MauticInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MauticInstaller.php',
|
74 |
-
'Composer\\Installers\\MayaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MayaInstaller.php',
|
75 |
-
'Composer\\Installers\\MediaWikiInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MediaWikiInstaller.php',
|
76 |
-
'Composer\\Installers\\MicroweberInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MicroweberInstaller.php',
|
77 |
-
'Composer\\Installers\\ModxInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ModxInstaller.php',
|
78 |
-
'Composer\\Installers\\MoodleInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MoodleInstaller.php',
|
79 |
-
'Composer\\Installers\\OctoberInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/OctoberInstaller.php',
|
80 |
-
'Composer\\Installers\\OntoWikiInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/OntoWikiInstaller.php',
|
81 |
-
'Composer\\Installers\\OsclassInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/OsclassInstaller.php',
|
82 |
-
'Composer\\Installers\\OxidInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/OxidInstaller.php',
|
83 |
-
'Composer\\Installers\\PPIInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PPIInstaller.php',
|
84 |
-
'Composer\\Installers\\PhiftyInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PhiftyInstaller.php',
|
85 |
-
'Composer\\Installers\\PhpBBInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PhpBBInstaller.php',
|
86 |
-
'Composer\\Installers\\PimcoreInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PimcoreInstaller.php',
|
87 |
-
'Composer\\Installers\\PiwikInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PiwikInstaller.php',
|
88 |
-
'Composer\\Installers\\PlentymarketsInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php',
|
89 |
-
'Composer\\Installers\\Plugin' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/Plugin.php',
|
90 |
-
'Composer\\Installers\\PortoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PortoInstaller.php',
|
91 |
-
'Composer\\Installers\\PrestashopInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PrestashopInstaller.php',
|
92 |
-
'Composer\\Installers\\PuppetInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PuppetInstaller.php',
|
93 |
-
'Composer\\Installers\\PxcmsInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PxcmsInstaller.php',
|
94 |
-
'Composer\\Installers\\RadPHPInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/RadPHPInstaller.php',
|
95 |
-
'Composer\\Installers\\ReIndexInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ReIndexInstaller.php',
|
96 |
-
'Composer\\Installers\\Redaxo5Installer' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/Redaxo5Installer.php',
|
97 |
-
'Composer\\Installers\\RedaxoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/RedaxoInstaller.php',
|
98 |
-
'Composer\\Installers\\RoundcubeInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/RoundcubeInstaller.php',
|
99 |
-
'Composer\\Installers\\SMFInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SMFInstaller.php',
|
100 |
-
'Composer\\Installers\\ShopwareInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ShopwareInstaller.php',
|
101 |
-
'Composer\\Installers\\SilverStripeInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SilverStripeInstaller.php',
|
102 |
-
'Composer\\Installers\\SiteDirectInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SiteDirectInstaller.php',
|
103 |
-
'Composer\\Installers\\SyDESInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SyDESInstaller.php',
|
104 |
-
'Composer\\Installers\\Symfony1Installer' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/Symfony1Installer.php',
|
105 |
-
'Composer\\Installers\\TYPO3CmsInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php',
|
106 |
-
'Composer\\Installers\\TYPO3FlowInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php',
|
107 |
-
'Composer\\Installers\\TaoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/TaoInstaller.php',
|
108 |
-
'Composer\\Installers\\TheliaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/TheliaInstaller.php',
|
109 |
-
'Composer\\Installers\\TuskInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/TuskInstaller.php',
|
110 |
-
'Composer\\Installers\\UserFrostingInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/UserFrostingInstaller.php',
|
111 |
-
'Composer\\Installers\\VanillaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/VanillaInstaller.php',
|
112 |
-
'Composer\\Installers\\VgmcpInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/VgmcpInstaller.php',
|
113 |
-
'Composer\\Installers\\WHMCSInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/WHMCSInstaller.php',
|
114 |
-
'Composer\\Installers\\WolfCMSInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/WolfCMSInstaller.php',
|
115 |
-
'Composer\\Installers\\WordPressInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/WordPressInstaller.php',
|
116 |
-
'Composer\\Installers\\YawikInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/YawikInstaller.php',
|
117 |
-
'Composer\\Installers\\ZendInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ZendInstaller.php',
|
118 |
-
'Composer\\Installers\\ZikulaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ZikulaInstaller.php',
|
119 |
-
);
|
120 |
-
|
121 |
-
public static function getInitializer(ClassLoader $loader)
|
122 |
-
{
|
123 |
-
return \Closure::bind(function () use ($loader) {
|
124 |
-
$loader->prefixLengthsPsr4 = ComposerStaticInitfb268cd7f0bd3aa9e60ccbdd9bb3a28b::$prefixLengthsPsr4;
|
125 |
-
$loader->prefixDirsPsr4 = ComposerStaticInitfb268cd7f0bd3aa9e60ccbdd9bb3a28b::$prefixDirsPsr4;
|
126 |
-
$loader->classMap = ComposerStaticInitfb268cd7f0bd3aa9e60ccbdd9bb3a28b::$classMap;
|
127 |
-
|
128 |
-
}, null, ClassLoader::class);
|
129 |
-
}
|
130 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installed.json
DELETED
@@ -1,127 +0,0 @@
|
|
1 |
-
[
|
2 |
-
{
|
3 |
-
"name": "composer/installers",
|
4 |
-
"version": "dev-master",
|
5 |
-
"version_normalized": "9999999-dev",
|
6 |
-
"source": {
|
7 |
-
"type": "git",
|
8 |
-
"url": "https://github.com/composer/installers.git",
|
9 |
-
"reference": "71a969fe8408f3db5c0c35d420df3e23b37971de"
|
10 |
-
},
|
11 |
-
"dist": {
|
12 |
-
"type": "zip",
|
13 |
-
"url": "https://api.github.com/repos/composer/installers/zipball/71a969fe8408f3db5c0c35d420df3e23b37971de",
|
14 |
-
"reference": "71a969fe8408f3db5c0c35d420df3e23b37971de",
|
15 |
-
"shasum": ""
|
16 |
-
},
|
17 |
-
"require": {
|
18 |
-
"composer-plugin-api": "^1.0"
|
19 |
-
},
|
20 |
-
"replace": {
|
21 |
-
"roundcube/plugin-installer": "*",
|
22 |
-
"shama/baton": "*"
|
23 |
-
},
|
24 |
-
"require-dev": {
|
25 |
-
"composer/composer": "1.0.*@dev",
|
26 |
-
"phpunit/phpunit": "^4.8.36"
|
27 |
-
},
|
28 |
-
"time": "2019-12-03T09:18:28+00:00",
|
29 |
-
"type": "composer-plugin",
|
30 |
-
"extra": {
|
31 |
-
"class": "Composer\\Installers\\Plugin",
|
32 |
-
"branch-alias": {
|
33 |
-
"dev-master": "1.0-dev"
|
34 |
-
}
|
35 |
-
},
|
36 |
-
"installation-source": "dist",
|
37 |
-
"autoload": {
|
38 |
-
"psr-4": {
|
39 |
-
"Composer\\Installers\\": "src/Composer/Installers"
|
40 |
-
}
|
41 |
-
},
|
42 |
-
"notification-url": "https://packagist.org/downloads/",
|
43 |
-
"license": [
|
44 |
-
"MIT"
|
45 |
-
],
|
46 |
-
"authors": [
|
47 |
-
{
|
48 |
-
"name": "Kyle Robinson Young",
|
49 |
-
"email": "kyle@dontkry.com",
|
50 |
-
"homepage": "https://github.com/shama"
|
51 |
-
}
|
52 |
-
],
|
53 |
-
"description": "A multi-framework Composer library installer",
|
54 |
-
"homepage": "https://composer.github.io/installers/",
|
55 |
-
"keywords": [
|
56 |
-
"Craft",
|
57 |
-
"Dolibarr",
|
58 |
-
"Eliasis",
|
59 |
-
"Hurad",
|
60 |
-
"ImageCMS",
|
61 |
-
"Kanboard",
|
62 |
-
"Lan Management System",
|
63 |
-
"MODX Evo",
|
64 |
-
"MantisBT",
|
65 |
-
"Mautic",
|
66 |
-
"Maya",
|
67 |
-
"OXID",
|
68 |
-
"Plentymarkets",
|
69 |
-
"Porto",
|
70 |
-
"RadPHP",
|
71 |
-
"SMF",
|
72 |
-
"Thelia",
|
73 |
-
"Whmcs",
|
74 |
-
"WolfCMS",
|
75 |
-
"agl",
|
76 |
-
"aimeos",
|
77 |
-
"annotatecms",
|
78 |
-
"attogram",
|
79 |
-
"bitrix",
|
80 |
-
"cakephp",
|
81 |
-
"chef",
|
82 |
-
"cockpit",
|
83 |
-
"codeigniter",
|
84 |
-
"concrete5",
|
85 |
-
"croogo",
|
86 |
-
"dokuwiki",
|
87 |
-
"drupal",
|
88 |
-
"eZ Platform",
|
89 |
-
"elgg",
|
90 |
-
"expressionengine",
|
91 |
-
"fuelphp",
|
92 |
-
"grav",
|
93 |
-
"installer",
|
94 |
-
"itop",
|
95 |
-
"joomla",
|
96 |
-
"known",
|
97 |
-
"kohana",
|
98 |
-
"laravel",
|
99 |
-
"lavalite",
|
100 |
-
"lithium",
|
101 |
-
"magento",
|
102 |
-
"majima",
|
103 |
-
"mako",
|
104 |
-
"mediawiki",
|
105 |
-
"modulework",
|
106 |
-
"modx",
|
107 |
-
"moodle",
|
108 |
-
"osclass",
|
109 |
-
"phpbb",
|
110 |
-
"piwik",
|
111 |
-
"ppi",
|
112 |
-
"puppet",
|
113 |
-
"pxcms",
|
114 |
-
"reindex",
|
115 |
-
"roundcube",
|
116 |
-
"shopware",
|
117 |
-
"silverstripe",
|
118 |
-
"sydes",
|
119 |
-
"symfony",
|
120 |
-
"typo3",
|
121 |
-
"wordpress",
|
122 |
-
"yawik",
|
123 |
-
"zend",
|
124 |
-
"zikula"
|
125 |
-
]
|
126 |
-
}
|
127 |
-
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/LICENSE
DELETED
@@ -1,19 +0,0 @@
|
|
1 |
-
Copyright (c) 2012 Kyle Robinson Young
|
2 |
-
|
3 |
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4 |
-
of this software and associated documentation files (the "Software"), to deal
|
5 |
-
in the Software without restriction, including without limitation the rights
|
6 |
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7 |
-
copies of the Software, and to permit persons to whom the Software is furnished
|
8 |
-
to do so, subject to the following conditions:
|
9 |
-
|
10 |
-
The above copyright notice and this permission notice shall be included in all
|
11 |
-
copies or substantial portions of the Software.
|
12 |
-
|
13 |
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14 |
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15 |
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16 |
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17 |
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18 |
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19 |
-
THE SOFTWARE.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/composer.json
DELETED
@@ -1,108 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"name": "composer/installers",
|
3 |
-
"type": "composer-plugin",
|
4 |
-
"license": "MIT",
|
5 |
-
"description": "A multi-framework Composer library installer",
|
6 |
-
"keywords": [
|
7 |
-
"installer",
|
8 |
-
"Aimeos",
|
9 |
-
"AGL",
|
10 |
-
"AnnotateCms",
|
11 |
-
"Attogram",
|
12 |
-
"Bitrix",
|
13 |
-
"CakePHP",
|
14 |
-
"Chef",
|
15 |
-
"Cockpit",
|
16 |
-
"CodeIgniter",
|
17 |
-
"concrete5",
|
18 |
-
"Craft",
|
19 |
-
"Croogo",
|
20 |
-
"DokuWiki",
|
21 |
-
"Dolibarr",
|
22 |
-
"Drupal",
|
23 |
-
"Elgg",
|
24 |
-
"Eliasis",
|
25 |
-
"ExpressionEngine",
|
26 |
-
"eZ Platform",
|
27 |
-
"FuelPHP",
|
28 |
-
"Grav",
|
29 |
-
"Hurad",
|
30 |
-
"ImageCMS",
|
31 |
-
"iTop",
|
32 |
-
"Joomla",
|
33 |
-
"Kanboard",
|
34 |
-
"Known",
|
35 |
-
"Kohana",
|
36 |
-
"Lan Management System",
|
37 |
-
"Laravel",
|
38 |
-
"Lavalite",
|
39 |
-
"Lithium",
|
40 |
-
"Magento",
|
41 |
-
"majima",
|
42 |
-
"Mako",
|
43 |
-
"MantisBT",
|
44 |
-
"Mautic",
|
45 |
-
"Maya",
|
46 |
-
"MODX",
|
47 |
-
"MODX Evo",
|
48 |
-
"MediaWiki",
|
49 |
-
"OXID",
|
50 |
-
"osclass",
|
51 |
-
"MODULEWork",
|
52 |
-
"Moodle",
|
53 |
-
"Piwik",
|
54 |
-
"pxcms",
|
55 |
-
"phpBB",
|
56 |
-
"Plentymarkets",
|
57 |
-
"PPI",
|
58 |
-
"Puppet",
|
59 |
-
"Porto",
|
60 |
-
"RadPHP",
|
61 |
-
"ReIndex",
|
62 |
-
"Roundcube",
|
63 |
-
"shopware",
|
64 |
-
"SilverStripe",
|
65 |
-
"SMF",
|
66 |
-
"SyDES",
|
67 |
-
"symfony",
|
68 |
-
"Thelia",
|
69 |
-
"TYPO3",
|
70 |
-
"WHMCS",
|
71 |
-
"WolfCMS",
|
72 |
-
"WordPress",
|
73 |
-
"YAWIK",
|
74 |
-
"Zend",
|
75 |
-
"Zikula"
|
76 |
-
],
|
77 |
-
"homepage": "https://composer.github.io/installers/",
|
78 |
-
"authors": [
|
79 |
-
{
|
80 |
-
"name": "Kyle Robinson Young",
|
81 |
-
"email": "kyle@dontkry.com",
|
82 |
-
"homepage": "https://github.com/shama"
|
83 |
-
}
|
84 |
-
],
|
85 |
-
"autoload": {
|
86 |
-
"psr-4": { "Composer\\Installers\\": "src/Composer/Installers" }
|
87 |
-
},
|
88 |
-
"extra": {
|
89 |
-
"class": "Composer\\Installers\\Plugin",
|
90 |
-
"branch-alias": {
|
91 |
-
"dev-master": "1.0-dev"
|
92 |
-
}
|
93 |
-
},
|
94 |
-
"replace": {
|
95 |
-
"shama/baton": "*",
|
96 |
-
"roundcube/plugin-installer": "*"
|
97 |
-
},
|
98 |
-
"require": {
|
99 |
-
"composer-plugin-api": "^1.0"
|
100 |
-
},
|
101 |
-
"require-dev": {
|
102 |
-
"composer/composer": "1.0.*@dev",
|
103 |
-
"phpunit/phpunit": "^4.8.36"
|
104 |
-
},
|
105 |
-
"scripts": {
|
106 |
-
"test": "phpunit"
|
107 |
-
}
|
108 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/AglInstaller.php
DELETED
@@ -1,21 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class AglInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'module' => 'More/{$name}/',
|
8 |
-
);
|
9 |
-
|
10 |
-
/**
|
11 |
-
* Format package name to CamelCase
|
12 |
-
*/
|
13 |
-
public function inflectPackageVars($vars)
|
14 |
-
{
|
15 |
-
$vars['name'] = preg_replace_callback('/(?:^|_|-)(.?)/', function ($matches) {
|
16 |
-
return strtoupper($matches[1]);
|
17 |
-
}, $vars['name']);
|
18 |
-
|
19 |
-
return $vars;
|
20 |
-
}
|
21 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php
DELETED
@@ -1,9 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class AimeosInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'extension' => 'ext/{$name}/',
|
8 |
-
);
|
9 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class AnnotateCmsInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'module' => 'addons/modules/{$name}/',
|
8 |
-
'component' => 'addons/components/{$name}/',
|
9 |
-
'service' => 'addons/services/{$name}/',
|
10 |
-
);
|
11 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php
DELETED
@@ -1,49 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class AsgardInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'module' => 'Modules/{$name}/',
|
8 |
-
'theme' => 'Themes/{$name}/'
|
9 |
-
);
|
10 |
-
|
11 |
-
/**
|
12 |
-
* Format package name.
|
13 |
-
*
|
14 |
-
* For package type asgard-module, cut off a trailing '-plugin' if present.
|
15 |
-
*
|
16 |
-
* For package type asgard-theme, cut off a trailing '-theme' if present.
|
17 |
-
*
|
18 |
-
*/
|
19 |
-
public function inflectPackageVars($vars)
|
20 |
-
{
|
21 |
-
if ($vars['type'] === 'asgard-module') {
|
22 |
-
return $this->inflectPluginVars($vars);
|
23 |
-
}
|
24 |
-
|
25 |
-
if ($vars['type'] === 'asgard-theme') {
|
26 |
-
return $this->inflectThemeVars($vars);
|
27 |
-
}
|
28 |
-
|
29 |
-
return $vars;
|
30 |
-
}
|
31 |
-
|
32 |
-
protected function inflectPluginVars($vars)
|
33 |
-
{
|
34 |
-
$vars['name'] = preg_replace('/-module$/', '', $vars['name']);
|
35 |
-
$vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
|
36 |
-
$vars['name'] = str_replace(' ', '', ucwords($vars['name']));
|
37 |
-
|
38 |
-
return $vars;
|
39 |
-
}
|
40 |
-
|
41 |
-
protected function inflectThemeVars($vars)
|
42 |
-
{
|
43 |
-
$vars['name'] = preg_replace('/-theme$/', '', $vars['name']);
|
44 |
-
$vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
|
45 |
-
$vars['name'] = str_replace(' ', '', ucwords($vars['name']));
|
46 |
-
|
47 |
-
return $vars;
|
48 |
-
}
|
49 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php
DELETED
@@ -1,9 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class AttogramInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'module' => 'modules/{$name}/',
|
8 |
-
);
|
9 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/BaseInstaller.php
DELETED
@@ -1,136 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
use Composer\IO\IOInterface;
|
5 |
-
use Composer\Composer;
|
6 |
-
use Composer\Package\PackageInterface;
|
7 |
-
|
8 |
-
abstract class BaseInstaller
|
9 |
-
{
|
10 |
-
protected $locations = array();
|
11 |
-
protected $composer;
|
12 |
-
protected $package;
|
13 |
-
protected $io;
|
14 |
-
|
15 |
-
/**
|
16 |
-
* Initializes base installer.
|
17 |
-
*
|
18 |
-
* @param PackageInterface $package
|
19 |
-
* @param Composer $composer
|
20 |
-
* @param IOInterface $io
|
21 |
-
*/
|
22 |
-
public function __construct(PackageInterface $package = null, Composer $composer = null, IOInterface $io = null)
|
23 |
-
{
|
24 |
-
$this->composer = $composer;
|
25 |
-
$this->package = $package;
|
26 |
-
$this->io = $io;
|
27 |
-
}
|
28 |
-
|
29 |
-
/**
|
30 |
-
* Return the install path based on package type.
|
31 |
-
*
|
32 |
-
* @param PackageInterface $package
|
33 |
-
* @param string $frameworkType
|
34 |
-
* @return string
|
35 |
-
*/
|
36 |
-
public function getInstallPath(PackageInterface $package, $frameworkType = '')
|
37 |
-
{
|
38 |
-
$type = $this->package->getType();
|
39 |
-
|
40 |
-
$prettyName = $this->package->getPrettyName();
|
41 |
-
if (strpos($prettyName, '/') !== false) {
|
42 |
-
list($vendor, $name) = explode('/', $prettyName);
|
43 |
-
} else {
|
44 |
-
$vendor = '';
|
45 |
-
$name = $prettyName;
|
46 |
-
}
|
47 |
-
|
48 |
-
$availableVars = $this->inflectPackageVars(compact('name', 'vendor', 'type'));
|
49 |
-
|
50 |
-
$extra = $package->getExtra();
|
51 |
-
if (!empty($extra['installer-name'])) {
|
52 |
-
$availableVars['name'] = $extra['installer-name'];
|
53 |
-
}
|
54 |
-
|
55 |
-
if ($this->composer->getPackage()) {
|
56 |
-
$extra = $this->composer->getPackage()->getExtra();
|
57 |
-
if (!empty($extra['installer-paths'])) {
|
58 |
-
$customPath = $this->mapCustomInstallPaths($extra['installer-paths'], $prettyName, $type, $vendor);
|
59 |
-
if ($customPath !== false) {
|
60 |
-
return $this->templatePath($customPath, $availableVars);
|
61 |
-
}
|
62 |
-
}
|
63 |
-
}
|
64 |
-
|
65 |
-
$packageType = substr($type, strlen($frameworkType) + 1);
|
66 |
-
$locations = $this->getLocations();
|
67 |
-
if (!isset($locations[$packageType])) {
|
68 |
-
throw new \InvalidArgumentException(sprintf('Package type "%s" is not supported', $type));
|
69 |
-
}
|
70 |
-
|
71 |
-
return $this->templatePath($locations[$packageType], $availableVars);
|
72 |
-
}
|
73 |
-
|
74 |
-
/**
|
75 |
-
* For an installer to override to modify the vars per installer.
|
76 |
-
*
|
77 |
-
* @param array $vars
|
78 |
-
* @return array
|
79 |
-
*/
|
80 |
-
public function inflectPackageVars($vars)
|
81 |
-
{
|
82 |
-
return $vars;
|
83 |
-
}
|
84 |
-
|
85 |
-
/**
|
86 |
-
* Gets the installer's locations
|
87 |
-
*
|
88 |
-
* @return array
|
89 |
-
*/
|
90 |
-
public function getLocations()
|
91 |
-
{
|
92 |
-
return $this->locations;
|
93 |
-
}
|
94 |
-
|
95 |
-
/**
|
96 |
-
* Replace vars in a path
|
97 |
-
*
|
98 |
-
* @param string $path
|
99 |
-
* @param array $vars
|
100 |
-
* @return string
|
101 |
-
*/
|
102 |
-
protected function templatePath($path, array $vars = array())
|
103 |
-
{
|
104 |
-
if (strpos($path, '{') !== false) {
|
105 |
-
extract($vars);
|
106 |
-
preg_match_all('@\{\$([A-Za-z0-9_]*)\}@i', $path, $matches);
|
107 |
-
if (!empty($matches[1])) {
|
108 |
-
foreach ($matches[1] as $var) {
|
109 |
-
$path = str_replace('{$' . $var . '}', $$var, $path);
|
110 |
-
}
|
111 |
-
}
|
112 |
-
}
|
113 |
-
|
114 |
-
return $path;
|
115 |
-
}
|
116 |
-
|
117 |
-
/**
|
118 |
-
* Search through a passed paths array for a custom install path.
|
119 |
-
*
|
120 |
-
* @param array $paths
|
121 |
-
* @param string $name
|
122 |
-
* @param string $type
|
123 |
-
* @param string $vendor = NULL
|
124 |
-
* @return string
|
125 |
-
*/
|
126 |
-
protected function mapCustomInstallPaths(array $paths, $name, $type, $vendor = NULL)
|
127 |
-
{
|
128 |
-
foreach ($paths as $path => $names) {
|
129 |
-
if (in_array($name, $names) || in_array('type:' . $type, $names) || in_array('vendor:' . $vendor, $names)) {
|
130 |
-
return $path;
|
131 |
-
}
|
132 |
-
}
|
133 |
-
|
134 |
-
return false;
|
135 |
-
}
|
136 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php
DELETED
@@ -1,126 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
namespace Composer\Installers;
|
4 |
-
|
5 |
-
use Composer\Util\Filesystem;
|
6 |
-
|
7 |
-
/**
|
8 |
-
* Installer for Bitrix Framework. Supported types of extensions:
|
9 |
-
* - `bitrix-d7-module` — copy the module to directory `bitrix/modules/<vendor>.<name>`.
|
10 |
-
* - `bitrix-d7-component` — copy the component to directory `bitrix/components/<vendor>/<name>`.
|
11 |
-
* - `bitrix-d7-template` — copy the template to directory `bitrix/templates/<vendor>_<name>`.
|
12 |
-
*
|
13 |
-
* You can set custom path to directory with Bitrix kernel in `composer.json`:
|
14 |
-
*
|
15 |
-
* ```json
|
16 |
-
* {
|
17 |
-
* "extra": {
|
18 |
-
* "bitrix-dir": "s1/bitrix"
|
19 |
-
* }
|
20 |
-
* }
|
21 |
-
* ```
|
22 |
-
*
|
23 |
-
* @author Nik Samokhvalov <nik@samokhvalov.info>
|
24 |
-
* @author Denis Kulichkin <onexhovia@gmail.com>
|
25 |
-
*/
|
26 |
-
class BitrixInstaller extends BaseInstaller
|
27 |
-
{
|
28 |
-
protected $locations = array(
|
29 |
-
'module' => '{$bitrix_dir}/modules/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken)
|
30 |
-
'component' => '{$bitrix_dir}/components/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken)
|
31 |
-
'theme' => '{$bitrix_dir}/templates/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken)
|
32 |
-
'd7-module' => '{$bitrix_dir}/modules/{$vendor}.{$name}/',
|
33 |
-
'd7-component' => '{$bitrix_dir}/components/{$vendor}/{$name}/',
|
34 |
-
'd7-template' => '{$bitrix_dir}/templates/{$vendor}_{$name}/',
|
35 |
-
);
|
36 |
-
|
37 |
-
/**
|
38 |
-
* @var array Storage for informations about duplicates at all the time of installation packages.
|
39 |
-
*/
|
40 |
-
private static $checkedDuplicates = array();
|
41 |
-
|
42 |
-
/**
|
43 |
-
* {@inheritdoc}
|
44 |
-
*/
|
45 |
-
public function inflectPackageVars($vars)
|
46 |
-
{
|
47 |
-
if ($this->composer->getPackage()) {
|
48 |
-
$extra = $this->composer->getPackage()->getExtra();
|
49 |
-
|
50 |
-
if (isset($extra['bitrix-dir'])) {
|
51 |
-
$vars['bitrix_dir'] = $extra['bitrix-dir'];
|
52 |
-
}
|
53 |
-
}
|
54 |
-
|
55 |
-
if (!isset($vars['bitrix_dir'])) {
|
56 |
-
$vars['bitrix_dir'] = 'bitrix';
|
57 |
-
}
|
58 |
-
|
59 |
-
return parent::inflectPackageVars($vars);
|
60 |
-
}
|
61 |
-
|
62 |
-
/**
|
63 |
-
* {@inheritdoc}
|
64 |
-
*/
|
65 |
-
protected function templatePath($path, array $vars = array())
|
66 |
-
{
|
67 |
-
$templatePath = parent::templatePath($path, $vars);
|
68 |
-
$this->checkDuplicates($templatePath, $vars);
|
69 |
-
|
70 |
-
return $templatePath;
|
71 |
-
}
|
72 |
-
|
73 |
-
/**
|
74 |
-
* Duplicates search packages.
|
75 |
-
*
|
76 |
-
* @param string $path
|
77 |
-
* @param array $vars
|
78 |
-
*/
|
79 |
-
protected function checkDuplicates($path, array $vars = array())
|
80 |
-
{
|
81 |
-
$packageType = substr($vars['type'], strlen('bitrix') + 1);
|
82 |
-
$localDir = explode('/', $vars['bitrix_dir']);
|
83 |
-
array_pop($localDir);
|
84 |
-
$localDir[] = 'local';
|
85 |
-
$localDir = implode('/', $localDir);
|
86 |
-
|
87 |
-
$oldPath = str_replace(
|
88 |
-
array('{$bitrix_dir}', '{$name}'),
|
89 |
-
array($localDir, $vars['name']),
|
90 |
-
$this->locations[$packageType]
|
91 |
-
);
|
92 |
-
|
93 |
-
if (in_array($oldPath, static::$checkedDuplicates)) {
|
94 |
-
return;
|
95 |
-
}
|
96 |
-
|
97 |
-
if ($oldPath !== $path && file_exists($oldPath) && $this->io && $this->io->isInteractive()) {
|
98 |
-
|
99 |
-
$this->io->writeError(' <error>Duplication of packages:</error>');
|
100 |
-
$this->io->writeError(' <info>Package ' . $oldPath . ' will be called instead package ' . $path . '</info>');
|
101 |
-
|
102 |
-
while (true) {
|
103 |
-
switch ($this->io->ask(' <info>Delete ' . $oldPath . ' [y,n,?]?</info> ', '?')) {
|
104 |
-
case 'y':
|
105 |
-
$fs = new Filesystem();
|
106 |
-
$fs->removeDirectory($oldPath);
|
107 |
-
break 2;
|
108 |
-
|
109 |
-
case 'n':
|
110 |
-
break 2;
|
111 |
-
|
112 |
-
case '?':
|
113 |
-
default:
|
114 |
-
$this->io->writeError(array(
|
115 |
-
' y - delete package ' . $oldPath . ' and to continue with the installation',
|
116 |
-
' n - don\'t delete and to continue with the installation',
|
117 |
-
));
|
118 |
-
$this->io->writeError(' ? - print help');
|
119 |
-
break;
|
120 |
-
}
|
121 |
-
}
|
122 |
-
}
|
123 |
-
|
124 |
-
static::$checkedDuplicates[] = $oldPath;
|
125 |
-
}
|
126 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php
DELETED
@@ -1,9 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class BonefishInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'package' => 'Packages/{$vendor}/{$name}/'
|
8 |
-
);
|
9 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php
DELETED
@@ -1,82 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
use Composer\DependencyResolver\Pool;
|
5 |
-
|
6 |
-
class CakePHPInstaller extends BaseInstaller
|
7 |
-
{
|
8 |
-
protected $locations = array(
|
9 |
-
'plugin' => 'Plugin/{$name}/',
|
10 |
-
);
|
11 |
-
|
12 |
-
/**
|
13 |
-
* Format package name to CamelCase
|
14 |
-
*/
|
15 |
-
public function inflectPackageVars($vars)
|
16 |
-
{
|
17 |
-
if ($this->matchesCakeVersion('>=', '3.0.0')) {
|
18 |
-
return $vars;
|
19 |
-
}
|
20 |
-
|
21 |
-
$nameParts = explode('/', $vars['name']);
|
22 |
-
foreach ($nameParts as &$value) {
|
23 |
-
$value = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $value));
|
24 |
-
$value = str_replace(array('-', '_'), ' ', $value);
|
25 |
-
$value = str_replace(' ', '', ucwords($value));
|
26 |
-
}
|
27 |
-
$vars['name'] = implode('/', $nameParts);
|
28 |
-
|
29 |
-
return $vars;
|
30 |
-
}
|
31 |
-
|
32 |
-
/**
|
33 |
-
* Change the default plugin location when cakephp >= 3.0
|
34 |
-
*/
|
35 |
-
public function getLocations()
|
36 |
-
{
|
37 |
-
if ($this->matchesCakeVersion('>=', '3.0.0')) {
|
38 |
-
$this->locations['plugin'] = $this->composer->getConfig()->get('vendor-dir') . '/{$vendor}/{$name}/';
|
39 |
-
}
|
40 |
-
return $this->locations;
|
41 |
-
}
|
42 |
-
|
43 |
-
/**
|
44 |
-
* Check if CakePHP version matches against a version
|
45 |
-
*
|
46 |
-
* @param string $matcher
|
47 |
-
* @param string $version
|
48 |
-
* @return bool
|
49 |
-
*/
|
50 |
-
protected function matchesCakeVersion($matcher, $version)
|
51 |
-
{
|
52 |
-
if (class_exists('Composer\Semver\Constraint\MultiConstraint')) {
|
53 |
-
$multiClass = 'Composer\Semver\Constraint\MultiConstraint';
|
54 |
-
$constraintClass = 'Composer\Semver\Constraint\Constraint';
|
55 |
-
} else {
|
56 |
-
$multiClass = 'Composer\Package\LinkConstraint\MultiConstraint';
|
57 |
-
$constraintClass = 'Composer\Package\LinkConstraint\VersionConstraint';
|
58 |
-
}
|
59 |
-
|
60 |
-
$repositoryManager = $this->composer->getRepositoryManager();
|
61 |
-
if ($repositoryManager) {
|
62 |
-
$repos = $repositoryManager->getLocalRepository();
|
63 |
-
if (!$repos) {
|
64 |
-
return false;
|
65 |
-
}
|
66 |
-
$cake3 = new $multiClass(array(
|
67 |
-
new $constraintClass($matcher, $version),
|
68 |
-
new $constraintClass('!=', '9999999-dev'),
|
69 |
-
));
|
70 |
-
$pool = new Pool('dev');
|
71 |
-
$pool->addRepository($repos);
|
72 |
-
$packages = $pool->whatProvides('cakephp/cakephp');
|
73 |
-
foreach ($packages as $package) {
|
74 |
-
$installed = new $constraintClass('=', $package->getVersion());
|
75 |
-
if ($cake3->matches($installed)) {
|
76 |
-
return true;
|
77 |
-
}
|
78 |
-
}
|
79 |
-
}
|
80 |
-
return false;
|
81 |
-
}
|
82 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/ChefInstaller.php
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class ChefInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'cookbook' => 'Chef/{$vendor}/{$name}/',
|
8 |
-
'role' => 'Chef/roles/{$name}/',
|
9 |
-
);
|
10 |
-
}
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php
DELETED
@@ -1,9 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class CiviCrmInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'ext' => 'ext/{$name}/'
|
8 |
-
);
|
9 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class ClanCatsFrameworkInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'ship' => 'CCF/orbit/{$name}/',
|
8 |
-
'theme' => 'CCF/app/themes/{$name}/',
|
9 |
-
);
|
10 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php
DELETED
@@ -1,34 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class CockpitInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'module' => 'cockpit/modules/addons/{$name}/',
|
8 |
-
);
|
9 |
-
|
10 |
-
/**
|
11 |
-
* Format module name.
|
12 |
-
*
|
13 |
-
* Strip `module-` prefix from package name.
|
14 |
-
*
|
15 |
-
* @param array @vars
|
16 |
-
*
|
17 |
-
* @return array
|
18 |
-
*/
|
19 |
-
public function inflectPackageVars($vars)
|
20 |
-
{
|
21 |
-
if ($vars['type'] == 'cockpit-module') {
|
22 |
-
return $this->inflectModuleVars($vars);
|
23 |
-
}
|
24 |
-
|
25 |
-
return $vars;
|
26 |
-
}
|
27 |
-
|
28 |
-
public function inflectModuleVars($vars)
|
29 |
-
{
|
30 |
-
$vars['name'] = ucfirst(preg_replace('/cockpit-/i', '', $vars['name']));
|
31 |
-
|
32 |
-
return $vars;
|
33 |
-
}
|
34 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class CodeIgniterInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'library' => 'application/libraries/{$name}/',
|
8 |
-
'third-party' => 'application/third_party/{$name}/',
|
9 |
-
'module' => 'application/modules/{$name}/',
|
10 |
-
);
|
11 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php
DELETED
@@ -1,13 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class Concrete5Installer extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'core' => 'concrete/',
|
8 |
-
'block' => 'application/blocks/{$name}/',
|
9 |
-
'package' => 'packages/{$name}/',
|
10 |
-
'theme' => 'application/themes/{$name}/',
|
11 |
-
'update' => 'updates/{$name}/',
|
12 |
-
);
|
13 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/CraftInstaller.php
DELETED
@@ -1,35 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
/**
|
5 |
-
* Installer for Craft Plugins
|
6 |
-
*/
|
7 |
-
class CraftInstaller extends BaseInstaller
|
8 |
-
{
|
9 |
-
const NAME_PREFIX = 'craft';
|
10 |
-
const NAME_SUFFIX = 'plugin';
|
11 |
-
|
12 |
-
protected $locations = array(
|
13 |
-
'plugin' => 'craft/plugins/{$name}/',
|
14 |
-
);
|
15 |
-
|
16 |
-
/**
|
17 |
-
* Strip `craft-` prefix and/or `-plugin` suffix from package names
|
18 |
-
*
|
19 |
-
* @param array $vars
|
20 |
-
*
|
21 |
-
* @return array
|
22 |
-
*/
|
23 |
-
final public function inflectPackageVars($vars)
|
24 |
-
{
|
25 |
-
return $this->inflectPluginVars($vars);
|
26 |
-
}
|
27 |
-
|
28 |
-
private function inflectPluginVars($vars)
|
29 |
-
{
|
30 |
-
$vars['name'] = preg_replace('/-' . self::NAME_SUFFIX . '$/i', '', $vars['name']);
|
31 |
-
$vars['name'] = preg_replace('/^' . self::NAME_PREFIX . '-/i', '', $vars['name']);
|
32 |
-
|
33 |
-
return $vars;
|
34 |
-
}
|
35 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php
DELETED
@@ -1,21 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class CroogoInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'plugin' => 'Plugin/{$name}/',
|
8 |
-
'theme' => 'View/Themed/{$name}/',
|
9 |
-
);
|
10 |
-
|
11 |
-
/**
|
12 |
-
* Format package name to CamelCase
|
13 |
-
*/
|
14 |
-
public function inflectPackageVars($vars)
|
15 |
-
{
|
16 |
-
$vars['name'] = strtolower(str_replace(array('-', '_'), ' ', $vars['name']));
|
17 |
-
$vars['name'] = str_replace(' ', '', ucwords($vars['name']));
|
18 |
-
|
19 |
-
return $vars;
|
20 |
-
}
|
21 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class DecibelInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
/** @var array */
|
7 |
-
protected $locations = array(
|
8 |
-
'app' => 'app/{$name}/',
|
9 |
-
);
|
10 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/DframeInstaller.php
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
namespace Composer\Installers;
|
4 |
-
|
5 |
-
class DframeInstaller extends BaseInstaller
|
6 |
-
{
|
7 |
-
protected $locations = array(
|
8 |
-
'module' => 'modules/{$vendor}/{$name}/',
|
9 |
-
);
|
10 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php
DELETED
@@ -1,50 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class DokuWikiInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'plugin' => 'lib/plugins/{$name}/',
|
8 |
-
'template' => 'lib/tpl/{$name}/',
|
9 |
-
);
|
10 |
-
|
11 |
-
/**
|
12 |
-
* Format package name.
|
13 |
-
*
|
14 |
-
* For package type dokuwiki-plugin, cut off a trailing '-plugin',
|
15 |
-
* or leading dokuwiki_ if present.
|
16 |
-
*
|
17 |
-
* For package type dokuwiki-template, cut off a trailing '-template' if present.
|
18 |
-
*
|
19 |
-
*/
|
20 |
-
public function inflectPackageVars($vars)
|
21 |
-
{
|
22 |
-
|
23 |
-
if ($vars['type'] === 'dokuwiki-plugin') {
|
24 |
-
return $this->inflectPluginVars($vars);
|
25 |
-
}
|
26 |
-
|
27 |
-
if ($vars['type'] === 'dokuwiki-template') {
|
28 |
-
return $this->inflectTemplateVars($vars);
|
29 |
-
}
|
30 |
-
|
31 |
-
return $vars;
|
32 |
-
}
|
33 |
-
|
34 |
-
protected function inflectPluginVars($vars)
|
35 |
-
{
|
36 |
-
$vars['name'] = preg_replace('/-plugin$/', '', $vars['name']);
|
37 |
-
$vars['name'] = preg_replace('/^dokuwiki_?-?/', '', $vars['name']);
|
38 |
-
|
39 |
-
return $vars;
|
40 |
-
}
|
41 |
-
|
42 |
-
protected function inflectTemplateVars($vars)
|
43 |
-
{
|
44 |
-
$vars['name'] = preg_replace('/-template$/', '', $vars['name']);
|
45 |
-
$vars['name'] = preg_replace('/^dokuwiki_?-?/', '', $vars['name']);
|
46 |
-
|
47 |
-
return $vars;
|
48 |
-
}
|
49 |
-
|
50 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php
DELETED
@@ -1,16 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
/**
|
5 |
-
* Class DolibarrInstaller
|
6 |
-
*
|
7 |
-
* @package Composer\Installers
|
8 |
-
* @author Raphaël Doursenaud <rdoursenaud@gpcsolutions.fr>
|
9 |
-
*/
|
10 |
-
class DolibarrInstaller extends BaseInstaller
|
11 |
-
{
|
12 |
-
//TODO: Add support for scripts and themes
|
13 |
-
protected $locations = array(
|
14 |
-
'module' => 'htdocs/custom/{$name}/',
|
15 |
-
);
|
16 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php
DELETED
@@ -1,21 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class DrupalInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'core' => 'core/',
|
8 |
-
'module' => 'modules/{$name}/',
|
9 |
-
'theme' => 'themes/{$name}/',
|
10 |
-
'library' => 'libraries/{$name}/',
|
11 |
-
'profile' => 'profiles/{$name}/',
|
12 |
-
'drush' => 'drush/{$name}/',
|
13 |
-
'custom-theme' => 'themes/custom/{$name}/',
|
14 |
-
'custom-module' => 'modules/custom/{$name}/',
|
15 |
-
'custom-profile' => 'profiles/custom/{$name}/',
|
16 |
-
'drupal-multisite' => 'sites/{$name}/',
|
17 |
-
'console' => 'console/{$name}/',
|
18 |
-
'console-language' => 'console/language/{$name}/',
|
19 |
-
'config' => 'config/sync/',
|
20 |
-
);
|
21 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/ElggInstaller.php
DELETED
@@ -1,9 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class ElggInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'plugin' => 'mod/{$name}/',
|
8 |
-
);
|
9 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class EliasisInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'component' => 'components/{$name}/',
|
8 |
-
'module' => 'modules/{$name}/',
|
9 |
-
'plugin' => 'plugins/{$name}/',
|
10 |
-
'template' => 'templates/{$name}/',
|
11 |
-
);
|
12 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php
DELETED
@@ -1,29 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
use Composer\Package\PackageInterface;
|
5 |
-
|
6 |
-
class ExpressionEngineInstaller extends BaseInstaller
|
7 |
-
{
|
8 |
-
|
9 |
-
protected $locations = array();
|
10 |
-
|
11 |
-
private $ee2Locations = array(
|
12 |
-
'addon' => 'system/expressionengine/third_party/{$name}/',
|
13 |
-
'theme' => 'themes/third_party/{$name}/',
|
14 |
-
);
|
15 |
-
|
16 |
-
private $ee3Locations = array(
|
17 |
-
'addon' => 'system/user/addons/{$name}/',
|
18 |
-
'theme' => 'themes/user/{$name}/',
|
19 |
-
);
|
20 |
-
|
21 |
-
public function getInstallPath(PackageInterface $package, $frameworkType = '')
|
22 |
-
{
|
23 |
-
|
24 |
-
$version = "{$frameworkType}Locations";
|
25 |
-
$this->locations = $this->$version;
|
26 |
-
|
27 |
-
return parent::getInstallPath($package, $frameworkType);
|
28 |
-
}
|
29 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class EzPlatformInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'meta-assets' => 'web/assets/ezplatform/',
|
8 |
-
'assets' => 'web/assets/ezplatform/{$name}/',
|
9 |
-
);
|
10 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/FuelInstaller.php
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class FuelInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'module' => 'fuel/app/modules/{$name}/',
|
8 |
-
'package' => 'fuel/packages/{$name}/',
|
9 |
-
'theme' => 'fuel/app/themes/{$name}/',
|
10 |
-
);
|
11 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php
DELETED
@@ -1,9 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class FuelphpInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'component' => 'components/{$name}/',
|
8 |
-
);
|
9 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/GravInstaller.php
DELETED
@@ -1,30 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class GravInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'plugin' => 'user/plugins/{$name}/',
|
8 |
-
'theme' => 'user/themes/{$name}/',
|
9 |
-
);
|
10 |
-
|
11 |
-
/**
|
12 |
-
* Format package name
|
13 |
-
*
|
14 |
-
* @param array $vars
|
15 |
-
*
|
16 |
-
* @return array
|
17 |
-
*/
|
18 |
-
public function inflectPackageVars($vars)
|
19 |
-
{
|
20 |
-
$restrictedWords = implode('|', array_keys($this->locations));
|
21 |
-
|
22 |
-
$vars['name'] = strtolower($vars['name']);
|
23 |
-
$vars['name'] = preg_replace('/^(?:grav-)?(?:(?:'.$restrictedWords.')-)?(.*?)(?:-(?:'.$restrictedWords.'))?$/ui',
|
24 |
-
'$1',
|
25 |
-
$vars['name']
|
26 |
-
);
|
27 |
-
|
28 |
-
return $vars;
|
29 |
-
}
|
30 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/HuradInstaller.php
DELETED
@@ -1,25 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class HuradInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'plugin' => 'plugins/{$name}/',
|
8 |
-
'theme' => 'plugins/{$name}/',
|
9 |
-
);
|
10 |
-
|
11 |
-
/**
|
12 |
-
* Format package name to CamelCase
|
13 |
-
*/
|
14 |
-
public function inflectPackageVars($vars)
|
15 |
-
{
|
16 |
-
$nameParts = explode('/', $vars['name']);
|
17 |
-
foreach ($nameParts as &$value) {
|
18 |
-
$value = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $value));
|
19 |
-
$value = str_replace(array('-', '_'), ' ', $value);
|
20 |
-
$value = str_replace(' ', '', ucwords($value));
|
21 |
-
}
|
22 |
-
$vars['name'] = implode('/', $nameParts);
|
23 |
-
return $vars;
|
24 |
-
}
|
25 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class ImageCMSInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'template' => 'templates/{$name}/',
|
8 |
-
'module' => 'application/modules/{$name}/',
|
9 |
-
'library' => 'application/libraries/{$name}/',
|
10 |
-
);
|
11 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/Installer.php
DELETED
@@ -1,279 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
namespace Composer\Installers;
|
4 |
-
|
5 |
-
use Composer\Composer;
|
6 |
-
use Composer\Installer\BinaryInstaller;
|
7 |
-
use Composer\Installer\LibraryInstaller;
|
8 |
-
use Composer\IO\IOInterface;
|
9 |
-
use Composer\Package\PackageInterface;
|
10 |
-
use Composer\Repository\InstalledRepositoryInterface;
|
11 |
-
use Composer\Util\Filesystem;
|
12 |
-
|
13 |
-
class Installer extends LibraryInstaller
|
14 |
-
{
|
15 |
-
|
16 |
-
/**
|
17 |
-
* Package types to installer class map
|
18 |
-
*
|
19 |
-
* @var array
|
20 |
-
*/
|
21 |
-
private $supportedTypes = array(
|
22 |
-
'aimeos' => 'AimeosInstaller',
|
23 |
-
'asgard' => 'AsgardInstaller',
|
24 |
-
'attogram' => 'AttogramInstaller',
|
25 |
-
'agl' => 'AglInstaller',
|
26 |
-
'annotatecms' => 'AnnotateCmsInstaller',
|
27 |
-
'bitrix' => 'BitrixInstaller',
|
28 |
-
'bonefish' => 'BonefishInstaller',
|
29 |
-
'cakephp' => 'CakePHPInstaller',
|
30 |
-
'chef' => 'ChefInstaller',
|
31 |
-
'civicrm' => 'CiviCrmInstaller',
|
32 |
-
'ccframework' => 'ClanCatsFrameworkInstaller',
|
33 |
-
'cockpit' => 'CockpitInstaller',
|
34 |
-
'codeigniter' => 'CodeIgniterInstaller',
|
35 |
-
'concrete5' => 'Concrete5Installer',
|
36 |
-
'craft' => 'CraftInstaller',
|
37 |
-
'croogo' => 'CroogoInstaller',
|
38 |
-
'dframe' => 'DframeInstaller',
|
39 |
-
'dokuwiki' => 'DokuWikiInstaller',
|
40 |
-
'dolibarr' => 'DolibarrInstaller',
|
41 |
-
'decibel' => 'DecibelInstaller',
|
42 |
-
'drupal' => 'DrupalInstaller',
|
43 |
-
'elgg' => 'ElggInstaller',
|
44 |
-
'eliasis' => 'EliasisInstaller',
|
45 |
-
'ee3' => 'ExpressionEngineInstaller',
|
46 |
-
'ee2' => 'ExpressionEngineInstaller',
|
47 |
-
'ezplatform' => 'EzPlatformInstaller',
|
48 |
-
'fuel' => 'FuelInstaller',
|
49 |
-
'fuelphp' => 'FuelphpInstaller',
|
50 |
-
'grav' => 'GravInstaller',
|
51 |
-
'hurad' => 'HuradInstaller',
|
52 |
-
'imagecms' => 'ImageCMSInstaller',
|
53 |
-
'itop' => 'ItopInstaller',
|
54 |
-
'joomla' => 'JoomlaInstaller',
|
55 |
-
'kanboard' => 'KanboardInstaller',
|
56 |
-
'kirby' => 'KirbyInstaller',
|
57 |
-
'known' => 'KnownInstaller',
|
58 |
-
'kodicms' => 'KodiCMSInstaller',
|
59 |
-
'kohana' => 'KohanaInstaller',
|
60 |
-
'lms' => 'LanManagementSystemInstaller',
|
61 |
-
'laravel' => 'LaravelInstaller',
|
62 |
-
'lavalite' => 'LavaLiteInstaller',
|
63 |
-
'lithium' => 'LithiumInstaller',
|
64 |
-
'magento' => 'MagentoInstaller',
|
65 |
-
'majima' => 'MajimaInstaller',
|
66 |
-
'mantisbt' => 'MantisBTInstaller',
|
67 |
-
'mako' => 'MakoInstaller',
|
68 |
-
'maya' => 'MayaInstaller',
|
69 |
-
'mautic' => 'MauticInstaller',
|
70 |
-
'mediawiki' => 'MediaWikiInstaller',
|
71 |
-
'microweber' => 'MicroweberInstaller',
|
72 |
-
'modulework' => 'MODULEWorkInstaller',
|
73 |
-
'modx' => 'ModxInstaller',
|
74 |
-
'modxevo' => 'MODXEvoInstaller',
|
75 |
-
'moodle' => 'MoodleInstaller',
|
76 |
-
'october' => 'OctoberInstaller',
|
77 |
-
'ontowiki' => 'OntoWikiInstaller',
|
78 |
-
'oxid' => 'OxidInstaller',
|
79 |
-
'osclass' => 'OsclassInstaller',
|
80 |
-
'pxcms' => 'PxcmsInstaller',
|
81 |
-
'phpbb' => 'PhpBBInstaller',
|
82 |
-
'pimcore' => 'PimcoreInstaller',
|
83 |
-
'piwik' => 'PiwikInstaller',
|
84 |
-
'plentymarkets'=> 'PlentymarketsInstaller',
|
85 |
-
'ppi' => 'PPIInstaller',
|
86 |
-
'puppet' => 'PuppetInstaller',
|
87 |
-
'radphp' => 'RadPHPInstaller',
|
88 |
-
'phifty' => 'PhiftyInstaller',
|
89 |
-
'porto' => 'PortoInstaller',
|
90 |
-
'redaxo' => 'RedaxoInstaller',
|
91 |
-
'redaxo5' => 'Redaxo5Installer',
|
92 |
-
'reindex' => 'ReIndexInstaller',
|
93 |
-
'roundcube' => 'RoundcubeInstaller',
|
94 |
-
'shopware' => 'ShopwareInstaller',
|
95 |
-
'sitedirect' => 'SiteDirectInstaller',
|
96 |
-
'silverstripe' => 'SilverStripeInstaller',
|
97 |
-
'smf' => 'SMFInstaller',
|
98 |
-
'sydes' => 'SyDESInstaller',
|
99 |
-
'symfony1' => 'Symfony1Installer',
|
100 |
-
'tao' => 'TaoInstaller',
|
101 |
-
'thelia' => 'TheliaInstaller',
|
102 |
-
'tusk' => 'TuskInstaller',
|
103 |
-
'typo3-cms' => 'TYPO3CmsInstaller',
|
104 |
-
'typo3-flow' => 'TYPO3FlowInstaller',
|
105 |
-
'userfrosting' => 'UserFrostingInstaller',
|
106 |
-
'vanilla' => 'VanillaInstaller',
|
107 |
-
'whmcs' => 'WHMCSInstaller',
|
108 |
-
'wolfcms' => 'WolfCMSInstaller',
|
109 |
-
'wordpress' => 'WordPressInstaller',
|
110 |
-
'yawik' => 'YawikInstaller',
|
111 |
-
'zend' => 'ZendInstaller',
|
112 |
-
'zikula' => 'ZikulaInstaller',
|
113 |
-
'prestashop' => 'PrestashopInstaller'
|
114 |
-
);
|
115 |
-
|
116 |
-
/**
|
117 |
-
* Installer constructor.
|
118 |
-
*
|
119 |
-
* Disables installers specified in main composer extra installer-disable
|
120 |
-
* list
|
121 |
-
*
|
122 |
-
* @param IOInterface $io
|
123 |
-
* @param Composer $composer
|
124 |
-
* @param string $type
|
125 |
-
* @param Filesystem|null $filesystem
|
126 |
-
* @param BinaryInstaller|null $binaryInstaller
|
127 |
-
*/
|
128 |
-
public function __construct(
|
129 |
-
IOInterface $io,
|
130 |
-
Composer $composer,
|
131 |
-
$type = 'library',
|
132 |
-
Filesystem $filesystem = null,
|
133 |
-
BinaryInstaller $binaryInstaller = null
|
134 |
-
) {
|
135 |
-
parent::__construct($io, $composer, $type, $filesystem,
|
136 |
-
$binaryInstaller);
|
137 |
-
$this->removeDisabledInstallers();
|
138 |
-
}
|
139 |
-
|
140 |
-
/**
|
141 |
-
* {@inheritDoc}
|
142 |
-
*/
|
143 |
-
public function getInstallPath(PackageInterface $package)
|
144 |
-
{
|
145 |
-
$type = $package->getType();
|
146 |
-
$frameworkType = $this->findFrameworkType($type);
|
147 |
-
|
148 |
-
if ($frameworkType === false) {
|
149 |
-
throw new \InvalidArgumentException(
|
150 |
-
'Sorry the package type of this package is not yet supported.'
|
151 |
-
);
|
152 |
-
}
|
153 |
-
|
154 |
-
$class = 'Composer\\Installers\\' . $this->supportedTypes[$frameworkType];
|
155 |
-
$installer = new $class($package, $this->composer, $this->getIO());
|
156 |
-
|
157 |
-
return $installer->getInstallPath($package, $frameworkType);
|
158 |
-
}
|
159 |
-
|
160 |
-
public function uninstall(InstalledRepositoryInterface $repo, PackageInterface $package)
|
161 |
-
{
|
162 |
-
parent::uninstall($repo, $package);
|
163 |
-
$installPath = $this->getPackageBasePath($package);
|
164 |
-
$this->io->write(sprintf('Deleting %s - %s', $installPath, !file_exists($installPath) ? '<comment>deleted</comment>' : '<error>not deleted</error>'));
|
165 |
-
}
|
166 |
-
|
167 |
-
/**
|
168 |
-
* {@inheritDoc}
|
169 |
-
*/
|
170 |
-
public function supports($packageType)
|
171 |
-
{
|
172 |
-
$frameworkType = $this->findFrameworkType($packageType);
|
173 |
-
|
174 |
-
if ($frameworkType === false) {
|
175 |
-
return false;
|
176 |
-
}
|
177 |
-
|
178 |
-
$locationPattern = $this->getLocationPattern($frameworkType);
|
179 |
-
|
180 |
-
return preg_match('#' . $frameworkType . '-' . $locationPattern . '#', $packageType, $matches) === 1;
|
181 |
-
}
|
182 |
-
|
183 |
-
/**
|
184 |
-
* Finds a supported framework type if it exists and returns it
|
185 |
-
*
|
186 |
-
* @param string $type
|
187 |
-
* @return string
|
188 |
-
*/
|
189 |
-
protected function findFrameworkType($type)
|
190 |
-
{
|
191 |
-
$frameworkType = false;
|
192 |
-
|
193 |
-
krsort($this->supportedTypes);
|
194 |
-
|
195 |
-
foreach ($this->supportedTypes as $key => $val) {
|
196 |
-
if ($key === substr($type, 0, strlen($key))) {
|
197 |
-
$frameworkType = substr($type, 0, strlen($key));
|
198 |
-
break;
|
199 |
-
}
|
200 |
-
}
|
201 |
-
|
202 |
-
return $frameworkType;
|
203 |
-
}
|
204 |
-
|
205 |
-
/**
|
206 |
-
* Get the second part of the regular expression to check for support of a
|
207 |
-
* package type
|
208 |
-
*
|
209 |
-
* @param string $frameworkType
|
210 |
-
* @return string
|
211 |
-
*/
|
212 |
-
protected function getLocationPattern($frameworkType)
|
213 |
-
{
|
214 |
-
$pattern = false;
|
215 |
-
if (!empty($this->supportedTypes[$frameworkType])) {
|
216 |
-
$frameworkClass = 'Composer\\Installers\\' . $this->supportedTypes[$frameworkType];
|
217 |
-
/** @var BaseInstaller $framework */
|
218 |
-
$framework = new $frameworkClass(null, $this->composer, $this->getIO());
|
219 |
-
$locations = array_keys($framework->getLocations());
|
220 |
-
$pattern = $locations ? '(' . implode('|', $locations) . ')' : false;
|
221 |
-
}
|
222 |
-
|
223 |
-
return $pattern ? : '(\w+)';
|
224 |
-
}
|
225 |
-
|
226 |
-
/**
|
227 |
-
* Get I/O object
|
228 |
-
*
|
229 |
-
* @return IOInterface
|
230 |
-
*/
|
231 |
-
private function getIO()
|
232 |
-
{
|
233 |
-
return $this->io;
|
234 |
-
}
|
235 |
-
|
236 |
-
/**
|
237 |
-
* Look for installers set to be disabled in composer's extra config and
|
238 |
-
* remove them from the list of supported installers.
|
239 |
-
*
|
240 |
-
* Globals:
|
241 |
-
* - true, "all", and "*" - disable all installers.
|
242 |
-
* - false - enable all installers (useful with
|
243 |
-
* wikimedia/composer-merge-plugin or similar)
|
244 |
-
*
|
245 |
-
* @return void
|
246 |
-
*/
|
247 |
-
protected function removeDisabledInstallers()
|
248 |
-
{
|
249 |
-
$extra = $this->composer->getPackage()->getExtra();
|
250 |
-
|
251 |
-
if (!isset($extra['installer-disable']) || $extra['installer-disable'] === false) {
|
252 |
-
// No installers are disabled
|
253 |
-
return;
|
254 |
-
}
|
255 |
-
|
256 |
-
// Get installers to disable
|
257 |
-
$disable = $extra['installer-disable'];
|
258 |
-
|
259 |
-
// Ensure $disabled is an array
|
260 |
-
if (!is_array($disable)) {
|
261 |
-
$disable = array($disable);
|
262 |
-
}
|
263 |
-
|
264 |
-
// Check which installers should be disabled
|
265 |
-
$all = array(true, "all", "*");
|
266 |
-
$intersect = array_intersect($all, $disable);
|
267 |
-
if (!empty($intersect)) {
|
268 |
-
// Disable all installers
|
269 |
-
$this->supportedTypes = array();
|
270 |
-
} else {
|
271 |
-
// Disable specified installers
|
272 |
-
foreach ($disable as $key => $installer) {
|
273 |
-
if (is_string($installer) && key_exists($installer, $this->supportedTypes)) {
|
274 |
-
unset($this->supportedTypes[$installer]);
|
275 |
-
}
|
276 |
-
}
|
277 |
-
}
|
278 |
-
}
|
279 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/ItopInstaller.php
DELETED
@@ -1,9 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class ItopInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'extension' => 'extensions/{$name}/',
|
8 |
-
);
|
9 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php
DELETED
@@ -1,15 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class JoomlaInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'component' => 'components/{$name}/',
|
8 |
-
'module' => 'modules/{$name}/',
|
9 |
-
'template' => 'templates/{$name}/',
|
10 |
-
'plugin' => 'plugins/{$name}/',
|
11 |
-
'library' => 'libraries/{$name}/',
|
12 |
-
);
|
13 |
-
|
14 |
-
// TODO: Add inflector for mod_ and com_ names
|
15 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php
DELETED
@@ -1,18 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
/**
|
5 |
-
*
|
6 |
-
* Installer for kanboard plugins
|
7 |
-
*
|
8 |
-
* kanboard.net
|
9 |
-
*
|
10 |
-
* Class KanboardInstaller
|
11 |
-
* @package Composer\Installers
|
12 |
-
*/
|
13 |
-
class KanboardInstaller extends BaseInstaller
|
14 |
-
{
|
15 |
-
protected $locations = array(
|
16 |
-
'plugin' => 'plugins/{$name}/',
|
17 |
-
);
|
18 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class KirbyInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'plugin' => 'site/plugins/{$name}/',
|
8 |
-
'field' => 'site/fields/{$name}/',
|
9 |
-
'tag' => 'site/tags/{$name}/'
|
10 |
-
);
|
11 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/KnownInstaller.php
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class KnownInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'plugin' => 'IdnoPlugins/{$name}/',
|
8 |
-
'theme' => 'Themes/{$name}/',
|
9 |
-
'console' => 'ConsolePlugins/{$name}/',
|
10 |
-
);
|
11 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class KodiCMSInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'plugin' => 'cms/plugins/{$name}/',
|
8 |
-
'media' => 'cms/media/vendor/{$name}/'
|
9 |
-
);
|
10 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php
DELETED
@@ -1,9 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class KohanaInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'module' => 'modules/{$name}/',
|
8 |
-
);
|
9 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php
DELETED
@@ -1,27 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
namespace Composer\Installers;
|
4 |
-
|
5 |
-
class LanManagementSystemInstaller extends BaseInstaller
|
6 |
-
{
|
7 |
-
|
8 |
-
protected $locations = array(
|
9 |
-
'plugin' => 'plugins/{$name}/',
|
10 |
-
'template' => 'templates/{$name}/',
|
11 |
-
'document-template' => 'documents/templates/{$name}/',
|
12 |
-
'userpanel-module' => 'userpanel/modules/{$name}/',
|
13 |
-
);
|
14 |
-
|
15 |
-
/**
|
16 |
-
* Format package name to CamelCase
|
17 |
-
*/
|
18 |
-
public function inflectPackageVars($vars)
|
19 |
-
{
|
20 |
-
$vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
|
21 |
-
$vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
|
22 |
-
$vars['name'] = str_replace(' ', '', ucwords($vars['name']));
|
23 |
-
|
24 |
-
return $vars;
|
25 |
-
}
|
26 |
-
|
27 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php
DELETED
@@ -1,9 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class LaravelInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'library' => 'libraries/{$name}/',
|
8 |
-
);
|
9 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class LavaLiteInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'package' => 'packages/{$vendor}/{$name}/',
|
8 |
-
'theme' => 'public/themes/{$name}/',
|
9 |
-
);
|
10 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class LithiumInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'library' => 'libraries/{$name}/',
|
8 |
-
'source' => 'libraries/_source/{$name}/',
|
9 |
-
);
|
10 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php
DELETED
@@ -1,9 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class MODULEWorkInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'module' => 'modules/{$name}/',
|
8 |
-
);
|
9 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php
DELETED
@@ -1,16 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
/**
|
5 |
-
* An installer to handle MODX Evolution specifics when installing packages.
|
6 |
-
*/
|
7 |
-
class MODXEvoInstaller extends BaseInstaller
|
8 |
-
{
|
9 |
-
protected $locations = array(
|
10 |
-
'snippet' => 'assets/snippets/{$name}/',
|
11 |
-
'plugin' => 'assets/plugins/{$name}/',
|
12 |
-
'module' => 'assets/modules/{$name}/',
|
13 |
-
'template' => 'assets/templates/{$name}/',
|
14 |
-
'lib' => 'assets/lib/{$name}/'
|
15 |
-
);
|
16 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class MagentoInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'theme' => 'app/design/frontend/{$name}/',
|
8 |
-
'skin' => 'skin/frontend/default/{$name}/',
|
9 |
-
'library' => 'lib/{$name}/',
|
10 |
-
);
|
11 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php
DELETED
@@ -1,37 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
/**
|
5 |
-
* Plugin/theme installer for majima
|
6 |
-
* @author David Neustadt
|
7 |
-
*/
|
8 |
-
class MajimaInstaller extends BaseInstaller
|
9 |
-
{
|
10 |
-
protected $locations = array(
|
11 |
-
'plugin' => 'plugins/{$name}/',
|
12 |
-
);
|
13 |
-
|
14 |
-
/**
|
15 |
-
* Transforms the names
|
16 |
-
* @param array $vars
|
17 |
-
* @return array
|
18 |
-
*/
|
19 |
-
public function inflectPackageVars($vars)
|
20 |
-
{
|
21 |
-
return $this->correctPluginName($vars);
|
22 |
-
}
|
23 |
-
|
24 |
-
/**
|
25 |
-
* Change hyphenated names to camelcase
|
26 |
-
* @param array $vars
|
27 |
-
* @return array
|
28 |
-
*/
|
29 |
-
private function correctPluginName($vars)
|
30 |
-
{
|
31 |
-
$camelCasedName = preg_replace_callback('/(-[a-z])/', function ($matches) {
|
32 |
-
return strtoupper($matches[0][1]);
|
33 |
-
}, $vars['name']);
|
34 |
-
$vars['name'] = ucfirst($camelCasedName);
|
35 |
-
return $vars;
|
36 |
-
}
|
37 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/MakoInstaller.php
DELETED
@@ -1,9 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class MakoInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'package' => 'app/packages/{$name}/',
|
8 |
-
);
|
9 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/MantisBTInstaller.php
DELETED
@@ -1,23 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
use Composer\DependencyResolver\Pool;
|
5 |
-
|
6 |
-
class MantisBTInstaller extends BaseInstaller
|
7 |
-
{
|
8 |
-
protected $locations = array(
|
9 |
-
'plugin' => 'plugins/{$name}/',
|
10 |
-
);
|
11 |
-
|
12 |
-
/**
|
13 |
-
* Format package name to CamelCase
|
14 |
-
*/
|
15 |
-
public function inflectPackageVars($vars)
|
16 |
-
{
|
17 |
-
$vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
|
18 |
-
$vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
|
19 |
-
$vars['name'] = str_replace(' ', '', ucwords($vars['name']));
|
20 |
-
|
21 |
-
return $vars;
|
22 |
-
}
|
23 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/MauticInstaller.php
DELETED
@@ -1,25 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class MauticInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'plugin' => 'plugins/{$name}/',
|
8 |
-
'theme' => 'themes/{$name}/',
|
9 |
-
);
|
10 |
-
|
11 |
-
/**
|
12 |
-
* Format package name of mautic-plugins to CamelCase
|
13 |
-
*/
|
14 |
-
public function inflectPackageVars($vars)
|
15 |
-
{
|
16 |
-
if ($vars['type'] == 'mautic-plugin') {
|
17 |
-
$vars['name'] = preg_replace_callback('/(-[a-z])/', function ($matches) {
|
18 |
-
return strtoupper($matches[0][1]);
|
19 |
-
}, ucfirst($vars['name']));
|
20 |
-
}
|
21 |
-
|
22 |
-
return $vars;
|
23 |
-
}
|
24 |
-
|
25 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/MayaInstaller.php
DELETED
@@ -1,33 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class MayaInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'module' => 'modules/{$name}/',
|
8 |
-
);
|
9 |
-
|
10 |
-
/**
|
11 |
-
* Format package name.
|
12 |
-
*
|
13 |
-
* For package type maya-module, cut off a trailing '-module' if present.
|
14 |
-
*
|
15 |
-
*/
|
16 |
-
public function inflectPackageVars($vars)
|
17 |
-
{
|
18 |
-
if ($vars['type'] === 'maya-module') {
|
19 |
-
return $this->inflectModuleVars($vars);
|
20 |
-
}
|
21 |
-
|
22 |
-
return $vars;
|
23 |
-
}
|
24 |
-
|
25 |
-
protected function inflectModuleVars($vars)
|
26 |
-
{
|
27 |
-
$vars['name'] = preg_replace('/-module$/', '', $vars['name']);
|
28 |
-
$vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
|
29 |
-
$vars['name'] = str_replace(' ', '', ucwords($vars['name']));
|
30 |
-
|
31 |
-
return $vars;
|
32 |
-
}
|
33 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php
DELETED
@@ -1,51 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class MediaWikiInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'core' => 'core/',
|
8 |
-
'extension' => 'extensions/{$name}/',
|
9 |
-
'skin' => 'skins/{$name}/',
|
10 |
-
);
|
11 |
-
|
12 |
-
/**
|
13 |
-
* Format package name.
|
14 |
-
*
|
15 |
-
* For package type mediawiki-extension, cut off a trailing '-extension' if present and transform
|
16 |
-
* to CamelCase keeping existing uppercase chars.
|
17 |
-
*
|
18 |
-
* For package type mediawiki-skin, cut off a trailing '-skin' if present.
|
19 |
-
*
|
20 |
-
*/
|
21 |
-
public function inflectPackageVars($vars)
|
22 |
-
{
|
23 |
-
|
24 |
-
if ($vars['type'] === 'mediawiki-extension') {
|
25 |
-
return $this->inflectExtensionVars($vars);
|
26 |
-
}
|
27 |
-
|
28 |
-
if ($vars['type'] === 'mediawiki-skin') {
|
29 |
-
return $this->inflectSkinVars($vars);
|
30 |
-
}
|
31 |
-
|
32 |
-
return $vars;
|
33 |
-
}
|
34 |
-
|
35 |
-
protected function inflectExtensionVars($vars)
|
36 |
-
{
|
37 |
-
$vars['name'] = preg_replace('/-extension$/', '', $vars['name']);
|
38 |
-
$vars['name'] = str_replace('-', ' ', $vars['name']);
|
39 |
-
$vars['name'] = str_replace(' ', '', ucwords($vars['name']));
|
40 |
-
|
41 |
-
return $vars;
|
42 |
-
}
|
43 |
-
|
44 |
-
protected function inflectSkinVars($vars)
|
45 |
-
{
|
46 |
-
$vars['name'] = preg_replace('/-skin$/', '', $vars['name']);
|
47 |
-
|
48 |
-
return $vars;
|
49 |
-
}
|
50 |
-
|
51 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php
DELETED
@@ -1,119 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class MicroweberInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'module' => 'userfiles/modules/{$install_item_dir}/',
|
8 |
-
'module-skin' => 'userfiles/modules/{$install_item_dir}/templates/',
|
9 |
-
'template' => 'userfiles/templates/{$install_item_dir}/',
|
10 |
-
'element' => 'userfiles/elements/{$install_item_dir}/',
|
11 |
-
'vendor' => 'vendor/{$install_item_dir}/',
|
12 |
-
'components' => 'components/{$install_item_dir}/'
|
13 |
-
);
|
14 |
-
|
15 |
-
/**
|
16 |
-
* Format package name.
|
17 |
-
*
|
18 |
-
* For package type microweber-module, cut off a trailing '-module' if present
|
19 |
-
*
|
20 |
-
* For package type microweber-template, cut off a trailing '-template' if present.
|
21 |
-
*
|
22 |
-
*/
|
23 |
-
public function inflectPackageVars($vars)
|
24 |
-
{
|
25 |
-
|
26 |
-
|
27 |
-
if ($this->package->getTargetDir()) {
|
28 |
-
$vars['install_item_dir'] = $this->package->getTargetDir();
|
29 |
-
} else {
|
30 |
-
$vars['install_item_dir'] = $vars['name'];
|
31 |
-
if ($vars['type'] === 'microweber-template') {
|
32 |
-
return $this->inflectTemplateVars($vars);
|
33 |
-
}
|
34 |
-
if ($vars['type'] === 'microweber-templates') {
|
35 |
-
return $this->inflectTemplatesVars($vars);
|
36 |
-
}
|
37 |
-
if ($vars['type'] === 'microweber-core') {
|
38 |
-
return $this->inflectCoreVars($vars);
|
39 |
-
}
|
40 |
-
if ($vars['type'] === 'microweber-adapter') {
|
41 |
-
return $this->inflectCoreVars($vars);
|
42 |
-
}
|
43 |
-
if ($vars['type'] === 'microweber-module') {
|
44 |
-
return $this->inflectModuleVars($vars);
|
45 |
-
}
|
46 |
-
if ($vars['type'] === 'microweber-modules') {
|
47 |
-
return $this->inflectModulesVars($vars);
|
48 |
-
}
|
49 |
-
if ($vars['type'] === 'microweber-skin') {
|
50 |
-
return $this->inflectSkinVars($vars);
|
51 |
-
}
|
52 |
-
if ($vars['type'] === 'microweber-element' or $vars['type'] === 'microweber-elements') {
|
53 |
-
return $this->inflectElementVars($vars);
|
54 |
-
}
|
55 |
-
}
|
56 |
-
|
57 |
-
|
58 |
-
return $vars;
|
59 |
-
}
|
60 |
-
|
61 |
-
protected function inflectTemplateVars($vars)
|
62 |
-
{
|
63 |
-
$vars['install_item_dir'] = preg_replace('/-template$/', '', $vars['install_item_dir']);
|
64 |
-
$vars['install_item_dir'] = preg_replace('/template-$/', '', $vars['install_item_dir']);
|
65 |
-
|
66 |
-
return $vars;
|
67 |
-
}
|
68 |
-
|
69 |
-
protected function inflectTemplatesVars($vars)
|
70 |
-
{
|
71 |
-
$vars['install_item_dir'] = preg_replace('/-templates$/', '', $vars['install_item_dir']);
|
72 |
-
$vars['install_item_dir'] = preg_replace('/templates-$/', '', $vars['install_item_dir']);
|
73 |
-
|
74 |
-
return $vars;
|
75 |
-
}
|
76 |
-
|
77 |
-
protected function inflectCoreVars($vars)
|
78 |
-
{
|
79 |
-
$vars['install_item_dir'] = preg_replace('/-providers$/', '', $vars['install_item_dir']);
|
80 |
-
$vars['install_item_dir'] = preg_replace('/-provider$/', '', $vars['install_item_dir']);
|
81 |
-
$vars['install_item_dir'] = preg_replace('/-adapter$/', '', $vars['install_item_dir']);
|
82 |
-
|
83 |
-
return $vars;
|
84 |
-
}
|
85 |
-
|
86 |
-
protected function inflectModuleVars($vars)
|
87 |
-
{
|
88 |
-
$vars['install_item_dir'] = preg_replace('/-module$/', '', $vars['install_item_dir']);
|
89 |
-
$vars['install_item_dir'] = preg_replace('/module-$/', '', $vars['install_item_dir']);
|
90 |
-
|
91 |
-
return $vars;
|
92 |
-
}
|
93 |
-
|
94 |
-
protected function inflectModulesVars($vars)
|
95 |
-
{
|
96 |
-
$vars['install_item_dir'] = preg_replace('/-modules$/', '', $vars['install_item_dir']);
|
97 |
-
$vars['install_item_dir'] = preg_replace('/modules-$/', '', $vars['install_item_dir']);
|
98 |
-
|
99 |
-
return $vars;
|
100 |
-
}
|
101 |
-
|
102 |
-
protected function inflectSkinVars($vars)
|
103 |
-
{
|
104 |
-
$vars['install_item_dir'] = preg_replace('/-skin$/', '', $vars['install_item_dir']);
|
105 |
-
$vars['install_item_dir'] = preg_replace('/skin-$/', '', $vars['install_item_dir']);
|
106 |
-
|
107 |
-
return $vars;
|
108 |
-
}
|
109 |
-
|
110 |
-
protected function inflectElementVars($vars)
|
111 |
-
{
|
112 |
-
$vars['install_item_dir'] = preg_replace('/-elements$/', '', $vars['install_item_dir']);
|
113 |
-
$vars['install_item_dir'] = preg_replace('/elements-$/', '', $vars['install_item_dir']);
|
114 |
-
$vars['install_item_dir'] = preg_replace('/-element$/', '', $vars['install_item_dir']);
|
115 |
-
$vars['install_item_dir'] = preg_replace('/element-$/', '', $vars['install_item_dir']);
|
116 |
-
|
117 |
-
return $vars;
|
118 |
-
}
|
119 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/ModxInstaller.php
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
/**
|
5 |
-
* An installer to handle MODX specifics when installing packages.
|
6 |
-
*/
|
7 |
-
class ModxInstaller extends BaseInstaller
|
8 |
-
{
|
9 |
-
protected $locations = array(
|
10 |
-
'extra' => 'core/packages/{$name}/'
|
11 |
-
);
|
12 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php
DELETED
@@ -1,58 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class MoodleInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'mod' => 'mod/{$name}/',
|
8 |
-
'admin_report' => 'admin/report/{$name}/',
|
9 |
-
'atto' => 'lib/editor/atto/plugins/{$name}/',
|
10 |
-
'tool' => 'admin/tool/{$name}/',
|
11 |
-
'assignment' => 'mod/assignment/type/{$name}/',
|
12 |
-
'assignsubmission' => 'mod/assign/submission/{$name}/',
|
13 |
-
'assignfeedback' => 'mod/assign/feedback/{$name}/',
|
14 |
-
'auth' => 'auth/{$name}/',
|
15 |
-
'availability' => 'availability/condition/{$name}/',
|
16 |
-
'block' => 'blocks/{$name}/',
|
17 |
-
'booktool' => 'mod/book/tool/{$name}/',
|
18 |
-
'cachestore' => 'cache/stores/{$name}/',
|
19 |
-
'cachelock' => 'cache/locks/{$name}/',
|
20 |
-
'calendartype' => 'calendar/type/{$name}/',
|
21 |
-
'format' => 'course/format/{$name}/',
|
22 |
-
'coursereport' => 'course/report/{$name}/',
|
23 |
-
'customcertelement' => 'mod/customcert/element/{$name}/',
|
24 |
-
'datafield' => 'mod/data/field/{$name}/',
|
25 |
-
'datapreset' => 'mod/data/preset/{$name}/',
|
26 |
-
'editor' => 'lib/editor/{$name}/',
|
27 |
-
'enrol' => 'enrol/{$name}/',
|
28 |
-
'filter' => 'filter/{$name}/',
|
29 |
-
'gradeexport' => 'grade/export/{$name}/',
|
30 |
-
'gradeimport' => 'grade/import/{$name}/',
|
31 |
-
'gradereport' => 'grade/report/{$name}/',
|
32 |
-
'gradingform' => 'grade/grading/form/{$name}/',
|
33 |
-
'local' => 'local/{$name}/',
|
34 |
-
'logstore' => 'admin/tool/log/store/{$name}/',
|
35 |
-
'ltisource' => 'mod/lti/source/{$name}/',
|
36 |
-
'ltiservice' => 'mod/lti/service/{$name}/',
|
37 |
-
'message' => 'message/output/{$name}/',
|
38 |
-
'mnetservice' => 'mnet/service/{$name}/',
|
39 |
-
'plagiarism' => 'plagiarism/{$name}/',
|
40 |
-
'portfolio' => 'portfolio/{$name}/',
|
41 |
-
'qbehaviour' => 'question/behaviour/{$name}/',
|
42 |
-
'qformat' => 'question/format/{$name}/',
|
43 |
-
'qtype' => 'question/type/{$name}/',
|
44 |
-
'quizaccess' => 'mod/quiz/accessrule/{$name}/',
|
45 |
-
'quiz' => 'mod/quiz/report/{$name}/',
|
46 |
-
'report' => 'report/{$name}/',
|
47 |
-
'repository' => 'repository/{$name}/',
|
48 |
-
'scormreport' => 'mod/scorm/report/{$name}/',
|
49 |
-
'search' => 'search/engine/{$name}/',
|
50 |
-
'theme' => 'theme/{$name}/',
|
51 |
-
'tinymce' => 'lib/editor/tinymce/plugins/{$name}/',
|
52 |
-
'profilefield' => 'user/profile/field/{$name}/',
|
53 |
-
'webservice' => 'webservice/{$name}/',
|
54 |
-
'workshopallocation' => 'mod/workshop/allocation/{$name}/',
|
55 |
-
'workshopeval' => 'mod/workshop/eval/{$name}/',
|
56 |
-
'workshopform' => 'mod/workshop/form/{$name}/'
|
57 |
-
);
|
58 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php
DELETED
@@ -1,47 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class OctoberInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'module' => 'modules/{$name}/',
|
8 |
-
'plugin' => 'plugins/{$vendor}/{$name}/',
|
9 |
-
'theme' => 'themes/{$name}/'
|
10 |
-
);
|
11 |
-
|
12 |
-
/**
|
13 |
-
* Format package name.
|
14 |
-
*
|
15 |
-
* For package type october-plugin, cut off a trailing '-plugin' if present.
|
16 |
-
*
|
17 |
-
* For package type october-theme, cut off a trailing '-theme' if present.
|
18 |
-
*
|
19 |
-
*/
|
20 |
-
public function inflectPackageVars($vars)
|
21 |
-
{
|
22 |
-
if ($vars['type'] === 'october-plugin') {
|
23 |
-
return $this->inflectPluginVars($vars);
|
24 |
-
}
|
25 |
-
|
26 |
-
if ($vars['type'] === 'october-theme') {
|
27 |
-
return $this->inflectThemeVars($vars);
|
28 |
-
}
|
29 |
-
|
30 |
-
return $vars;
|
31 |
-
}
|
32 |
-
|
33 |
-
protected function inflectPluginVars($vars)
|
34 |
-
{
|
35 |
-
$vars['name'] = preg_replace('/^oc-|-plugin$/', '', $vars['name']);
|
36 |
-
$vars['vendor'] = preg_replace('/[^a-z0-9_]/i', '', $vars['vendor']);
|
37 |
-
|
38 |
-
return $vars;
|
39 |
-
}
|
40 |
-
|
41 |
-
protected function inflectThemeVars($vars)
|
42 |
-
{
|
43 |
-
$vars['name'] = preg_replace('/^oc-|-theme$/', '', $vars['name']);
|
44 |
-
|
45 |
-
return $vars;
|
46 |
-
}
|
47 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php
DELETED
@@ -1,24 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class OntoWikiInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'extension' => 'extensions/{$name}/',
|
8 |
-
'theme' => 'extensions/themes/{$name}/',
|
9 |
-
'translation' => 'extensions/translations/{$name}/',
|
10 |
-
);
|
11 |
-
|
12 |
-
/**
|
13 |
-
* Format package name to lower case and remove ".ontowiki" suffix
|
14 |
-
*/
|
15 |
-
public function inflectPackageVars($vars)
|
16 |
-
{
|
17 |
-
$vars['name'] = strtolower($vars['name']);
|
18 |
-
$vars['name'] = preg_replace('/.ontowiki$/', '', $vars['name']);
|
19 |
-
$vars['name'] = preg_replace('/-theme$/', '', $vars['name']);
|
20 |
-
$vars['name'] = preg_replace('/-translation$/', '', $vars['name']);
|
21 |
-
|
22 |
-
return $vars;
|
23 |
-
}
|
24 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php
DELETED
@@ -1,14 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
|
5 |
-
class OsclassInstaller extends BaseInstaller
|
6 |
-
{
|
7 |
-
|
8 |
-
protected $locations = array(
|
9 |
-
'plugin' => 'oc-content/plugins/{$name}/',
|
10 |
-
'theme' => 'oc-content/themes/{$name}/',
|
11 |
-
'language' => 'oc-content/languages/{$name}/',
|
12 |
-
);
|
13 |
-
|
14 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/OxidInstaller.php
DELETED
@@ -1,59 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
use Composer\Package\PackageInterface;
|
5 |
-
|
6 |
-
class OxidInstaller extends BaseInstaller
|
7 |
-
{
|
8 |
-
const VENDOR_PATTERN = '/^modules\/(?P<vendor>.+)\/.+/';
|
9 |
-
|
10 |
-
protected $locations = array(
|
11 |
-
'module' => 'modules/{$name}/',
|
12 |
-
'theme' => 'application/views/{$name}/',
|
13 |
-
'out' => 'out/{$name}/',
|
14 |
-
);
|
15 |
-
|
16 |
-
/**
|
17 |
-
* getInstallPath
|
18 |
-
*
|
19 |
-
* @param PackageInterface $package
|
20 |
-
* @param string $frameworkType
|
21 |
-
* @return void
|
22 |
-
*/
|
23 |
-
public function getInstallPath(PackageInterface $package, $frameworkType = '')
|
24 |
-
{
|
25 |
-
$installPath = parent::getInstallPath($package, $frameworkType);
|
26 |
-
$type = $this->package->getType();
|
27 |
-
if ($type === 'oxid-module') {
|
28 |
-
$this->prepareVendorDirectory($installPath);
|
29 |
-
}
|
30 |
-
return $installPath;
|
31 |
-
}
|
32 |
-
|
33 |
-
/**
|
34 |
-
* prepareVendorDirectory
|
35 |
-
*
|
36 |
-
* Makes sure there is a vendormetadata.php file inside
|
37 |
-
* the vendor folder if there is a vendor folder.
|
38 |
-
*
|
39 |
-
* @param string $installPath
|
40 |
-
* @return void
|
41 |
-
*/
|
42 |
-
protected function prepareVendorDirectory($installPath)
|
43 |
-
{
|
44 |
-
$matches = '';
|
45 |
-
$hasVendorDirectory = preg_match(self::VENDOR_PATTERN, $installPath, $matches);
|
46 |
-
if (!$hasVendorDirectory) {
|
47 |
-
return;
|
48 |
-
}
|
49 |
-
|
50 |
-
$vendorDirectory = $matches['vendor'];
|
51 |
-
$vendorPath = getcwd() . '/modules/' . $vendorDirectory;
|
52 |
-
if (!file_exists($vendorPath)) {
|
53 |
-
mkdir($vendorPath, 0755, true);
|
54 |
-
}
|
55 |
-
|
56 |
-
$vendorMetaDataPath = $vendorPath . '/vendormetadata.php';
|
57 |
-
touch($vendorMetaDataPath);
|
58 |
-
}
|
59 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/PPIInstaller.php
DELETED
@@ -1,9 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class PPIInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'module' => 'modules/{$name}/',
|
8 |
-
);
|
9 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class PhiftyInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'bundle' => 'bundles/{$name}/',
|
8 |
-
'library' => 'libraries/{$name}/',
|
9 |
-
'framework' => 'frameworks/{$name}/',
|
10 |
-
);
|
11 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class PhpBBInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'extension' => 'ext/{$vendor}/{$name}/',
|
8 |
-
'language' => 'language/{$name}/',
|
9 |
-
'style' => 'styles/{$name}/',
|
10 |
-
);
|
11 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php
DELETED
@@ -1,21 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class PimcoreInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'plugin' => 'plugins/{$name}/',
|
8 |
-
);
|
9 |
-
|
10 |
-
/**
|
11 |
-
* Format package name to CamelCase
|
12 |
-
*/
|
13 |
-
public function inflectPackageVars($vars)
|
14 |
-
{
|
15 |
-
$vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
|
16 |
-
$vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
|
17 |
-
$vars['name'] = str_replace(' ', '', ucwords($vars['name']));
|
18 |
-
|
19 |
-
return $vars;
|
20 |
-
}
|
21 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php
DELETED
@@ -1,32 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
/**
|
5 |
-
* Class PiwikInstaller
|
6 |
-
*
|
7 |
-
* @package Composer\Installers
|
8 |
-
*/
|
9 |
-
class PiwikInstaller extends BaseInstaller
|
10 |
-
{
|
11 |
-
/**
|
12 |
-
* @var array
|
13 |
-
*/
|
14 |
-
protected $locations = array(
|
15 |
-
'plugin' => 'plugins/{$name}/',
|
16 |
-
);
|
17 |
-
|
18 |
-
/**
|
19 |
-
* Format package name to CamelCase
|
20 |
-
* @param array $vars
|
21 |
-
*
|
22 |
-
* @return array
|
23 |
-
*/
|
24 |
-
public function inflectPackageVars($vars)
|
25 |
-
{
|
26 |
-
$vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
|
27 |
-
$vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
|
28 |
-
$vars['name'] = str_replace(' ', '', ucwords($vars['name']));
|
29 |
-
|
30 |
-
return $vars;
|
31 |
-
}
|
32 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php
DELETED
@@ -1,29 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class PlentymarketsInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'plugin' => '{$name}/'
|
8 |
-
);
|
9 |
-
|
10 |
-
/**
|
11 |
-
* Remove hyphen, "plugin" and format to camelcase
|
12 |
-
* @param array $vars
|
13 |
-
*
|
14 |
-
* @return array
|
15 |
-
*/
|
16 |
-
public function inflectPackageVars($vars)
|
17 |
-
{
|
18 |
-
$vars['name'] = explode("-", $vars['name']);
|
19 |
-
foreach ($vars['name'] as $key => $name) {
|
20 |
-
$vars['name'][$key] = ucfirst($vars['name'][$key]);
|
21 |
-
if (strcasecmp($name, "Plugin") == 0) {
|
22 |
-
unset($vars['name'][$key]);
|
23 |
-
}
|
24 |
-
}
|
25 |
-
$vars['name'] = implode("",$vars['name']);
|
26 |
-
|
27 |
-
return $vars;
|
28 |
-
}
|
29 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/Plugin.php
DELETED
@@ -1,17 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
namespace Composer\Installers;
|
4 |
-
|
5 |
-
use Composer\Composer;
|
6 |
-
use Composer\IO\IOInterface;
|
7 |
-
use Composer\Plugin\PluginInterface;
|
8 |
-
|
9 |
-
class Plugin implements PluginInterface
|
10 |
-
{
|
11 |
-
|
12 |
-
public function activate(Composer $composer, IOInterface $io)
|
13 |
-
{
|
14 |
-
$installer = new Installer($io, $composer);
|
15 |
-
$composer->getInstallationManager()->addInstaller($installer);
|
16 |
-
}
|
17 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/PortoInstaller.php
DELETED
@@ -1,9 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class PortoInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'container' => 'app/Containers/{$name}/',
|
8 |
-
);
|
9 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class PrestashopInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'module' => 'modules/{$name}/',
|
8 |
-
'theme' => 'themes/{$name}/',
|
9 |
-
);
|
10 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
namespace Composer\Installers;
|
4 |
-
|
5 |
-
class PuppetInstaller extends BaseInstaller
|
6 |
-
{
|
7 |
-
|
8 |
-
protected $locations = array(
|
9 |
-
'module' => 'modules/{$name}/',
|
10 |
-
);
|
11 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php
DELETED
@@ -1,63 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class PxcmsInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'module' => 'app/Modules/{$name}/',
|
8 |
-
'theme' => 'themes/{$name}/',
|
9 |
-
);
|
10 |
-
|
11 |
-
/**
|
12 |
-
* Format package name.
|
13 |
-
*
|
14 |
-
* @param array $vars
|
15 |
-
*
|
16 |
-
* @return array
|
17 |
-
*/
|
18 |
-
public function inflectPackageVars($vars)
|
19 |
-
{
|
20 |
-
if ($vars['type'] === 'pxcms-module') {
|
21 |
-
return $this->inflectModuleVars($vars);
|
22 |
-
}
|
23 |
-
|
24 |
-
if ($vars['type'] === 'pxcms-theme') {
|
25 |
-
return $this->inflectThemeVars($vars);
|
26 |
-
}
|
27 |
-
|
28 |
-
return $vars;
|
29 |
-
}
|
30 |
-
|
31 |
-
/**
|
32 |
-
* For package type pxcms-module, cut off a trailing '-plugin' if present.
|
33 |
-
*
|
34 |
-
* return string
|
35 |
-
*/
|
36 |
-
protected function inflectModuleVars($vars)
|
37 |
-
{
|
38 |
-
$vars['name'] = str_replace('pxcms-', '', $vars['name']); // strip out pxcms- just incase (legacy)
|
39 |
-
$vars['name'] = str_replace('module-', '', $vars['name']); // strip out module-
|
40 |
-
$vars['name'] = preg_replace('/-module$/', '', $vars['name']); // strip out -module
|
41 |
-
$vars['name'] = str_replace('-', '_', $vars['name']); // make -'s be _'s
|
42 |
-
$vars['name'] = ucwords($vars['name']); // make module name camelcased
|
43 |
-
|
44 |
-
return $vars;
|
45 |
-
}
|
46 |
-
|
47 |
-
|
48 |
-
/**
|
49 |
-
* For package type pxcms-module, cut off a trailing '-plugin' if present.
|
50 |
-
*
|
51 |
-
* return string
|
52 |
-
*/
|
53 |
-
protected function inflectThemeVars($vars)
|
54 |
-
{
|
55 |
-
$vars['name'] = str_replace('pxcms-', '', $vars['name']); // strip out pxcms- just incase (legacy)
|
56 |
-
$vars['name'] = str_replace('theme-', '', $vars['name']); // strip out theme-
|
57 |
-
$vars['name'] = preg_replace('/-theme$/', '', $vars['name']); // strip out -theme
|
58 |
-
$vars['name'] = str_replace('-', '_', $vars['name']); // make -'s be _'s
|
59 |
-
$vars['name'] = ucwords($vars['name']); // make module name camelcased
|
60 |
-
|
61 |
-
return $vars;
|
62 |
-
}
|
63 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php
DELETED
@@ -1,24 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class RadPHPInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'bundle' => 'src/{$name}/'
|
8 |
-
);
|
9 |
-
|
10 |
-
/**
|
11 |
-
* Format package name to CamelCase
|
12 |
-
*/
|
13 |
-
public function inflectPackageVars($vars)
|
14 |
-
{
|
15 |
-
$nameParts = explode('/', $vars['name']);
|
16 |
-
foreach ($nameParts as &$value) {
|
17 |
-
$value = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $value));
|
18 |
-
$value = str_replace(array('-', '_'), ' ', $value);
|
19 |
-
$value = str_replace(' ', '', ucwords($value));
|
20 |
-
}
|
21 |
-
$vars['name'] = implode('/', $nameParts);
|
22 |
-
return $vars;
|
23 |
-
}
|
24 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class ReIndexInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'theme' => 'themes/{$name}/',
|
8 |
-
'plugin' => 'plugins/{$name}/'
|
9 |
-
);
|
10 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class Redaxo5Installer extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'addon' => 'redaxo/src/addons/{$name}/',
|
8 |
-
'bestyle-plugin' => 'redaxo/src/addons/be_style/plugins/{$name}/'
|
9 |
-
);
|
10 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class RedaxoInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'addon' => 'redaxo/include/addons/{$name}/',
|
8 |
-
'bestyle-plugin' => 'redaxo/include/addons/be_style/plugins/{$name}/'
|
9 |
-
);
|
10 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php
DELETED
@@ -1,22 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class RoundcubeInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'plugin' => 'plugins/{$name}/',
|
8 |
-
);
|
9 |
-
|
10 |
-
/**
|
11 |
-
* Lowercase name and changes the name to a underscores
|
12 |
-
*
|
13 |
-
* @param array $vars
|
14 |
-
* @return array
|
15 |
-
*/
|
16 |
-
public function inflectPackageVars($vars)
|
17 |
-
{
|
18 |
-
$vars['name'] = strtolower(str_replace('-', '_', $vars['name']));
|
19 |
-
|
20 |
-
return $vars;
|
21 |
-
}
|
22 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/SMFInstaller.php
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class SMFInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'module' => 'Sources/{$name}/',
|
8 |
-
'theme' => 'Themes/{$name}/',
|
9 |
-
);
|
10 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php
DELETED
@@ -1,60 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
/**
|
5 |
-
* Plugin/theme installer for shopware
|
6 |
-
* @author Benjamin Boit
|
7 |
-
*/
|
8 |
-
class ShopwareInstaller extends BaseInstaller
|
9 |
-
{
|
10 |
-
protected $locations = array(
|
11 |
-
'backend-plugin' => 'engine/Shopware/Plugins/Local/Backend/{$name}/',
|
12 |
-
'core-plugin' => 'engine/Shopware/Plugins/Local/Core/{$name}/',
|
13 |
-
'frontend-plugin' => 'engine/Shopware/Plugins/Local/Frontend/{$name}/',
|
14 |
-
'theme' => 'templates/{$name}/',
|
15 |
-
'plugin' => 'custom/plugins/{$name}/',
|
16 |
-
'frontend-theme' => 'themes/Frontend/{$name}/',
|
17 |
-
);
|
18 |
-
|
19 |
-
/**
|
20 |
-
* Transforms the names
|
21 |
-
* @param array $vars
|
22 |
-
* @return array
|
23 |
-
*/
|
24 |
-
public function inflectPackageVars($vars)
|
25 |
-
{
|
26 |
-
if ($vars['type'] === 'shopware-theme') {
|
27 |
-
return $this->correctThemeName($vars);
|
28 |
-
}
|
29 |
-
|
30 |
-
return $this->correctPluginName($vars);
|
31 |
-
}
|
32 |
-
|
33 |
-
/**
|
34 |
-
* Changes the name to a camelcased combination of vendor and name
|
35 |
-
* @param array $vars
|
36 |
-
* @return array
|
37 |
-
*/
|
38 |
-
private function correctPluginName($vars)
|
39 |
-
{
|
40 |
-
$camelCasedName = preg_replace_callback('/(-[a-z])/', function ($matches) {
|
41 |
-
return strtoupper($matches[0][1]);
|
42 |
-
}, $vars['name']);
|
43 |
-
|
44 |
-
$vars['name'] = ucfirst($vars['vendor']) . ucfirst($camelCasedName);
|
45 |
-
|
46 |
-
return $vars;
|
47 |
-
}
|
48 |
-
|
49 |
-
/**
|
50 |
-
* Changes the name to a underscore separated name
|
51 |
-
* @param array $vars
|
52 |
-
* @return array
|
53 |
-
*/
|
54 |
-
private function correctThemeName($vars)
|
55 |
-
{
|
56 |
-
$vars['name'] = str_replace('-', '_', $vars['name']);
|
57 |
-
|
58 |
-
return $vars;
|
59 |
-
}
|
60 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php
DELETED
@@ -1,35 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
use Composer\Package\PackageInterface;
|
5 |
-
|
6 |
-
class SilverStripeInstaller extends BaseInstaller
|
7 |
-
{
|
8 |
-
protected $locations = array(
|
9 |
-
'module' => '{$name}/',
|
10 |
-
'theme' => 'themes/{$name}/',
|
11 |
-
);
|
12 |
-
|
13 |
-
/**
|
14 |
-
* Return the install path based on package type.
|
15 |
-
*
|
16 |
-
* Relies on built-in BaseInstaller behaviour with one exception: silverstripe/framework
|
17 |
-
* must be installed to 'sapphire' and not 'framework' if the version is <3.0.0
|
18 |
-
*
|
19 |
-
* @param PackageInterface $package
|
20 |
-
* @param string $frameworkType
|
21 |
-
* @return string
|
22 |
-
*/
|
23 |
-
public function getInstallPath(PackageInterface $package, $frameworkType = '')
|
24 |
-
{
|
25 |
-
if (
|
26 |
-
$package->getName() == 'silverstripe/framework'
|
27 |
-
&& preg_match('/^\d+\.\d+\.\d+/', $package->getVersion())
|
28 |
-
&& version_compare($package->getVersion(), '2.999.999') < 0
|
29 |
-
) {
|
30 |
-
return $this->templatePath($this->locations['module'], array('name' => 'sapphire'));
|
31 |
-
}
|
32 |
-
|
33 |
-
return parent::getInstallPath($package, $frameworkType);
|
34 |
-
}
|
35 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php
DELETED
@@ -1,25 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
namespace Composer\Installers;
|
4 |
-
|
5 |
-
class SiteDirectInstaller extends BaseInstaller
|
6 |
-
{
|
7 |
-
protected $locations = array(
|
8 |
-
'module' => 'modules/{$vendor}/{$name}/',
|
9 |
-
'plugin' => 'plugins/{$vendor}/{$name}/'
|
10 |
-
);
|
11 |
-
|
12 |
-
public function inflectPackageVars($vars)
|
13 |
-
{
|
14 |
-
return $this->parseVars($vars);
|
15 |
-
}
|
16 |
-
|
17 |
-
protected function parseVars($vars)
|
18 |
-
{
|
19 |
-
$vars['vendor'] = strtolower($vars['vendor']) == 'sitedirect' ? 'SiteDirect' : $vars['vendor'];
|
20 |
-
$vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
|
21 |
-
$vars['name'] = str_replace(' ', '', ucwords($vars['name']));
|
22 |
-
|
23 |
-
return $vars;
|
24 |
-
}
|
25 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php
DELETED
@@ -1,49 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class SyDESInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'module' => 'app/modules/{$name}/',
|
8 |
-
'theme' => 'themes/{$name}/',
|
9 |
-
);
|
10 |
-
|
11 |
-
/**
|
12 |
-
* Format module name.
|
13 |
-
*
|
14 |
-
* Strip `sydes-` prefix and a trailing '-theme' or '-module' from package name if present.
|
15 |
-
*
|
16 |
-
* @param array @vars
|
17 |
-
*
|
18 |
-
* @return array
|
19 |
-
*/
|
20 |
-
public function inflectPackageVars($vars)
|
21 |
-
{
|
22 |
-
if ($vars['type'] == 'sydes-module') {
|
23 |
-
return $this->inflectModuleVars($vars);
|
24 |
-
}
|
25 |
-
|
26 |
-
if ($vars['type'] === 'sydes-theme') {
|
27 |
-
return $this->inflectThemeVars($vars);
|
28 |
-
}
|
29 |
-
|
30 |
-
return $vars;
|
31 |
-
}
|
32 |
-
|
33 |
-
public function inflectModuleVars($vars)
|
34 |
-
{
|
35 |
-
$vars['name'] = preg_replace('/(^sydes-|-module$)/i', '', $vars['name']);
|
36 |
-
$vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
|
37 |
-
$vars['name'] = str_replace(' ', '', ucwords($vars['name']));
|
38 |
-
|
39 |
-
return $vars;
|
40 |
-
}
|
41 |
-
|
42 |
-
protected function inflectThemeVars($vars)
|
43 |
-
{
|
44 |
-
$vars['name'] = preg_replace('/(^sydes-|-theme$)/', '', $vars['name']);
|
45 |
-
$vars['name'] = strtolower($vars['name']);
|
46 |
-
|
47 |
-
return $vars;
|
48 |
-
}
|
49 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php
DELETED
@@ -1,26 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
/**
|
5 |
-
* Plugin installer for symfony 1.x
|
6 |
-
*
|
7 |
-
* @author Jérôme Tamarelle <jerome@tamarelle.net>
|
8 |
-
*/
|
9 |
-
class Symfony1Installer extends BaseInstaller
|
10 |
-
{
|
11 |
-
protected $locations = array(
|
12 |
-
'plugin' => 'plugins/{$name}/',
|
13 |
-
);
|
14 |
-
|
15 |
-
/**
|
16 |
-
* Format package name to CamelCase
|
17 |
-
*/
|
18 |
-
public function inflectPackageVars($vars)
|
19 |
-
{
|
20 |
-
$vars['name'] = preg_replace_callback('/(-[a-z])/', function ($matches) {
|
21 |
-
return strtoupper($matches[0][1]);
|
22 |
-
}, $vars['name']);
|
23 |
-
|
24 |
-
return $vars;
|
25 |
-
}
|
26 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php
DELETED
@@ -1,16 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
/**
|
5 |
-
* Extension installer for TYPO3 CMS
|
6 |
-
*
|
7 |
-
* @deprecated since 1.0.25, use https://packagist.org/packages/typo3/cms-composer-installers instead
|
8 |
-
*
|
9 |
-
* @author Sascha Egerer <sascha.egerer@dkd.de>
|
10 |
-
*/
|
11 |
-
class TYPO3CmsInstaller extends BaseInstaller
|
12 |
-
{
|
13 |
-
protected $locations = array(
|
14 |
-
'extension' => 'typo3conf/ext/{$name}/',
|
15 |
-
);
|
16 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php
DELETED
@@ -1,38 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
/**
|
5 |
-
* An installer to handle TYPO3 Flow specifics when installing packages.
|
6 |
-
*/
|
7 |
-
class TYPO3FlowInstaller extends BaseInstaller
|
8 |
-
{
|
9 |
-
protected $locations = array(
|
10 |
-
'package' => 'Packages/Application/{$name}/',
|
11 |
-
'framework' => 'Packages/Framework/{$name}/',
|
12 |
-
'plugin' => 'Packages/Plugins/{$name}/',
|
13 |
-
'site' => 'Packages/Sites/{$name}/',
|
14 |
-
'boilerplate' => 'Packages/Boilerplates/{$name}/',
|
15 |
-
'build' => 'Build/{$name}/',
|
16 |
-
);
|
17 |
-
|
18 |
-
/**
|
19 |
-
* Modify the package name to be a TYPO3 Flow style key.
|
20 |
-
*
|
21 |
-
* @param array $vars
|
22 |
-
* @return array
|
23 |
-
*/
|
24 |
-
public function inflectPackageVars($vars)
|
25 |
-
{
|
26 |
-
$autoload = $this->package->getAutoload();
|
27 |
-
if (isset($autoload['psr-0']) && is_array($autoload['psr-0'])) {
|
28 |
-
$namespace = key($autoload['psr-0']);
|
29 |
-
$vars['name'] = str_replace('\\', '.', $namespace);
|
30 |
-
}
|
31 |
-
if (isset($autoload['psr-4']) && is_array($autoload['psr-4'])) {
|
32 |
-
$namespace = key($autoload['psr-4']);
|
33 |
-
$vars['name'] = rtrim(str_replace('\\', '.', $namespace), '.');
|
34 |
-
}
|
35 |
-
|
36 |
-
return $vars;
|
37 |
-
}
|
38 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/TaoInstaller.php
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
/**
|
5 |
-
* An installer to handle TAO extensions.
|
6 |
-
*/
|
7 |
-
class TaoInstaller extends BaseInstaller
|
8 |
-
{
|
9 |
-
protected $locations = array(
|
10 |
-
'extension' => '{$name}'
|
11 |
-
);
|
12 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class TheliaInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'module' => 'local/modules/{$name}/',
|
8 |
-
'frontoffice-template' => 'templates/frontOffice/{$name}/',
|
9 |
-
'backoffice-template' => 'templates/backOffice/{$name}/',
|
10 |
-
'email-template' => 'templates/email/{$name}/',
|
11 |
-
);
|
12 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/TuskInstaller.php
DELETED
@@ -1,14 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
/**
|
4 |
-
* Composer installer for 3rd party Tusk utilities
|
5 |
-
* @author Drew Ewing <drew@phenocode.com>
|
6 |
-
*/
|
7 |
-
class TuskInstaller extends BaseInstaller
|
8 |
-
{
|
9 |
-
protected $locations = array(
|
10 |
-
'task' => '.tusk/tasks/{$name}/',
|
11 |
-
'command' => '.tusk/commands/{$name}/',
|
12 |
-
'asset' => 'assets/tusk/{$name}/',
|
13 |
-
);
|
14 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php
DELETED
@@ -1,9 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class UserFrostingInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'sprinkle' => 'app/sprinkles/{$name}/',
|
8 |
-
);
|
9 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class VanillaInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'plugin' => 'plugins/{$name}/',
|
8 |
-
'theme' => 'themes/{$name}/',
|
9 |
-
);
|
10 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php
DELETED
@@ -1,49 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class VgmcpInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'bundle' => 'src/{$vendor}/{$name}/',
|
8 |
-
'theme' => 'themes/{$name}/'
|
9 |
-
);
|
10 |
-
|
11 |
-
/**
|
12 |
-
* Format package name.
|
13 |
-
*
|
14 |
-
* For package type vgmcp-bundle, cut off a trailing '-bundle' if present.
|
15 |
-
*
|
16 |
-
* For package type vgmcp-theme, cut off a trailing '-theme' if present.
|
17 |
-
*
|
18 |
-
*/
|
19 |
-
public function inflectPackageVars($vars)
|
20 |
-
{
|
21 |
-
if ($vars['type'] === 'vgmcp-bundle') {
|
22 |
-
return $this->inflectPluginVars($vars);
|
23 |
-
}
|
24 |
-
|
25 |
-
if ($vars['type'] === 'vgmcp-theme') {
|
26 |
-
return $this->inflectThemeVars($vars);
|
27 |
-
}
|
28 |
-
|
29 |
-
return $vars;
|
30 |
-
}
|
31 |
-
|
32 |
-
protected function inflectPluginVars($vars)
|
33 |
-
{
|
34 |
-
$vars['name'] = preg_replace('/-bundle$/', '', $vars['name']);
|
35 |
-
$vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
|
36 |
-
$vars['name'] = str_replace(' ', '', ucwords($vars['name']));
|
37 |
-
|
38 |
-
return $vars;
|
39 |
-
}
|
40 |
-
|
41 |
-
protected function inflectThemeVars($vars)
|
42 |
-
{
|
43 |
-
$vars['name'] = preg_replace('/-theme$/', '', $vars['name']);
|
44 |
-
$vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
|
45 |
-
$vars['name'] = str_replace(' ', '', ucwords($vars['name']));
|
46 |
-
|
47 |
-
return $vars;
|
48 |
-
}
|
49 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php
DELETED
@@ -1,21 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
namespace Composer\Installers;
|
4 |
-
|
5 |
-
class WHMCSInstaller extends BaseInstaller
|
6 |
-
{
|
7 |
-
protected $locations = array(
|
8 |
-
'addons' => 'modules/addons/{$vendor}_{$name}/',
|
9 |
-
'fraud' => 'modules/fraud/{$vendor}_{$name}/',
|
10 |
-
'gateways' => 'modules/gateways/{$vendor}_{$name}/',
|
11 |
-
'notifications' => 'modules/notifications/{$vendor}_{$name}/',
|
12 |
-
'registrars' => 'modules/registrars/{$vendor}_{$name}/',
|
13 |
-
'reports' => 'modules/reports/{$vendor}_{$name}/',
|
14 |
-
'security' => 'modules/security/{$vendor}_{$name}/',
|
15 |
-
'servers' => 'modules/servers/{$vendor}_{$name}/',
|
16 |
-
'social' => 'modules/social/{$vendor}_{$name}/',
|
17 |
-
'support' => 'modules/support/{$vendor}_{$name}/',
|
18 |
-
'templates' => 'templates/{$vendor}_{$name}/',
|
19 |
-
'includes' => 'includes/{$vendor}_{$name}/'
|
20 |
-
);
|
21 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php
DELETED
@@ -1,9 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class WolfCMSInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'plugin' => 'wolf/plugins/{$name}/',
|
8 |
-
);
|
9 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class WordPressInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'plugin' => 'wp-content/plugins/{$name}/',
|
8 |
-
'theme' => 'wp-content/themes/{$name}/',
|
9 |
-
'muplugin' => 'wp-content/mu-plugins/{$name}/',
|
10 |
-
'dropin' => 'wp-content/{$name}/',
|
11 |
-
);
|
12 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/YawikInstaller.php
DELETED
@@ -1,32 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Created by PhpStorm.
|
4 |
-
* User: cbleek
|
5 |
-
* Date: 25.03.16
|
6 |
-
* Time: 20:55
|
7 |
-
*/
|
8 |
-
|
9 |
-
namespace Composer\Installers;
|
10 |
-
|
11 |
-
|
12 |
-
class YawikInstaller extends BaseInstaller
|
13 |
-
{
|
14 |
-
protected $locations = array(
|
15 |
-
'module' => 'module/{$name}/',
|
16 |
-
);
|
17 |
-
|
18 |
-
/**
|
19 |
-
* Format package name to CamelCase
|
20 |
-
* @param array $vars
|
21 |
-
*
|
22 |
-
* @return array
|
23 |
-
*/
|
24 |
-
public function inflectPackageVars($vars)
|
25 |
-
{
|
26 |
-
$vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
|
27 |
-
$vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
|
28 |
-
$vars['name'] = str_replace(' ', '', ucwords($vars['name']));
|
29 |
-
|
30 |
-
return $vars;
|
31 |
-
}
|
32 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/ZendInstaller.php
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class ZendInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'library' => 'library/{$name}/',
|
8 |
-
'extra' => 'extras/library/{$name}/',
|
9 |
-
'module' => 'module/{$name}/',
|
10 |
-
);
|
11 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Composer\Installers;
|
3 |
-
|
4 |
-
class ZikulaInstaller extends BaseInstaller
|
5 |
-
{
|
6 |
-
protected $locations = array(
|
7 |
-
'module' => 'modules/{$vendor}-{$name}/',
|
8 |
-
'theme' => 'themes/{$vendor}-{$name}/'
|
9 |
-
);
|
10 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/installers/src/bootstrap.php
DELETED
@@ -1,13 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
function includeIfExists($file)
|
3 |
-
{
|
4 |
-
if (file_exists($file)) {
|
5 |
-
return include $file;
|
6 |
-
}
|
7 |
-
}
|
8 |
-
if ((!$loader = includeIfExists(__DIR__ . '/../vendor/autoload.php')) && (!$loader = includeIfExists(__DIR__ . '/../../../autoload.php'))) {
|
9 |
-
die('You must set up the project dependencies, run the following commands:'.PHP_EOL.
|
10 |
-
'curl -s http://getcomposer.org/installer | php'.PHP_EOL.
|
11 |
-
'php composer.phar install'.PHP_EOL);
|
12 |
-
}
|
13 |
-
return $loader;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wpuf-functions.php
CHANGED
@@ -602,7 +602,7 @@ function wpuf_use_default_avatar() {
|
|
602 |
return true;
|
603 |
}
|
604 |
|
605 |
-
return apply_filters( 'wpuf_use_default_avatar',
|
606 |
}
|
607 |
|
608 |
/**
|
602 |
return true;
|
603 |
}
|
604 |
|
605 |
+
return apply_filters( 'wpuf_use_default_avatar', false );
|
606 |
}
|
607 |
|
608 |
/**
|
wpuf.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP User Frontend
|
|
4 |
Plugin URI: https://wordpress.org/plugins/wp-user-frontend/
|
5 |
Description: Create, edit, delete, manages your post, pages or custom post types from frontend. Create registration forms, frontend profile and more...
|
6 |
Author: weDevs
|
7 |
-
Version: 3.3.
|
8 |
Author URI: https://wedevs.com/?utm_source=WPUF_Author_URI
|
9 |
License: GPL2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
@@ -12,7 +12,7 @@ Text Domain: wp-user-frontend
|
|
12 |
Domain Path: /languages
|
13 |
*/
|
14 |
|
15 |
-
define( 'WPUF_VERSION', '3.3.
|
16 |
define( 'WPUF_FILE', __FILE__ );
|
17 |
define( 'WPUF_ROOT', __DIR__ );
|
18 |
define( 'WPUF_ROOT_URI', plugins_url( '', __FILE__ ) );
|
4 |
Plugin URI: https://wordpress.org/plugins/wp-user-frontend/
|
5 |
Description: Create, edit, delete, manages your post, pages or custom post types from frontend. Create registration forms, frontend profile and more...
|
6 |
Author: weDevs
|
7 |
+
Version: 3.3.1
|
8 |
Author URI: https://wedevs.com/?utm_source=WPUF_Author_URI
|
9 |
License: GPL2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
12 |
Domain Path: /languages
|
13 |
*/
|
14 |
|
15 |
+
define( 'WPUF_VERSION', '3.3.1' );
|
16 |
define( 'WPUF_FILE', __FILE__ );
|
17 |
define( 'WPUF_ROOT', __DIR__ );
|
18 |
define( 'WPUF_ROOT_URI', plugins_url( '', __FILE__ ) );
|