1
1
Fork 0
friendica_2019-12_sharedHos.../view/head.tpl

100 lines
3.7 KiB
Smarty
Raw Normal View History

2011-03-11 20:12:32 +01:00
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
2011-05-10 11:18:39 +02:00
<base href="$baseurl/" />
2011-03-11 20:12:32 +01: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 11:15:30 +02: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" />
2012-03-21 08:35:33 +01:00
<link rel="shortcut icon" href="$baseurl/images/friendica-32.png" />
2011-04-08 10:40:04 +02:00
<link rel="search"
href="$baseurl/opensearch"
type="application/opensearchdescription+xml"
title="Search in Friendica" />
2011-03-11 20:12:32 +01:00
<!--[if IE]>
2012-02-27 08:54:04 +01:00
<script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
2011-03-11 20:12:32 +01:00
<![endif]-->
2011-09-05 11:15:30 +02: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 11:15:30 +02: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 16:17:58 +02:00
<script type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js" ></script>
2011-09-05 11:15:30 +02: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 11:15:30 +02:00
<script type="text/javascript" src="$baseurl/js/main.js" ></script>
2011-03-11 20:12:32 +01:00
<script>
var updateInterval = $update_interval;
2011-03-30 00:27:14 +02:00
function confirmDelete() { return confirm("$delitem"); }
2011-03-11 20:12:32 +01:00
function commentOpen(obj,id) {
2011-03-30 00:27:14 +02:00
if(obj.value == '$comment') {
2011-03-11 20:12:32 +01:00
obj.value = '';
2012-03-21 14:48:04 +01:00
$("#comment-edit-text-" + id).addClass("comment-edit-text-full");
$("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
2011-03-11 20:12:32 +01:00
openMenu("comment-edit-submit-wrapper-" + id);
}
}
function commentClose(obj,id) {
if(obj.value == '') {
2011-03-30 00:27:14 +02:00
obj.value = '$comment';
2012-03-21 14:48:04 +01:00
$("#comment-edit-text-" + id).removeClass("comment-edit-text-full");
$("#comment-edit-text-" + id).addClass("comment-edit-text-empty");
2011-03-11 20:12:32 +01:00
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);
}
2012-02-16 03:13:41 +01:00
var ins = $(obj).html();
ins = ins.replace('&lt;','<');
ins = ins.replace('&gt;','>');
ins = ins.replace('&amp;','&');
ins = ins.replace('&quot;','"');
$("#comment-edit-text-" + id).val(tmpStr + ins);
}
2012-03-27 05:13:03 +02:00
function qCommentInsert(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);
}
var ins = $(obj).val();
ins = ins.replace('&lt;','<');
ins = ins.replace('&gt;','>');
ins = ins.replace('&amp;','&');
ins = ins.replace('&quot;','"');
$("#comment-edit-text-" + id).val(tmpStr + ins);
2012-04-27 06:53:40 +02:00
$(obj).val('');
2012-03-27 05:13:03 +02:00
}
2011-11-23 01:00:05 +01: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 20:12:32 +01:00
</script>
2011-03-30 00:27:14 +02:00