aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/baggy/_head.twig
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-08-03 13:21:11 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-08-03 13:21:11 +0200
commitc766284d522206578e7ec154961e0fce456f70c8 (patch)
treea5246151bf8278a0e8053b9dd1ce9d770073c50b /themes/baggy/_head.twig
parentc0cb52c07439c974075c302a190a034a8cce4f92 (diff)
parente968ec6c2244aee600358b3c87648b2409c97945 (diff)
downloadwallabag-c766284d522206578e7ec154961e0fce456f70c8.tar.gz
wallabag-c766284d522206578e7ec154961e0fce456f70c8.tar.zst
wallabag-c766284d522206578e7ec154961e0fce456f70c8.zip
Merge pull request #1267 from wallabag/dev1.9.1
1.9.1
Diffstat (limited to 'themes/baggy/_head.twig')
-rwxr-xr-xthemes/baggy/_head.twig34
1 files changed, 33 insertions, 1 deletions
diff --git a/themes/baggy/_head.twig b/themes/baggy/_head.twig
index a88d4186..9ca51cd2 100755
--- a/themes/baggy/_head.twig
+++ b/themes/baggy/_head.twig
@@ -30,10 +30,42 @@
30 <link rel="stylesheet" href="{{ poche_url }}themes/{{theme}}/css/messages.css" media="all"> 30 <link rel="stylesheet" href="{{ poche_url }}themes/{{theme}}/css/messages.css" media="all">
31 <link rel="stylesheet" href="{{ poche_url }}themes/{{theme}}/css/print.css" media="print"> 31 <link rel="stylesheet" href="{{ poche_url }}themes/{{theme}}/css/print.css" media="print">
32 32
33 <script src="{{ poche_url }}themes/_global/js/jquery-2.0.3.min.js"></script> 33 <script src="{{ poche_url }}themes/_global/js/jquery-2.1.3.min.js"></script>
34 <script src="{{ poche_url }}themes/_global/js/jquery.mobile.events.touch.min.js"></script>
34 <script src="{{ poche_url }}themes/_global/js/autoClose.js"></script> 35 <script src="{{ poche_url }}themes/_global/js/autoClose.js"></script>
35 <script src="{{ poche_url }}themes/{{theme}}/js/jquery.cookie.js"></script> 36 <script src="{{ poche_url }}themes/{{theme}}/js/jquery.cookie.js"></script>
36 <script src="{{ poche_url }}themes/{{theme}}/js/init.js"></script> 37 <script src="{{ poche_url }}themes/{{theme}}/js/init.js"></script>
37 <script src="{{ poche_url }}themes/_global/js/saveLink.js"></script> 38 <script src="{{ poche_url }}themes/_global/js/saveLink.js"></script>
38 <script src="{{ poche_url }}themes/_global/js/popupForm.js"></script> 39 <script src="{{ poche_url }}themes/_global/js/popupForm.js"></script>
40 <script src="{{ poche_url }}themes/_global/js/keyboard.js"></script>
39 <script src="{{ poche_url }}themes/{{theme}}/js/closeMessage.js"></script> 41 <script src="{{ poche_url }}themes/{{theme}}/js/closeMessage.js"></script>
42
43 <!-- Enable Firefox Social Services
44 script put there because of the call to poche_url -->
45
46 <script>
47 var baseurl = "{{ poche_url }}";
48 console.log(baseurl);
49 var data = {
50
51 "name": "wallabag",
52 "iconURL": baseurl + "/themes/_global/img/appicon/firefox-service-icon-16.png",
53 "icon32URL": baseurl + "/themes/_global/img/appicon/firefox-service-icon-32.png",
54 "icon64URL": baseurl + "/themes/_global/img/appicon/firefox-service-icon-64.png",
55
56 "shareURL": baseurl + "/index.php?action=add&plainurl=%{url}",
57
58 "description": "wallabag Extension for Firefox - The (soon to become) best way to save articles, videos and more",
59 "author": "Thomas Citharel",
60 "homepageURL": "http://doc.wallabag.org/en/User/save_your_first_article.html#firefox-social-api-service",
61 "origin": "https://wallabag.org",
62 "postActivationURL": "http://doc.wallabag.org/en/User/save_your_first_article.html#firefox-social-api-service",
63
64 "version": "0.1"
65 };
66 function activateSocialFeature(node) {
67 var event = new CustomEvent("ActivateSocialFeature");
68 node.setAttribute("data-service", JSON.stringify(data));
69 node.dispatchEvent(event);
70 }
71 </script>