mirror of
https://github.com/friendica/friendica
synced 2024-12-27 19:22:25 +00:00
1f09e7ad23
1. Add template category 'end' that places content right before final </body> tag 2. Move most Javascript from tpl files into one cacheable file, theme.js 3. Load scripts at end of the HTML document instead of in the header 4. Minify several Javascript files Note that the second and third things were only done for Frost and Frost Mobile. Doing it for every theme means going through every .tpl for every theme and rearranging the Javascript, which is tedious.
23 lines
1 KiB
Smarty
23 lines
1 KiB
Smarty
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
|
<base href="$baseurl/" />
|
|
<meta name="generator" content="$generator" />
|
|
<link rel="stylesheet" href="$baseurl/library/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
|
|
<!--<link rel="stylesheet" href="$baseurl/library/tiptip/tipTip.css" type="text/css" media="screen" />-->
|
|
<link rel="stylesheet" href="$baseurl/library/jgrowl/jquery.jgrowl.css" type="text/css" media="screen" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="$stylesheet" media="all" />
|
|
|
|
<link rel="shortcut icon" href="$baseurl/images/friendica-32.png" />
|
|
<link rel="search"
|
|
href="$baseurl/opensearch"
|
|
type="application/opensearchdescription+xml"
|
|
title="Search in Friendica" />
|
|
|
|
<script>
|
|
window.delItem = "$delitem";
|
|
window.commentEmptyText = "$comment";
|
|
window.showMore = "$showmore";
|
|
window.showFewer = "$showfewer";
|
|
var updateInterval = $update_interval;
|
|
var localUser = {{ if $local_user }}$local_user{{ else }}false{{ endif }};
|
|
</script>
|