2016-05-07 18:29:33 -04:00
|
|
|
{{* This content will be added to the html page <head> *}}
|
|
|
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
|
|
|
<base href="{{$baseurl}}/" />
|
|
|
|
<meta name="generator" content="{{$generator}}" />
|
|
|
|
<meta name="viewport" content="initial-scale=1.0">
|
|
|
|
|
|
|
|
{{* All needed css files - Note: css must be inserted before js files *}}
|
2023-12-25 13:26:19 -05:00
|
|
|
<link rel="stylesheet" href="view/global.css?v={{constant('\Friendica\App::VERSION')}}" type="text/css" media="all" />
|
|
|
|
<link rel="stylesheet" href="view/asset/jquery-colorbox/example5/colorbox.css?v={{constant('\Friendica\App::VERSION')}}"
|
2021-01-24 23:24:15 -05:00
|
|
|
type="text/css" media="screen" />
|
2023-12-25 13:26:19 -05:00
|
|
|
<link rel="stylesheet" href="view/asset/jgrowl/jquery.jgrowl.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
2021-01-24 23:24:15 -05:00
|
|
|
type="text/css" media="screen" />
|
|
|
|
<link rel="stylesheet"
|
2023-12-25 13:26:19 -05:00
|
|
|
href="view/asset/jquery-datetimepicker/build/jquery.datetimepicker.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
2021-01-24 23:24:15 -05:00
|
|
|
type="text/css" media="screen" />
|
|
|
|
<link rel="stylesheet"
|
2023-12-25 13:26:19 -05:00
|
|
|
href="view/asset/perfect-scrollbar/dist/css/perfect-scrollbar.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
2021-01-24 23:24:15 -05:00
|
|
|
type="text/css" media="screen" />
|
2016-05-07 18:29:33 -04:00
|
|
|
|
2021-01-24 23:24:15 -05:00
|
|
|
<link rel="stylesheet"
|
2023-12-25 13:26:19 -05:00
|
|
|
href="view/theme/frio/frameworks/bootstrap/css/bootstrap.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
2021-01-24 23:24:15 -05:00
|
|
|
type="text/css" media="screen" />
|
|
|
|
<link rel="stylesheet"
|
2023-12-25 13:26:19 -05:00
|
|
|
href="view/theme/frio/frameworks/bootstrap/css/bootstrap-theme.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
2021-01-24 23:24:15 -05:00
|
|
|
type="text/css" media="screen" />
|
2023-12-25 13:26:19 -05:00
|
|
|
<link rel="stylesheet" href="view/asset/fork-awesome/css/fork-awesome.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
2021-01-24 23:24:15 -05:00
|
|
|
type="text/css" media="screen" />
|
|
|
|
<link rel="stylesheet"
|
2023-12-25 13:26:19 -05:00
|
|
|
href="view/theme/frio/frameworks/jasny/css/jasny-bootstrap.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
2021-01-24 23:24:15 -05:00
|
|
|
type="text/css" media="screen" />
|
|
|
|
<link rel="stylesheet"
|
2023-12-25 13:26:19 -05:00
|
|
|
href="view/theme/frio/frameworks/bootstrap-select/css/bootstrap-select.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
2021-01-24 23:24:15 -05:00
|
|
|
type="text/css" media="screen" />
|
|
|
|
<link rel="stylesheet"
|
2023-12-25 13:26:19 -05:00
|
|
|
href="view/theme/frio/frameworks/ekko-lightbox/ekko-lightbox.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
2021-01-24 23:24:15 -05:00
|
|
|
type="text/css" media="screen" />
|
|
|
|
<link rel="stylesheet"
|
2023-12-25 13:26:19 -05:00
|
|
|
href="view/theme/frio/frameworks/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css?v={{constant('\Friendica\App::VERSION')}}"
|
2021-01-24 23:24:15 -05:00
|
|
|
type="text/css" media="screen" />
|
|
|
|
<link rel="stylesheet"
|
2023-12-25 13:26:19 -05:00
|
|
|
href="view/theme/frio/frameworks/justifiedGallery/justifiedGallery.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
2021-01-24 23:24:15 -05:00
|
|
|
type="text/css" media="screen" />
|
|
|
|
<link rel="stylesheet"
|
2023-12-25 13:26:19 -05:00
|
|
|
href="view/theme/frio/frameworks/bootstrap-colorpicker/css/bootstrap-colorpicker.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
2021-01-24 23:24:15 -05:00
|
|
|
type="text/css" media="screen" />
|
|
|
|
<link rel="stylesheet"
|
2023-12-25 13:26:19 -05:00
|
|
|
href="view/theme/frio/frameworks/bootstrap-toggle/css/bootstrap-toggle.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
2021-01-24 23:24:15 -05:00
|
|
|
type="text/css" media="screen" />
|
2023-12-25 13:26:19 -05:00
|
|
|
<link rel="stylesheet" href="view/theme/frio/font/open_sans/open-sans.css?v={{constant('\Friendica\App::VERSION')}}"
|
2021-01-24 23:24:15 -05:00
|
|
|
type="text/css" media="screen" />
|
2023-12-25 13:26:19 -05:00
|
|
|
<link rel="stylesheet" href="view/js/fancybox/jquery.fancybox.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
2023-05-03 16:59:28 -04:00
|
|
|
type="text/css" media="screen" />
|
2016-05-07 18:29:33 -04:00
|
|
|
|
|
|
|
{{* own css files *}}
|
2023-12-25 13:26:19 -05:00
|
|
|
<link rel="stylesheet" href="view/theme/frio/css/hovercard.css?v={{constant('\Friendica\App::VERSION')}}" type="text/css"
|
2021-01-24 23:24:15 -05:00
|
|
|
media="screen" />
|
2023-12-25 13:26:19 -05:00
|
|
|
<link rel="stylesheet" href="view/theme/frio/css/font-awesome.custom.css?v={{constant('\Friendica\App::VERSION')}}"
|
2021-01-24 23:24:15 -05:00
|
|
|
type="text/css" media="screen" />
|
2016-05-07 18:29:33 -04:00
|
|
|
|
2020-08-15 18:56:17 -04:00
|
|
|
{{foreach $stylesheets as $stylesheetUrl => $media}}
|
2021-01-24 23:24:15 -05:00
|
|
|
<link rel="stylesheet" href="{{$stylesheetUrl}}" type="text/css" media="{{$media}}" />
|
2020-08-15 18:56:17 -04:00
|
|
|
{{/foreach}}
|
|
|
|
|
2022-04-28 06:41:26 -04:00
|
|
|
<link rel="icon" href="{{$shortcut_icon}}" />
|
2021-01-24 23:24:15 -05:00
|
|
|
<link rel="apple-touch-icon" href="{{$touch_icon}}" />
|
2016-05-07 18:29:33 -04:00
|
|
|
|
2016-10-01 18:53:25 -04:00
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
2021-01-24 23:48:22 -05:00
|
|
|
<link rel="manifest" href="{{$baseurl}}/friendica.webmanifest">
|
2021-01-24 23:24:15 -05:00
|
|
|
|
2017-10-20 09:21:42 -04:00
|
|
|
<script type="text/javascript">
|
2021-01-24 23:24:15 -05:00
|
|
|
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
|
|
|
|
// Prevents links to switch to Safari in a home screen app - see https://gist.github.com/irae/1042167
|
|
|
|
(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");
|
|
|
|
// |license-end
|
|
|
|
</script>
|
2016-05-07 18:29:33 -04:00
|
|
|
|
2021-01-24 23:24:15 -05:00
|
|
|
<link rel="search" href="{{$baseurl}}/opensearch" type="application/opensearchdescription+xml"
|
|
|
|
title="Search in Friendica" />
|
2016-05-07 18:29:33 -04:00
|
|
|
|
|
|
|
|
2021-01-24 23:24:15 -05:00
|
|
|
{{* The js files we use *}}
|
|
|
|
<!--[if IE]>
|
2023-12-25 13:26:19 -05:00
|
|
|
<script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
2016-05-07 18:29:33 -04:00
|
|
|
<![endif]-->
|
2023-12-25 13:26:19 -05:00
|
|
|
<script type="text/javascript" src="view/js/modernizr.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
|
|
|
<script type="text/javascript" src="view/asset/jquery/dist/jquery.min.js?v={{constant('\Friendica\App::VERSION')}}">
|
2021-01-24 23:24:15 -05:00
|
|
|
</script>
|
2023-12-25 13:26:19 -05:00
|
|
|
<script type="text/javascript" src="view/js/jquery.textinputs.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
2021-01-24 23:24:15 -05:00
|
|
|
<script type="text/javascript"
|
2023-12-25 13:26:19 -05:00
|
|
|
src="view/asset/textcomplete/dist/textcomplete.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
|
|
|
<script type="text/javascript" src="view/js/autocomplete.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
2021-01-24 23:24:15 -05:00
|
|
|
<script type="text/javascript"
|
2023-12-25 13:26:19 -05:00
|
|
|
src="view/asset/jquery-colorbox/jquery.colorbox-min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
|
|
|
<script type="text/javascript" src="view/asset/jgrowl/jquery.jgrowl.min.js?v={{constant('\Friendica\App::VERSION')}}">
|
2021-01-24 23:24:15 -05:00
|
|
|
</script>
|
|
|
|
<script type="text/javascript"
|
2023-12-25 13:26:19 -05:00
|
|
|
src="view/asset/jquery-datetimepicker/build/jquery.datetimepicker.full.min.js?v={{constant('\Friendica\App::VERSION')}}">
|
2021-01-24 23:24:15 -05:00
|
|
|
</script>
|
|
|
|
<script type="text/javascript"
|
2023-12-25 13:26:19 -05:00
|
|
|
src="view/asset/perfect-scrollbar/dist/js/perfect-scrollbar.jquery.min.js?v={{constant('\Friendica\App::VERSION')}}">
|
2021-01-24 23:24:15 -05:00
|
|
|
</script>
|
|
|
|
<script type="text/javascript"
|
2023-12-25 13:26:19 -05:00
|
|
|
src="view/asset/imagesloaded/imagesloaded.pkgd.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
|
|
|
<script type="text/javascript" src="view/asset/base64/base64.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
|
|
|
<script type="text/javascript" src="view/asset/dompurify/dist/purify.min.js?v={{constant('\Friendica\App::VERSION')}}">
|
2021-01-24 23:24:15 -05:00
|
|
|
</script>
|
2023-04-09 08:15:20 -04:00
|
|
|
<script type="text/javascript">
|
|
|
|
const updateInterval = {{$update_interval}};
|
|
|
|
const localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
|
|
|
|
</script>
|
2023-12-25 13:26:19 -05:00
|
|
|
<script type="text/javascript" src="view/js/main.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
2016-05-07 18:29:33 -04:00
|
|
|
|
2021-01-24 23:24:15 -05:00
|
|
|
<script type="text/javascript"
|
2023-12-25 13:26:19 -05:00
|
|
|
src="view/theme/frio/frameworks/bootstrap/js/bootstrap.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
2021-01-24 23:24:15 -05:00
|
|
|
<script type="text/javascript"
|
2023-12-25 13:26:19 -05:00
|
|
|
src="view/theme/frio/frameworks/jasny/js/jasny-bootstrap.custom.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
2021-01-24 23:24:15 -05:00
|
|
|
<script type="text/javascript"
|
2023-12-25 13:26:19 -05:00
|
|
|
src="view/theme/frio/frameworks/bootstrap-select/js/bootstrap-select.min.js?v={{constant('\Friendica\App::VERSION')}}">
|
2021-01-24 23:24:15 -05:00
|
|
|
</script>
|
|
|
|
<script type="text/javascript"
|
2023-12-25 13:26:19 -05:00
|
|
|
src="view/theme/frio/frameworks/ekko-lightbox/ekko-lightbox.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
2021-01-24 23:24:15 -05:00
|
|
|
<script type="text/javascript"
|
2023-12-25 13:26:19 -05:00
|
|
|
src="view/theme/frio/frameworks/justifiedGallery/jquery.justifiedGallery.min.js?v={{constant('\Friendica\App::VERSION')}}">
|
2021-01-24 23:24:15 -05:00
|
|
|
</script>
|
|
|
|
<script type="text/javascript"
|
2023-12-25 13:26:19 -05:00
|
|
|
src="view/theme/frio/frameworks/bootstrap-colorpicker/js/bootstrap-colorpicker.min.js?v={{constant('\Friendica\App::VERSION')}}">
|
2021-01-24 23:24:15 -05:00
|
|
|
</script>
|
|
|
|
<script type="text/javascript"
|
2023-12-25 13:26:19 -05:00
|
|
|
src="view/theme/frio/frameworks/flexMenu/flexmenu.custom.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
2021-01-24 23:24:15 -05:00
|
|
|
<script type="text/javascript"
|
2023-12-25 13:26:19 -05:00
|
|
|
src="view/theme/frio/frameworks/jquery-scrollspy/jquery-scrollspy.js?v={{constant('\Friendica\App::VERSION')}}">
|
2021-01-24 23:24:15 -05:00
|
|
|
</script>
|
|
|
|
<script type="text/javascript"
|
2023-12-25 13:26:19 -05:00
|
|
|
src="view/theme/frio/frameworks/autosize/autosize.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
2021-01-24 23:24:15 -05:00
|
|
|
<script type="text/javascript"
|
2023-12-25 13:26:19 -05:00
|
|
|
src="view/theme/frio/frameworks/sticky-kit/jquery.sticky-kit.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
2016-05-07 18:29:33 -04:00
|
|
|
|
2021-01-24 23:24:15 -05:00
|
|
|
{{* own js files *}}
|
2023-12-25 13:26:19 -05:00
|
|
|
<script type="text/javascript" src="view/theme/frio/js/theme.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
|
|
|
<script type="text/javascript" src="view/theme/frio/js/modal.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
2021-01-24 23:24:15 -05:00
|
|
|
{{if ! $block_public}}
|
2023-12-25 13:26:19 -05:00
|
|
|
<script type="text/javascript" src="view/theme/frio/js/hovercard.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
2021-01-24 23:24:15 -05:00
|
|
|
{{/if}}
|
2023-12-25 13:26:19 -05:00
|
|
|
<script type="text/javascript" src="view/theme/frio/js/textedit.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
|
|
|
<script type="text/javascript" src="vendor/enyo/dropzone/dist/min/dropzone.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
|
|
|
<script type="text/javascript" src="view/js/dropzone-factory.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
2023-04-09 08:15:20 -04:00
|
|
|
<script type="text/javascript"> const dzFactory = new DzFactory({{$max_imagesize}});</script>
|
2023-12-25 13:26:19 -05:00
|
|
|
<script type="text/javascript" src="view/js/fancybox/jquery.fancybox.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
|
|
|
<script type="text/javascript" src="view/js/fancybox/fancybox.config.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
|
|
|
<script type="text/javascript" src="view/js/vanillaEmojiPicker/vanillaEmojiPicker.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
2023-05-06 05:41:07 -04:00
|
|
|
<script>
|
|
|
|
window.onload = function(){
|
|
|
|
new EmojiPicker({
|
|
|
|
trigger: [
|
|
|
|
{
|
|
|
|
selector: '.emojis',
|
|
|
|
insertInto: ['#comment-edit-text-0', '.profile-jot-text-full', '.comment-edit-text-full']
|
|
|
|
}
|
|
|
|
],
|
|
|
|
closeButton: true
|
|
|
|
});
|
|
|
|
};
|
|
|
|
</script>
|
2023-12-25 13:26:19 -05:00
|
|
|
|
2021-01-24 23:24:15 -05:00
|
|
|
{{* Include the strings which are needed for some js functions (e.g. translation)
|
2016-05-07 19:31:30 -04:00
|
|
|
They are loaded into the html <head> so that js functions can use them *}}
|
2021-01-24 23:24:15 -05:00
|
|
|
{{include file="js_strings.tpl"}}
|