@@ -33,8 +33,8 @@ |
||
33 | 33 | 'Verdana', |
34 | 34 | 'Haettenschweiler'); |
35 | 35 | /** |
36 | - * Localized font sizes: 'font size value' => 'font size name' |
|
37 | - */ |
|
36 | + * Localized font sizes: 'font size value' => 'font size name' |
|
37 | + */ |
|
38 | 38 | $GLOBALS['formtextdhtml_sizes'] = array( |
39 | 39 | 'xx-small' => 'xx-Small', |
40 | 40 | 'x-small' => 'x-Small', |
@@ -76,7 +76,7 @@ |
||
76 | 76 | define('_XOOPS_FORM_ALT_CHECKLENGTH', 'Check text length'); |
77 | 77 | define('_XOOPS_FORM_ALT_LENGTH', 'Current content length: %s'); |
78 | 78 | define('_XOOPS_FORM_ALT_LENGTH_MAX', 'Maximum length: '); |
79 | -define('_XOOPS_FORM_PREVIEW_CONTENT', 'Click the <strong>' . _PREVIEW . '</strong> to see the content in action.'); |
|
79 | +define('_XOOPS_FORM_PREVIEW_CONTENT', 'Click the <strong>'._PREVIEW.'</strong> to see the content in action.'); |
|
80 | 80 | |
81 | 81 | define('_XOOPS_FORM_ALTYOUTUBE', 'Youtube'); |
82 | 82 | define('_XOOPS_FORM_ENTER_SOUNDCLOUD_URL', 'Enter SoundCloud URL'); |
@@ -254,5 +254,5 @@ |
||
254 | 254 | //define('_XOBJ_ERR_INVALID_ENUMERATION', 'Invalid Enumeration'); |
255 | 255 | |
256 | 256 | //XOOPS 2.5.9 |
257 | -define('_AM_MODULEADMIN_MISSING','Error: The ModuleAdmin class is missing. Please install the ModuleAdmin Class into /Frameworks (see /docs/readme.txt)'); |
|
257 | +define('_AM_MODULEADMIN_MISSING', 'Error: The ModuleAdmin class is missing. Please install the ModuleAdmin Class into /Frameworks (see /docs/readme.txt)'); |
|
258 | 258 | define('_MD_MESSAGEC', 'Message:'); |
@@ -9,5 +9,5 @@ |
||
9 | 9 | define('_AUTH_LDAP_SERVER_NOT_FOUND', "Can't connect to the server"); |
10 | 10 | define('_AUTH_LDAP_USER_NOT_FOUND', 'Member %s not found in the directory server (%s) in %s'); |
11 | 11 | define('_AUTH_LDAP_CANT_READ_ENTRY', "Can't read entry %s"); |
12 | -define('_AUTH_LDAP_XOOPS_USER_NOTFOUND', 'Sorry, no corresponding user information has been found in the XOOPS database for connection: %s <br>' . 'Please verify your user data or set on the automatic provisioning'); |
|
12 | +define('_AUTH_LDAP_XOOPS_USER_NOTFOUND', 'Sorry, no corresponding user information has been found in the XOOPS database for connection: %s <br>'.'Please verify your user data or set on the automatic provisioning'); |
|
13 | 13 | define('_AUTH_LDAP_START_TLS_FAILED', 'Failed to open a TLS connection'); |
@@ -8,256 +8,256 @@ |
||
8 | 8 | * |
9 | 9 | */ |
10 | 10 | |
11 | -define('_COUNTRY_AD','Andorra'); |
|
12 | -define('_COUNTRY_AE','United Arab Emirates'); |
|
13 | -define('_COUNTRY_AF','Afghanistan'); |
|
14 | -define('_COUNTRY_AG','Antigua and Barbuda'); |
|
15 | -define('_COUNTRY_AI','Anguilla'); |
|
16 | -define('_COUNTRY_AL','Albania'); |
|
17 | -define('_COUNTRY_AM','Armenia'); |
|
18 | -define('_COUNTRY_AN','Netherlands Antilles'); |
|
19 | -define('_COUNTRY_AO','Angola'); |
|
20 | -define('_COUNTRY_AQ','Antarctica'); |
|
21 | -define('_COUNTRY_AR','Argentina'); |
|
22 | -define('_COUNTRY_AS','American Samoa'); |
|
23 | -define('_COUNTRY_AT','Austria'); |
|
24 | -define('_COUNTRY_AU','Australia'); |
|
25 | -define('_COUNTRY_AW','Aruba'); |
|
26 | -define('_COUNTRY_AX','Åland Islands'); |
|
27 | -define('_COUNTRY_AZ','Azerbaijan'); |
|
28 | -define('_COUNTRY_BA','Bosnia and Herzegovina'); |
|
29 | -define('_COUNTRY_BB','Barbados'); |
|
30 | -define('_COUNTRY_BD','Bangladesh'); |
|
31 | -define('_COUNTRY_BE','Belgium'); |
|
32 | -define('_COUNTRY_BF','Burkina Faso'); |
|
33 | -define('_COUNTRY_BG','Bulgaria'); |
|
34 | -define('_COUNTRY_BH','Bahrain'); |
|
35 | -define('_COUNTRY_BI','Burundi'); |
|
36 | -define('_COUNTRY_BJ','Benin'); |
|
37 | -define('_COUNTRY_BL','Saint Barthélemy'); |
|
38 | -define('_COUNTRY_BM','Bermuda'); |
|
39 | -define('_COUNTRY_BN','Brunei Darussalam'); |
|
40 | -define('_COUNTRY_BO','Bolivia'); |
|
41 | -define('_COUNTRY_BR','Brazil'); |
|
42 | -define('_COUNTRY_BS','Bahamas'); |
|
43 | -define('_COUNTRY_BT','Bhutan'); |
|
44 | -define('_COUNTRY_BV','Bouvet Island'); |
|
45 | -define('_COUNTRY_BW','Botswana'); |
|
46 | -define('_COUNTRY_BY','Belarus'); |
|
47 | -define('_COUNTRY_BZ','Belize'); |
|
48 | -define('_COUNTRY_CA','Canada'); |
|
49 | -define('_COUNTRY_CC','Cocos (Keeling) Islands'); |
|
50 | -define('_COUNTRY_CD','Congo (Dem. Rep.)'); |
|
51 | -define('_COUNTRY_CF','Central African Republic'); |
|
52 | -define('_COUNTRY_CG','Congo'); |
|
53 | -define('_COUNTRY_CH','Switzerland'); |
|
54 | -define('_COUNTRY_CI',"Côte d'Ivoire"); |
|
55 | -define('_COUNTRY_CK','Cook Islands'); |
|
56 | -define('_COUNTRY_CL','Chile'); |
|
57 | -define('_COUNTRY_CM','Cameroon'); |
|
58 | -define('_COUNTRY_CN','China'); |
|
59 | -define('_COUNTRY_CO','Colombia'); |
|
60 | -define('_COUNTRY_CR','Costa Rica'); |
|
61 | -define('_COUNTRY_CS','Serbia & Montenegro (former)'); // Not listed in ISO 3166 |
|
62 | -define('_COUNTRY_CU','Cuba'); |
|
63 | -define('_COUNTRY_CV','Cape Verde'); |
|
64 | -define('_COUNTRY_CX','Christmas Island'); |
|
65 | -define('_COUNTRY_CY','Cyprus'); |
|
66 | -define('_COUNTRY_CZ','Czech Republic'); |
|
67 | -define('_COUNTRY_DE','Germany'); |
|
68 | -define('_COUNTRY_DJ','Djibouti'); |
|
69 | -define('_COUNTRY_DK','Denmark'); |
|
70 | -define('_COUNTRY_DM','Dominica'); |
|
71 | -define('_COUNTRY_DO','Dominican Republic'); |
|
72 | -define('_COUNTRY_DZ','Algeria'); |
|
73 | -define('_COUNTRY_EC','Ecuador'); |
|
74 | -define('_COUNTRY_EE','Estonia'); |
|
75 | -define('_COUNTRY_EG','Egypt'); |
|
76 | -define('_COUNTRY_EH','Western Sahara'); |
|
77 | -define('_COUNTRY_ER','Eritrea'); |
|
78 | -define('_COUNTRY_ES','Spain'); |
|
79 | -define('_COUNTRY_ET','Ethiopia'); |
|
80 | -define('_COUNTRY_FI','Finland'); |
|
81 | -define('_COUNTRY_FJ','Fiji'); |
|
82 | -define('_COUNTRY_FK','Falkland Islands (Malvinas)'); |
|
83 | -define('_COUNTRY_FM','Micronesia'); |
|
84 | -define('_COUNTRY_FO','Faroe Islands'); |
|
85 | -define('_COUNTRY_FR','France'); |
|
86 | -define('_COUNTRY_FX','France, Metropolitan'); // Not listed in ISO 3166 |
|
87 | -define('_COUNTRY_GA','Gabon'); |
|
88 | -define('_COUNTRY_GB','Great Britain (UK)'); |
|
89 | -define('_COUNTRY_GD','Grenada'); |
|
90 | -define('_COUNTRY_GE','Georgia'); |
|
91 | -define('_COUNTRY_GF','French Guiana'); |
|
92 | -define('_COUNTRY_GG','Guernsey'); |
|
93 | -define('_COUNTRY_GH','Ghana'); |
|
94 | -define('_COUNTRY_GI','Gibraltar'); |
|
95 | -define('_COUNTRY_GL','Greenland'); |
|
96 | -define('_COUNTRY_GM','Gambia'); |
|
97 | -define('_COUNTRY_GN','Guinea'); |
|
98 | -define('_COUNTRY_GP','Guadeloupe'); |
|
99 | -define('_COUNTRY_GQ','Equatorial Guinea'); |
|
100 | -define('_COUNTRY_GR','Greece'); |
|
101 | -define('_COUNTRY_GS','S. Georgia and S. Sandwich Isls.'); |
|
102 | -define('_COUNTRY_GT','Guatemala'); |
|
103 | -define('_COUNTRY_GU','Guam'); |
|
104 | -define('_COUNTRY_GW','Guinea-Bissau'); |
|
105 | -define('_COUNTRY_GY','Guyana'); |
|
106 | -define('_COUNTRY_HK','Hong Kong'); |
|
107 | -define('_COUNTRY_HM','Heard and McDonald Islands'); |
|
108 | -define('_COUNTRY_HN','Honduras'); |
|
109 | -define('_COUNTRY_HR','Croatia'); |
|
110 | -define('_COUNTRY_HT','Haiti'); |
|
111 | -define('_COUNTRY_HU','Hungary'); |
|
112 | -define('_COUNTRY_ID','Indonesia'); |
|
113 | -define('_COUNTRY_IE','Ireland'); |
|
114 | -define('_COUNTRY_IL','Israel'); |
|
115 | -define('_COUNTRY_IM','Isle of Man'); |
|
116 | -define('_COUNTRY_IN','India'); |
|
117 | -define('_COUNTRY_IO','British Indian Ocean Territory'); |
|
118 | -define('_COUNTRY_IQ','Iraq'); |
|
119 | -define('_COUNTRY_IR','Iran'); |
|
120 | -define('_COUNTRY_IS','Iceland'); |
|
121 | -define('_COUNTRY_IT','Italy'); |
|
122 | -define('_COUNTRY_JM','Jamaica'); |
|
123 | -define('_COUNTRY_JO','Jordan'); |
|
124 | -define('_COUNTRY_JP','Japan'); |
|
125 | -define('_COUNTRY_KE','Kenya'); |
|
126 | -define('_COUNTRY_KG','Kyrgyzstan'); |
|
127 | -define('_COUNTRY_KH','Cambodia'); |
|
128 | -define('_COUNTRY_KI','Kiribati'); |
|
129 | -define('_COUNTRY_KM','Comoros'); |
|
130 | -define('_COUNTRY_KN','Saint Kitts and Nevis'); |
|
131 | -define('_COUNTRY_KP','Korea (North)'); |
|
132 | -define('_COUNTRY_KR','Korea (South)'); |
|
133 | -define('_COUNTRY_KW','Kuwait'); |
|
134 | -define('_COUNTRY_KY','Cayman Islands'); |
|
135 | -define('_COUNTRY_KZ','Kazakhstan'); |
|
136 | -define('_COUNTRY_LA','Laos'); |
|
137 | -define('_COUNTRY_LB','Lebanon'); |
|
138 | -define('_COUNTRY_LC','Saint Lucia'); |
|
139 | -define('_COUNTRY_LI','Liechtenstein'); |
|
140 | -define('_COUNTRY_LK','Sri Lanka'); |
|
141 | -define('_COUNTRY_LR','Liberia'); |
|
142 | -define('_COUNTRY_LS','Lesotho'); |
|
143 | -define('_COUNTRY_LT','Lithuania'); |
|
144 | -define('_COUNTRY_LU','Luxembourg'); |
|
145 | -define('_COUNTRY_LV','Latvia'); |
|
146 | -define('_COUNTRY_LY','Libya'); |
|
147 | -define('_COUNTRY_MA','Morocco'); |
|
148 | -define('_COUNTRY_MC','Monaco'); |
|
149 | -define('_COUNTRY_MD','Moldova'); |
|
150 | -define('_COUNTRY_ME','Montenegro'); |
|
151 | -define('_COUNTRY_MF','Saint Martin'); |
|
152 | -define('_COUNTRY_MG','Madagascar'); |
|
153 | -define('_COUNTRY_MH','Marshall Islands'); |
|
154 | -define('_COUNTRY_MK','Macedonia'); //FYROM |
|
155 | -define('_COUNTRY_ML','Mali'); |
|
156 | -define('_COUNTRY_MM','Myanmar'); |
|
157 | -define('_COUNTRY_MN','Mongolia'); |
|
158 | -define('_COUNTRY_MO','Macao'); |
|
159 | -define('_COUNTRY_MP','Northern Mariana Islands'); |
|
160 | -define('_COUNTRY_MQ','Martinique'); |
|
161 | -define('_COUNTRY_MR','Mauritania'); |
|
162 | -define('_COUNTRY_MS','Montserrat'); |
|
163 | -define('_COUNTRY_MT','Malta'); |
|
164 | -define('_COUNTRY_MU','Mauritius'); |
|
165 | -define('_COUNTRY_MV','Maldives'); |
|
166 | -define('_COUNTRY_MW','Malawi'); |
|
167 | -define('_COUNTRY_MX','Mexico'); |
|
168 | -define('_COUNTRY_MY','Malaysia'); |
|
169 | -define('_COUNTRY_MZ','Mozambique'); |
|
170 | -define('_COUNTRY_NA','Namibia'); |
|
171 | -define('_COUNTRY_NC','New Caledonia'); |
|
172 | -define('_COUNTRY_NE','Niger'); |
|
173 | -define('_COUNTRY_NF','Norfolk Island'); |
|
174 | -define('_COUNTRY_NG','Nigeria'); |
|
175 | -define('_COUNTRY_NI','Nicaragua'); |
|
176 | -define('_COUNTRY_NL','Netherlands'); |
|
177 | -define('_COUNTRY_NO','Norway'); |
|
178 | -define('_COUNTRY_NP','Nepal'); |
|
179 | -define('_COUNTRY_NR','Nauru'); |
|
180 | -define('_COUNTRY_NT','Neutral Zone'); |
|
181 | -define('_COUNTRY_NU','Niue'); |
|
182 | -define('_COUNTRY_NZ','New Zealand'); |
|
183 | -define('_COUNTRY_OM','Oman'); |
|
184 | -define('_COUNTRY_PA','Panama'); |
|
185 | -define('_COUNTRY_PE','Peru'); |
|
186 | -define('_COUNTRY_PF','French Polynesia'); |
|
187 | -define('_COUNTRY_PG','Papua New Guinea'); |
|
188 | -define('_COUNTRY_PH','Philippines'); |
|
189 | -define('_COUNTRY_PK','Pakistan'); |
|
190 | -define('_COUNTRY_PL','Poland'); |
|
191 | -define('_COUNTRY_PM','St. Pierre and Miquelon'); |
|
192 | -define('_COUNTRY_PN','Pitcairn'); |
|
193 | -define('_COUNTRY_PR','Puerto Rico'); |
|
194 | -define('_COUNTRY_PS','Palestine Territory (Occupied)'); |
|
195 | -define('_COUNTRY_PT','Portugal'); |
|
196 | -define('_COUNTRY_PW','Palau'); |
|
197 | -define('_COUNTRY_PY','Paraguay'); |
|
198 | -define('_COUNTRY_QA','Qatar'); |
|
199 | -define('_COUNTRY_RE','Reunion'); |
|
200 | -define('_COUNTRY_RO','Romania'); |
|
201 | -define('_COUNTRY_RS','Serbia'); |
|
202 | -define('_COUNTRY_RU','Russian Federation'); |
|
203 | -define('_COUNTRY_RW','Rwanda'); |
|
204 | -define('_COUNTRY_SA','Saudi Arabia'); |
|
205 | -define('_COUNTRY_SB','Solomon Islands'); |
|
206 | -define('_COUNTRY_SC','Seychelles'); |
|
207 | -define('_COUNTRY_SD','Sudan'); |
|
208 | -define('_COUNTRY_SE','Sweden'); |
|
209 | -define('_COUNTRY_SG','Singapore'); |
|
210 | -define('_COUNTRY_SH','St. Helena'); |
|
211 | -define('_COUNTRY_SI','Slovenia'); |
|
212 | -define('_COUNTRY_SJ','Svalbard and Jan Mayen Islands'); |
|
213 | -define('_COUNTRY_SK','Slovakia'); |
|
214 | -define('_COUNTRY_SL','Sierra Leone'); |
|
215 | -define('_COUNTRY_SM','San Marino'); |
|
216 | -define('_COUNTRY_SN','Senegal'); |
|
217 | -define('_COUNTRY_SO','Somalia'); |
|
218 | -define('_COUNTRY_SR','Suriname'); |
|
219 | -define('_COUNTRY_ST','Sao Tome and Principe'); |
|
220 | -define('_COUNTRY_SU','USSR (former)'); // Not listed in ISO 3166 |
|
221 | -define('_COUNTRY_SV','El Salvador'); |
|
222 | -define('_COUNTRY_SY','Syria'); |
|
223 | -define('_COUNTRY_SZ','Swaziland'); |
|
224 | -define('_COUNTRY_TC','Turks and Caicos Islands'); |
|
225 | -define('_COUNTRY_TD','Chad'); |
|
226 | -define('_COUNTRY_TF','French Southern Territories'); |
|
227 | -define('_COUNTRY_TG','Togo'); |
|
228 | -define('_COUNTRY_TH','Thailand'); |
|
229 | -define('_COUNTRY_TJ','Tajikistan'); |
|
230 | -define('_COUNTRY_TK','Tokelau'); |
|
231 | -define('_COUNTRY_TL','Timor-Leste'); |
|
232 | -define('_COUNTRY_TM','Turkmenistan'); |
|
233 | -define('_COUNTRY_TN','Tunisia'); |
|
234 | -define('_COUNTRY_TO','Tonga'); |
|
235 | -define('_COUNTRY_TP','East Timor'); // Not listed in ISO 3166, changed to TL |
|
236 | -define('_COUNTRY_TR','Turkey'); |
|
237 | -define('_COUNTRY_TT','Trinidad and Tobago'); |
|
238 | -define('_COUNTRY_TV','Tuvalu'); |
|
239 | -define('_COUNTRY_TW','Taiwan'); |
|
240 | -define('_COUNTRY_TZ','Tanzania'); |
|
241 | -define('_COUNTRY_UA','Ukraine'); |
|
242 | -define('_COUNTRY_UG','Uganda'); |
|
11 | +define('_COUNTRY_AD', 'Andorra'); |
|
12 | +define('_COUNTRY_AE', 'United Arab Emirates'); |
|
13 | +define('_COUNTRY_AF', 'Afghanistan'); |
|
14 | +define('_COUNTRY_AG', 'Antigua and Barbuda'); |
|
15 | +define('_COUNTRY_AI', 'Anguilla'); |
|
16 | +define('_COUNTRY_AL', 'Albania'); |
|
17 | +define('_COUNTRY_AM', 'Armenia'); |
|
18 | +define('_COUNTRY_AN', 'Netherlands Antilles'); |
|
19 | +define('_COUNTRY_AO', 'Angola'); |
|
20 | +define('_COUNTRY_AQ', 'Antarctica'); |
|
21 | +define('_COUNTRY_AR', 'Argentina'); |
|
22 | +define('_COUNTRY_AS', 'American Samoa'); |
|
23 | +define('_COUNTRY_AT', 'Austria'); |
|
24 | +define('_COUNTRY_AU', 'Australia'); |
|
25 | +define('_COUNTRY_AW', 'Aruba'); |
|
26 | +define('_COUNTRY_AX', 'Åland Islands'); |
|
27 | +define('_COUNTRY_AZ', 'Azerbaijan'); |
|
28 | +define('_COUNTRY_BA', 'Bosnia and Herzegovina'); |
|
29 | +define('_COUNTRY_BB', 'Barbados'); |
|
30 | +define('_COUNTRY_BD', 'Bangladesh'); |
|
31 | +define('_COUNTRY_BE', 'Belgium'); |
|
32 | +define('_COUNTRY_BF', 'Burkina Faso'); |
|
33 | +define('_COUNTRY_BG', 'Bulgaria'); |
|
34 | +define('_COUNTRY_BH', 'Bahrain'); |
|
35 | +define('_COUNTRY_BI', 'Burundi'); |
|
36 | +define('_COUNTRY_BJ', 'Benin'); |
|
37 | +define('_COUNTRY_BL', 'Saint Barthélemy'); |
|
38 | +define('_COUNTRY_BM', 'Bermuda'); |
|
39 | +define('_COUNTRY_BN', 'Brunei Darussalam'); |
|
40 | +define('_COUNTRY_BO', 'Bolivia'); |
|
41 | +define('_COUNTRY_BR', 'Brazil'); |
|
42 | +define('_COUNTRY_BS', 'Bahamas'); |
|
43 | +define('_COUNTRY_BT', 'Bhutan'); |
|
44 | +define('_COUNTRY_BV', 'Bouvet Island'); |
|
45 | +define('_COUNTRY_BW', 'Botswana'); |
|
46 | +define('_COUNTRY_BY', 'Belarus'); |
|
47 | +define('_COUNTRY_BZ', 'Belize'); |
|
48 | +define('_COUNTRY_CA', 'Canada'); |
|
49 | +define('_COUNTRY_CC', 'Cocos (Keeling) Islands'); |
|
50 | +define('_COUNTRY_CD', 'Congo (Dem. Rep.)'); |
|
51 | +define('_COUNTRY_CF', 'Central African Republic'); |
|
52 | +define('_COUNTRY_CG', 'Congo'); |
|
53 | +define('_COUNTRY_CH', 'Switzerland'); |
|
54 | +define('_COUNTRY_CI', "Côte d'Ivoire"); |
|
55 | +define('_COUNTRY_CK', 'Cook Islands'); |
|
56 | +define('_COUNTRY_CL', 'Chile'); |
|
57 | +define('_COUNTRY_CM', 'Cameroon'); |
|
58 | +define('_COUNTRY_CN', 'China'); |
|
59 | +define('_COUNTRY_CO', 'Colombia'); |
|
60 | +define('_COUNTRY_CR', 'Costa Rica'); |
|
61 | +define('_COUNTRY_CS', 'Serbia & Montenegro (former)'); // Not listed in ISO 3166 |
|
62 | +define('_COUNTRY_CU', 'Cuba'); |
|
63 | +define('_COUNTRY_CV', 'Cape Verde'); |
|
64 | +define('_COUNTRY_CX', 'Christmas Island'); |
|
65 | +define('_COUNTRY_CY', 'Cyprus'); |
|
66 | +define('_COUNTRY_CZ', 'Czech Republic'); |
|
67 | +define('_COUNTRY_DE', 'Germany'); |
|
68 | +define('_COUNTRY_DJ', 'Djibouti'); |
|
69 | +define('_COUNTRY_DK', 'Denmark'); |
|
70 | +define('_COUNTRY_DM', 'Dominica'); |
|
71 | +define('_COUNTRY_DO', 'Dominican Republic'); |
|
72 | +define('_COUNTRY_DZ', 'Algeria'); |
|
73 | +define('_COUNTRY_EC', 'Ecuador'); |
|
74 | +define('_COUNTRY_EE', 'Estonia'); |
|
75 | +define('_COUNTRY_EG', 'Egypt'); |
|
76 | +define('_COUNTRY_EH', 'Western Sahara'); |
|
77 | +define('_COUNTRY_ER', 'Eritrea'); |
|
78 | +define('_COUNTRY_ES', 'Spain'); |
|
79 | +define('_COUNTRY_ET', 'Ethiopia'); |
|
80 | +define('_COUNTRY_FI', 'Finland'); |
|
81 | +define('_COUNTRY_FJ', 'Fiji'); |
|
82 | +define('_COUNTRY_FK', 'Falkland Islands (Malvinas)'); |
|
83 | +define('_COUNTRY_FM', 'Micronesia'); |
|
84 | +define('_COUNTRY_FO', 'Faroe Islands'); |
|
85 | +define('_COUNTRY_FR', 'France'); |
|
86 | +define('_COUNTRY_FX', 'France, Metropolitan'); // Not listed in ISO 3166 |
|
87 | +define('_COUNTRY_GA', 'Gabon'); |
|
88 | +define('_COUNTRY_GB', 'Great Britain (UK)'); |
|
89 | +define('_COUNTRY_GD', 'Grenada'); |
|
90 | +define('_COUNTRY_GE', 'Georgia'); |
|
91 | +define('_COUNTRY_GF', 'French Guiana'); |
|
92 | +define('_COUNTRY_GG', 'Guernsey'); |
|
93 | +define('_COUNTRY_GH', 'Ghana'); |
|
94 | +define('_COUNTRY_GI', 'Gibraltar'); |
|
95 | +define('_COUNTRY_GL', 'Greenland'); |
|
96 | +define('_COUNTRY_GM', 'Gambia'); |
|
97 | +define('_COUNTRY_GN', 'Guinea'); |
|
98 | +define('_COUNTRY_GP', 'Guadeloupe'); |
|
99 | +define('_COUNTRY_GQ', 'Equatorial Guinea'); |
|
100 | +define('_COUNTRY_GR', 'Greece'); |
|
101 | +define('_COUNTRY_GS', 'S. Georgia and S. Sandwich Isls.'); |
|
102 | +define('_COUNTRY_GT', 'Guatemala'); |
|
103 | +define('_COUNTRY_GU', 'Guam'); |
|
104 | +define('_COUNTRY_GW', 'Guinea-Bissau'); |
|
105 | +define('_COUNTRY_GY', 'Guyana'); |
|
106 | +define('_COUNTRY_HK', 'Hong Kong'); |
|
107 | +define('_COUNTRY_HM', 'Heard and McDonald Islands'); |
|
108 | +define('_COUNTRY_HN', 'Honduras'); |
|
109 | +define('_COUNTRY_HR', 'Croatia'); |
|
110 | +define('_COUNTRY_HT', 'Haiti'); |
|
111 | +define('_COUNTRY_HU', 'Hungary'); |
|
112 | +define('_COUNTRY_ID', 'Indonesia'); |
|
113 | +define('_COUNTRY_IE', 'Ireland'); |
|
114 | +define('_COUNTRY_IL', 'Israel'); |
|
115 | +define('_COUNTRY_IM', 'Isle of Man'); |
|
116 | +define('_COUNTRY_IN', 'India'); |
|
117 | +define('_COUNTRY_IO', 'British Indian Ocean Territory'); |
|
118 | +define('_COUNTRY_IQ', 'Iraq'); |
|
119 | +define('_COUNTRY_IR', 'Iran'); |
|
120 | +define('_COUNTRY_IS', 'Iceland'); |
|
121 | +define('_COUNTRY_IT', 'Italy'); |
|
122 | +define('_COUNTRY_JM', 'Jamaica'); |
|
123 | +define('_COUNTRY_JO', 'Jordan'); |
|
124 | +define('_COUNTRY_JP', 'Japan'); |
|
125 | +define('_COUNTRY_KE', 'Kenya'); |
|
126 | +define('_COUNTRY_KG', 'Kyrgyzstan'); |
|
127 | +define('_COUNTRY_KH', 'Cambodia'); |
|
128 | +define('_COUNTRY_KI', 'Kiribati'); |
|
129 | +define('_COUNTRY_KM', 'Comoros'); |
|
130 | +define('_COUNTRY_KN', 'Saint Kitts and Nevis'); |
|
131 | +define('_COUNTRY_KP', 'Korea (North)'); |
|
132 | +define('_COUNTRY_KR', 'Korea (South)'); |
|
133 | +define('_COUNTRY_KW', 'Kuwait'); |
|
134 | +define('_COUNTRY_KY', 'Cayman Islands'); |
|
135 | +define('_COUNTRY_KZ', 'Kazakhstan'); |
|
136 | +define('_COUNTRY_LA', 'Laos'); |
|
137 | +define('_COUNTRY_LB', 'Lebanon'); |
|
138 | +define('_COUNTRY_LC', 'Saint Lucia'); |
|
139 | +define('_COUNTRY_LI', 'Liechtenstein'); |
|
140 | +define('_COUNTRY_LK', 'Sri Lanka'); |
|
141 | +define('_COUNTRY_LR', 'Liberia'); |
|
142 | +define('_COUNTRY_LS', 'Lesotho'); |
|
143 | +define('_COUNTRY_LT', 'Lithuania'); |
|
144 | +define('_COUNTRY_LU', 'Luxembourg'); |
|
145 | +define('_COUNTRY_LV', 'Latvia'); |
|
146 | +define('_COUNTRY_LY', 'Libya'); |
|
147 | +define('_COUNTRY_MA', 'Morocco'); |
|
148 | +define('_COUNTRY_MC', 'Monaco'); |
|
149 | +define('_COUNTRY_MD', 'Moldova'); |
|
150 | +define('_COUNTRY_ME', 'Montenegro'); |
|
151 | +define('_COUNTRY_MF', 'Saint Martin'); |
|
152 | +define('_COUNTRY_MG', 'Madagascar'); |
|
153 | +define('_COUNTRY_MH', 'Marshall Islands'); |
|
154 | +define('_COUNTRY_MK', 'Macedonia'); //FYROM |
|
155 | +define('_COUNTRY_ML', 'Mali'); |
|
156 | +define('_COUNTRY_MM', 'Myanmar'); |
|
157 | +define('_COUNTRY_MN', 'Mongolia'); |
|
158 | +define('_COUNTRY_MO', 'Macao'); |
|
159 | +define('_COUNTRY_MP', 'Northern Mariana Islands'); |
|
160 | +define('_COUNTRY_MQ', 'Martinique'); |
|
161 | +define('_COUNTRY_MR', 'Mauritania'); |
|
162 | +define('_COUNTRY_MS', 'Montserrat'); |
|
163 | +define('_COUNTRY_MT', 'Malta'); |
|
164 | +define('_COUNTRY_MU', 'Mauritius'); |
|
165 | +define('_COUNTRY_MV', 'Maldives'); |
|
166 | +define('_COUNTRY_MW', 'Malawi'); |
|
167 | +define('_COUNTRY_MX', 'Mexico'); |
|
168 | +define('_COUNTRY_MY', 'Malaysia'); |
|
169 | +define('_COUNTRY_MZ', 'Mozambique'); |
|
170 | +define('_COUNTRY_NA', 'Namibia'); |
|
171 | +define('_COUNTRY_NC', 'New Caledonia'); |
|
172 | +define('_COUNTRY_NE', 'Niger'); |
|
173 | +define('_COUNTRY_NF', 'Norfolk Island'); |
|
174 | +define('_COUNTRY_NG', 'Nigeria'); |
|
175 | +define('_COUNTRY_NI', 'Nicaragua'); |
|
176 | +define('_COUNTRY_NL', 'Netherlands'); |
|
177 | +define('_COUNTRY_NO', 'Norway'); |
|
178 | +define('_COUNTRY_NP', 'Nepal'); |
|
179 | +define('_COUNTRY_NR', 'Nauru'); |
|
180 | +define('_COUNTRY_NT', 'Neutral Zone'); |
|
181 | +define('_COUNTRY_NU', 'Niue'); |
|
182 | +define('_COUNTRY_NZ', 'New Zealand'); |
|
183 | +define('_COUNTRY_OM', 'Oman'); |
|
184 | +define('_COUNTRY_PA', 'Panama'); |
|
185 | +define('_COUNTRY_PE', 'Peru'); |
|
186 | +define('_COUNTRY_PF', 'French Polynesia'); |
|
187 | +define('_COUNTRY_PG', 'Papua New Guinea'); |
|
188 | +define('_COUNTRY_PH', 'Philippines'); |
|
189 | +define('_COUNTRY_PK', 'Pakistan'); |
|
190 | +define('_COUNTRY_PL', 'Poland'); |
|
191 | +define('_COUNTRY_PM', 'St. Pierre and Miquelon'); |
|
192 | +define('_COUNTRY_PN', 'Pitcairn'); |
|
193 | +define('_COUNTRY_PR', 'Puerto Rico'); |
|
194 | +define('_COUNTRY_PS', 'Palestine Territory (Occupied)'); |
|
195 | +define('_COUNTRY_PT', 'Portugal'); |
|
196 | +define('_COUNTRY_PW', 'Palau'); |
|
197 | +define('_COUNTRY_PY', 'Paraguay'); |
|
198 | +define('_COUNTRY_QA', 'Qatar'); |
|
199 | +define('_COUNTRY_RE', 'Reunion'); |
|
200 | +define('_COUNTRY_RO', 'Romania'); |
|
201 | +define('_COUNTRY_RS', 'Serbia'); |
|
202 | +define('_COUNTRY_RU', 'Russian Federation'); |
|
203 | +define('_COUNTRY_RW', 'Rwanda'); |
|
204 | +define('_COUNTRY_SA', 'Saudi Arabia'); |
|
205 | +define('_COUNTRY_SB', 'Solomon Islands'); |
|
206 | +define('_COUNTRY_SC', 'Seychelles'); |
|
207 | +define('_COUNTRY_SD', 'Sudan'); |
|
208 | +define('_COUNTRY_SE', 'Sweden'); |
|
209 | +define('_COUNTRY_SG', 'Singapore'); |
|
210 | +define('_COUNTRY_SH', 'St. Helena'); |
|
211 | +define('_COUNTRY_SI', 'Slovenia'); |
|
212 | +define('_COUNTRY_SJ', 'Svalbard and Jan Mayen Islands'); |
|
213 | +define('_COUNTRY_SK', 'Slovakia'); |
|
214 | +define('_COUNTRY_SL', 'Sierra Leone'); |
|
215 | +define('_COUNTRY_SM', 'San Marino'); |
|
216 | +define('_COUNTRY_SN', 'Senegal'); |
|
217 | +define('_COUNTRY_SO', 'Somalia'); |
|
218 | +define('_COUNTRY_SR', 'Suriname'); |
|
219 | +define('_COUNTRY_ST', 'Sao Tome and Principe'); |
|
220 | +define('_COUNTRY_SU', 'USSR (former)'); // Not listed in ISO 3166 |
|
221 | +define('_COUNTRY_SV', 'El Salvador'); |
|
222 | +define('_COUNTRY_SY', 'Syria'); |
|
223 | +define('_COUNTRY_SZ', 'Swaziland'); |
|
224 | +define('_COUNTRY_TC', 'Turks and Caicos Islands'); |
|
225 | +define('_COUNTRY_TD', 'Chad'); |
|
226 | +define('_COUNTRY_TF', 'French Southern Territories'); |
|
227 | +define('_COUNTRY_TG', 'Togo'); |
|
228 | +define('_COUNTRY_TH', 'Thailand'); |
|
229 | +define('_COUNTRY_TJ', 'Tajikistan'); |
|
230 | +define('_COUNTRY_TK', 'Tokelau'); |
|
231 | +define('_COUNTRY_TL', 'Timor-Leste'); |
|
232 | +define('_COUNTRY_TM', 'Turkmenistan'); |
|
233 | +define('_COUNTRY_TN', 'Tunisia'); |
|
234 | +define('_COUNTRY_TO', 'Tonga'); |
|
235 | +define('_COUNTRY_TP', 'East Timor'); // Not listed in ISO 3166, changed to TL |
|
236 | +define('_COUNTRY_TR', 'Turkey'); |
|
237 | +define('_COUNTRY_TT', 'Trinidad and Tobago'); |
|
238 | +define('_COUNTRY_TV', 'Tuvalu'); |
|
239 | +define('_COUNTRY_TW', 'Taiwan'); |
|
240 | +define('_COUNTRY_TZ', 'Tanzania'); |
|
241 | +define('_COUNTRY_UA', 'Ukraine'); |
|
242 | +define('_COUNTRY_UG', 'Uganda'); |
|
243 | 243 | //define('_COUNTRY_UK','United Kingdom'); // Not listed in ISO 3166 |
244 | -define('_COUNTRY_UM','US Minor Outlying Islands'); |
|
245 | -define('_COUNTRY_US','United States'); |
|
246 | -define('_COUNTRY_UY','Uruguay'); |
|
247 | -define('_COUNTRY_UZ','Uzbekistan'); |
|
248 | -define('_COUNTRY_VA','Vatican City State (Holy See)'); |
|
249 | -define('_COUNTRY_VC','Saint Vincent and the Grenadines'); |
|
250 | -define('_COUNTRY_VE','Venezuela'); |
|
251 | -define('_COUNTRY_VG','Virgin Islands (British)'); |
|
252 | -define('_COUNTRY_VI','Virgin Islands (US)'); |
|
253 | -define('_COUNTRY_VN','Viet Nam'); |
|
254 | -define('_COUNTRY_VU','Vanuatu'); |
|
255 | -define('_COUNTRY_WF','Wallis and Futuna Islands'); |
|
256 | -define('_COUNTRY_WS','Samoa'); |
|
257 | -define('_COUNTRY_YE','Yemen'); |
|
258 | -define('_COUNTRY_YT','Mayotte'); |
|
259 | -define('_COUNTRY_YU','Yugoslavia (former)'); // Not listed in ISO 3166 |
|
260 | -define('_COUNTRY_ZA','South Africa'); |
|
261 | -define('_COUNTRY_ZM','Zambia'); |
|
262 | -define('_COUNTRY_ZR','Zaire'); // Not listed in ISO 3166 |
|
263 | -define('_COUNTRY_ZW','Zimbabwe'); |
|
244 | +define('_COUNTRY_UM', 'US Minor Outlying Islands'); |
|
245 | +define('_COUNTRY_US', 'United States'); |
|
246 | +define('_COUNTRY_UY', 'Uruguay'); |
|
247 | +define('_COUNTRY_UZ', 'Uzbekistan'); |
|
248 | +define('_COUNTRY_VA', 'Vatican City State (Holy See)'); |
|
249 | +define('_COUNTRY_VC', 'Saint Vincent and the Grenadines'); |
|
250 | +define('_COUNTRY_VE', 'Venezuela'); |
|
251 | +define('_COUNTRY_VG', 'Virgin Islands (British)'); |
|
252 | +define('_COUNTRY_VI', 'Virgin Islands (US)'); |
|
253 | +define('_COUNTRY_VN', 'Viet Nam'); |
|
254 | +define('_COUNTRY_VU', 'Vanuatu'); |
|
255 | +define('_COUNTRY_WF', 'Wallis and Futuna Islands'); |
|
256 | +define('_COUNTRY_WS', 'Samoa'); |
|
257 | +define('_COUNTRY_YE', 'Yemen'); |
|
258 | +define('_COUNTRY_YT', 'Mayotte'); |
|
259 | +define('_COUNTRY_YU', 'Yugoslavia (former)'); // Not listed in ISO 3166 |
|
260 | +define('_COUNTRY_ZA', 'South Africa'); |
|
261 | +define('_COUNTRY_ZM', 'Zambia'); |
|
262 | +define('_COUNTRY_ZR', 'Zaire'); // Not listed in ISO 3166 |
|
263 | +define('_COUNTRY_ZW', 'Zimbabwe'); |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -define('_AM_XMF_MODULE_NOTFOUND','Please install or reactivate %1$s module. Minimum version required: %2$s'); |
|
4 | -define('_AM_XMF_MODULE_VERSION','Minimum %1$s module version required: %2$s (your version is %3$s)'); |
|
3 | +define('_AM_XMF_MODULE_NOTFOUND', 'Please install or reactivate %1$s module. Minimum version required: %2$s'); |
|
4 | +define('_AM_XMF_MODULE_VERSION', 'Minimum %1$s module version required: %2$s (your version is %3$s)'); |
|
5 | 5 | define('_AM_XMF_MODULE_INSTALLED', 'The module \'%s\' is installed!'); |
6 | 6 | define('_AM_XMF_MODULE_NOT_INSTALLED', 'The module \'%s\' is not installed!'); |
7 | 7 | |
8 | -define('_DB_XMF_TABLE_IS_NOT_DEFINED','Table is not defined'); |
|
8 | +define('_DB_XMF_TABLE_IS_NOT_DEFINED', 'Table is not defined'); |
@@ -61,5 +61,5 @@ |
||
61 | 61 | |
62 | 62 | //2.5.4 |
63 | 63 | define('_MA_USER_FACEBOOK', 'Facebook Link'); //TO DO |
64 | -define('_MA_USER_SKYPE', 'Skype Link');//TO DO |
|
64 | +define('_MA_USER_SKYPE', 'Skype Link'); //TO DO |
|
65 | 65 |
@@ -20,13 +20,13 @@ discard block |
||
20 | 20 | defined('NWLINE') or define('NWLINE', "\n"); |
21 | 21 | |
22 | 22 | $xoopsOption['nocommon'] = true; |
23 | -require_once __DIR__ . DS . 'mainfile.php'; |
|
23 | +require_once __DIR__.DS.'mainfile.php'; |
|
24 | 24 | |
25 | 25 | error_reporting(0); |
26 | 26 | |
27 | -include_once XOOPS_ROOT_PATH . DS . 'include' . DS . 'defines.php'; |
|
28 | -include_once XOOPS_ROOT_PATH . DS . 'include' . DS . 'version.php'; |
|
29 | -require_once XOOPS_ROOT_PATH . DS . 'class' . DS . 'xoopsload.php'; |
|
27 | +include_once XOOPS_ROOT_PATH.DS.'include'.DS.'defines.php'; |
|
28 | +include_once XOOPS_ROOT_PATH.DS.'include'.DS.'version.php'; |
|
29 | +require_once XOOPS_ROOT_PATH.DS.'class'.DS.'xoopsload.php'; |
|
30 | 30 | |
31 | 31 | XoopsLoad::load('xoopskernel'); |
32 | 32 | $xoops = new xos_kernel_Xoops2(); |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | $path = (substr($path, 0, 1) === '/') ? substr($path, 1) : $path; |
39 | 39 | $path_type = substr($path, 0, strpos($path, '/')); |
40 | 40 | if (!isset($xoops->paths[$path_type])) { |
41 | - $path = 'XOOPS/' . $path; |
|
41 | + $path = 'XOOPS/'.$path; |
|
42 | 42 | $path_type = 'XOOPS'; |
43 | 43 | } |
44 | 44 | } |
@@ -84,9 +84,9 @@ discard block |
||
84 | 84 | // seconds, minutes, hours, days |
85 | 85 | $expires = 60 * 60 * 24 * 15; |
86 | 86 | header('Pragma: public'); |
87 | -header('Cache-Control: maxage=' . $expires); |
|
88 | -header('Expires: ' . gmdate('D, d M Y H:i:s', time() + $expires) . ' GMT'); |
|
89 | -header('Content-type: ' . $types[$ext]); |
|
87 | +header('Cache-Control: maxage='.$expires); |
|
88 | +header('Expires: '.gmdate('D, d M Y H:i:s', time() + $expires).' GMT'); |
|
89 | +header('Content-type: '.$types[$ext]); |
|
90 | 90 | $handle = fopen($file, 'rb'); |
91 | 91 | while (!feof($handle)) { |
92 | 92 | $buffer = fread($handle, 4096); |
@@ -69,13 +69,13 @@ |
||
69 | 69 | } |
70 | 70 | |
71 | 71 | // Secure file |
72 | - require XOOPS_VAR_PATH . '/data/secure.php'; |
|
72 | + require XOOPS_VAR_PATH.'/data/secure.php'; |
|
73 | 73 | |
74 | 74 | define('XOOPS_GROUP_ADMIN', '1'); |
75 | 75 | define('XOOPS_GROUP_USERS', '2'); |
76 | 76 | define('XOOPS_GROUP_ANONYMOUS', '3'); |
77 | 77 | |
78 | 78 | if (!isset($xoopsOption['nocommon']) && XOOPS_ROOT_PATH != '') { |
79 | - include XOOPS_ROOT_PATH . '/include/common.php'; |
|
79 | + include XOOPS_ROOT_PATH.'/include/common.php'; |
|
80 | 80 | } |
81 | 81 | } |
@@ -216,7 +216,7 @@ discard block |
||
216 | 216 | // Increment number of files |
217 | 217 | $this->numFiles++; |
218 | 218 | // Create us a new file in our array |
219 | - $activeFile =& $this->files[]; |
|
219 | + $activeFile = & $this->files[]; |
|
220 | 220 | // Asign Values |
221 | 221 | $activeFile['name'] = $file_name; |
222 | 222 | $activeFile['mode'] = $file_mode; |
@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | // Increment number of directories |
233 | 233 | $this->numDirectories++; |
234 | 234 | // Create a new directory in our array |
235 | - $activeDir =& $this->directories[]; |
|
235 | + $activeDir = & $this->directories[]; |
|
236 | 236 | // Assign values |
237 | 237 | $activeDir['name'] = $file_name; |
238 | 238 | $activeDir['mode'] = $file_mode; |
@@ -298,16 +298,16 @@ discard block |
||
298 | 298 | // Generate tar header for this directory |
299 | 299 | // Filename, Permissions, UID, GID, size, Time, checksum, typeflag, linkname, magic, version, user name, group name, devmajor, devminor, prefix, end |
300 | 300 | $header .= str_pad($information['name'], 100, chr(0)); |
301 | - $header .= str_pad(decoct($information['mode']), 7, '0', STR_PAD_LEFT) . chr(0); |
|
302 | - $header .= str_pad(decoct($information['user_id']), 7, '0', STR_PAD_LEFT) . chr(0); |
|
303 | - $header .= str_pad(decoct($information['group_id']), 7, '0', STR_PAD_LEFT) . chr(0); |
|
304 | - $header .= str_pad(decoct(0), 11, '0', STR_PAD_LEFT) . chr(0); |
|
305 | - $header .= str_pad(decoct($information['time']), 11, '0', STR_PAD_LEFT) . chr(0); |
|
301 | + $header .= str_pad(decoct($information['mode']), 7, '0', STR_PAD_LEFT).chr(0); |
|
302 | + $header .= str_pad(decoct($information['user_id']), 7, '0', STR_PAD_LEFT).chr(0); |
|
303 | + $header .= str_pad(decoct($information['group_id']), 7, '0', STR_PAD_LEFT).chr(0); |
|
304 | + $header .= str_pad(decoct(0), 11, '0', STR_PAD_LEFT).chr(0); |
|
305 | + $header .= str_pad(decoct($information['time']), 11, '0', STR_PAD_LEFT).chr(0); |
|
306 | 306 | $header .= str_repeat(' ', 8); |
307 | 307 | $header .= '5'; |
308 | 308 | $header .= str_repeat(chr(0), 100); |
309 | 309 | $header .= str_pad('ustar', 6, chr(32)); |
310 | - $header .= chr(32) . chr(0); |
|
310 | + $header .= chr(32).chr(0); |
|
311 | 311 | $header .= str_pad('', 32, chr(0)); |
312 | 312 | $header .= str_pad('', 32, chr(0)); |
313 | 313 | $header .= str_repeat(chr(0), 8); |
@@ -333,16 +333,16 @@ discard block |
||
333 | 333 | // Generate the TAR header for this file |
334 | 334 | // Filename, Permissions, UID, GID, size, Time, checksum, typeflag, linkname, magic, version, user name, group name, devmajor, devminor, prefix, end |
335 | 335 | $header = str_pad($information['name'], 100, chr(0)); |
336 | - $header .= str_pad(decoct($information['mode']), 7, '0', STR_PAD_LEFT) . chr(0); |
|
337 | - $header .= str_pad(decoct($information['user_id']), 7, '0', STR_PAD_LEFT) . chr(0); |
|
338 | - $header .= str_pad(decoct($information['group_id']), 7, '0', STR_PAD_LEFT) . chr(0); |
|
339 | - $header .= str_pad(decoct($information['size']), 11, '0', STR_PAD_LEFT) . chr(0); |
|
340 | - $header .= str_pad(decoct($information['time']), 11, '0', STR_PAD_LEFT) . chr(0); |
|
336 | + $header .= str_pad(decoct($information['mode']), 7, '0', STR_PAD_LEFT).chr(0); |
|
337 | + $header .= str_pad(decoct($information['user_id']), 7, '0', STR_PAD_LEFT).chr(0); |
|
338 | + $header .= str_pad(decoct($information['group_id']), 7, '0', STR_PAD_LEFT).chr(0); |
|
339 | + $header .= str_pad(decoct($information['size']), 11, '0', STR_PAD_LEFT).chr(0); |
|
340 | + $header .= str_pad(decoct($information['time']), 11, '0', STR_PAD_LEFT).chr(0); |
|
341 | 341 | $header .= str_repeat(' ', 8); |
342 | 342 | $header .= '0'; |
343 | 343 | $header .= str_repeat(chr(0), 100); |
344 | 344 | $header .= str_pad('ustar', 6, chr(32)); |
345 | - $header .= chr(32) . chr(0); |
|
345 | + $header .= chr(32).chr(0); |
|
346 | 346 | $header .= str_pad($information['user_name'], 32, chr(0)); // How do I get a file's user name from PHP? |
347 | 347 | $header .= str_pad($information['group_name'], 32, chr(0)); // How do I get a file's group name from PHP? |
348 | 348 | $header .= str_repeat(chr(0), 8); |
@@ -359,7 +359,7 @@ discard block |
||
359 | 359 | // Pad file contents to byte count divisible by 512 |
360 | 360 | $file_contents = str_pad($information['file'], ceil($information['size'] / 512) * 512, chr(0)); |
361 | 361 | // Add new tar formatted data to tar file contents |
362 | - $this->tar_file .= $header . $file_contents; |
|
362 | + $this->tar_file .= $header.$file_contents; |
|
363 | 363 | } |
364 | 364 | } |
365 | 365 | // Add 512 bytes of NULLs to designate EOF |
@@ -499,7 +499,7 @@ discard block |
||
499 | 499 | $file_information = stat($dirname); |
500 | 500 | // Add directory to processed data |
501 | 501 | $this->numDirectories++; |
502 | - $activeDir =& $this->directories[]; |
|
502 | + $activeDir = & $this->directories[]; |
|
503 | 503 | $activeDir['name'] = $dirname; |
504 | 504 | $activeDir['mode'] = $file_information['mode']; |
505 | 505 | $activeDir['time'] = $file_information['time']; |
@@ -539,7 +539,7 @@ discard block |
||
539 | 539 | fclose($fp); |
540 | 540 | // Add file to processed data |
541 | 541 | $this->numFiles++; |
542 | - $activeFile =& $this->files[]; |
|
542 | + $activeFile = & $this->files[]; |
|
543 | 543 | $activeFile['name'] = $filename; |
544 | 544 | $activeFile['mode'] = $file_information['mode']; |
545 | 545 | $activeFile['user_id'] = $file_information['uid']; |