Skip to content

Commit 73697ac

Browse files
author
sgotre
committed
Version 0.91
1 parent 5d4057c commit 73697ac

8 files changed

Lines changed: 354 additions & 5 deletions

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# wordpress-plugin-productwidgets
22
WordPress Plugin in order to embed product widgets configured via Influencer WebExtension
3+

tags/0.91/js/affilinet_product_widgets_mce_button.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,15 @@ if (typeof(tinymce) != 'undefined') {
6666

6767
onsubmit: function (e) {
6868
// Insert content when the window form is submitted
69-
console.log('on submit', e);
70-
console.log('on ed.target', ed.target);
71-
console.log('on e.data.value', e.data.id);
72-
7369
editor.selection.select(ed.target);
7470
editor.selection.setContent('[affilinet_widget id=' + e.data.id + ']');
7571
ed.stopImmediatePropagation();
72+
ed.stopPropagation();
73+
ed.preventDefault();
74+
console.log('stoped')
75+
this.hide()
76+
77+
return false
7678
}
7779

7880
});
@@ -106,10 +108,11 @@ if (typeof(tinymce) != 'undefined') {
106108
elem.onclick = function(){
107109
editor.insertContent('[affilinet_widget id=' + elem.value.toString() + ']');
108110
}
111+
});
109112

110113

111-
});
112114

115+
console.log(menu);
113116
editor.addButton('affilinet_product_widgets_mce_button', {
114117
icon: true,
115118
image: affilinet_product_widgets_mce_variables.image_path + 'affilinet_icon.png',
789 Bytes
Binary file not shown.
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
msgid ""
2+
msgstr ""
3+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
4+
"Project-Id-Version: affilinet Product Widgets\n"
5+
"POT-Creation-Date: 2018-02-07 20:42+0100\n"
6+
"PO-Revision-Date: 2018-02-07 21:00+0100\n"
7+
"Language-Team: \n"
8+
"MIME-Version: 1.0\n"
9+
"Content-Type: text/plain; charset=UTF-8\n"
10+
"Content-Transfer-Encoding: 8bit\n"
11+
"X-Generator: Poedit 2.0.6\n"
12+
"X-Poedit-Basepath: ..\n"
13+
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
14+
"X-Poedit-WPHeader: wp-affilinet-widgets.php\n"
15+
"X-Poedit-SourceCharset: UTF-8\n"
16+
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
17+
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
18+
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
19+
"Last-Translator: \n"
20+
"Language: es\n"
21+
"X-Poedit-SearchPath-0: .\n"
22+
"X-Poedit-SearchPathExcluded-0: *.js\n"
23+
24+
#: classes/AffilinetWidgetsApi.php:44 classes/AffilinetWidgetsApi.php:56
25+
msgid ""
26+
"Could not connect to affilinet API. Please recheck your Webservice Password "
27+
"and Publisher ID"
28+
msgstr ""
29+
30+
#: classes/AffilinetWidgetsPlugin.php:44
31+
msgid "Invalid Webservice Password or Publisher ID "
32+
msgstr ""
33+
34+
#: classes/AffilinetWidgetsPlugin.php:57
35+
msgid ""
36+
"<strong>affilinet Widgets:</strong><br> Please make sure you have entered "
37+
"the correct Publisher ID and Publisher Webservice password."
38+
msgstr ""
39+
40+
#: classes/AffilinetWidgetsPlugin.php:58
41+
msgid "Check your settings."
42+
msgstr ""
43+
44+
#: classes/AffilinetWidgetsWidget.php:29
45+
msgid "Select affilinet widget"
46+
msgstr ""
47+
48+
#: classes/AffilinetWidgetsWidget.php:37
49+
msgid "Products"
50+
msgstr ""
51+
52+
#: classes/AffilinetWidgetsWidget.php:45
53+
msgid "Edit in Browser Extension"
54+
msgstr ""
55+
56+
#. Plugin Name of the plugin/theme
57+
#: views/settings.php:2
58+
msgid "affilinet Product Widgets"
59+
msgstr ""
60+
61+
#: views/settings.php:8
62+
msgid "Settings"
63+
msgstr ""
64+
65+
#: views/settings.php:19
66+
msgid "Publisher ID"
67+
msgstr ""
68+
69+
#: views/settings.php:24
70+
msgid "Publisher Webservice Password"
71+
msgstr ""
72+
73+
#: views/settings.php:30
74+
msgid "Webservice Password"
75+
msgstr ""
76+
77+
#: views/settings.php:39
78+
msgid "Save"
79+
msgstr ""
80+
81+
#: views/settings.php:49
82+
msgid "Install the affilinet Browser Extension"
83+
msgstr ""
84+
85+
#: views/settings.php:51
86+
msgid ""
87+
"Create and manage your Product Widgets within the affilinet Browser Extension"
88+
msgstr ""
89+
90+
#: views/settings.php:99
91+
msgid "Browser Extension detected"
92+
msgstr ""
93+
94+
#: views/settings.php:103
95+
msgid "Open Browser Extension"
96+
msgstr ""
97+
98+
#. Plugin URI of the plugin/theme
99+
msgid "https://www.affili.net/de/publisher/tools/influencer-web-extension"
100+
msgstr ""
101+
102+
#. Description of the plugin/theme
103+
msgid "A brief description of the Plugin."
104+
msgstr ""
105+
106+
#. Author of the plugin/theme
107+
msgid "affilinet"
108+
msgstr ""
109+
110+
#. Author URI of the plugin/theme
111+
msgid "https://www.affili.net/"
112+
msgstr ""
796 Bytes
Binary file not shown.
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
msgid ""
2+
msgstr ""
3+
"Project-Id-Version: affilinet Product Widgets\n"
4+
"POT-Creation-Date: 2018-02-07 20:57+0100\n"
5+
"PO-Revision-Date: 2018-02-07 20:57+0100\n"
6+
"Last-Translator: \n"
7+
"Language-Team: \n"
8+
"Language: fr_FR\n"
9+
"MIME-Version: 1.0\n"
10+
"Content-Type: text/plain; charset=UTF-8\n"
11+
"Content-Transfer-Encoding: 8bit\n"
12+
"X-Generator: Poedit 2.0.6\n"
13+
"X-Poedit-Basepath: ..\n"
14+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
15+
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
16+
"X-Poedit-WPHeader: affilinet-product-widgets.php\n"
17+
"X-Poedit-SourceCharset: UTF-8\n"
18+
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
19+
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
20+
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
21+
"X-Poedit-SearchPath-0: .\n"
22+
"X-Poedit-SearchPathExcluded-0: *.js\n"
23+
24+
#: classes/AffilinetWidgetsApi.php:44 classes/AffilinetWidgetsApi.php:56
25+
#, fuzzy
26+
msgid ""
27+
"Could not connect to affilinet API. Please recheck your Webservice Password "
28+
"and Publisher ID"
29+
msgstr ""
30+
"Nous n'avons pas pu nous connecter à l'API. Veuillez vérifier votre ID "
31+
"afflié et votre mot de passe Webservices."
32+
33+
#: classes/AffilinetWidgetsPlugin.php:44
34+
msgid "Invalid Webservice Password or Publisher ID "
35+
msgstr ""
36+
37+
#: classes/AffilinetWidgetsPlugin.php:57
38+
msgid ""
39+
"<strong>affilinet Widgets:</strong><br> Please make sure you have entered "
40+
"the correct Publisher ID and Publisher Webservice password."
41+
msgstr ""
42+
43+
#: classes/AffilinetWidgetsPlugin.php:58
44+
#, fuzzy
45+
msgid "Check your settings."
46+
msgstr "Veuillez vérifier le paramétrage."
47+
48+
#: classes/AffilinetWidgetsWidget.php:29
49+
msgid "Select affilinet widget"
50+
msgstr ""
51+
52+
#: classes/AffilinetWidgetsWidget.php:37
53+
msgid "Products"
54+
msgstr ""
55+
56+
#: classes/AffilinetWidgetsWidget.php:45
57+
msgid "Edit in Browser Extension"
58+
msgstr ""
59+
60+
#. Plugin Name of the plugin/theme
61+
#: views/settings.php:2
62+
msgid "affilinet Product Widgets"
63+
msgstr ""
64+
65+
#: views/settings.php:8
66+
#, fuzzy
67+
msgid "Settings"
68+
msgstr "Réglages"
69+
70+
#: views/settings.php:19
71+
#, fuzzy
72+
msgid "Publisher ID"
73+
msgstr "ID affilié"
74+
75+
#: views/settings.php:24
76+
msgid "Publisher Webservice Password"
77+
msgstr ""
78+
79+
#: views/settings.php:30
80+
#, fuzzy
81+
msgid "Webservice Password"
82+
msgstr "Mot de passe Webservices"
83+
84+
#: views/settings.php:39
85+
#, fuzzy
86+
msgid "Save"
87+
msgstr "Enregistrer"
88+
89+
#: views/settings.php:49
90+
msgid "Install the affilinet Browser Extension"
91+
msgstr ""
92+
93+
#: views/settings.php:51
94+
msgid ""
95+
"Create and manage your Product Widgets within the affilinet Browser Extension"
96+
msgstr ""
97+
98+
#: views/settings.php:99
99+
msgid "Browser Extension detected"
100+
msgstr ""
101+
102+
#: views/settings.php:103
103+
msgid "Open Browser Extension"
104+
msgstr ""
105+
106+
#. Plugin URI of the plugin/theme
107+
msgid "https://www.affili.net/de/publisher/tools/influencer-web-extension"
108+
msgstr ""
109+
110+
#. Description of the plugin/theme
111+
msgid "A brief description of the Plugin."
112+
msgstr ""
113+
114+
#. Author of the plugin/theme
115+
#, fuzzy
116+
msgid "affilinet"
117+
msgstr "Module Wordpress affilinet de monétisation de contenu"
118+
119+
#. Author URI of the plugin/theme
120+
msgid "https://www.affili.net/"
121+
msgstr ""
789 Bytes
Binary file not shown.
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
msgid ""
2+
msgstr ""
3+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
4+
"Project-Id-Version: affilinet Product Widgets\n"
5+
"POT-Creation-Date: 2018-02-07 20:42+0100\n"
6+
"PO-Revision-Date: 2018-02-07 20:59+0100\n"
7+
"Language-Team: \n"
8+
"MIME-Version: 1.0\n"
9+
"Content-Type: text/plain; charset=UTF-8\n"
10+
"Content-Transfer-Encoding: 8bit\n"
11+
"X-Generator: Poedit 2.0.6\n"
12+
"X-Poedit-Basepath: ..\n"
13+
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
14+
"X-Poedit-WPHeader: wp-affilinet-widgets.php\n"
15+
"X-Poedit-SourceCharset: UTF-8\n"
16+
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
17+
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
18+
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
19+
"Last-Translator: \n"
20+
"Language: nl\n"
21+
"X-Poedit-SearchPath-0: .\n"
22+
"X-Poedit-SearchPathExcluded-0: *.js\n"
23+
24+
#: classes/AffilinetWidgetsApi.php:44 classes/AffilinetWidgetsApi.php:56
25+
msgid ""
26+
"Could not connect to affilinet API. Please recheck your Webservice Password "
27+
"and Publisher ID"
28+
msgstr ""
29+
30+
#: classes/AffilinetWidgetsPlugin.php:44
31+
msgid "Invalid Webservice Password or Publisher ID "
32+
msgstr ""
33+
34+
#: classes/AffilinetWidgetsPlugin.php:57
35+
msgid ""
36+
"<strong>affilinet Widgets:</strong><br> Please make sure you have entered "
37+
"the correct Publisher ID and Publisher Webservice password."
38+
msgstr ""
39+
40+
#: classes/AffilinetWidgetsPlugin.php:58
41+
msgid "Check your settings."
42+
msgstr ""
43+
44+
#: classes/AffilinetWidgetsWidget.php:29
45+
msgid "Select affilinet widget"
46+
msgstr ""
47+
48+
#: classes/AffilinetWidgetsWidget.php:37
49+
msgid "Products"
50+
msgstr ""
51+
52+
#: classes/AffilinetWidgetsWidget.php:45
53+
msgid "Edit in Browser Extension"
54+
msgstr ""
55+
56+
#. Plugin Name of the plugin/theme
57+
#: views/settings.php:2
58+
msgid "affilinet Product Widgets"
59+
msgstr ""
60+
61+
#: views/settings.php:8
62+
msgid "Settings"
63+
msgstr ""
64+
65+
#: views/settings.php:19
66+
msgid "Publisher ID"
67+
msgstr ""
68+
69+
#: views/settings.php:24
70+
msgid "Publisher Webservice Password"
71+
msgstr ""
72+
73+
#: views/settings.php:30
74+
msgid "Webservice Password"
75+
msgstr ""
76+
77+
#: views/settings.php:39
78+
msgid "Save"
79+
msgstr ""
80+
81+
#: views/settings.php:49
82+
msgid "Install the affilinet Browser Extension"
83+
msgstr ""
84+
85+
#: views/settings.php:51
86+
msgid ""
87+
"Create and manage your Product Widgets within the affilinet Browser Extension"
88+
msgstr ""
89+
90+
#: views/settings.php:99
91+
msgid "Browser Extension detected"
92+
msgstr ""
93+
94+
#: views/settings.php:103
95+
msgid "Open Browser Extension"
96+
msgstr ""
97+
98+
#. Plugin URI of the plugin/theme
99+
msgid "https://www.affili.net/de/publisher/tools/influencer-web-extension"
100+
msgstr ""
101+
102+
#. Description of the plugin/theme
103+
msgid "A brief description of the Plugin."
104+
msgstr ""
105+
106+
#. Author of the plugin/theme
107+
msgid "affilinet"
108+
msgstr ""
109+
110+
#. Author URI of the plugin/theme
111+
msgid "https://www.affili.net/"
112+
msgstr ""

0 commit comments

Comments
 (0)