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" />
|
2013-01-31 15:40:03 +00:00
|
|
|
{#<!--<link rel="stylesheet" href="$baseurl/library/fancybox/jquery.fancybox.css" type="text/css" media="screen" />-->#}
|
|
|
|
<link rel="stylesheet" href="$baseurl/library/colorbox/colorbox.css" type="text/css" media="screen" />
|
2011-09-05 12:01:21 +00: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 07:35:33 +00:00
|
|
|
<link rel="shortcut icon" href="$baseurl/images/friendica-32.png" />
|
2012-11-09 18:23:47 +00:00
|
|
|
|
|
|
|
<link rel="apple-touch-icon" href="$baseurl/images/friendica-128.png"/>
|
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
|
|
|
|
|
|
|
2011-04-08 08:40:04 +00:00
|
|
|
<link rel="search"
|
|
|
|
href="$baseurl/opensearch"
|
|
|
|
type="application/opensearchdescription+xml"
|
2012-02-27 06:04:41 +00:00
|
|
|
title="Search in Friendica" />
|
2011-03-11 19:12:32 +00:00
|
|
|
|
|
|
|
<!--[if IE]>
|
2012-02-27 07:54:04 +00:00
|
|
|
<script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
2011-03-11 19:12:32 +00:00
|
|
|
<![endif]-->
|
2011-09-05 09:15:30 +00:00
|
|
|
<script type="text/javascript" src="$baseurl/js/jquery.js" ></script>
|
2011-10-25 13:01:58 +00:00
|
|
|
<script type="text/javascript" src="$baseurl/js/jquery.textinputs.js" ></script>
|
|
|
|
<script type="text/javascript" src="$baseurl/js/fk.autocomplete.js" ></script>
|
2013-01-31 15:40:03 +00:00
|
|
|
{#<!--<script type="text/javascript" src="$baseurl/library/fancybox/jquery.fancybox.pack.js"></script>-->#}
|
|
|
|
<script type="text/javascript" src="$baseurl/library/colorbox/jquery.colorbox-min.js"></script>
|
2011-09-05 12:01:21 +00:00
|
|
|
<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>
|
2011-10-25 13:01:58 +00:00
|
|
|
<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>
|
|
|
|
|
2011-12-12 04:32:43 +00:00
|
|
|
var updateInterval = $update_interval;
|
2012-05-24 08:29:33 +00:00
|
|
|
var localUser = {{ if $local_user }}$local_user{{ else }}false{{ endif }};
|
2011-12-12 04:32:43 +00:00
|
|
|
|
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 = '';
|
2012-03-21 13:48:04 +00:00
|
|
|
$("#comment-edit-text-" + id).addClass("comment-edit-text-full");
|
|
|
|
$("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
|
2012-05-11 10:41:29 +00:00
|
|
|
$("#mod-cmnt-wrap-" + id).show();
|
2011-03-11 19:12:32 +00:00
|
|
|
openMenu("comment-edit-submit-wrapper-" + id);
|
2012-08-10 08:25:08 +00:00
|
|
|
return true;
|
2011-03-11 19:12:32 +00:00
|
|
|
}
|
2012-08-10 08:25:08 +00:00
|
|
|
return false;
|
2011-03-11 19:12:32 +00:00
|
|
|
}
|
|
|
|
function commentClose(obj,id) {
|
|
|
|
if(obj.value == '') {
|
2011-03-29 22:27:14 +00:00
|
|
|
obj.value = '$comment';
|
2012-03-21 13:48:04 +00:00
|
|
|
$("#comment-edit-text-" + id).removeClass("comment-edit-text-full");
|
|
|
|
$("#comment-edit-text-" + id).addClass("comment-edit-text-empty");
|
2012-05-11 10:41:29 +00:00
|
|
|
$("#mod-cmnt-wrap-" + id).hide();
|
2011-03-11 19:12:32 +00:00
|
|
|
closeMenu("comment-edit-submit-wrapper-" + id);
|
2012-08-10 08:25:08 +00:00
|
|
|
return true;
|
2011-03-11 19:12:32 +00:00
|
|
|
}
|
2012-08-10 08:25:08 +00:00
|
|
|
return false;
|
2011-03-11 19:12:32 +00:00
|
|
|
}
|
|
|
|
|
2012-02-15 07:13:18 +00: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 02:13:41 +00: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 07:13:18 +00:00
|
|
|
}
|
|
|
|
|
2012-03-27 03:13:03 +00: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 04:53:40 +00:00
|
|
|
$(obj).val('');
|
2012-03-27 03:13:03 +00:00
|
|
|
}
|
|
|
|
|
2012-11-02 00:31:50 +00:00
|
|
|
window.showMore = "$showmore";
|
|
|
|
window.showFewer = "$showfewer";
|
2011-11-23 00:00:05 +00:00
|
|
|
|
2012-07-27 20:47:18 +00: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 00:00:05 +00:00
|
|
|
|
2011-03-11 19:12:32 +00:00
|
|
|
</script>
|
2011-03-29 22:27:14 +00:00
|
|
|
|
|
|
|
|