friendica/view/head.tpl

76 lines
2.8 KiB
Smarty
Raw Normal View History

2011-03-11 19:12:32 +00:00
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
2011-05-10 09:18:39 +00:00
<base href="$baseurl/" />
2011-03-11 19:12:32 +00:00
<meta name="generator" content="$generator" />
<link rel="stylesheet" href="$baseurl/library/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
2011-09-05 09:15:30 +00:00
<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" />
2011-03-11 19:12:32 +00:00
<link rel="shortcut icon" href="$baseurl/images/friendika-32.png" />
2011-04-08 08:40:04 +00:00
<link rel="search"
href="$baseurl/opensearch"
type="application/opensearchdescription+xml"
title="Search in Friendika" />
2011-03-11 19:12:32 +00:00
<!--[if IE]>
<script type="text/javascript" src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
2011-09-05 09:15:30 +00:00
<script type="text/javascript" src="$baseurl/js/jquery.js" ></script>
<script type="text/javascript" src="$baseurl/js/jquery.textinputs.js" ></script>
<script type="text/javascript" src="$baseurl/js/fk.autocomplete.js" ></script>
<script type="text/javascript" src="$baseurl/library/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
2011-09-05 09:15:30 +00:00
<script type="text/javascript" src="$baseurl/library/tiptip/jquery.tipTip.minified.js"></script>
<script type="text/javascript" src="$baseurl/library/jgrowl/jquery.jgrowl_minimized.js"></script>
2011-07-19 14:17:58 +00:00
<script type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js" ></script>
2011-09-05 09:15:30 +00:00
<script type="text/javascript" src="$baseurl/js/acl.js" ></script>
<script type="text/javascript" src="$baseurl/js/webtoolkit.base64.js" ></script>
2011-09-05 09:15:30 +00:00
<script type="text/javascript" src="$baseurl/js/main.js" ></script>
2011-03-11 19:12:32 +00:00
<script>
var updateInterval = $update_interval;
2011-03-29 22:27:14 +00:00
function confirmDelete() { return confirm("$delitem"); }
2011-03-11 19:12:32 +00:00
function commentOpen(obj,id) {
2011-03-29 22:27:14 +00:00
if(obj.value == '$comment') {
2011-03-11 19:12:32 +00:00
obj.value = '';
obj.className = "comment-edit-text-full";
openMenu("comment-edit-submit-wrapper-" + id);
}
}
function commentClose(obj,id) {
if(obj.value == '') {
2011-03-29 22:27:14 +00:00
obj.value = '$comment';
2011-03-11 19:12:32 +00:00
obj.className="comment-edit-text-empty";
closeMenu("comment-edit-submit-wrapper-" + id);
}
}
function commentInsert(obj,id) {
var tmpStr = $("#comment-edit-text-" + id).val();
if(tmpStr == '$comment') {
tmpStr = '';
$("#comment-edit-text-" + id).addClass("comment-edit-text-full");
$("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
openMenu("comment-edit-submit-wrapper-" + id);
}
$("#comment-edit-text-" + id).val(tmpStr + $(obj).html());
}
2011-11-23 00:00:05 +00:00
function showHideComments(id) {
if( $('#collapsed-comments-' + id).is(':visible')) {
$('#collapsed-comments-' + id).hide();
$('#hide-comments-' + id).html('$showmore');
}
else {
$('#collapsed-comments-' + id).show();
$('#hide-comments-' + id).html('$showfewer');
}
}
2011-03-11 19:12:32 +00:00
</script>
2011-03-29 22:27:14 +00:00