]> git.mxchange.org Git - friendica.git/blob - view/theme/frio/templates/head.tpl
Fix review points
[friendica.git] / view / theme / frio / templates / head.tpl
1 {{* This content will be added to the html page <head> *}}
2
3 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
4 <base href="{{$baseurl}}/" />
5 <meta name="generator" content="{{$generator}}" />
6 <meta name="viewport" content="initial-scale=1.0">
7
8 {{* All needed css files - Note: css must be inserted before js files *}}
9 <link rel="stylesheet" href="view/global.css?v={{$smarty.const.FRIENDICA_VERSION}}" type="text/css" media="all" />
10 <link rel="stylesheet" href="view/asset/jquery-colorbox/example5/colorbox.css?v={{$smarty.const.FRIENDICA_VERSION}}"
11         type="text/css" media="screen" />
12 <link rel="stylesheet" href="view/asset/jgrowl/jquery.jgrowl.min.css?v={{$smarty.const.FRIENDICA_VERSION}}"
13         type="text/css" media="screen" />
14 <link rel="stylesheet"
15         href="view/asset/jquery-datetimepicker/build/jquery.datetimepicker.min.css?v={{$smarty.const.FRIENDICA_VERSION}}"
16         type="text/css" media="screen" />
17 <link rel="stylesheet"
18         href="view/asset/perfect-scrollbar/dist/css/perfect-scrollbar.min.css?v={{$smarty.const.FRIENDICA_VERSION}}"
19         type="text/css" media="screen" />
20
21 <link rel="stylesheet"
22         href="view/theme/frio/frameworks/bootstrap/css/bootstrap.min.css?v={{$smarty.const.FRIENDICA_VERSION}}"
23         type="text/css" media="screen" />
24 <link rel="stylesheet"
25         href="view/theme/frio/frameworks/bootstrap/css/bootstrap-theme.min.css?v={{$smarty.const.FRIENDICA_VERSION}}"
26         type="text/css" media="screen" />
27 <link rel="stylesheet" href="view/asset/fork-awesome/css/fork-awesome.min.css?v={{$smarty.const.FRIENDICA_VERSION}}"
28         type="text/css" media="screen" />
29 <link rel="stylesheet"
30         href="view/theme/frio/frameworks/jasny/css/jasny-bootstrap.min.css?v={{$smarty.const.FRIENDICA_VERSION}}"
31         type="text/css" media="screen" />
32 <link rel="stylesheet"
33         href="view/theme/frio/frameworks/bootstrap-select/css/bootstrap-select.min.css?v={{$smarty.const.FRIENDICA_VERSION}}"
34         type="text/css" media="screen" />
35 <link rel="stylesheet"
36         href="view/theme/frio/frameworks/ekko-lightbox/ekko-lightbox.min.css?v={{$smarty.const.FRIENDICA_VERSION}}"
37         type="text/css" media="screen" />
38 <link rel="stylesheet"
39         href="view/theme/frio/frameworks/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css?v={{$smarty.const.FRIENDICA_VERSION}}"
40         type="text/css" media="screen" />
41 <link rel="stylesheet"
42         href="view/theme/frio/frameworks/justifiedGallery/justifiedGallery.min.css?v={{$smarty.const.FRIENDICA_VERSION}}"
43         type="text/css" media="screen" />
44 <link rel="stylesheet"
45         href="view/theme/frio/frameworks/bootstrap-colorpicker/css/bootstrap-colorpicker.min.css?v={{$smarty.const.FRIENDICA_VERSION}}"
46         type="text/css" media="screen" />
47 <link rel="stylesheet"
48         href="view/theme/frio/frameworks/bootstrap-toggle/css/bootstrap-toggle.min.css?v={{$smarty.const.FRIENDICA_VERSION}}"
49         type="text/css" media="screen" />
50 <link rel="stylesheet" href="view/theme/frio/font/open_sans/open-sans.css?v={{$smarty.const.FRIENDICA_VERSION}}"
51         type="text/css" media="screen" />
52
53 {{* own css files *}}
54 <link rel="stylesheet" href="view/theme/frio/css/hovercard.css?v={{$smarty.const.FRIENDICA_VERSION}}" type="text/css"
55         media="screen" />
56 <link rel="stylesheet" href="view/theme/frio/css/font-awesome.custom.css?v={{$smarty.const.FRIENDICA_VERSION}}"
57         type="text/css" media="screen" />
58
59 {{foreach $stylesheets as $stylesheetUrl => $media}}
60         <link rel="stylesheet" href="{{$stylesheetUrl}}" type="text/css" media="{{$media}}" />
61 {{/foreach}}
62
63 <link rel="shortcut icon" href="{{$shortcut_icon}}" />
64 <link rel="apple-touch-icon" href="{{$touch_icon}}" />
65
66 <meta name="apple-mobile-web-app-capable" content="yes" />
67 <link rel="manifest" href="{{$baseurl}}/friendica.webmanifest">
68
69 <script type="text/javascript">
70         // @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
71         // Prevents links to switch to Safari in a home screen app - see https://gist.github.com/irae/1042167
72         (function(a,b,c){if(c in b&&b[c]){var d,e=a.location,f=/^(a|html)$/i;a.addEventListener("click",function(a){d=a.target;while(!f.test(d.nodeName))d=d.parentNode;"href"in d&&(chref=d.href).replace("{{$baseurl}}/", "").replace(e.href,"").indexOf("#")&&(!/^[a-z\+\.\-]+:/i.test(chref)||chref.indexOf(e.protocol+"//"+e.host)===0)&&(a.preventDefault(),e.href=d.href)},!1)}})(document,window.navigator,"standalone");
73                 // |license-end
74         </script>
75
76         <link rel="search" href="{{$baseurl}}/opensearch" type="application/opensearchdescription+xml"
77                 title="Search in Friendica" />
78
79
80         {{* The js files we use *}}
81         <!--[if IE]>
82 <script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
83 <![endif]-->
84         <script type="text/javascript" src="view/js/modernizr.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
85         <script type="text/javascript" src="view/asset/jquery/dist/jquery.min.js?v={{$smarty.const.FRIENDICA_VERSION}}">
86         </script>
87         <script type="text/javascript" src="view/js/jquery.textinputs.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
88         <script type="text/javascript"
89                 src="view/asset/textcomplete/dist/textcomplete.min.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
90         <script type="text/javascript" src="view/js/autocomplete.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
91         <script type="text/javascript"
92                 src="view/asset/jquery-colorbox/jquery.colorbox-min.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
93         <script type="text/javascript" src="view/asset/jgrowl/jquery.jgrowl.min.js?v={{$smarty.const.FRIENDICA_VERSION}}">
94         </script>
95         <script type="text/javascript"
96                 src="view/asset/jquery-datetimepicker/build/jquery.datetimepicker.full.min.js?v={{$smarty.const.FRIENDICA_VERSION}}">
97         </script>
98         <script type="text/javascript"
99                 src="view/asset/perfect-scrollbar/dist/js/perfect-scrollbar.jquery.min.js?v={{$smarty.const.FRIENDICA_VERSION}}">
100         </script>
101         <script type="text/javascript"
102                 src="view/asset/imagesloaded/imagesloaded.pkgd.min.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
103         <script type="text/javascript" src="view/asset/base64/base64.min.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
104         <script type="text/javascript" src="view/asset/dompurify/dist/purify.min.js?v={{$smarty.const.FRIENDICA_VERSION}}">
105         </script>
106         <script type="text/javascript" src="view/js/main.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
107
108         <script type="text/javascript"
109                 src="view/theme/frio/frameworks/bootstrap/js/bootstrap.min.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
110         <script type="text/javascript"
111                 src="view/theme/frio/frameworks/jasny/js/jasny-bootstrap.custom.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
112         <script type="text/javascript"
113                 src="view/theme/frio/frameworks/bootstrap-select/js/bootstrap-select.min.js?v={{$smarty.const.FRIENDICA_VERSION}}">
114         </script>
115         <script type="text/javascript"
116                 src="view/theme/frio/frameworks/ekko-lightbox/ekko-lightbox.min.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
117         <script type="text/javascript"
118                 src="view/theme/frio/frameworks/justifiedGallery/jquery.justifiedGallery.min.js?v={{$smarty.const.FRIENDICA_VERSION}}">
119         </script>
120         <script type="text/javascript"
121                 src="view/theme/frio/frameworks/bootstrap-colorpicker/js/bootstrap-colorpicker.min.js?v={{$smarty.const.FRIENDICA_VERSION}}">
122         </script>
123         <script type="text/javascript"
124                 src="view/theme/frio/frameworks/flexMenu/flexmenu.custom.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
125         <script type="text/javascript"
126                 src="view/theme/frio/frameworks/jquery-scrollspy/jquery-scrollspy.js?v={{$smarty.const.FRIENDICA_VERSION}}">
127         </script>
128         <script type="text/javascript"
129                 src="view/theme/frio/frameworks/autosize/autosize.min.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
130         <script type="text/javascript"
131                 src="view/theme/frio/frameworks/sticky-kit/jquery.sticky-kit.min.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
132
133         {{* own js files *}}
134         <script type="text/javascript" src="view/theme/frio/js/theme.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
135         <script type="text/javascript" src="view/theme/frio/js/modal.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
136         {{if ! $block_public}}
137                 <script type="text/javascript" src="view/theme/frio/js/hovercard.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
138         {{/if}}
139         <script type="text/javascript" src="view/theme/frio/js/textedit.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
140
141         {{* Include the strings which are needed for some js functions (e.g. translation)
142 They are loaded into the html <head> so that js functions can use them *}}
143         {{include file="js_strings.tpl"}}