-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkp_if_en.txt
66 lines (63 loc) · 4.17 KB
/
mkp_if_en.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Name: mkp_if_en v1.1
# Type: Public plugin
# allowing Textpattern to detect an alternative URL that required English
# Author: Michael K Pate
# URL: https://github.com/michaelkpate/
# Recommended load order: 5
# .....................................................................
# This is a plugin for Textpattern CMS - http://textpattern.com/
# To install: textpattern > admin > plugins
# Paste the following text into the 'Install plugin' box:
# .....................................................................
YToxMTp7czo0OiJuYW1lIjtzOjk6Im1rcF9pZl9lbiI7czo2OiJhdXRob3IiO3M6MTQ6Ik1p
Y2hhZWwgSyBQYXRlIjtzOjEwOiJhdXRob3JfdXJpIjtzOjMyOiJodHRwczovL2dpdGh1Yi5j
b20vbWljaGFlbGtwYXRlLyI7czo3OiJ2ZXJzaW9uIjtzOjM6IjEuMSI7czoxMToiZGVzY3Jp
cHRpb24iO3M6NzE6ImFsbG93aW5nIFRleHRwYXR0ZXJuIHRvIGRldGVjdCBhbiBhbHRlcm5h
dGl2ZSBVUkwgdGhhdCByZXF1aXJlZCBFbmdsaXNoIjtzOjQ6ImNvZGUiO3M6OTg2OiIvLyBU
WFAgNC42IHRhZyByZWdpc3RyYXRpb24NCmlmIChjbGFzc19leGlzdHMoJ1xUZXh0cGF0dGVy
blxUYWdcUmVnaXN0cnknKSkgew0KVHhwOjpnZXQoJ1xUZXh0cGF0dGVyblxUYWdcUmVnaXN0
cnknKQ0KLT5yZWdpc3RlcignbWtwX2lmX2VuJykNCjsNCn0NCg0KZnVuY3Rpb24gbWtwX2lm
X2VuKCRhdHRzLCAkdGhpbmc9JycpDQp7DQoNCglnbG9iYWwgJHZhcmlhYmxlOw0KDQoJLy8g
cHJlZ19yZXBsYW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