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" />
|
2011-07-20 10:00:33 +02:00
|
|
|
<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" />
|
2011-09-05 14:01:21 +02:00
|
|
|
<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" />
|
2012-11-09 19:23:47 +01:00
|
|
|
|
|
|
|
<link rel="apple-touch-icon" href="$baseurl/images/friendica-128.png"/>
|
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
|
|
|
|
|
|
|
2011-04-08 10:40:04 +02:00
|
|
|
<link rel="search"
|
|
|
|
href="$baseurl/opensearch"
|
|
|
|
type="application/opensearchdescription+xml"
|
2012-02-27 07:04:41 +01:00
|
|
|
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>
|
2011-10-25 15:01:58 +02:00
|
|
|
<script type="text/javascript" src="$baseurl/js/jquery.textinputs.js" ></script>
|
|
|
|
<script type="text/javascript" src="$baseurl/js/fk.autocomplete.js" ></script>
|
2011-07-20 10:00:33 +02:00
|
|
|
<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>
|
2011-09-05 14:01:21 +02:00
|
|
|
<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>
|
2011-10-25 15:01:58 +02:00
|
|
|
<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>
|
|
|
|
|
2011-12-12 05:32:43 +01:00
|
|
|
var updateInterval = $update_interval;
|
2012-05-24 10:29:33 +02:00
|
|
|
var localUser = {{ if $local_user }}$local_user{{ else }}false{{ endif }};
|
2011-12-12 05:32:43 +01:00
|
|
|
|
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");
|
2012-05-11 12:41:29 +02:00
|
|
|
$("#mod-cmnt-wrap-" + id).show();
|
2011-03-11 20:12:32 +01:00
|
|
|
openMenu("comment-edit-submit-wrapper-" + id);
|
2012-08-10 10:25:08 +02:00
|
|
|
return true;
|
2011-03-11 20:12:32 +01:00
|
|
|
}
|
2012-08-10 10:25:08 +02:00
|
|
|
return false;
|
2011-03-11 20:12:32 +01:00
|
|
|
}
|
|
|
|
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");
|
2012-05-11 12:41:29 +02:00
|
|
|
$("#mod-cmnt-wrap-" + id).hide();
|
2011-03-11 20:12:32 +01:00
|
|
|
closeMenu("comment-edit-submit-wrapper-" + id);
|
2012-08-10 10:25:08 +02:00
|
|
|
return true;
|
2011-03-11 20:12:32 +01:00
|
|
|
}
|
2012-08-10 10:25:08 +02:00
|
|
|
return false;
|
2011-03-11 20:12:32 +01:00
|
|
|
}
|
|
|
|
|
2012-02-15 08:13:18 +01:00
|
|
|
|
|
|
|
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('<','<');
|
|
|
|
ins = ins.replace('>','>');
|
|
|
|
ins = ins.replace('&','&');
|
|
|
|
ins = ins.replace('"','"');
|
|
|
|
$("#comment-edit-text-" + id).val(tmpStr + ins);
|
2012-02-15 08:13:18 +01:00
|
|
|
}
|
|
|
|
|
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('<','<');
|
|
|
|
ins = ins.replace('>','>');
|
|
|
|
ins = ins.replace('&','&');
|
|
|
|
ins = ins.replace('"','"');
|
|
|
|
$("#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
|
|
|
}
|
|
|
|
|
2012-11-02 01:31:50 +01:00
|
|
|
window.showMore = "$showmore";
|
|
|
|
window.showFewer = "$showfewer";
|
2011-11-23 01:00:05 +01:00
|
|
|
|
2012-07-27 22:47:18 +02:00
|
|
|
function showHideCommentBox(id) {
|
|
|
|
if( $('#comment-edit-form-' + id).is(':visible')) {
|
|
|
|
$('#comment-edit-form-' + id).hide();
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
$('#comment-edit-form-' + id).show();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-11-23 01:00:05 +01:00
|
|
|
|
2011-03-11 20:12:32 +01:00
|
|
|
</script>
|
2011-03-30 00:27:14 +02:00
|
|
|
|
|
|
|
|