Version Notes
The All-In-One Facebook Widgets features:
Was added select option Locale and included values automatically, en_EN, fr_FR, etc
Download this release
Release Info
Developer | Magento Core Team |
Extension | Magazento_Facebook_Widgets |
Version | 1.1.1 |
Comparing to | |
See all releases |
Code changes from version 1.1.0 to 1.1.1
- app/code/community/Magazento/Facebook/Adminhtml/Model/System/Config/Source/Locale.php +256 -0
- app/code/community/Magazento/Facebook/etc/config.xml +2 -1
- app/code/community/Magazento/Facebook/etc/system.xml +11 -0
- app/design/frontend/default/default/template/magazento/facebook/activity.phtml +1 -1
- app/design/frontend/default/default/template/magazento/facebook/comments.phtml +1 -1
- app/design/frontend/default/default/template/magazento/facebook/facepile.phtml +1 -1
- app/design/frontend/default/default/template/magazento/facebook/like.phtml +2 -2
- app/design/frontend/default/default/template/magazento/facebook/likebox.phtml +1 -1
- app/design/frontend/default/default/template/magazento/facebook/livestream.phtml +1 -1
- app/design/frontend/default/default/template/magazento/facebook/opengraphtags.phtml +1 -1
- app/design/frontend/default/default/template/magazento/facebook/recommendations.phtml +1 -1
- app/design/frontend/default/default/template/magazento/facebook/send.phtml +1 -1
- package.xml +6 -5
app/code/community/Magazento/Facebook/Adminhtml/Model/System/Config/Source/Locale.php
ADDED
@@ -0,0 +1,256 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Magazento_Facebook_Adminhtml_Model_System_Config_Source_Locale {
|
4 |
+
|
5 |
+
public function toOptionArray() {
|
6 |
+
return array(
|
7 |
+
array('value' => 'auto', 'label' => Mage::helper('facebook')->__('Automatically')),
|
8 |
+
array('value' => 'ca_AD', 'label' => Mage::helper('facebook')->__('AD')),
|
9 |
+
array('value' => 'ar_AE', 'label' => Mage::helper('facebook')->__('AE')),
|
10 |
+
array('value' => 'fa_AF', 'label' => Mage::helper('facebook')->__('AF')),
|
11 |
+
array('value' => 'en_AG', 'label' => Mage::helper('facebook')->__('AG')),
|
12 |
+
array('value' => 'en_AI', 'label' => Mage::helper('facebook')->__('AI')),
|
13 |
+
array('value' => 'sq_AL', 'label' => Mage::helper('facebook')->__('AL')),
|
14 |
+
array('value' => 'hy_AM', 'label' => Mage::helper('facebook')->__('AM')),
|
15 |
+
array('value' => 'pap_AN', 'label' => Mage::helper('facebook')->__('AN')),
|
16 |
+
array('value' => 'pt_AO', 'label' => Mage::helper('facebook')->__('AO')),
|
17 |
+
array('value' => 'und_AQ', 'label' => Mage::helper('facebook')->__('AQ')),
|
18 |
+
array('value' => 'es_AR', 'label' => Mage::helper('facebook')->__('AR')),
|
19 |
+
array('value' => 'sm_AS', 'label' => Mage::helper('facebook')->__('AS')),
|
20 |
+
array('value' => 'de_AT', 'label' => Mage::helper('facebook')->__('AT')),
|
21 |
+
array('value' => 'en_AU', 'label' => Mage::helper('facebook')->__('AU')),
|
22 |
+
array('value' => 'nl_AW', 'label' => Mage::helper('facebook')->__('AW')),
|
23 |
+
array('value' => 'sv_AX', 'label' => Mage::helper('facebook')->__('AX')),
|
24 |
+
array('value' => 'az_Latn_AZ', 'label' => Mage::helper('facebook')->__('AZ')),
|
25 |
+
array('value' => 'bs_BA', 'label' => Mage::helper('facebook')->__('BA')),
|
26 |
+
array('value' => 'en_BB', 'label' => Mage::helper('facebook')->__('BB')),
|
27 |
+
array('value' => 'bn_BD', 'label' => Mage::helper('facebook')->__('BD')),
|
28 |
+
array('value' => 'nl_BE', 'label' => Mage::helper('facebook')->__('BE')),
|
29 |
+
array('value' => 'mos_BF', 'label' => Mage::helper('facebook')->__('BF')),
|
30 |
+
array('value' => 'bg_BG', 'label' => Mage::helper('facebook')->__('BG')),
|
31 |
+
array('value' => 'ar_BH', 'label' => Mage::helper('facebook')->__('BH')),
|
32 |
+
array('value' => 'rn_BI', 'label' => Mage::helper('facebook')->__('BI')),
|
33 |
+
array('value' => 'fr_BJ', 'label' => Mage::helper('facebook')->__('BJ')),
|
34 |
+
array('value' => 'fr_BL', 'label' => Mage::helper('facebook')->__('BL')),
|
35 |
+
array('value' => 'en_BM', 'label' => Mage::helper('facebook')->__('BM')),
|
36 |
+
array('value' => 'ms_BN', 'label' => Mage::helper('facebook')->__('BN')),
|
37 |
+
array('value' => 'es_BO', 'label' => Mage::helper('facebook')->__('BO')),
|
38 |
+
array('value' => 'pt_BR', 'label' => Mage::helper('facebook')->__('BR')),
|
39 |
+
array('value' => 'en_BS', 'label' => Mage::helper('facebook')->__('BS')),
|
40 |
+
array('value' => 'dz_BT', 'label' => Mage::helper('facebook')->__('BT')),
|
41 |
+
array('value' => 'und_BV', 'label' => Mage::helper('facebook')->__('BV')),
|
42 |
+
array('value' => 'en_BW', 'label' => Mage::helper('facebook')->__('BW')),
|
43 |
+
array('value' => 'be_BY', 'label' => Mage::helper('facebook')->__('BY')),
|
44 |
+
array('value' => 'en_BZ', 'label' => Mage::helper('facebook')->__('BZ')),
|
45 |
+
array('value' => 'en_CA', 'label' => Mage::helper('facebook')->__('CA')),
|
46 |
+
array('value' => 'ms_CC', 'label' => Mage::helper('facebook')->__('CC')),
|
47 |
+
array('value' => 'sw_CD', 'label' => Mage::helper('facebook')->__('CD')),
|
48 |
+
array('value' => 'fr_CF', 'label' => Mage::helper('facebook')->__('CF')),
|
49 |
+
array('value' => 'fr_CG', 'label' => Mage::helper('facebook')->__('CG')),
|
50 |
+
array('value' => 'de_CH', 'label' => Mage::helper('facebook')->__('CH')),
|
51 |
+
array('value' => 'fr_CI', 'label' => Mage::helper('facebook')->__('CI')),
|
52 |
+
array('value' => 'en_CK', 'label' => Mage::helper('facebook')->__('CK')),
|
53 |
+
array('value' => 'es_CL', 'label' => Mage::helper('facebook')->__('CL')),
|
54 |
+
array('value' => 'fr_CM', 'label' => Mage::helper('facebook')->__('CM')),
|
55 |
+
array('value' => 'zh_Hans_CN', 'label' => Mage::helper('facebook')->__('CN')),
|
56 |
+
array('value' => 'es_CO', 'label' => Mage::helper('facebook')->__('CO')),
|
57 |
+
array('value' => 'es_CR', 'label' => Mage::helper('facebook')->__('CR')),
|
58 |
+
array('value' => 'es_CU', 'label' => Mage::helper('facebook')->__('CU')),
|
59 |
+
array('value' => 'kea_CV', 'label' => Mage::helper('facebook')->__('CV')),
|
60 |
+
array('value' => 'en_CX', 'label' => Mage::helper('facebook')->__('CX')),
|
61 |
+
array('value' => 'el_CY', 'label' => Mage::helper('facebook')->__('CY')),
|
62 |
+
array('value' => 'cs_CZ', 'label' => Mage::helper('facebook')->__('CZ')),
|
63 |
+
array('value' => 'de_DE', 'label' => Mage::helper('facebook')->__('DE')),
|
64 |
+
array('value' => 'aa_DJ', 'label' => Mage::helper('facebook')->__('DJ')),
|
65 |
+
array('value' => 'da_DK', 'label' => Mage::helper('facebook')->__('DK')),
|
66 |
+
array('value' => 'en_DM', 'label' => Mage::helper('facebook')->__('DM')),
|
67 |
+
array('value' => 'es_DO', 'label' => Mage::helper('facebook')->__('DO')),
|
68 |
+
array('value' => 'ar_DZ', 'label' => Mage::helper('facebook')->__('DZ')),
|
69 |
+
array('value' => 'es_EC', 'label' => Mage::helper('facebook')->__('EC')),
|
70 |
+
array('value' => 'et_EE', 'label' => Mage::helper('facebook')->__('EE')),
|
71 |
+
array('value' => 'ar_EG', 'label' => Mage::helper('facebook')->__('EG')),
|
72 |
+
array('value' => 'ar_EH', 'label' => Mage::helper('facebook')->__('EH')),
|
73 |
+
array('value' => 'ti_ER', 'label' => Mage::helper('facebook')->__('ER')),
|
74 |
+
array('value' => 'es_ES', 'label' => Mage::helper('facebook')->__('ES')),
|
75 |
+
array('value' => 'en_ET', 'label' => Mage::helper('facebook')->__('ET')),
|
76 |
+
array('value' => 'fi_FI', 'label' => Mage::helper('facebook')->__('FI')),
|
77 |
+
array('value' => 'hi_FJ', 'label' => Mage::helper('facebook')->__('FJ')),
|
78 |
+
array('value' => 'en_FK', 'label' => Mage::helper('facebook')->__('FK')),
|
79 |
+
array('value' => 'chk_FM', 'label' => Mage::helper('facebook')->__('FM')),
|
80 |
+
array('value' => 'fo_FO', 'label' => Mage::helper('facebook')->__('FO')),
|
81 |
+
array('value' => 'fr_FR', 'label' => Mage::helper('facebook')->__('FR')),
|
82 |
+
array('value' => 'fr_GA', 'label' => Mage::helper('facebook')->__('GA')),
|
83 |
+
array('value' => 'en_GB', 'label' => Mage::helper('facebook')->__('GB')),
|
84 |
+
array('value' => 'en_GD', 'label' => Mage::helper('facebook')->__('GD')),
|
85 |
+
array('value' => 'ka_GE', 'label' => Mage::helper('facebook')->__('GE')),
|
86 |
+
array('value' => 'fr_GF', 'label' => Mage::helper('facebook')->__('GF')),
|
87 |
+
array('value' => 'en_GG', 'label' => Mage::helper('facebook')->__('GG')),
|
88 |
+
array('value' => 'ak_GH', 'label' => Mage::helper('facebook')->__('GH')),
|
89 |
+
array('value' => 'en_GI', 'label' => Mage::helper('facebook')->__('GI')),
|
90 |
+
array('value' => 'iu_GL', 'label' => Mage::helper('facebook')->__('GL')),
|
91 |
+
array('value' => 'en_GM', 'label' => Mage::helper('facebook')->__('GM')),
|
92 |
+
array('value' => 'fr_GN', 'label' => Mage::helper('facebook')->__('GN')),
|
93 |
+
array('value' => 'fr_GP', 'label' => Mage::helper('facebook')->__('GP')),
|
94 |
+
array('value' => 'fan_GQ', 'label' => Mage::helper('facebook')->__('GQ')),
|
95 |
+
array('value' => 'el_GR', 'label' => Mage::helper('facebook')->__('GR')),
|
96 |
+
array('value' => 'und_GS', 'label' => Mage::helper('facebook')->__('GS')),
|
97 |
+
array('value' => 'es_GT', 'label' => Mage::helper('facebook')->__('GT')),
|
98 |
+
array('value' => 'en_GU', 'label' => Mage::helper('facebook')->__('GU')),
|
99 |
+
array('value' => 'pt_GW', 'label' => Mage::helper('facebook')->__('GW')),
|
100 |
+
array('value' => 'en_GY', 'label' => Mage::helper('facebook')->__('GY')),
|
101 |
+
array('value' => 'zh_Hant_HK', 'label' => Mage::helper('facebook')->__('HK')),
|
102 |
+
array('value' => 'und_HM', 'label' => Mage::helper('facebook')->__('HM')),
|
103 |
+
array('value' => 'es_HN', 'label' => Mage::helper('facebook')->__('HN')),
|
104 |
+
array('value' => 'hr_HR', 'label' => Mage::helper('facebook')->__('HR')),
|
105 |
+
array('value' => 'ht_HT', 'label' => Mage::helper('facebook')->__('HT')),
|
106 |
+
array('value' => 'hu_HU', 'label' => Mage::helper('facebook')->__('HU')),
|
107 |
+
array('value' => 'id_ID', 'label' => Mage::helper('facebook')->__('ID')),
|
108 |
+
array('value' => 'en_IE', 'label' => Mage::helper('facebook')->__('IE')),
|
109 |
+
array('value' => 'he_IL', 'label' => Mage::helper('facebook')->__('IL')),
|
110 |
+
array('value' => 'en_IM', 'label' => Mage::helper('facebook')->__('IM')),
|
111 |
+
array('value' => 'hi_IN', 'label' => Mage::helper('facebook')->__('IN')),
|
112 |
+
array('value' => 'und_IO', 'label' => Mage::helper('facebook')->__('IO')),
|
113 |
+
array('value' => 'ar_IQ', 'label' => Mage::helper('facebook')->__('IQ')),
|
114 |
+
array('value' => 'fa_IR', 'label' => Mage::helper('facebook')->__('IR')),
|
115 |
+
array('value' => 'is_IS', 'label' => Mage::helper('facebook')->__('IS')),
|
116 |
+
array('value' => 'it_IT', 'label' => Mage::helper('facebook')->__('IT')),
|
117 |
+
array('value' => 'en_JE', 'label' => Mage::helper('facebook')->__('JE')),
|
118 |
+
array('value' => 'en_JM', 'label' => Mage::helper('facebook')->__('JM')),
|
119 |
+
array('value' => 'ar_JO', 'label' => Mage::helper('facebook')->__('JO')),
|
120 |
+
array('value' => 'ja_JP', 'label' => Mage::helper('facebook')->__('JP')),
|
121 |
+
array('value' => 'en_KE', 'label' => Mage::helper('facebook')->__('KE')),
|
122 |
+
array('value' => 'ky_Cyrl_KG', 'label' => Mage::helper('facebook')->__('KG')),
|
123 |
+
array('value' => 'km_KH', 'label' => Mage::helper('facebook')->__('KH')),
|
124 |
+
array('value' => 'en_KI', 'label' => Mage::helper('facebook')->__('KI')),
|
125 |
+
array('value' => 'ar_KM', 'label' => Mage::helper('facebook')->__('KM')),
|
126 |
+
array('value' => 'en_KN', 'label' => Mage::helper('facebook')->__('KN')),
|
127 |
+
array('value' => 'ko_KP', 'label' => Mage::helper('facebook')->__('KP')),
|
128 |
+
array('value' => 'ko_KR', 'label' => Mage::helper('facebook')->__('KR')),
|
129 |
+
array('value' => 'ar_KW', 'label' => Mage::helper('facebook')->__('KW')),
|
130 |
+
array('value' => 'en_KY', 'label' => Mage::helper('facebook')->__('KY')),
|
131 |
+
array('value' => 'ru_KZ', 'label' => Mage::helper('facebook')->__('KZ')),
|
132 |
+
array('value' => 'lo_LA', 'label' => Mage::helper('facebook')->__('LA')),
|
133 |
+
array('value' => 'ar_LB', 'label' => Mage::helper('facebook')->__('LB')),
|
134 |
+
array('value' => 'en_LC', 'label' => Mage::helper('facebook')->__('LC')),
|
135 |
+
array('value' => 'de_LI', 'label' => Mage::helper('facebook')->__('LI')),
|
136 |
+
array('value' => 'si_LK', 'label' => Mage::helper('facebook')->__('LK')),
|
137 |
+
array('value' => 'en_LR', 'label' => Mage::helper('facebook')->__('LR')),
|
138 |
+
array('value' => 'st_LS', 'label' => Mage::helper('facebook')->__('LS')),
|
139 |
+
array('value' => 'lt_LT', 'label' => Mage::helper('facebook')->__('LT')),
|
140 |
+
array('value' => 'fr_LU', 'label' => Mage::helper('facebook')->__('LU')),
|
141 |
+
array('value' => 'lv_LV', 'label' => Mage::helper('facebook')->__('LV')),
|
142 |
+
array('value' => 'ar_LY', 'label' => Mage::helper('facebook')->__('LY')),
|
143 |
+
array('value' => 'ar_MA', 'label' => Mage::helper('facebook')->__('MA')),
|
144 |
+
array('value' => 'fr_MC', 'label' => Mage::helper('facebook')->__('MC')),
|
145 |
+
array('value' => 'ro_MD', 'label' => Mage::helper('facebook')->__('MD')),
|
146 |
+
array('value' => 'sr_Latn_ME', 'label' => Mage::helper('facebook')->__('ME')),
|
147 |
+
array('value' => 'fr_MF', 'label' => Mage::helper('facebook')->__('MF')),
|
148 |
+
array('value' => 'mg_MG', 'label' => Mage::helper('facebook')->__('MG')),
|
149 |
+
array('value' => 'mh_MH', 'label' => Mage::helper('facebook')->__('MH')),
|
150 |
+
array('value' => 'mk_MK', 'label' => Mage::helper('facebook')->__('MK')),
|
151 |
+
array('value' => 'bm_ML', 'label' => Mage::helper('facebook')->__('ML')),
|
152 |
+
array('value' => 'my_MM', 'label' => Mage::helper('facebook')->__('MM')),
|
153 |
+
array('value' => 'mn_Cyrl_MN', 'label' => Mage::helper('facebook')->__('MN')),
|
154 |
+
array('value' => 'zh_Hant_MO', 'label' => Mage::helper('facebook')->__('MO')),
|
155 |
+
array('value' => 'en_MP', 'label' => Mage::helper('facebook')->__('MP')),
|
156 |
+
array('value' => 'fr_MQ', 'label' => Mage::helper('facebook')->__('MQ')),
|
157 |
+
array('value' => 'ar_MR', 'label' => Mage::helper('facebook')->__('MR')),
|
158 |
+
array('value' => 'en_MS', 'label' => Mage::helper('facebook')->__('MS')),
|
159 |
+
array('value' => 'mt_MT', 'label' => Mage::helper('facebook')->__('MT')),
|
160 |
+
array('value' => 'mfe_MU', 'label' => Mage::helper('facebook')->__('MU')),
|
161 |
+
array('value' => 'dv_MV', 'label' => Mage::helper('facebook')->__('MV')),
|
162 |
+
array('value' => 'ny_MW', 'label' => Mage::helper('facebook')->__('MW')),
|
163 |
+
array('value' => 'es_MX', 'label' => Mage::helper('facebook')->__('MX')),
|
164 |
+
array('value' => 'ms_MY', 'label' => Mage::helper('facebook')->__('MY')),
|
165 |
+
array('value' => 'pt_MZ', 'label' => Mage::helper('facebook')->__('MZ')),
|
166 |
+
array('value' => 'kj_NA', 'label' => Mage::helper('facebook')->__('NA')),
|
167 |
+
array('value' => 'fr_NC', 'label' => Mage::helper('facebook')->__('NC')),
|
168 |
+
array('value' => 'ha_Latn_NE', 'label' => Mage::helper('facebook')->__('NE')),
|
169 |
+
array('value' => 'en_NF', 'label' => Mage::helper('facebook')->__('NF')),
|
170 |
+
array('value' => 'en_NG', 'label' => Mage::helper('facebook')->__('NG')),
|
171 |
+
array('value' => 'es_NI', 'label' => Mage::helper('facebook')->__('NI')),
|
172 |
+
array('value' => 'nl_NL', 'label' => Mage::helper('facebook')->__('NL')),
|
173 |
+
array('value' => 'nb_NO', 'label' => Mage::helper('facebook')->__('NO')),
|
174 |
+
array('value' => 'ne_NP', 'label' => Mage::helper('facebook')->__('NP')),
|
175 |
+
array('value' => 'en_NR', 'label' => Mage::helper('facebook')->__('NR')),
|
176 |
+
array('value' => 'niu_NU', 'label' => Mage::helper('facebook')->__('NU')),
|
177 |
+
array('value' => 'en_NZ', 'label' => Mage::helper('facebook')->__('NZ')),
|
178 |
+
array('value' => 'ar_OM', 'label' => Mage::helper('facebook')->__('OM')),
|
179 |
+
array('value' => 'es_PA', 'label' => Mage::helper('facebook')->__('PA')),
|
180 |
+
array('value' => 'es_PE', 'label' => Mage::helper('facebook')->__('PE')),
|
181 |
+
array('value' => 'fr_PF', 'label' => Mage::helper('facebook')->__('PF')),
|
182 |
+
array('value' => 'tpi_PG', 'label' => Mage::helper('facebook')->__('PG')),
|
183 |
+
array('value' => 'fil_PH', 'label' => Mage::helper('facebook')->__('PH')),
|
184 |
+
array('value' => 'ur_PK', 'label' => Mage::helper('facebook')->__('PK')),
|
185 |
+
array('value' => 'pl_PL', 'label' => Mage::helper('facebook')->__('PL')),
|
186 |
+
array('value' => 'fr_PM', 'label' => Mage::helper('facebook')->__('PM')),
|
187 |
+
array('value' => 'en_PN', 'label' => Mage::helper('facebook')->__('PN')),
|
188 |
+
array('value' => 'es_PR', 'label' => Mage::helper('facebook')->__('PR')),
|
189 |
+
array('value' => 'ar_PS', 'label' => Mage::helper('facebook')->__('PS')),
|
190 |
+
array('value' => 'pt_PT', 'label' => Mage::helper('facebook')->__('PT')),
|
191 |
+
array('value' => 'pau_PW', 'label' => Mage::helper('facebook')->__('PW')),
|
192 |
+
array('value' => 'gn_PY', 'label' => Mage::helper('facebook')->__('PY')),
|
193 |
+
array('value' => 'ar_QA', 'label' => Mage::helper('facebook')->__('QA')),
|
194 |
+
array('value' => 'fr_RE', 'label' => Mage::helper('facebook')->__('RE')),
|
195 |
+
array('value' => 'ro_RO', 'label' => Mage::helper('facebook')->__('RO')),
|
196 |
+
array('value' => 'sr_Cyrl_RS', 'label' => Mage::helper('facebook')->__('RS')),
|
197 |
+
array('value' => 'ru_RU', 'label' => Mage::helper('facebook')->__('RU')),
|
198 |
+
array('value' => 'rw_RW', 'label' => Mage::helper('facebook')->__('RW')),
|
199 |
+
array('value' => 'ar_SA', 'label' => Mage::helper('facebook')->__('SA')),
|
200 |
+
array('value' => 'en_SB', 'label' => Mage::helper('facebook')->__('SB')),
|
201 |
+
array('value' => 'crs_SC', 'label' => Mage::helper('facebook')->__('SC')),
|
202 |
+
array('value' => 'ar_SD', 'label' => Mage::helper('facebook')->__('SD')),
|
203 |
+
array('value' => 'sv_SE', 'label' => Mage::helper('facebook')->__('SE')),
|
204 |
+
array('value' => 'en_SG', 'label' => Mage::helper('facebook')->__('SG')),
|
205 |
+
array('value' => 'en_SH', 'label' => Mage::helper('facebook')->__('SH')),
|
206 |
+
array('value' => 'sl_SI', 'label' => Mage::helper('facebook')->__('SI')),
|
207 |
+
array('value' => 'nb_SJ', 'label' => Mage::helper('facebook')->__('SJ')),
|
208 |
+
array('value' => 'sk_SK', 'label' => Mage::helper('facebook')->__('SK')),
|
209 |
+
array('value' => 'kri_SL', 'label' => Mage::helper('facebook')->__('SL')),
|
210 |
+
array('value' => 'it_SM', 'label' => Mage::helper('facebook')->__('SM')),
|
211 |
+
array('value' => 'fr_SN', 'label' => Mage::helper('facebook')->__('SN')),
|
212 |
+
array('value' => 'sw_SO', 'label' => Mage::helper('facebook')->__('SO')),
|
213 |
+
array('value' => 'srn_SR', 'label' => Mage::helper('facebook')->__('SR')),
|
214 |
+
array('value' => 'pt_ST', 'label' => Mage::helper('facebook')->__('ST')),
|
215 |
+
array('value' => 'es_SV', 'label' => Mage::helper('facebook')->__('SV')),
|
216 |
+
array('value' => 'ar_SY', 'label' => Mage::helper('facebook')->__('SY')),
|
217 |
+
array('value' => 'en_SZ', 'label' => Mage::helper('facebook')->__('SZ')),
|
218 |
+
array('value' => 'en_TC', 'label' => Mage::helper('facebook')->__('TC')),
|
219 |
+
array('value' => 'fr_TD', 'label' => Mage::helper('facebook')->__('TD')),
|
220 |
+
array('value' => 'und_TF', 'label' => Mage::helper('facebook')->__('TF')),
|
221 |
+
array('value' => 'fr_TG', 'label' => Mage::helper('facebook')->__('TG')),
|
222 |
+
array('value' => 'th_TH', 'label' => Mage::helper('facebook')->__('TH')),
|
223 |
+
array('value' => 'tg_Cyrl_TJ', 'label' => Mage::helper('facebook')->__('TJ')),
|
224 |
+
array('value' => 'tkl_TK', 'label' => Mage::helper('facebook')->__('TK')),
|
225 |
+
array('value' => 'pt_TL', 'label' => Mage::helper('facebook')->__('TL')),
|
226 |
+
array('value' => 'tk_TM', 'label' => Mage::helper('facebook')->__('TM')),
|
227 |
+
array('value' => 'ar_TN', 'label' => Mage::helper('facebook')->__('TN')),
|
228 |
+
array('value' => 'to_TO', 'label' => Mage::helper('facebook')->__('TO')),
|
229 |
+
array('value' => 'tr_TR', 'label' => Mage::helper('facebook')->__('TR')),
|
230 |
+
array('value' => 'en_TT', 'label' => Mage::helper('facebook')->__('TT')),
|
231 |
+
array('value' => 'tvl_TV', 'label' => Mage::helper('facebook')->__('TV')),
|
232 |
+
array('value' => 'zh_Hant_TW', 'label' => Mage::helper('facebook')->__('TW')),
|
233 |
+
array('value' => 'sw_TZ', 'label' => Mage::helper('facebook')->__('TZ')),
|
234 |
+
array('value' => 'uk_UA', 'label' => Mage::helper('facebook')->__('UA')),
|
235 |
+
array('value' => 'sw_UG', 'label' => Mage::helper('facebook')->__('UG')),
|
236 |
+
array('value' => 'en_UM', 'label' => Mage::helper('facebook')->__('UM')),
|
237 |
+
array('value' => 'en_US', 'label' => Mage::helper('facebook')->__('US')),
|
238 |
+
array('value' => 'es_UY', 'label' => Mage::helper('facebook')->__('UY')),
|
239 |
+
array('value' => 'uz_Cyrl_UZ', 'label' => Mage::helper('facebook')->__('UZ')),
|
240 |
+
array('value' => 'it_VA', 'label' => Mage::helper('facebook')->__('VA')),
|
241 |
+
array('value' => 'en_VC', 'label' => Mage::helper('facebook')->__('VC')),
|
242 |
+
array('value' => 'es_VE', 'label' => Mage::helper('facebook')->__('VE')),
|
243 |
+
array('value' => 'en_VG', 'label' => Mage::helper('facebook')->__('VG')),
|
244 |
+
array('value' => 'en_VI', 'label' => Mage::helper('facebook')->__('VI')),
|
245 |
+
array('value' => 'bi_VU', 'label' => Mage::helper('facebook')->__('VU')),
|
246 |
+
array('value' => 'wls_WF', 'label' => Mage::helper('facebook')->__('WF')),
|
247 |
+
array('value' => 'sm_WS', 'label' => Mage::helper('facebook')->__('WS')),
|
248 |
+
array('value' => 'ar_YE', 'label' => Mage::helper('facebook')->__('YE')),
|
249 |
+
array('value' => 'swb_YT', 'label' => Mage::helper('facebook')->__('YT')),
|
250 |
+
array('value' => 'en_ZA', 'label' => Mage::helper('facebook')->__('ZA')),
|
251 |
+
array('value' => 'en_ZM', 'label' => Mage::helper('facebook')->__('ZM')),
|
252 |
+
array('value' => 'sn_ZW', 'label' => Mage::helper('facebook')->__('ZW'))
|
253 |
+
);
|
254 |
+
}
|
255 |
+
|
256 |
+
}
|
app/code/community/Magazento/Facebook/etc/config.xml
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
<config>
|
4 |
<modules>
|
5 |
<Magazento_Facebook>
|
6 |
-
<version>1.1.
|
7 |
</Magazento_Facebook>
|
8 |
</modules>
|
9 |
<frontend>
|
@@ -94,6 +94,7 @@
|
|
94 |
<enabled>1</enabled>
|
95 |
<appid>226060960750812</appid>
|
96 |
<fb_page_url><![CDATA[ http://www.facebook.com/pages/Magazento/165471806852204 ]]></fb_page_url>
|
|
|
97 |
</general>
|
98 |
<likebutton>
|
99 |
<homecontent>0</homecontent>
|
3 |
<config>
|
4 |
<modules>
|
5 |
<Magazento_Facebook>
|
6 |
+
<version>1.1.1</version>
|
7 |
</Magazento_Facebook>
|
8 |
</modules>
|
9 |
<frontend>
|
94 |
<enabled>1</enabled>
|
95 |
<appid>226060960750812</appid>
|
96 |
<fb_page_url><![CDATA[ http://www.facebook.com/pages/Magazento/165471806852204 ]]></fb_page_url>
|
97 |
+
<locale>auto</locale>
|
98 |
</general>
|
99 |
<likebutton>
|
100 |
<homecontent>0</homecontent>
|
app/code/community/Magazento/Facebook/etc/system.xml
CHANGED
@@ -52,6 +52,17 @@
|
|
52 |
<show_in_website>1</show_in_website>
|
53 |
<show_in_store>1</show_in_store>
|
54 |
</fb_page_url>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
</fields>
|
56 |
</general>
|
57 |
<likebutton translate="label">
|
52 |
<show_in_website>1</show_in_website>
|
53 |
<show_in_store>1</show_in_store>
|
54 |
</fb_page_url>
|
55 |
+
<locale translate="label">
|
56 |
+
<label>Locale</label>
|
57 |
+
<comment><![CDATA[ the locale option ]]>
|
58 |
+
</comment>
|
59 |
+
<frontend_type>select</frontend_type>
|
60 |
+
<source_model>Magazento_Facebook_Adminhtml_Model_System_Config_Source_Locale</source_model>
|
61 |
+
<sort_order>40</sort_order>
|
62 |
+
<show_in_default>1</show_in_default>
|
63 |
+
<show_in_website>1</show_in_website>
|
64 |
+
<show_in_store>1</show_in_store>
|
65 |
+
</locale>
|
66 |
</fields>
|
67 |
</general>
|
68 |
<likebutton translate="label">
|
app/design/frontend/default/default/template/magazento/facebook/activity.phtml
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php if (Mage::getStoreConfig('facebook/general/enabled')) : ?>
|
2 |
<div id="fb-root"></div>
|
3 |
-
<script src="http://connect.facebook.net/<?php echo Mage::app()->getLocale()->getDefaultLocale();
|
4 |
<fb:activity site="<?php echo $this->helper('core/url')->getCurrentUrl(); ?>" width="<?php echo Mage::getStoreConfig('facebook/activity/width'); ?>" height="<?php echo Mage::getStoreConfig('facebook/activity/height'); ?>" header="<?php echo (Mage::getStoreConfig('facebook/activity/header')) ? 'true' : 'false'; ?>" font="<?php echo Mage::getStoreConfig('facebook/activity/font'); ?>" border_color="<?php echo Mage::getStoreConfig('facebook/activity/border_color'); ?>" recommendations="<?php echo (Mage::getStoreConfig('facebook/activity/recommendations')) ? 'true' : 'false'; ?>"></fb:activity>
|
5 |
<p class="magazento-powered">Powered by <a href="http://www.magazento.com/" target="_blank">Magazento</a></p>
|
6 |
<?php endif; ?>
|
1 |
<?php if (Mage::getStoreConfig('facebook/general/enabled')) : ?>
|
2 |
<div id="fb-root"></div>
|
3 |
+
<script src="http://connect.facebook.net/<?php echo (Mage::getStoreConfig('facebook/general/locale') == 'auto') ? Mage::app()->getLocale()->getDefaultLocale() : Mage::getStoreConfig('facebook/general/locale'); ?>/all.js#xfbml=1"></script>
|
4 |
<fb:activity site="<?php echo $this->helper('core/url')->getCurrentUrl(); ?>" width="<?php echo Mage::getStoreConfig('facebook/activity/width'); ?>" height="<?php echo Mage::getStoreConfig('facebook/activity/height'); ?>" header="<?php echo (Mage::getStoreConfig('facebook/activity/header')) ? 'true' : 'false'; ?>" font="<?php echo Mage::getStoreConfig('facebook/activity/font'); ?>" border_color="<?php echo Mage::getStoreConfig('facebook/activity/border_color'); ?>" recommendations="<?php echo (Mage::getStoreConfig('facebook/activity/recommendations')) ? 'true' : 'false'; ?>"></fb:activity>
|
5 |
<p class="magazento-powered">Powered by <a href="http://www.magazento.com/" target="_blank">Magazento</a></p>
|
6 |
<?php endif; ?>
|
app/design/frontend/default/default/template/magazento/facebook/comments.phtml
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php if (Mage::getStoreConfig('facebook/general/enabled')) : ?>
|
2 |
<div id="fb-root"></div>
|
3 |
-
<script src="http://connect.facebook.net/<?php echo Mage::app()->getLocale()->getDefaultLocale();
|
4 |
<fb:comments href="<?php echo $this->helper('core/url')->getCurrentUrl();?>" num_posts="<?php echo Mage::getStoreConfig('facebook/comments/num_posts'); ?>" width="<?php echo Mage::getStoreConfig('facebook/comments/width'); ?>"></fb:comments>
|
5 |
<p class="magazento-powered">Powered by <a href="http://www.magazento.com/" target="_blank">Magazento</a></p>
|
6 |
<?php endif; ?>
|
1 |
<?php if (Mage::getStoreConfig('facebook/general/enabled')) : ?>
|
2 |
<div id="fb-root"></div>
|
3 |
+
<script src="http://connect.facebook.net/<?php echo (Mage::getStoreConfig('facebook/general/locale') == 'auto') ? Mage::app()->getLocale()->getDefaultLocale() : Mage::getStoreConfig('facebook/general/locale'); ?>/all.js#xfbml=1"></script>
|
4 |
<fb:comments href="<?php echo $this->helper('core/url')->getCurrentUrl();?>" num_posts="<?php echo Mage::getStoreConfig('facebook/comments/num_posts'); ?>" width="<?php echo Mage::getStoreConfig('facebook/comments/width'); ?>"></fb:comments>
|
5 |
<p class="magazento-powered">Powered by <a href="http://www.magazento.com/" target="_blank">Magazento</a></p>
|
6 |
<?php endif; ?>
|
app/design/frontend/default/default/template/magazento/facebook/facepile.phtml
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php if (Mage::getStoreConfig('facebook/general/enabled')) : ?>
|
2 |
<div id="fb-root"></div>
|
3 |
-
<script src="http://connect.facebook.net/<?php echo Mage::app()->getLocale()->getDefaultLocale();
|
4 |
<fb:facepile href="<?php echo (Mage::getStoreConfig('facebook/facepile/url') == 'currentpage') ? $this->helper('core/url')->getCurrentUrl() : Mage::getStoreConfig('facebook/general/fb_page_url'); ?>" size="<?php echo Mage::getStoreConfig('facebook/facepile/size'); ?>" width="<?php echo Mage::getStoreConfig('facebook/facepile/width'); ?>" max_rows="<?php echo Mage::getStoreConfig('facebook/facepile/max_rows'); ?>"></fb:facepile>
|
5 |
<?php endif; ?>
|
1 |
<?php if (Mage::getStoreConfig('facebook/general/enabled')) : ?>
|
2 |
<div id="fb-root"></div>
|
3 |
+
<script src="http://connect.facebook.net/<?php echo (Mage::getStoreConfig('facebook/general/locale') == 'auto') ? Mage::app()->getLocale()->getDefaultLocale() : Mage::getStoreConfig('facebook/general/locale'); ?>/all.js#appId=<?php echo Mage::getStoreConfig('facebook/general/appid'); ?>&xfbml=1"></script>
|
4 |
<fb:facepile href="<?php echo (Mage::getStoreConfig('facebook/facepile/url') == 'currentpage') ? $this->helper('core/url')->getCurrentUrl() : Mage::getStoreConfig('facebook/general/fb_page_url'); ?>" size="<?php echo Mage::getStoreConfig('facebook/facepile/size'); ?>" width="<?php echo Mage::getStoreConfig('facebook/facepile/width'); ?>" max_rows="<?php echo Mage::getStoreConfig('facebook/facepile/max_rows'); ?>"></fb:facepile>
|
5 |
<?php endif; ?>
|
app/design/frontend/default/default/template/magazento/facebook/like.phtml
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
<?php if (Mage::getStoreConfig('facebook/general/enabled')) : ?>
|
2 |
<div id="fb-root"></div>
|
3 |
-
<script src="http://connect.facebook.net/<?php echo Mage::app()->getLocale()->getDefaultLocale();
|
4 |
<fb:like href="<?php echo $this->helper('core/url')->getCurrentUrl();?>" send="<?php echo (Mage::getStoreConfig('facebook/likebutton/send')) ? 'true' : 'false'; ?>" layout="<?php echo Mage::getStoreConfig('facebook/likebutton/layout'); ?>" width="<?php echo Mage::getStoreConfig('facebook/likebutton/width'); ?>" show_faces="<?php echo (Mage::getStoreConfig('facebook/likebutton/showfaces')) ? 'true' : 'false'; ?>" action="<?php echo Mage::getStoreConfig('facebook/likebutton/verb'); ?>" colorscheme="<?php echo Mage::getStoreConfig('facebook/likebutton/color'); ?>" font="<?php echo Mage::getStoreConfig('facebook/likebutton/font'); ?>"></fb:like>
|
5 |
<?php endif; ?>
|
1 |
+
<?php if (Mage::getStoreConfig('facebook/general/enabled')) : ?>
|
2 |
<div id="fb-root"></div>
|
3 |
+
<script src="http://connect.facebook.net/<?php echo (Mage::getStoreConfig('facebook/general/locale') == 'auto') ? Mage::app()->getLocale()->getDefaultLocale() : Mage::getStoreConfig('facebook/general/locale'); ?>/all.js#appId=<?php echo Mage::getStoreConfig('facebook/general/appid'); ?>&xfbml=1"></script>
|
4 |
<fb:like href="<?php echo $this->helper('core/url')->getCurrentUrl();?>" send="<?php echo (Mage::getStoreConfig('facebook/likebutton/send')) ? 'true' : 'false'; ?>" layout="<?php echo Mage::getStoreConfig('facebook/likebutton/layout'); ?>" width="<?php echo Mage::getStoreConfig('facebook/likebutton/width'); ?>" show_faces="<?php echo (Mage::getStoreConfig('facebook/likebutton/showfaces')) ? 'true' : 'false'; ?>" action="<?php echo Mage::getStoreConfig('facebook/likebutton/verb'); ?>" colorscheme="<?php echo Mage::getStoreConfig('facebook/likebutton/color'); ?>" font="<?php echo Mage::getStoreConfig('facebook/likebutton/font'); ?>"></fb:like>
|
5 |
<?php endif; ?>
|
app/design/frontend/default/default/template/magazento/facebook/likebox.phtml
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php if (Mage::getStoreConfig('facebook/general/enabled')) : ?>
|
2 |
<div id="fb-root"></div>
|
3 |
-
<script src="http://connect.facebook.net/<?php echo Mage::app()->getLocale()->getDefaultLocale();
|
4 |
<fb:like-box href="<?php echo Mage::getStoreConfig('facebook/general/fb_page_url'); ?>" width="<?php echo Mage::getStoreConfig('facebook/likebox/width'); ?>" show_faces="<?php echo (Mage::getStoreConfig('facebook/likebox/showfaces')) ? 'true' : 'false'; ?>" border_color="<?php echo Mage::getStoreConfig('facebook/likebox/border_color'); ?>" stream="<?php echo (Mage::getStoreConfig('facebook/likebox/stream')) ? 'true' : 'false'; ?>" header="<?php echo (Mage::getStoreConfig('facebook/likebox/header')) ? 'true' : 'false'; ?>"></fb:like-box>
|
5 |
<p class="magazento-powered">Powered by <a href="http://www.magazento.com/" target="_blank">Magazento</a></p>
|
6 |
<?php endif; ?>
|
1 |
<?php if (Mage::getStoreConfig('facebook/general/enabled')) : ?>
|
2 |
<div id="fb-root"></div>
|
3 |
+
<script src="http://connect.facebook.net/<?php echo (Mage::getStoreConfig('facebook/general/locale') == 'auto') ? Mage::app()->getLocale()->getDefaultLocale() : Mage::getStoreConfig('facebook/general/locale'); ?>/all.js#xfbml=1"></script>
|
4 |
<fb:like-box href="<?php echo Mage::getStoreConfig('facebook/general/fb_page_url'); ?>" width="<?php echo Mage::getStoreConfig('facebook/likebox/width'); ?>" show_faces="<?php echo (Mage::getStoreConfig('facebook/likebox/showfaces')) ? 'true' : 'false'; ?>" border_color="<?php echo Mage::getStoreConfig('facebook/likebox/border_color'); ?>" stream="<?php echo (Mage::getStoreConfig('facebook/likebox/stream')) ? 'true' : 'false'; ?>" header="<?php echo (Mage::getStoreConfig('facebook/likebox/header')) ? 'true' : 'false'; ?>"></fb:like-box>
|
5 |
<p class="magazento-powered">Powered by <a href="http://www.magazento.com/" target="_blank">Magazento</a></p>
|
6 |
<?php endif; ?>
|
app/design/frontend/default/default/template/magazento/facebook/livestream.phtml
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php if (Mage::getStoreConfig('facebook/general/enabled')) : ?>
|
2 |
<div id="fb-root"></div>
|
3 |
-
<script src="http://connect.facebook.net/<?php echo Mage::app()->getLocale()->getDefaultLocale();
|
4 |
<fb:live-stream event_app_id="<?php echo Mage::getStoreConfig('facebook/general/appid'); ?>" width="<?php echo Mage::getStoreConfig('facebook/livestream/width'); ?>" height="<?php echo Mage::getStoreConfig('facebook/livestream/height'); ?>" xid="<?php echo Mage::getStoreConfig('facebook/livestream/xid'); ?>" always_post_to_friends="<?php echo Mage::getStoreConfig('facebook/livestream/always_post_to_friends'); ?>"></fb:live-stream>
|
5 |
<?php endif; ?>
|
1 |
<?php if (Mage::getStoreConfig('facebook/general/enabled')) : ?>
|
2 |
<div id="fb-root"></div>
|
3 |
+
<script src="http://connect.facebook.net/<?php echo (Mage::getStoreConfig('facebook/general/locale') == 'auto') ? Mage::app()->getLocale()->getDefaultLocale() : Mage::getStoreConfig('facebook/general/locale'); ?>/all.js#appId=<?php echo Mage::getStoreConfig('facebook/general/appid'); ?>&xfbml=1"></script>
|
4 |
<fb:live-stream event_app_id="<?php echo Mage::getStoreConfig('facebook/general/appid'); ?>" width="<?php echo Mage::getStoreConfig('facebook/livestream/width'); ?>" height="<?php echo Mage::getStoreConfig('facebook/livestream/height'); ?>" xid="<?php echo Mage::getStoreConfig('facebook/livestream/xid'); ?>" always_post_to_friends="<?php echo Mage::getStoreConfig('facebook/livestream/always_post_to_friends'); ?>"></fb:live-stream>
|
5 |
<?php endif; ?>
|
app/design/frontend/default/default/template/magazento/facebook/opengraphtags.phtml
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
<meta property="og:site_name" content="<?php echo Mage::app()->getStore()->getName(); ?>" />
|
5 |
<?php if (Mage::registry('current_product')) : ?>
|
6 |
<meta property="og:image" content="<?php echo Mage::helper('catalog/image')->init(Mage::registry('current_product'), 'small_image')->resize(100,100);?>" />
|
7 |
-
<meta property="og:title" content="<?php echo Mage::registry('current_product')->
|
8 |
<?php else : ?>
|
9 |
<meta property="og:image" content="<?php echo Mage::getSingleton('core/layout')->getBlock('head')->getFaviconFile(); ?>" />
|
10 |
<meta property="og:title" content="<?php echo $this->getLayout()->getBlock('head')->getTitle(); ?>" />
|
4 |
<meta property="og:site_name" content="<?php echo Mage::app()->getStore()->getName(); ?>" />
|
5 |
<?php if (Mage::registry('current_product')) : ?>
|
6 |
<meta property="og:image" content="<?php echo Mage::helper('catalog/image')->init(Mage::registry('current_product'), 'small_image')->resize(100,100);?>" />
|
7 |
+
<meta property="og:title" content="<?php echo Mage::registry('current_product')->getName(); ?>" />
|
8 |
<?php else : ?>
|
9 |
<meta property="og:image" content="<?php echo Mage::getSingleton('core/layout')->getBlock('head')->getFaviconFile(); ?>" />
|
10 |
<meta property="og:title" content="<?php echo $this->getLayout()->getBlock('head')->getTitle(); ?>" />
|
app/design/frontend/default/default/template/magazento/facebook/recommendations.phtml
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php if (Mage::getStoreConfig('facebook/general/enabled')) : ?>
|
2 |
<div id="fb-root"></div>
|
3 |
-
<script src="http://connect.facebook.net/<?php echo Mage::app()->getLocale()->getDefaultLocale();
|
4 |
<fb:recommendations site="<?php echo $this->helper('core/url')->getCurrentUrl(); ?>" width="<?php echo Mage::getStoreConfig('facebook/recommendations/width'); ?>" height="<?php echo Mage::getStoreConfig('facebook/recommendations/height'); ?>" header="<?php echo (Mage::getStoreConfig('facebook/recommendations/header')) ? 'true' : 'false'; ?>" font="<?php echo Mage::getStoreConfig('facebook/recommendations/font'); ?>" border_color="<?php echo Mage::getStoreConfig('facebook/recommendations/border_color'); ?>"></fb:recommendations>
|
5 |
<p class="magazento-powered">Powered by <a href="http://www.magazento.com/" target="_blank">Magazento</a></p>
|
6 |
<?php endif; ?>
|
1 |
<?php if (Mage::getStoreConfig('facebook/general/enabled')) : ?>
|
2 |
<div id="fb-root"></div>
|
3 |
+
<script src="http://connect.facebook.net/<?php echo (Mage::getStoreConfig('facebook/general/locale') == 'auto') ? Mage::app()->getLocale()->getDefaultLocale() : Mage::getStoreConfig('facebook/general/locale'); ?>/all.js#xfbml=1"></script>
|
4 |
<fb:recommendations site="<?php echo $this->helper('core/url')->getCurrentUrl(); ?>" width="<?php echo Mage::getStoreConfig('facebook/recommendations/width'); ?>" height="<?php echo Mage::getStoreConfig('facebook/recommendations/height'); ?>" header="<?php echo (Mage::getStoreConfig('facebook/recommendations/header')) ? 'true' : 'false'; ?>" font="<?php echo Mage::getStoreConfig('facebook/recommendations/font'); ?>" border_color="<?php echo Mage::getStoreConfig('facebook/recommendations/border_color'); ?>"></fb:recommendations>
|
5 |
<p class="magazento-powered">Powered by <a href="http://www.magazento.com/" target="_blank">Magazento</a></p>
|
6 |
<?php endif; ?>
|
app/design/frontend/default/default/template/magazento/facebook/send.phtml
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php if (Mage::getStoreConfig('facebook/general/enabled')) : ?>
|
2 |
<div id="fb-root"></div>
|
3 |
-
<script src="http://connect.facebook.net/<?php echo Mage::app()->getLocale()->getDefaultLocale();
|
4 |
<fb:send href="<?php echo $this->helper('core/url')->getCurrentUrl();?>" font="<?php echo Mage::getStoreConfig('facebook/likebutton/font'); ?>"></fb:send>
|
5 |
<?php endif; ?>
|
1 |
<?php if (Mage::getStoreConfig('facebook/general/enabled')) : ?>
|
2 |
<div id="fb-root"></div>
|
3 |
+
<script src="http://connect.facebook.net/<?php echo (Mage::getStoreConfig('facebook/general/locale') == 'auto') ? Mage::app()->getLocale()->getDefaultLocale() : Mage::getStoreConfig('facebook/general/locale'); ?>/all.js#xfbml=1"></script>
|
4 |
<fb:send href="<?php echo $this->helper('core/url')->getCurrentUrl();?>" font="<?php echo Mage::getStoreConfig('facebook/likebutton/font'); ?>"></fb:send>
|
5 |
<?php endif; ?>
|
package.xml
CHANGED
@@ -1,18 +1,19 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Magazento_Facebook_Widgets</name>
|
4 |
-
<version>1.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>All-In-One Facebook Widgets Integration</summary>
|
10 |
<description>All-In-One Facebook Widgets Integration</description>
|
11 |
-
<notes>The All-In-One Facebook Widgets
|
|
|
12 |
<authors><author><name>volgodark</name><user>auto-converted</user><email>volgodark@gmail.com</email></author></authors>
|
13 |
-
<date>2011-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="magazento_facebook.xml" hash="9af5310110e413209561b7f88429ac0a"/></dir><dir name="template"><dir name="magazento"><dir name="facebook"><file name="activity.phtml" hash="
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Magazento_Facebook_Widgets</name>
|
4 |
+
<version>1.1.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>All-In-One Facebook Widgets Integration</summary>
|
10 |
<description>All-In-One Facebook Widgets Integration</description>
|
11 |
+
<notes>The All-In-One Facebook Widgets features:
|
12 |
+
Was added select option Locale and included values automatically, en_EN, fr_FR, etc</notes>
|
13 |
<authors><author><name>volgodark</name><user>auto-converted</user><email>volgodark@gmail.com</email></author></authors>
|
14 |
+
<date>2011-08-01</date>
|
15 |
+
<time>21:52:04</time>
|
16 |
+
<contents><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="magazento_facebook.xml" hash="9af5310110e413209561b7f88429ac0a"/></dir><dir name="template"><dir name="magazento"><dir name="facebook"><file name="activity.phtml" hash="c1eeb8f6d38751bce309d3c43f01d240"/><file name="comments.phtml" hash="ae6237093424b3f26817dac3937c55bc"/><file name="facepile.phtml" hash="8584fd8bc8727bdfeb4a69992f7096dc"/><file name="like.phtml" hash="6929de6ee5b98b5fa8d1b779c7e20d02"/><file name="likebox.phtml" hash="9b9635e4c7a97f8bb0d1a0a3a6e11d8e"/><file name="livestream.phtml" hash="b8ffd1ed74b78df5587d12b4919b20b4"/><file name="opengraphtags.phtml" hash="e0cdef2c18e3550ae6ad1431d1d63aad"/><file name="recommendations.phtml" hash="1a353460c5f1a38f1d0b744402c8e44b"/><file name="send.phtml" hash="9771ce78ed1d5ae4b307695329235965"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="magazento"><dir name="facebook"><file name="fb.css" hash="cc56a91057a06413284ed11c63d725ea"/><file name="promo.jpg" hash="88520d456df68c98130433b5184b8e7f"/></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Magazento"><dir name="Facebook"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Color.php" hash="f4ba3832ead854e6072ec80f68a80726"/><file name="Font.php" hash="6ce9fbea979f02285201c25cbc0260c5"/><file name="Layout.php" hash="26360f206d212c8a0c0e599542c0ea58"/><file name="Locale.php" hash="f07ce60a8528d372f12af112c416e2b9"/><file name="Size.php" hash="0309dde39015803207494f0b48f68902"/><file name="Type.php" hash="1442f1c92f340698c846efdad8d8ba17"/><file name="Url.php" hash="2db80bb4fd18795520401c66df26a890"/><file name="Verb.php" hash="09d1040546f39d5e23dc971534dce0f4"/></dir></dir></dir></dir></dir><dir name="Block"><file name="Developer.php" hash="64f326c09669b920a8222669bae786c1"/></dir><dir name="etc"><file name="config.xml" hash="140ae4fc9d997197c6561f6ea3e8a0ed"/><file name="system.xml" hash="c1ff3600acf4edc67f4fb2976bbbc8b2"/></dir><dir name="Helper"><file name="Data.php" hash="5695321065576db4feb4f5b716d661db"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magazento_Facebook.xml" hash="eff07e7edbfd8f6c049bcca3073dbca3"/></dir></target></contents>
|
17 |
<compatible/>
|
18 |
<dependencies/>
|
19 |
</package>
|